1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00
samba-mirror/source3
Andrew Bartlett 56bd63b1cd I *hate* global variables...
OK, what was happening here was that we would invalidate global_sam_sid
when we set the sid into secrets.tdb, to force a re-read.

The problem was, we would do *two* writes into the TDB, and the second one
(in the PDC/BDC case) would be of a NULL pointer.  This caused smbd startups
to fail, on a blank TDB.

By using a local variable in the pdb_generate_sam_sid() code, we avoid this
particular trap.

I've also added better debugging for the case where this all matters, which
is particularly for LDAP, where it finds out a domain SID from the sambaDomain
object.

Andrew Bartlett
(This used to be commit 86ad04d26d)
2004-02-25 22:01:02 +00:00
..
aparser
auth Add calls to password lockout functions. Should now work against tdbsam only. 2004-02-21 17:41:28 +00:00
bin add smbget to cvs ignore list 2004-02-09 18:51:03 +00:00
client Fix incorrect strnicmp len 2004-02-17 22:51:42 +00:00
codepages
groupdb When creating a group via a script, don't let winbind do it as well. 2004-02-17 21:25:42 +00:00
include Figured out a new flags bit with gentest and ethereal.... 2004-02-25 02:15:34 +00:00
intl More casty-foo ... 2003-11-13 17:35:00 +00:00
lib Janitor for tpot...bugzilla #1098, msleep already exists on aix 2004-02-23 02:54:03 +00:00
libads Bug found by gd - the new range-reterival code did still had 'member' 2004-02-08 00:31:36 +00:00
libsmb Janitor for tpot...bugzilla #1098, msleep already exists on aix 2004-02-23 02:54:03 +00:00
locking merge from old APP_HEAD 2004-02-12 05:24:02 +00:00
modules This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 9ccf8c530d) 2003-11-26 20:58:52 +00:00
msdfs Remove references to 'jn' which gcc-3.4 with precompiled headers 2004-01-14 06:41:50 +00:00
nmbd Fix up name canonicalization (needed for krb5 keytab support later). 2004-01-30 18:38:48 +00:00
nsswitch fix more compiler warning after the latest static rampage 2004-02-10 03:51:19 +00:00
pam_smbpass ading new files from 3.0 2003-07-16 05:42:34 +00:00
param marking 'only user' as deprecated (based on feedback in bug 66) 2004-02-11 04:32:12 +00:00
passdb I *hate* global variables... 2004-02-25 22:01:02 +00:00
po There is a German translation of swat -- surprise :-) 2004-01-07 10:02:10 +00:00
popt
printing merge from old APP_HEAD 2004-02-12 05:24:02 +00:00
profile
python Merge from 3.0: 2003-09-29 06:17:09 +00:00
registry Merge from 3.0: 2003-09-29 06:17:09 +00:00
rpc_client Add 'net rpc group add'. For this parse_samr.c had to be changed: The 2004-02-24 18:00:41 +00:00
rpc_parse Add 'net rpc group add'. For this parse_samr.c had to be changed: The 2004-02-24 18:00:41 +00:00
rpc_server Do the query part of the previous fix...reset time and duration are set in minutes, not seconds. Works from usrmgr. 2004-02-25 20:02:47 +00:00
rpcclient More sync between passdb on 3.0 and HEAD. 2004-02-12 16:16:53 +00:00
sam Janitor for tpot...bugzilla #1098, msleep already exists on aix 2004-02-23 02:54:03 +00:00
script merge old change from 2.2 branch to give legend in heading 2004-02-12 20:43:23 +00:00
smbd Fixup strange rename error case (gentest). 2004-02-25 21:37:22 +00:00
smbwrapper Collecting another little patch from gd@suse.de 2003-12-26 21:33:53 +00:00
stf Add pythoncheck to make check target. 2003-05-13 04:38:09 +00:00
tdb Fix the "too many fcntl locks" scalability problem raised by tridge. 2004-02-19 01:55:24 +00:00
tests Finish adding cracklib support - this adds the configure test to enable 2004-01-14 01:14:22 +00:00
torture Janitor for tpot...bugzilla #1098, msleep already exists on aix 2004-02-23 02:54:03 +00:00
ubiqx
utils I *hate* global variables... 2004-02-25 22:01:02 +00:00
web printf -> d_printf 2004-02-21 00:28:48 +00:00
wrepld update copyright to -2004 2004-01-11 13:23:50 +00:00
.cvsignore sync 3.0 into HEAD for the last time 2003-09-09 04:07:32 +00:00
.dmallocrc
aclocal.m4 - Put functions for generating SQL queries in pdb_sql.c 2004-01-04 21:09:42 +00:00
autogen.sh sync 3.0 into HEAD for the last time 2003-09-09 04:07:32 +00:00
change-log trying to get HEAD building again. If you want the code 2003-07-16 05:34:56 +00:00
config.guess Syncup with version of config.guess from HEAD. 2003-04-14 02:12:02 +00:00
config.sub trying to get HEAD building again. If you want the code 2003-07-16 05:34:56 +00:00
configure.developer
configure.in sys/xattr.h merge from HEAD 2004-02-19 22:17:54 +00:00
Doxyfile
dynconfig.c port latest changes from SAMBA_3_0 tree 2003-08-02 20:06:57 +00:00
install-sh
mainpage.dox ading new files from 3.0 2003-07-16 05:42:34 +00:00
Makefile.in fix build of lock tests 2004-02-12 05:29:05 +00:00
smbadduser.in sync 3.0 into HEAD for the last time 2003-09-09 04:07:32 +00:00
VERSION forgotten commit -- version == 3.0.3pre1 2004-01-27 19:00:06 +00:00