cvs2svn Import User [Sat, 23 Jun 2001 20:19:24 +0000 (20:19 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-2-2-0a'.
Samba Release Account [Sat, 23 Jun 2001 20:19:23 +0000 (20:19 +0000)]
preparing for release of 2.2.0a
Jeremy Allison [Sat, 23 Jun 2001 20:02:09 +0000 (20:02 +0000)]
Log debug message before and after so we know if netbios names were changed.
Jeremy.
Jeremy Allison [Sat, 23 Jun 2001 19:30:04 +0000 (19:30 +0000)]
Updated to mention new features will be in 2.2.1 - this is a security fix
only.
Jeremy.
Jeremy Allison [Sat, 23 Jun 2001 07:48:40 +0000 (07:48 +0000)]
Updated with security advisory message.
Jeremy.
Jeremy Allison [Sat, 23 Jun 2001 07:44:33 +0000 (07:44 +0000)]
Updated lib/access.c for allow/deny fix.
Jeremy.
Jeremy Allison [Sat, 23 Jun 2001 07:41:16 +0000 (07:41 +0000)]
Added other_safe_chars to alpha_strcpy(). Better fix for problem.
Jeremy.
Jeremy Allison [Sat, 23 Jun 2001 01:05:44 +0000 (01:05 +0000)]
Get ready for fix release.
Jeremy.
Jeremy Allison [Sat, 23 Jun 2001 00:28:36 +0000 (00:28 +0000)]
Better fix for client name vulnarability.
Jeremy.
cvs2svn Import User [Thu, 31 May 2001 14:41:55 +0000 (14:41 +0000)]
This commit was manufactured by cvs2svn to create branch
'SAMBA_2_2_RELEASE'.
cvs2svn Import User [Thu, 31 May 2001 14:41:54 +0000 (14:41 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_2_2'.
Jeremy Allison [Thu, 31 May 2001 14:41:53 +0000 (14:41 +0000)]
Rename bzero -> memset.
Check returns from *all* mallocs (including strdups).
Jeremy.
Jeremy Allison [Thu, 31 May 2001 14:14:27 +0000 (14:14 +0000)]
I18N fix from HEAD for domain_client_validate (wrong domain name, use
domain not lp_workgroup()).
Jeremy.
Jeremy Allison [Thu, 31 May 2001 14:13:53 +0000 (14:13 +0000)]
Fix debug statement so it doesn't use lp_workgroup() either.
Jeremy.
Jeremy Allison [Thu, 31 May 2001 14:08:53 +0000 (14:08 +0000)]
Merged in fix for buggy xinetd, border-0 fix from HEAD.
Jeremy.
Jeremy Allison [Thu, 31 May 2001 14:03:44 +0000 (14:03 +0000)]
Merged tdb_open_log call back from HEAD.
Jeremy.
Jeremy Allison [Thu, 31 May 2001 13:57:09 +0000 (13:57 +0000)]
Fix from HEAD for compiler warning (duplicate HASH).
Jeremy.
Andrew Tridgell [Wed, 30 May 2001 13:53:20 +0000 (13:53 +0000)]
fixed asprintf declaration
Andrew Tridgell [Wed, 30 May 2001 13:50:59 +0000 (13:50 +0000)]
fixed asprintf declaration
Andrew Tridgell [Wed, 30 May 2001 12:31:05 +0000 (12:31 +0000)]
merged configure updates from head
Andrew Tridgell [Wed, 30 May 2001 12:28:13 +0000 (12:28 +0000)]
- added AC_HAVE_DECL() macro to aclocal.m4, so we can easily add
tests for a fn or variable being defined in headers
- used this to add prototypes for asprintf and vasprintf on systems
that don't have them
Richard Sharpe [Wed, 30 May 2001 10:57:13 +0000 (10:57 +0000)]
Add some protection to smbc_init for people calling it more than once.
Andrew Tridgell [Wed, 30 May 2001 06:36:48 +0000 (06:36 +0000)]
tdb updates from head
Andrew Tridgell [Wed, 30 May 2001 06:23:05 +0000 (06:23 +0000)]
merged fix for tdb_unpack from 2_2
Andrew Tridgell [Wed, 30 May 2001 06:22:10 +0000 (06:22 +0000)]
added list function to tdbtool
Andrew Tridgell [Wed, 30 May 2001 06:16:24 +0000 (06:16 +0000)]
new proto.h
Andrew Tridgell [Wed, 30 May 2001 06:12:21 +0000 (06:12 +0000)]
make swat recover from previously bad umask from xinetd
Andrew Tridgell [Wed, 30 May 2001 06:08:23 +0000 (06:08 +0000)]
use the new tdb_open_log() fn on connections database
Andrew Tridgell [Wed, 30 May 2001 05:40:52 +0000 (05:40 +0000)]
- fixed an off-by-1 bug in the delayed deletion code that I believe
was the initial cause of the connections database becoming corrupt.
Note that this bug only happens when doing deletions within a
traversal, which is why it has only showed up now
- added delete within traversal testing to tdbtorture
- added a lot more logging to tdb
Andrew Tridgell [Wed, 30 May 2001 03:42:44 +0000 (03:42 +0000)]
added a tdb_open_log() function that opens a tdb and enables logging
of messages from the tdb code into the Samba DEBUG() system
just call tdb_open_log() instead of tdb_open() to enable this on
any tdb
Tim Potter [Wed, 30 May 2001 03:02:47 +0000 (03:02 +0000)]
Add border=0 in included swat images to get rid of the link border stuff.
Much prettier looking.
Andrew Tridgell [Tue, 29 May 2001 15:16:30 +0000 (15:16 +0000)]
portability fix for TDB_LOG()
Andrew Tridgell [Tue, 29 May 2001 15:01:23 +0000 (15:01 +0000)]
more portable TDB_LOG macro
Tim Potter [Tue, 29 May 2001 07:34:51 +0000 (07:34 +0000)]
Fixed compiler warning.
Simo Sorce [Tue, 29 May 2001 07:34:01 +0000 (07:34 +0000)]
4 new functions to retrieve single linked list of group and passwd entries
+ a fix to an infinite loop in srv_samr_nt.c caused by misuse of
setgrent/getgrent/endgrent solved by these new functions
Tim Potter [Tue, 29 May 2001 05:39:50 +0000 (05:39 +0000)]
The manual page for swat referred to nmblookup in the synopsis.
Jeremy Allison [Tue, 29 May 2001 03:30:55 +0000 (03:30 +0000)]
Return an error code on password overflow attack so scanners don't
think we've failed.
Port of Andrew's code from HEAD.
Jeremy.
Jeremy Allison [Tue, 29 May 2001 03:28:13 +0000 (03:28 +0000)]
Merge in Andrew's tdb robustness changes - allow tailers to be
checked and a logging function added.
Jeremy.
Andrew Tridgell [Mon, 28 May 2001 23:56:56 +0000 (23:56 +0000)]
make sure the umask is set in swat
Andrew Tridgell [Mon, 28 May 2001 23:54:43 +0000 (23:54 +0000)]
make sure the umask is set in swat
John Reilly [Mon, 28 May 2001 23:30:27 +0000 (23:30 +0000)]
Fix nasty malloc/free bug when setting a printer attribute with a zero length (Lexmark
drivers do this). tdb_unpack() on case 'B' was leaving the data pointer uninitialized.
This seemed OK (but bad practice) for a zero lenght buffer, but many cycles later
free_nt_printer_param() did a safe_free on the uninitialized pointer. This affected
both APPLIANCE_HEAD and 2.2 (HEAD too I expect).
2.2 only was hit by a differert aspect of the situation above. When a zero len attribute
is processed by api_spoolss_setprinterdata(), talloc (in non DEBUG_TALLOC), returns NULL
up the chain and "unable to unmarshall SPOOL_Q_SETPRINTERDATA" occurs.
JohnR
Andrew Tridgell [Mon, 28 May 2001 13:29:06 +0000 (13:29 +0000)]
try to make the tailer code much more robust. When a record
can't be merged don't fail the operation, instead just add
it to the free list anyway
added logging to tdb
Jeremy Allison [Mon, 28 May 2001 12:00:46 +0000 (12:00 +0000)]
Update to set random seed between new smbd's atomically.
CVS Access back at last (from the Tokyo Hilton... :-).
Jeremy.
Gerald Carter [Fri, 25 May 2001 18:43:41 +0000 (18:43 +0000)]
make sure the '\n' is stripped from the command string
Gerald Carter [Fri, 25 May 2001 17:37:10 +0000 (17:37 +0000)]
fix for Solaris ACL support. The sys_acl_set_file was writing out
a mask != rwx. The aclsort() Solaris library function was
rewriting the mask.
Also include a little reformatting to readability.
Tim Potter [Fri, 25 May 2001 07:36:58 +0000 (07:36 +0000)]
i18n fix for domain_client_validate()
Andrew Tridgell [Fri, 25 May 2001 02:45:07 +0000 (02:45 +0000)]
return an error code on password attack, rather than exiting.
otherwise security scanners may think we are vulnerable!
Jeremy Allison [Fri, 25 May 2001 00:48:32 +0000 (00:48 +0000)]
Added tdb_change_int_atomic() to allow atomic updates of a tdb int value.
Jeremy.
Jeremy Allison [Fri, 25 May 2001 00:48:28 +0000 (00:48 +0000)]
Added tdb_change_int_atomic() to allow atomic updates of a tdb int value.
Jeremy.
Gerald Carter [Thu, 24 May 2001 22:48:11 +0000 (22:48 +0000)]
clean up to make the HOWTO-Collection compile again.
The DOMAIN.txt file has been included in the Samba PDC chapter.
Jeremy Allison [Thu, 24 May 2001 19:28:24 +0000 (19:28 +0000)]
Fixup the large_writex problem (a large_writex can send a full 64k of data,
we already have space for this we just need to understand the length correctly).
Jeremy.
Jeremy Allison [Thu, 24 May 2001 19:28:22 +0000 (19:28 +0000)]
Fixup the large_writex problem (a large_writex can send a full 64k of data,
we already have space for this we just need to understand the length correctly).
Jeremy.
Jeremy Allison [Thu, 24 May 2001 18:24:54 +0000 (18:24 +0000)]
Fix for random stream generator.
Jeremy.
Jeremy Allison [Thu, 24 May 2001 18:24:13 +0000 (18:24 +0000)]
Improvements to random stream generator.
Jeremy.
Gerald Carter [Thu, 24 May 2001 15:08:45 +0000 (15:08 +0000)]
fixes for smbpasswd location
Gerald Carter [Thu, 24 May 2001 14:56:49 +0000 (14:56 +0000)]
log file is named log.[smb|nmb]d
Tim Potter [Thu, 24 May 2001 08:21:53 +0000 (08:21 +0000)]
Added structures for LOGON_CTRL rpc.
Make proto.
Tim Potter [Thu, 24 May 2001 08:10:50 +0000 (08:10 +0000)]
Added srvinfo and partial logonctrl and logonctrl2 commands.
Tim Potter [Thu, 24 May 2001 08:07:13 +0000 (08:07 +0000)]
Fixed compiler warning.
Tim Potter [Thu, 24 May 2001 08:05:12 +0000 (08:05 +0000)]
Added server side reponse to net_logon_ctrl rpc. We can now respond
to NLTEST /BDC_QUERY:DOMAIN when acting as a BDC.
Reverse engineered a couple of status constants.
Tim Potter [Thu, 24 May 2001 08:02:27 +0000 (08:02 +0000)]
Added srv_get_info client command.
Tim Potter [Thu, 24 May 2001 08:01:55 +0000 (08:01 +0000)]
Added logon control2 client call.
Tim Potter [Thu, 24 May 2001 07:58:49 +0000 (07:58 +0000)]
Added a init function for net_q_logon_ctrl2 so we can make this call
from rpcclient.
Added init and i/o functions for net_{q,r}_logon_ctrl functions so we
can call from rpcclient and respond to this call from smbd.
Tim Potter [Thu, 24 May 2001 02:21:18 +0000 (02:21 +0000)]
Removed some level 0 debugs accidentally left in - oops.
Tim Potter [Thu, 24 May 2001 00:31:53 +0000 (00:31 +0000)]
Replaced next_command() with call to next_token().
Tim Potter [Thu, 24 May 2001 00:20:32 +0000 (00:20 +0000)]
Added stubs for SRVSVC and NETLOGON rpcclient commands.
Jeremy Allison [Wed, 23 May 2001 21:33:43 +0000 (21:33 +0000)]
Added tdb_errstr() messages so we can see if these functions fail.
Jeremy.
Jeremy Allison [Wed, 23 May 2001 21:33:40 +0000 (21:33 +0000)]
Added tdb_errstr() messages so we can see if these functions fail.
Jeremy.
Jeremy Allison [Wed, 23 May 2001 18:47:52 +0000 (18:47 +0000)]
This is *very* cool. I'm pretty convinced we can just set the
CAP_LARGE_READX|CAP_LARGE_WRITEX bits on negprot and out W2K
performance goes through the roof......
And as we *always* offer 64 buffers we can do this with this
simple change.....
Jeremy.
Jeremy Allison [Wed, 23 May 2001 18:47:50 +0000 (18:47 +0000)]
This is *very* cool. I'm pretty convinced we can just set the
CAP_LARGE_READX|CAP_LARGE_WRITEX bits on negprot and out W2K
performance goes through the roof......
And as we *always* offer 64 buffers we can do this with this
simple change.....
Jeremy.
Jeremy Allison [Wed, 23 May 2001 18:33:45 +0000 (18:33 +0000)]
Stupid typo. Should be if (!tdb).
Jeremy.
Jeremy Allison [Wed, 23 May 2001 18:33:14 +0000 (18:33 +0000)]
Stupid typo - should be if (!tdb).
Jeremy.
Gerald Carter [Wed, 23 May 2001 05:53:13 +0000 (05:53 +0000)]
this does not compile yet. I have half done merging the DOMAIN.txt
file into the Samba-PDC-HOWTO. Still needs some restructuring....
Jeremy Allison [Tue, 22 May 2001 21:47:11 +0000 (21:47 +0000)]
Try to fix build by adding autoconf tests for pam headers.
Jeremy.
Jeremy Allison [Tue, 22 May 2001 21:47:09 +0000 (21:47 +0000)]
Try to fix build by adding autoconf tests for pam headers.
Jeremy.
Gerald Carter [Tue, 22 May 2001 21:10:44 +0000 (21:10 +0000)]
autogen
Jeremy Allison [Tue, 22 May 2001 20:35:48 +0000 (20:35 +0000)]
Defensive brlock and locking database cleaning code.
Jeremy.
Jeremy Allison [Tue, 22 May 2001 20:15:13 +0000 (20:15 +0000)]
Ok - code to scan the locking and brlock db's on startup and shutdown and
clean any dead records. This should never need to be done, but will definately
aid in integrity of the locking db's.
Jeremy.
Jeremy Allison [Tue, 22 May 2001 19:24:53 +0000 (19:24 +0000)]
Clean up the brlock database on exit as well as init.
Jeremy.
Gerald Carter [Tue, 22 May 2001 17:41:16 +0000 (17:41 +0000)]
forgot this one yesterday
Gerald Carter [Tue, 22 May 2001 17:41:03 +0000 (17:41 +0000)]
few typos and updates
Gerald Carter [Tue, 22 May 2001 04:06:09 +0000 (04:06 +0000)]
converted the CVS howto to SGML/DocBook
Gerald Carter [Mon, 21 May 2001 08:34:49 +0000 (08:34 +0000)]
working on updates for the 2.2.1 release
Gerald Carter [Mon, 21 May 2001 07:26:08 +0000 (07:26 +0000)]
and a few more cleanups....
Gerald Carter [Mon, 21 May 2001 06:47:12 +0000 (06:47 +0000)]
forgot to update the symlinks...
Gerald Carter [Mon, 21 May 2001 06:45:23 +0000 (06:45 +0000)]
moved smbmount/smbmnt/smbumount to /usr/bin since these are basically
user space tools
Gerald Carter [Mon, 21 May 2001 05:42:26 +0000 (05:42 +0000)]
making sure all the /etc/samba paths are consistent
Gerald Carter [Mon, 21 May 2001 05:27:36 +0000 (05:27 +0000)]
codepages and (src) were not getting including in the installed RPM
Gerald Carter [Mon, 21 May 2001 04:06:42 +0000 (04:06 +0000)]
fix bad install for lmhosts, smb.conf , & smbusers.
Are we using /etc/? Or /etc/samba/? The latter is the one
currently configured.
Gerald Carter [Mon, 21 May 2001 03:26:09 +0000 (03:26 +0000)]
fixed typo
Gerald Carter [Mon, 21 May 2001 03:05:39 +0000 (03:05 +0000)]
working on testing for Mandrake builds
John Terpstra [Sat, 19 May 2001 06:33:06 +0000 (06:33 +0000)]
Argh! It works on some but not all. Argh! Ruff.
Tim Potter [Sat, 19 May 2001 02:43:48 +0000 (02:43 +0000)]
Commented out rules for winbind as it doesn't compile in this branch and is
a bit misleading.
John Terpstra [Fri, 18 May 2001 23:24:31 +0000 (23:24 +0000)]
Adding Ron Record's patches.
John Terpstra [Fri, 18 May 2001 23:20:22 +0000 (23:20 +0000)]
Adding codepage change, pam changes.
John Terpstra [Fri, 18 May 2001 23:05:43 +0000 (23:05 +0000)]
updating build for Caldera OpenLinux
codepages moved to /usr/share/samba
added "old" flag for makerpms.sh.tmpl
John Terpstra [Fri, 18 May 2001 22:59:25 +0000 (22:59 +0000)]
Moving codepages to /usr/share/samba/codepages
Adding Mandrake smb.conf patches
John Terpstra [Fri, 18 May 2001 22:47:33 +0000 (22:47 +0000)]
Adding support for pam-smnbpass.
Jeremy Allison [Fri, 18 May 2001 20:16:57 +0000 (20:16 +0000)]
Use canonical mappings for file controls. Fixes W2KSP2 profile problems (I
think....).
Jeremy.
Jeremy Allison [Fri, 18 May 2001 20:16:55 +0000 (20:16 +0000)]
Use canonical mappings for file controls. Fixes W2KSP2 profile problems (I
think....).
Jeremy.