cvs2svn Import User [Wed, 19 Mar 2003 18:45:20 +0000 (18:45 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Jelmer Vernooij [Wed, 19 Mar 2003 18:45:19 +0000 (18:45 +0000)]
Put in the new modules system. It's now used by passdb and rpc. I will
put a doc about it in dev-doc later today.
Volker Lendecke [Wed, 19 Mar 2003 18:21:44 +0000 (18:21 +0000)]
Merge from HEAD.
Volker
Volker Lendecke [Wed, 19 Mar 2003 18:17:12 +0000 (18:17 +0000)]
Add paramter 'ldap del only sam attr'.
This patch is heavily based on a patch by SuSE. Thanks
to Guenther Deschner <gd@suse.de> for providing it.
Volker
Volker Lendecke [Wed, 19 Mar 2003 18:07:33 +0000 (18:07 +0000)]
Fix typo.
Thanks to Guenther Deschner <gd@suse.de>
Volker
Volker Lendecke [Wed, 19 Mar 2003 18:06:40 +0000 (18:06 +0000)]
Fix typo.
Thanks to Guenther Deschner <gd@suse.de>
Volker
Jelmer Vernooij [Wed, 19 Mar 2003 17:21:25 +0000 (17:21 +0000)]
Update alpha information
Jelmer Vernooij [Wed, 19 Mar 2003 17:20:45 +0000 (17:20 +0000)]
Update alpha information
Jelmer Vernooij [Wed, 19 Mar 2003 16:56:55 +0000 (16:56 +0000)]
Update to current situation - should we add SAM/GUMS/idmap?
Jelmer Vernooij [Wed, 19 Mar 2003 16:55:57 +0000 (16:55 +0000)]
Update to current situation - there's nothing about SAM/GUMS/IDMAP in here
currently, should there be?
Jelmer Vernooij [Wed, 19 Mar 2003 15:24:17 +0000 (15:24 +0000)]
Fix some comment typos
Jelmer Vernooij [Wed, 19 Mar 2003 15:23:40 +0000 (15:23 +0000)]
Fix some comment typos
Jelmer Vernooij [Wed, 19 Mar 2003 15:05:41 +0000 (15:05 +0000)]
Regenerate
Volker Lendecke [Wed, 19 Mar 2003 14:59:51 +0000 (14:59 +0000)]
merge from HEAD
Volker Lendecke [Wed, 19 Mar 2003 14:58:20 +0000 (14:58 +0000)]
Hey -- there is an error code NT_STATUS_CANNOT_DELETE :-)
Volker Lendecke [Wed, 19 Mar 2003 14:56:50 +0000 (14:56 +0000)]
If we fail, return an error code :-)
Volker
Tim Potter [Wed, 19 Mar 2003 11:26:01 +0000 (11:26 +0000)]
GCC 3.x has deprecated multi-line string constants.
Tim Potter [Wed, 19 Mar 2003 11:25:21 +0000 (11:25 +0000)]
Fix compiler warning.
Tim Potter [Wed, 19 Mar 2003 11:22:57 +0000 (11:22 +0000)]
Removed unused variable.
Tim Potter [Wed, 19 Mar 2003 11:22:32 +0000 (11:22 +0000)]
Add function prototype.
Tim Potter [Wed, 19 Mar 2003 11:20:45 +0000 (11:20 +0000)]
Remove py_samba.c experiment - it didn't work.
Volker Lendecke [Wed, 19 Mar 2003 09:43:23 +0000 (09:43 +0000)]
Put group mapping into LDAP.
Volker
Volker Lendecke [Wed, 19 Mar 2003 09:38:47 +0000 (09:38 +0000)]
Put group mapping into LDAP.
Volker
Volker Lendecke [Wed, 19 Mar 2003 08:36:42 +0000 (08:36 +0000)]
Fix debug message not to use an uninitialized variable.
Volker
Martin Pool [Wed, 19 Mar 2003 08:32:42 +0000 (08:32 +0000)]
Add additional StrCaseCmp test cases.
Doc.
Volker Lendecke [Wed, 19 Mar 2003 08:23:29 +0000 (08:23 +0000)]
Fix debug message not to use an uninitialized variable.
Volker
Martin Pool [Wed, 19 Mar 2003 03:56:50 +0000 (03:56 +0000)]
Add an STF module that defines the tests to be run by "make check".
Martin Pool [Wed, 19 Mar 2003 03:55:14 +0000 (03:55 +0000)]
Get rid of "make check" targets that call nonexistent code.
Add in new ones that run STF, after setting up a PATH and
LD_LIBRARY_PATH that will let them find samba in the build directory.
LD_LIBRARY_PATH is probably not portable but without libtool I don't
know a portable way to do it. Perhaps the simple solution is just to
link these things statically?
Martin Pool [Wed, 19 Mar 2003 03:42:27 +0000 (03:42 +0000)]
A new STF test case! This one checks strcasecmp correctness for
various strings.
Martin Pool [Wed, 19 Mar 2003 03:41:18 +0000 (03:41 +0000)]
Add the correct file :-( to ignore .po and .po32 files.
Martin Pool [Wed, 19 Mar 2003 03:39:16 +0000 (03:39 +0000)]
Remove this .po file from the repository. I meant to add a cvsignore
file that ignored it, but I slipped.
Martin Pool [Wed, 19 Mar 2003 03:14:54 +0000 (03:14 +0000)]
Ignore t_strcmp test case.
Martin Pool [Wed, 19 Mar 2003 03:14:28 +0000 (03:14 +0000)]
Ignore .po and .po32 files.
Martin Pool [Wed, 19 Mar 2003 02:59:18 +0000 (02:59 +0000)]
Run test 10000 times to make measurement easier.
Jeremy Allison [Wed, 19 Mar 2003 02:01:11 +0000 (02:01 +0000)]
Doin't pstrcpy into fstring.
Jeremy.
Jeremy Allison [Tue, 18 Mar 2003 23:51:18 +0000 (23:51 +0000)]
Ensure dev in make_connection is const.
Jeremy.
Jeremy Allison [Tue, 18 Mar 2003 23:49:03 +0000 (23:49 +0000)]
Ensure dev in make_connection is const.
Jeremy.
Jeremy Allison [Tue, 18 Mar 2003 21:25:35 +0000 (21:25 +0000)]
Removed unused var.
Jeremy.
Jeremy Allison [Tue, 18 Mar 2003 21:25:33 +0000 (21:25 +0000)]
Removed unused var.
Jeremy.
Jeremy Allison [Tue, 18 Mar 2003 21:24:01 +0000 (21:24 +0000)]
const warning fix.
Jeremy.
Jeremy Allison [Tue, 18 Mar 2003 21:21:21 +0000 (21:21 +0000)]
Merge mbp's HEAD changes.
Jeremy.
Jelmer Vernooij [Tue, 18 Mar 2003 16:48:14 +0000 (16:48 +0000)]
Regenerate
Jelmer Vernooij [Tue, 18 Mar 2003 16:38:59 +0000 (16:38 +0000)]
Regenerate
Jelmer Vernooij [Tue, 18 Mar 2003 16:29:57 +0000 (16:29 +0000)]
More updates:
- Add SWAT as way to configure samba
- Remove some duplicated information
- Move some information to the part of the howto it belongs
Jelmer Vernooij [Tue, 18 Mar 2003 15:49:05 +0000 (15:49 +0000)]
- Move instructions on compiling samba to appendix
- Add notes about binary packages
- Some small fixes (typos, remove outdated stuff)
Jelmer Vernooij [Tue, 18 Mar 2003 12:12:39 +0000 (12:12 +0000)]
Put in documentation update by jht
Andrew Bartlett [Tue, 18 Mar 2003 12:12:14 +0000 (12:12 +0000)]
Add const.
Jelmer Vernooij [Tue, 18 Mar 2003 12:07:43 +0000 (12:07 +0000)]
Put in some macros for the new modules system
Andrew Bartlett [Tue, 18 Mar 2003 12:07:27 +0000 (12:07 +0000)]
Makefile updates for new SMB signing code.
Andrew Bartlett [Tue, 18 Mar 2003 12:02:51 +0000 (12:02 +0000)]
Parinoia fixes from HEAD - malloc() some extra room after the allocated
buffer size.
Andrew Bartlett [Tue, 18 Mar 2003 12:01:47 +0000 (12:01 +0000)]
Merge from HEAD:
A much better SMB signing module, that allows for mulitple signing algorithms
and correctly backs down from signing when the server cannot sign the reply.
This also attempts to enable SMB signing on NTLMSSP connections, but I don't
know what NTLMSSP flags to set yet.
This would allow 'client use signing' to be set by default, for server
compatability. (A seperate option value should be provided for mandetory
signing, which would not back down).
Andrew Bartlett
Andrew Bartlett [Tue, 18 Mar 2003 11:56:56 +0000 (11:56 +0000)]
NMBD string parinoia and memcpy() parinoia fixes from HEAD.
Andrew Bartlett
Andrew Bartlett [Tue, 18 Mar 2003 11:53:20 +0000 (11:53 +0000)]
NTLMSSP updates from HEAD.
Andrew Bartlett
Andrew Bartlett [Tue, 18 Mar 2003 11:22:52 +0000 (11:22 +0000)]
Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)
This patch catches up on the rest of the work - as much string checking
as is possible is done at compile time, and the rest at runtime.
Lots of code converted to pstrcpy() etc, and other code reworked to correctly
call sizeof().
Andrew Bartlett
Andrew Bartlett [Tue, 18 Mar 2003 11:18:27 +0000 (11:18 +0000)]
Merge signed/unsigned fix from HEAD.
Andrew Bartlett [Tue, 18 Mar 2003 11:08:24 +0000 (11:08 +0000)]
One more on set_local_machine_name() taking a new 'perm' argument.
Andrew Bartlett [Tue, 18 Mar 2003 10:56:37 +0000 (10:56 +0000)]
Fix segfault on FD_SET() when we have an fd of -1
Andrew Bartlett
Andrew Bartlett [Tue, 18 Mar 2003 10:42:41 +0000 (10:42 +0000)]
Merge whitespace to match HEAD.
Andrew Bartlett [Tue, 18 Mar 2003 09:52:55 +0000 (09:52 +0000)]
Add an extra parameter to our 'set_remote_machine_name' and
'set_local_machine_name' so that the client can't change it from under us.
(.NET RC2 and WinXP install calls the machine 'machinename' during NTLMSSP
on the domain join).
Andrew Bartlett
Andrew Bartlett [Tue, 18 Mar 2003 09:43:00 +0000 (09:43 +0000)]
Add const.
Martin Pool [Tue, 18 Mar 2003 07:31:49 +0000 (07:31 +0000)]
Step one of optimizations for StrCaseCmp:
First of all, do a char-by-char walk through both buffers until we get
to a non-ascii character, or a difference between the strings. This
prefix can be directly compared without needing to call into iconv.
This should be much faster for strings that are either all ascii, or
differ near the start.
Martin Pool [Tue, 18 Mar 2003 07:13:15 +0000 (07:13 +0000)]
Add t_strcmp test/torture harness.
cvs2svn Import User [Tue, 18 Mar 2003 07:09:24 +0000 (07:09 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.
Martin Pool [Tue, 18 Mar 2003 07:09:23 +0000 (07:09 +0000)]
Split "clobber" function and variables into its own file before it
grows too much larger.
Tim Potter [Tue, 18 Mar 2003 06:30:30 +0000 (06:30 +0000)]
Merge of waider's rpcclient return type patch.
Tim Potter [Tue, 18 Mar 2003 06:11:17 +0000 (06:11 +0000)]
Merge of enumdomusers rpcclient command.
Tim Potter [Tue, 18 Mar 2003 06:07:50 +0000 (06:07 +0000)]
Merge of popt help cleanups.
Tim Potter [Tue, 18 Mar 2003 06:07:16 +0000 (06:07 +0000)]
Merge of #ifdef'ed out auth_smbd wrapper.
Martin Pool [Tue, 18 Mar 2003 05:52:05 +0000 (05:52 +0000)]
Ignore t_stringoverflow binary.
Martin Pool [Tue, 18 Mar 2003 05:51:41 +0000 (05:51 +0000)]
Ignore .po and .po32 files.
Martin Pool [Tue, 18 Mar 2003 05:42:53 +0000 (05:42 +0000)]
Comment about deprecated macro overmalloc_safe_strcpy().
Martin Pool [Tue, 18 Mar 2003 05:37:23 +0000 (05:37 +0000)]
Remove static libbigballofmud, which just does not seem to link.
Add bin/t_stringoverflow test case. Not built by default.
Martin Pool [Tue, 18 Mar 2003 05:31:52 +0000 (05:31 +0000)]
The new string macros catch a bug at compile that previously only
trapped at runtime, which is great. So we have to try a little harder
to provoke an overflow -- which is still caught nicely in developer
mode.
Martin Pool [Tue, 18 Mar 2003 05:30:15 +0000 (05:30 +0000)]
Update comment: Valgrind 1.9.4 seems to always respect client
requests, without needing --client-perms=yes.
Martin Pool [Tue, 18 Mar 2003 05:04:44 +0000 (05:04 +0000)]
Speling fixes and a little extra documentation.
Martin Pool [Tue, 18 Mar 2003 05:00:02 +0000 (05:00 +0000)]
global_globber_region_function/line ought to be recorded before
clobbering the region, just in case clobbering causes us to crash
immediately. (That might happen if we just shot ourselves in the
stack and strcpy was not inlined.)
Also, in DEVELOPER mode and when Valgrind is available, mark the
clobbered region as uninitialized. This is an even stronger
protection than clobbering with 0xf1.
Martin Pool [Tue, 18 Mar 2003 03:07:39 +0000 (03:07 +0000)]
Decode waitstatus values when a command fails.
Jeremy Allison [Tue, 18 Mar 2003 01:48:11 +0000 (01:48 +0000)]
Merge in the developer string options from HEAD. We need to ensure 3.0
is as stable as possible in the string department and some pain now
will help later :-).
Jeremy.
Tim Potter [Tue, 18 Mar 2003 01:34:09 +0000 (01:34 +0000)]
Added #ifdef'ed out implementation of auth_smbd python fn. Uncomment
when auth_smbd functionality merged to HEAD.
Tim Potter [Tue, 18 Mar 2003 01:32:51 +0000 (01:32 +0000)]
Start of a unit test for info3 caching. Much unfrastructure required
before this can be fully implemented. )-:
Andrew Bartlett [Mon, 17 Mar 2003 23:06:12 +0000 (23:06 +0000)]
Merge from HEAD - make winbindd locking sane again:
Original message:
This patch attemptes to clean up winbindd's mutex locking.
The current locking scheme in winbind is a complete mess - indeed, the
next step should be to push the locking into cli_full_connection(), but
I'll leave it for now.
This patch works on the noted behaviour that 2 parts of the connection
process need protection - and independent protection. Tim Potter did
some work on this a little while back, verifying the second case.
The two cases are:
- between connect() and first session setup
- during the auth2 phase of the netlogon pipe setup.
I've removed the counter on the lock, as I fail to see what it gains us.
This patch also adds 'anonymous fallback' to our winbindd -> DC connection.
If the authenticated connection fails (wbinfo -A specifed) - say that
account isn't trusted by a trusted DC - then we try an anonymous.
Both tpot and mbp like the patch.
Andrew Bartlett
Andrew Bartlett [Mon, 17 Mar 2003 23:04:03 +0000 (23:04 +0000)]
Merge from HEAD:
signed/unsigned (mostly i counters)
a little bit of const.
Andrew Bartlett
Andrew Bartlett [Mon, 17 Mar 2003 22:58:24 +0000 (22:58 +0000)]
Merge from HEAD:
net ads password
Heimdal compile fixes.
Andrew Bartlett
Andrew Bartlett [Mon, 17 Mar 2003 22:56:13 +0000 (22:56 +0000)]
Merge from HEAD:
- Make ReadDirName return a const char*.
- Consequential changes from that
- mark our fstring/pstring assumptions in function prototypes
Andrew Bartlett
Andrew Bartlett [Mon, 17 Mar 2003 22:46:12 +0000 (22:46 +0000)]
The kerberos_verify compoenent of the SessionSetup sync with HEAD.
Andrew Bartlett
Andrew Bartlett [Mon, 17 Mar 2003 22:45:16 +0000 (22:45 +0000)]
Merge from HEAD - sync up SessionSetup code to HEAD, including Luke Howard's
session key and auth verifier patches.
Andrew Bartlett
Andrew Bartlett [Mon, 17 Mar 2003 22:43:57 +0000 (22:43 +0000)]
Merge from HEAD - doxygen
Andrew Bartlett [Mon, 17 Mar 2003 22:42:56 +0000 (22:42 +0000)]
Mege from HEAD - doxygen.
Andrew Bartlett [Mon, 17 Mar 2003 22:42:01 +0000 (22:42 +0000)]
Merge from (earlier) HEAD - doxygen.
I'm not merging the current HEAD string stuff quite yet.
Andrew Bartlett [Mon, 17 Mar 2003 22:41:14 +0000 (22:41 +0000)]
merge from HEAD - dump tokenGroups as sids.
Andrew Bartlett [Mon, 17 Mar 2003 22:40:37 +0000 (22:40 +0000)]
pstrcpy_base merges for client-side smbpasswd.
Andrew Bartlett
Andrew Bartlett [Mon, 17 Mar 2003 22:33:34 +0000 (22:33 +0000)]
Merge from HEAD:
new 'net ads dn'
doxygen fixes
net help fixes.
Andrew Bartlett [Mon, 17 Mar 2003 22:23:51 +0000 (22:23 +0000)]
Merge new statcache.c from HEAD.
Andrew Bartlett [Mon, 17 Mar 2003 22:22:46 +0000 (22:22 +0000)]
Add copyright.
Volker Lendecke [Mon, 17 Mar 2003 22:10:49 +0000 (22:10 +0000)]
Fix memory leak.
Volker
Volker Lendecke [Mon, 17 Mar 2003 22:09:06 +0000 (22:09 +0000)]
Fix memory leak.
Volker
Tim Potter [Mon, 17 Mar 2003 11:54:12 +0000 (11:54 +0000)]
Fix building --with-smbwrapper.
Tim Potter [Mon, 17 Mar 2003 11:03:29 +0000 (11:03 +0000)]
Added a slightly modified version of Tridge's note about securing
a Samba server.
Tim Potter [Mon, 17 Mar 2003 11:02:54 +0000 (11:02 +0000)]
Run autoconf. Shouldn't we have an autogen.sh here?
Andrew Bartlett [Mon, 17 Mar 2003 10:59:11 +0000 (10:59 +0000)]
Fix invalid SAFE_FREE() of talloc()ed memory.
Andrew Bartlett