20 years agoThis commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
cvs2svn Import User [Wed, 25 Sep 2002 12:59:48 +0000 (12:59 +0000)]
This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to be commit 9a5541595f78f2cbba16030552c6e780f6fddcf6)

20 years agoremove extern for AllowDebugChange since we don't use it
Jelmer Vernooij [Wed, 25 Sep 2002 12:59:47 +0000 (12:59 +0000)]
remove extern for AllowDebugChange since we don't use it
(This used to be commit 70d9b71ceaeba95712fa61e601376ff5cc8e7714)

20 years agoFix the circular dependency that was preventing 'domain master = auto' (the
Andrew Bartlett [Wed, 25 Sep 2002 12:32:17 +0000 (12:32 +0000)]
Fix the circular dependency that was preventing 'domain master = auto' (the
default) from working.

Andrew Bartlett
(This used to be commit 25950dbb3272949a235bed936c7d7b1d23f15fac)

20 years agoMetze claims that without this his win2k server gets horribly confused looking
Andrew Bartlett [Wed, 25 Sep 2002 12:09:56 +0000 (12:09 +0000)]
Metze claims that without this his win2k server gets horribly confused looking
for all sorts of AD things in lp_realm().  We need to get some non-Win2k
NTLMSSP and chase this up a bit, but this will do for now.

(Hmm, this might affect NTLMv2 as well)

Andrew Bartlett
(This used to be commit 0e6babc306f60e88fc28705a8d4ad112bafe92cb)

20 years agoWhenever we deal with adding machine/trusted domain accounts, always reset the
Andrew Bartlett [Wed, 25 Sep 2002 12:02:57 +0000 (12:02 +0000)]
Whenever we deal with adding machine/trusted domain accounts, always reset the
flag to what we expect.  This handles the 'upgrade' from unixsam beter (where
all $ terminated accounts are machines).

Andrew Bartlett
(This used to be commit a198940ea6f7b7f3cba38c5a9f695e0731204583)

20 years agoDon't crash when a backend doesn't have a setsampwent function available - bug report...
Jelmer Vernooij [Wed, 25 Sep 2002 11:42:30 +0000 (11:42 +0000)]
Don't crash when a backend doesn't have a setsampwent function available - bug reported by metze
(This used to be commit 4aea951102a6e82612560e6a59931fde433ee6ea)

20 years agoThis patch from "Stefan (metze) Metzmacher" <> cleans up
Andrew Bartlett [Wed, 25 Sep 2002 11:34:31 +0000 (11:34 +0000)]
This patch from "Stefan (metze) Metzmacher" <> cleans up
pdb_ldap and adds a 'ldap passwd sync' option.

The idea with this option is to do allow an ldap backend to do all the fancy
password hashing etc - and to tell smbd no to try and double-up.  Using 'ldap
passwd sync = only' will do this, but is not recommended unless such a backend
is in place...

Running 'ldap passwd sync = yes' just gets you the same as doing 'pam passwd
sync = yes' and having both PAM and pam_ldap correctly configured for 'magic
root' behaviour, but only using ldap connection, and one set of credentials.

This also gets us closer to allowing ldap to say 'password too short' etc,
which might assist in maintaining a consistant password policy.

Andrew Bartlett
(This used to be commit f13e243f1a13d34ae057b40b01f561e8b95d4570)

20 years agoFix debuglevel command-line argument
Jelmer Vernooij [Wed, 25 Sep 2002 11:19:48 +0000 (11:19 +0000)]
Fix debuglevel command-line argument
(This used to be commit 779aea57450db83fa7870e8a35db55d475682519)

20 years agoCompile samtest with LIBADS_OBJ and PASSDB_OBJ...
Jelmer Vernooij [Wed, 25 Sep 2002 11:08:16 +0000 (11:08 +0000)]
Compile samtest with LIBADS_OBJ and PASSDB_OBJ...
(This used to be commit f0c095875758ef44ed2d25d3ed9d77e5e163b75f)

20 years agosamtest should load smb.conf by default
Jelmer Vernooij [Wed, 25 Sep 2002 10:17:08 +0000 (10:17 +0000)]
samtest should load smb.conf by default
add command-line option to samtest to specify alternate config file - use /dev/null
to don't load any config file..
add 'conf' command to load specified config file
(This used to be commit 237883d1e68e99a3ea3df9b6e182c70cb31b2523)

20 years agoAt least try to get this function picked up by the autoprototyper
Andrew Bartlett [Wed, 25 Sep 2002 09:56:36 +0000 (09:56 +0000)]
At least try to get this function picked up by the autoprototyper
(This used to be commit d5303d5c080212486329f7e5a65f732e11efbb37)

20 years agoKill of Get_Pwnam_Modify and smb_getpwnam(). The latter assumes some things
Andrew Bartlett [Wed, 25 Sep 2002 09:55:41 +0000 (09:55 +0000)]
Kill of Get_Pwnam_Modify and smb_getpwnam().  The latter assumes some things
that just don't apply any more - now that we always keep username and domain
seperate.  Also, the policy it was trying to permit is now implemented by the
auth code.

Andrew Bartlett
(This used to be commit 760c0740cad948665db4a1d462fbbd99332713ef)

20 years agoAnother patch from metze, towards his work on sam_ads.
Andrew Bartlett [Wed, 25 Sep 2002 09:40:45 +0000 (09:40 +0000)]
Another patch from metze, towards his work on sam_ads.

See for his current progress.
(This used to be commit 9c62d1312fdf0aa7b1978e8bbb56fc076ba7e9d0)

20 years agoHeader files should not include includes.h - therein lies maddness, particuarly
Andrew Bartlett [Wed, 25 Sep 2002 09:38:27 +0000 (09:38 +0000)]
Header files should not include includes.h - therein lies maddness, particuarly
if we ever want to get rid of the magic macros.
(This used to be commit 13f33e466ed31d35221157d6b3a1a05507157b66)

20 years agoActually pick up the kerberos libs in RedHat - the previous shell construct
Andrew Bartlett [Wed, 25 Sep 2002 09:37:18 +0000 (09:37 +0000)]
Actually pick up the kerberos libs in RedHat - the previous shell construct
didn't seem to work properly.

Andrew Bartlett
(This used to be commit c0925b6352ff6135da03edff44e0bbd72c949a20)

20 years agoIf adding a user to ldap, make sure we have the 'account' structural class, or
Andrew Bartlett [Wed, 25 Sep 2002 09:35:45 +0000 (09:35 +0000)]
If adding a user to ldap, make sure we have the 'account' structural class, or
else we can't add to OpenLDAP 2.1
(This used to be commit d9a91a41441c156223760cb356fa997ea7bdbc1a)

20 years agoMove to common user token debugging, and ensure we always print both the
Andrew Bartlett [Wed, 25 Sep 2002 09:34:43 +0000 (09:34 +0000)]
Move to common user token debugging, and ensure we always print both the
NT_TOKEN and the unix credentials - as we incresingly use the NT stuff we want
to make it easy to check they don't get out of wack.

Andrew Bartlett
(This used to be commit a3882a19254811ace2f9545580c14ce3bd588095)

20 years agoAvoid a segfault in net join when you have not done an kinit, and it's falling
Andrew Bartlett [Wed, 25 Sep 2002 09:32:08 +0000 (09:32 +0000)]
Avoid a segfault in net join when you have not done an kinit, and it's falling
back to NTLMSSP.  We need to get the password out of the user, and this
eventually does.

Andrew Bartlett
(This used to be commit bb518a3bae3bf91a589021fcc5b1e715247c5ded)

20 years agoThe security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?)
Tim Potter [Wed, 25 Sep 2002 06:25:02 +0000 (06:25 +0000)]
The security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?)
(This used to be commit 7ce782c20c6b9e515a2fa831315ae14c66d322ee)

20 years agoMerge of "profile acls" code.
Jeremy Allison [Wed, 25 Sep 2002 05:11:25 +0000 (05:11 +0000)]
Merge of "profile acls" code.
(This used to be commit cfd1bf250b417f3ba3ad21ff681ab282311bb7eb)

20 years agomerge from APP_HEAD
Gerald Carter [Wed, 25 Sep 2002 05:01:51 +0000 (05:01 +0000)]
merge from APP_HEAD
(This used to be commit 930c6710fe076b52ad21addf5fcda834f85e15a9)

20 years agoHold lock on NEXTJOB record for a very short time. Jerry needs to add code
Jeremy Allison [Tue, 24 Sep 2002 22:57:51 +0000 (22:57 +0000)]
Hold lock on NEXTJOB record for a very short time. Jerry needs to add code
to make this rebust w.r.t. stored devicemodes.
(This used to be commit f93a008f09acda2ddaff9857f2fe0c86948539d1)

20 years agoMoved -ve cache check to correct place.
Jeremy Allison [Tue, 24 Sep 2002 22:56:59 +0000 (22:56 +0000)]
Moved -ve cache check to correct place.
(This used to be commit 38c67632ade40413c0cc2b91e04105e4065a18b7)

20 years agoenum_domains shouldn't crash when there are no domains available
Jelmer Vernooij [Tue, 24 Sep 2002 21:29:33 +0000 (21:29 +0000)]
enum_domains shouldn't crash when there are no domains available
(This used to be commit d312e1c2b44905af87c4d550975eee78dbf2edee)

20 years agoFix bug in get_methods_by_name
Jelmer Vernooij [Tue, 24 Sep 2002 21:18:22 +0000 (21:18 +0000)]
Fix bug in get_methods_by_name
Fix bug in enum_domains
Add samtest commands:
 - lookup_sid
 - lookup_name
 - enum_domains
 - lookup_domain
(This used to be commit 0c01219850e5d9b77b3b2c0b4b87aa3c82e3292b)

20 years ago- Don't put pointer to sam_domain_handle in sam_methods but single domainsid and...
Jelmer Vernooij [Tue, 24 Sep 2002 20:18:39 +0000 (20:18 +0000)]
- Don't put pointer to sam_domain_handle in sam_methods but single domainsid and domainname
- Allocate sam_methods, set domain_sid, domain_name and backend_name in make_sam_methods_backend_entry instead of in the backend
- Remove sam_context and domain_sid pointers from the sam_init_function - we don't need those arguments anymore since they're
  available in sam_methods as well
(This used to be commit 50d2527eed0eb26c16f2f7e28badbf08d771380e)

20 years agoThis is a first working version of net rpc vampire. First do a net rpc
Volker Lendecke [Tue, 24 Sep 2002 06:50:11 +0000 (06:50 +0000)]
This is a first working version of net rpc vampire. First do a net rpc
getsid, then join as a BDC, and then watch net rpc vampire suck out
the good stuff out of a PDC :-). It's not perfect, but it does quite a
bit for me. Watch out for more.

(This used to be commit f0d7ac9feb5844c93789344285b1d66f480209ba)

20 years agoMake sure that Alfred Perlstein's changes get into head as smbprint and
Richard Sharpe [Tue, 24 Sep 2002 06:44:37 +0000 (06:44 +0000)]
Make sure that Alfred Perlstein's changes get into head as smbprint and
that the old one becomes smbprint.old.

We still need to hack smbprint some more to make sure that we can pass
the username and password in a file rather than on the command line where
local hackers can see it.
(This used to be commit ef970a764eb97893ff2090f7cbf2f2ec06911d0f)

20 years agoTypos! Fix 'em!
John Terpstra [Tue, 24 Sep 2002 01:59:08 +0000 (01:59 +0000)]
Typos! Fix 'em!
(This used to be commit d2976b6872c43e3b5bb9a589e8eaff1a08ad5352)

20 years agoRemoved call to configure for VFS modules.
John Terpstra [Tue, 24 Sep 2002 01:37:05 +0000 (01:37 +0000)]
Removed call to configure for VFS modules.
(This used to be commit a029d9781d8511eb5eb51568647fbeccde2efed3)

20 years agoUpdated in preparation for samba-3.0.0alpha20
John Terpstra [Tue, 24 Sep 2002 01:12:11 +0000 (01:12 +0000)]
Updated in preparation for samba-3.0.0alpha20
(This used to be commit 05f61b2dc4c120f5303e1a7c85ca8b1409d9a95e)

20 years agoDon't uppercase the username and domain in a session setup.
Tim Potter [Mon, 23 Sep 2002 21:24:31 +0000 (21:24 +0000)]
Don't uppercase the username and domain in a session setup.
(This used to be commit 0ad19825df318030b1772404570cd993fe49e40a)

20 years agoOk, what's this? Samba as a PDC wants to authenticate a user coming in
Volker Lendecke [Mon, 23 Sep 2002 17:50:04 +0000 (17:50 +0000)]
Ok, what's this? Samba as a PDC wants to authenticate a user coming in
to a native NT member server. If the logoff time in the samlogon reply
is set to something else but infinity, the tree connect to the member
server comes back with 'bad uid'. In my traces, NT PDC sends
0x7fff.. always. Weird, but true.

I would really like others to double-check this. If you have questions
regarding the setup, feel free to ask!


(This used to be commit 066b163bde9419d32fe8ffe00c1841107357c138)

20 years agoUpdate some help. People keep forgetting that!
Richard Sharpe [Mon, 23 Sep 2002 16:54:32 +0000 (16:54 +0000)]
Update some help. People keep forgetting that!
(This used to be commit b53547bf663ed1714326f9b0e74215e012e728af)

20 years agoAdd net getlocalsid [name]
Richard Sharpe [Mon, 23 Sep 2002 16:46:32 +0000 (16:46 +0000)]
Add net getlocalsid [name]
(This used to be commit 08c3e2b824cd2c93ca548fa18ea16a18f5b197e5)

20 years agoOk, getting a bit more ambitious. Stop me, if this is wrong. ;-)
Volker Lendecke [Mon, 23 Sep 2002 16:21:01 +0000 (16:21 +0000)]
Ok, getting a bit more ambitious. Stop me, if this is wrong. ;-)

When creating a group you have to take care of the fact that the
underlying unix might not like the group name. This change gets around
that problem by giving the add group script the chance to invent a
group name. It then must only return the newly created numerical gid.

(This used to be commit b959419ed38e66a12b63cad3e5fbfa849f952acc)

20 years agoCosmetic fix for debug message.
Volker Lendecke [Mon, 23 Sep 2002 15:36:02 +0000 (15:36 +0000)]
Cosmetic fix for debug message.
(This used to be commit 42774a7753eb8be1ec04bcb5dda089910a1b6d0b)

20 years agotdbdump also needs signal.h. Thanks to Guenther Deschner <>
Volker Lendecke [Mon, 23 Sep 2002 15:00:09 +0000 (15:00 +0000)]
tdbdump also needs signal.h. Thanks to Guenther Deschner <>

(This used to be commit a1bade0748fa46c6cb00e99d7022b21057679889)

20 years agoAdd the ability to view/set the current local domain SIDs.
Volker Lendecke [Mon, 23 Sep 2002 10:05:15 +0000 (10:05 +0000)]
Add the ability to view/set the current local domain SIDs.

(This used to be commit f6ed429838cc0140c0d033875012c7a999891549)

20 years ago* fix getpass check
Gerald Carter [Mon, 23 Sep 2002 04:01:28 +0000 (04:01 +0000)]
* fix getpass check
* merge in AIX fixes from SAMBA_2_2
(This used to be commit 50752f84f24b36332ec4f1ade92dc5a095ac077b)

20 years agoFix typo.
Andrew Bartlett [Mon, 23 Sep 2002 02:49:01 +0000 (02:49 +0000)]
Fix typo.
(This used to be commit 575b8674863341d3dbd04d8618a3a5f2ff5651ee)

20 years agoSmall, long overdue, fix for libsmbclient.
Richard Sharpe [Sun, 22 Sep 2002 16:22:48 +0000 (16:22 +0000)]
Small, long overdue, fix for libsmbclient.
(This used to be commit 40aea3fe94b68ce284e2f21e57f086212936c049)

20 years agoChange parsing of policy and privs delta to what Ethereal says.
Volker Lendecke [Sun, 22 Sep 2002 10:30:00 +0000 (10:30 +0000)]
Change parsing of policy and privs delta to what Ethereal says.

(This used to be commit 8c41b5cd1b8b0c2639def9552bd20b8aca39785c)

20 years agoSorry for the new parameter, but I think to really reflect what's coming
Volker Lendecke [Sat, 21 Sep 2002 14:14:40 +0000 (14:14 +0000)]
Sorry for the new parameter, but I think to really reflect what's coming
in via deltas, we need a way to set a user's primary group.

(This used to be commit 9f7a16acf1b1f3b100b85339aad8268254512e68)

20 years agoMerge back Richard's FreeBSD sendfile fixes.
Jeremy Allison [Sat, 21 Sep 2002 08:53:05 +0000 (08:53 +0000)]
Merge back Richard's FreeBSD sendfile fixes.
(This used to be commit f4845b0213aec58e0f489eba5653aa7b3855610f)

20 years agoenable 'map hidden' and 'create mask' to allow the new OPEN test to
Andrew Tridgell [Sat, 21 Sep 2002 01:30:08 +0000 (01:30 +0000)]
enable 'map hidden' and 'create mask' to allow the new OPEN test to
(This used to be commit f1058012b9662f0f9ce62ea05833e78a411f80b9)

20 years ago"@" is valid in NetBIOS domain names.
Jeremy Allison [Fri, 20 Sep 2002 19:09:28 +0000 (19:09 +0000)]
"@" is valid in NetBIOS domain names.
(This used to be commit 5c4857d8e00162fc43a0f2e3a335b441bad743bd)

20 years agoAdd framework for samtest commands
Jelmer Vernooij [Fri, 20 Sep 2002 16:59:48 +0000 (16:59 +0000)]
Add framework for samtest commands
(This used to be commit f1021cbc557bfa0078e932a8268c5c9adcae0ae8)

20 years agoreran autoconf
Gerald Carter [Fri, 20 Sep 2002 16:09:59 +0000 (16:09 +0000)]
reran autoconf
(This used to be commit 29be94110415c87c7030f0d2d87b612220397eae)

20 years agoCUPS merge from SAMBA_2_2
Gerald Carter [Fri, 20 Sep 2002 15:11:31 +0000 (15:11 +0000)]
CUPS merge from SAMBA_2_2
(This used to be commit cbb16eac0e79649f4383763439c7e745f27fd0cb)

20 years agochange ADS negprot to match more closely the options used by w2k. This
Andrew Tridgell [Fri, 20 Sep 2002 09:37:02 +0000 (09:37 +0000)]
change ADS negprot to match more closely the options used by w2k. This
affects the principal used and the order of SPNEGO OIDs
(This used to be commit e8ff1c0819e02a1fc7234ad0a07d5415936dfbd2)

20 years agoallow --with-krb5 to override the location of the kerberos libs on
Andrew Tridgell [Fri, 20 Sep 2002 09:34:35 +0000 (09:34 +0000)]
allow --with-krb5 to override the location of the kerberos libs on
(This used to be commit 56b194e83538bcb6006a5ab1e00cdb493dd9ad7f)

20 years agoremove proto headers on realclean
Tim Potter [Thu, 19 Sep 2002 23:32:38 +0000 (23:32 +0000)]
remove proto headers on realclean
(This used to be commit 1bd2c6e1441ea8e54284c72dc07de741f88dbe90)

20 years agoUse sendfile in readbraw.
Jeremy Allison [Thu, 19 Sep 2002 18:20:38 +0000 (18:20 +0000)]
Use sendfile in readbraw.
(This used to be commit a77966645a976d6ae08581c2e92465c48a8e961d)

20 years agoMove functionality to check whether entries for lp_workgroup() and "BUILTIN"
Jelmer Vernooij [Thu, 19 Sep 2002 17:40:55 +0000 (17:40 +0000)]
Move functionality to check whether entries for lp_workgroup() and "BUILTIN"
exist and add them if necessary from check_correct_backend_entries into
sam_context_check_default_backends. The reason for this is that we don't
always want to have BUILTIN and lp_workgroup() in a sam_context, for example
when doing sam2sam. check_correct_backend_entries has been renamed to
'check_duplicate_backend_entries' since that's what it currently does.

The sam_context_check_default_backends() function is only called
by sam_get_static_context(BOOL reload) currently currently.
(This used to be commit 2fe72652ee468bf5e1f8f151215f45b10f4c8a28)

20 years agotdb tools need #include <signal.h>
Jeremy Allison [Thu, 19 Sep 2002 17:36:29 +0000 (17:36 +0000)]
tdb tools need #include <signal.h>
(This used to be commit 7e19a6b7ade1e70aafa9be8a86665a49f592b6f4)

20 years agoMerge in first command for 'samtest'
Jelmer Vernooij [Thu, 19 Sep 2002 15:39:00 +0000 (15:39 +0000)]
Merge in first command for 'samtest'
Fix small bug in sam/interface.c
Make sam backend to default to a define
(This used to be commit 60ab55fedf03a0b505b0b73527e031124a46304e)

20 years agotrivial comment fix
Volker Lendecke [Thu, 19 Sep 2002 12:34:39 +0000 (12:34 +0000)]
trivial comment fix
(This used to be commit 9d6331524089d76c5832b9ba001fb0e8a05f39d7)

20 years agoRemove hardcoded -I stuff. Hooray!
Tim Potter [Thu, 19 Sep 2002 05:49:14 +0000 (05:49 +0000)]
Remove hardcoded -I stuff.  Hooray!
(This used to be commit 105ff7c5400a6b79613b6a3b72808124b17ddc60)

20 years agoClean up python extensions in clean target.
Tim Potter [Thu, 19 Sep 2002 05:47:50 +0000 (05:47 +0000)]
Clean up python extensions in clean target.

Pass more flags down to so we don't have to hard code any
-I directives.
(This used to be commit a36882175ae546859fa4a5ba02a22d711a04cedf)

20 years agoBong! The devmode could be NULL. Don't crash if this is the case.
Tim Potter [Thu, 19 Sep 2002 05:39:03 +0000 (05:39 +0000)]
Bong!  The devmode could be NULL.  Don't crash if this is the case.
(This used to be commit 3ce8f8c50c0adcedc38bf2812b7e9fae78942458)

20 years agoFixed bug in keyword args for enumprinterdataex
Tim Potter [Thu, 19 Sep 2002 05:29:14 +0000 (05:29 +0000)]
Fixed bug in keyword args for enumprinterdataex
(This used to be commit c7845b3c43f7167f2c695722bc9923ff666ade76)

20 years agoMoving to subdirectory.
Tim Potter [Thu, 19 Sep 2002 00:26:07 +0000 (00:26 +0000)]
Moving to subdirectory.
(This used to be commit 154c59c8f92b9f735f4e1e7c8c42692c959996f1)

20 years agoImplement printerdata_ex as Python dictionary. Read only at the moment.
Tim Potter [Thu, 19 Sep 2002 00:14:01 +0000 (00:14 +0000)]
Implement printerdata_ex as Python dictionary.  Read only at the moment.
(This used to be commit 739ea89eb3ab49e5dccddfa767812811b413e67d)

20 years agoAdded "use sendfile" per share option.
Jeremy Allison [Wed, 18 Sep 2002 20:36:50 +0000 (20:36 +0000)]
Added "use sendfile" per share option.
(This used to be commit 28466ff42c3328e49d46f7cddfc4bb2fe462d871)

20 years agoHPUX sendfile is now detected correctly.
Jeremy Allison [Wed, 18 Sep 2002 20:07:56 +0000 (20:07 +0000)]
HPUX sendfile is now detected correctly.
(This used to be commit 91e41ebe97c143f413e2a5614b20f3db4642490f)

20 years agoprintjob merge from APP_HEAD regarding device modes
Gerald Carter [Wed, 18 Sep 2002 19:06:58 +0000 (19:06 +0000)]
printjob merge from APP_HEAD regarding device modes
(This used to be commit aa52351384abace54a89c9fbfa5e4c31a8464c91)

20 years agoUpdate introduction somewhat
Jelmer Vernooij [Wed, 18 Sep 2002 13:34:47 +0000 (13:34 +0000)]
Update introduction somewhat
(This used to be commit 060c0bda078923b11c34539323f9def176c006bc)

20 years agosamtest and vfstest binaries shouldn't go into CVS...
Jelmer Vernooij [Wed, 18 Sep 2002 13:16:07 +0000 (13:16 +0000)]
samtest and vfstest binaries shouldn't go into CVS...
(This used to be commit 53f7af9c41633877757c85182660c0826275ff2d)

20 years agoDisplay the repr() of non-string dictionary values.
Tim Potter [Wed, 18 Sep 2002 08:16:22 +0000 (08:16 +0000)]
Display the repr() of non-string dictionary values.
(This used to be commit 3c6975c711d87755f0532147f9aaecb224159f43)

20 years agoFirst code for 'net rpc vampire'. We should probably find a more
Volker Lendecke [Wed, 18 Sep 2002 06:34:10 +0000 (06:34 +0000)]
First code for 'net rpc vampire'. We should probably find a more
positive name for this. It creates users and global groups. More to come.

(This used to be commit 0c1fadd9e024ef886542d362a7f119968552852d)

20 years agoAdd a synonym for samdump ...
Richard Sharpe [Wed, 18 Sep 2002 06:11:13 +0000 (06:11 +0000)]
Add a synonym for samdump ...
(This used to be commit a8dc1464ea2d05eb2a26afdd433cdb6b69002259)

20 years agoFixed compiler error when HAVE_KRB5 not defined.
Tim Potter [Wed, 18 Sep 2002 01:40:13 +0000 (01:40 +0000)]
Fixed compiler error when HAVE_KRB5 not defined.
(This used to be commit 66c2e25079b348188abd48868300771b1e49fff3)

20 years agoWe had a race condition when changing a machine acount password as we
Jeremy Allison [Wed, 18 Sep 2002 00:30:00 +0000 (00:30 +0000)]
We had a race condition when changing a machine acount password as we
were no longer locking the secrets entry. I saw this on a live system.
(This used to be commit 660dafcbb2d1029831212a32d995891626a0344c)

20 years agoNever, *ever* hold a mutex lock in the message database where there may
Jeremy Allison [Tue, 17 Sep 2002 23:45:21 +0000 (23:45 +0000)]
Never, *ever* hold a mutex lock in the message database where there may
be traversals being attempted. Yes, this was from bitter experience (and
an out of control server :-). Also allow callers to break out of a tdb_chainlock
with sigalarm if desired.
(This used to be commit a7781f91d8c1177210bffc199cd2f3b7ff993eaf)

20 years agoReverted my earlier change. It was incorrect. We must be protected by
Jeremy Allison [Tue, 17 Sep 2002 20:53:21 +0000 (20:53 +0000)]
Reverted my earlier change. It was incorrect. We must be protected by
pidfile before doing secrets_init().
(This used to be commit f8a0e6ad8b25d405ff2bcb492974d2f0bef81036)

20 years agoOnly create the pidfile once we're ready to receive requests.
Jeremy Allison [Tue, 17 Sep 2002 20:47:59 +0000 (20:47 +0000)]
Only create the pidfile once we're ready to receive requests.
This allows external programs to correctly synchronise with us.
(This used to be commit ffb7632d05191342ecfc5f78fbfd7beacfe257ad)

20 years agoActually use sendfile if selected.
Jeremy Allison [Tue, 17 Sep 2002 19:48:19 +0000 (19:48 +0000)]
Actually use sendfile if selected.
(This used to be commit 5881f0a22633ed9fb73e6cd788d0751c4db6cd32)

20 years agoAdd clock skew handling to our kerberos code. This allows us to cope with
Andrew Tridgell [Tue, 17 Sep 2002 12:12:50 +0000 (12:12 +0000)]
Add clock skew handling to our kerberos code. This allows us to cope with
the DC being out of sync with the local machine.
(This used to be commit 0d28d769472ea3b98ae4c8757093dfd4499f6dd1)

20 years agodisable stat cache when case sensitive
Andrew Tridgell [Tue, 17 Sep 2002 12:09:46 +0000 (12:09 +0000)]
disable stat cache when case sensitive
(This used to be commit 3401c3616b3dcb99053f89d88f8e351c986c9096)

20 years agomore const cleanups
Andrew Tridgell [Tue, 17 Sep 2002 12:08:55 +0000 (12:08 +0000)]
more const cleanups
(This used to be commit dfa85f9c48aa3c8d93775df6b6ad2dec9a1692d7)

20 years agoanother const cleanup
Andrew Tridgell [Tue, 17 Sep 2002 12:07:47 +0000 (12:07 +0000)]
another const cleanup
(This used to be commit 443d5ebafad46a9a62527642628aff8e5d9dc10c)

20 years agoAdded --with-ldap (default=yes) option. We should now be able to
Tim Potter [Tue, 17 Sep 2002 06:11:51 +0000 (06:11 +0000)]
Added --with-ldap (default=yes) option.  We should now be able to
compile a non-ADS, non-LDAP version of Samba on a machine with
Kerberos and LDAP libraries installed.

This shouldn't break anything - let's keep an eye on the build
farm just in case.
(This used to be commit b9460e79a13ab74a5fc05a9db1b5cf4d402fb197)

20 years agoRerun configure.
Tim Potter [Tue, 17 Sep 2002 05:38:44 +0000 (05:38 +0000)]
Rerun configure.
(This used to be commit c7d4bfde737c5aeda14b72e48197bb2a9a02bbd8)

20 years agoAdded --with-ads option, defaults to yes. If you run ./configure
Tim Potter [Tue, 17 Sep 2002 05:38:12 +0000 (05:38 +0000)]
Added --with-ads option, defaults to yes.  If you run ./configure
--with-ads=no or ./configure --without-ads Samba will build without
linking to the various kerberos libraries.
(This used to be commit edb6172abf0f07fead8ed3aaaebe0411d757aa64)

20 years agoRerun autoconf.
Tim Potter [Tue, 17 Sep 2002 01:19:04 +0000 (01:19 +0000)]
Rerun autoconf.
(This used to be commit 041f47230b865294e657f47e6aba2fa83a15bf31)

20 years agoDefault to "python" for --with-python option. This saves having to run
Tim Potter [Tue, 17 Sep 2002 01:14:54 +0000 (01:14 +0000)]
Default to "python" for --with-python option.  This saves having to run
--with-python=python which looks a bit silly.
(This used to be commit 130e05de073268cbabed0e2f80f0011e5f72dc02)

20 years agoAdded FreeBSD sendfile configure tests. Richard please test...
Jeremy Allison [Tue, 17 Sep 2002 01:10:47 +0000 (01:10 +0000)]
Added FreeBSD sendfile configure tests. Richard please test...
(This used to be commit 6425f169779ce65509b77cf6d5634de24894a965)

20 years agoAttempt to make broken Linux sendfile work.... Still in progress.
Jeremy Allison [Tue, 17 Sep 2002 01:00:03 +0000 (01:00 +0000)]
Attempt to make broken Linux sendfile work.... Still in progress.
(This used to be commit f956a4d29d0d88cd92fac0f0c9f636fc152afe0a)

20 years agoAdded autoconf detection for sendfile for Linux. lib/sendfile.c code
Jeremy Allison [Tue, 17 Sep 2002 00:45:39 +0000 (00:45 +0000)]
Added autoconf detection for sendfile for Linux. lib/sendfile.c code
still needs more work. Don't add --with-sendfile-support yet...
(This used to be commit c6ece53ac2a7a6115ca1160cf02247d7cc0bbb95)

20 years agoUpdate to add DEVELOPER option to more parameters.
John Terpstra [Mon, 16 Sep 2002 12:53:11 +0000 (12:53 +0000)]
Update to add DEVELOPER option to more parameters.
(This used to be commit bd9dbf5c79bf2bfecdf008fe93eba87ea9993a3c)

20 years agoCommitting changes before I lose them. Work still in progress.
John Terpstra [Mon, 16 Sep 2002 11:50:28 +0000 (11:50 +0000)]
Committing changes before I lose them. Work still in progress.
(This used to be commit 89842d94bb2b2bb386716c7db96cc0acda80b76e)

20 years agoApplied new display mode FLAGS for SWAT.
John Terpstra [Mon, 16 Sep 2002 07:49:42 +0000 (07:49 +0000)]
Applied new display mode FLAGS for SWAT.
(This used to be commit 8a1c136494de47bae74627b07edea6f72eab37cf)

20 years agoChanged Major/Minor version info reported to Server Manager to 4.9.
John Terpstra [Mon, 16 Sep 2002 07:48:39 +0000 (07:48 +0000)]
Changed Major/Minor version info reported to Server Manager to 4.9.
Added new SWAT Flags for Advanced and Developer modes.
(This used to be commit 0250e2c52c7d7aa25308b6c20b8e2a51184cb598)

20 years agoDon't display debugs of the nt user token twice.
Tim Potter [Sun, 15 Sep 2002 23:42:59 +0000 (23:42 +0000)]
Don't display debugs of the nt user token twice.
(This used to be commit 2011a38f3bd1e51aa1ca0219a9e46da12426cbc3)

20 years agoMerge of 'other_sids' patch from appliance.
Tim Potter [Sun, 15 Sep 2002 23:40:55 +0000 (23:40 +0000)]
Merge of 'other_sids' patch from appliance.
(This used to be commit 7decd4b3a9e6900ab35f7bf5b266361f308aa58d)

20 years agoPut unixsocket calls between #ifdef HAVE_UNIXSOCKET's - required for Stratus VOS
Jelmer Vernooij [Sun, 15 Sep 2002 17:49:53 +0000 (17:49 +0000)]
Put unixsocket calls between #ifdef HAVE_UNIXSOCKET's - required for Stratus VOS
(Double checked)
(This used to be commit dc3c14fc2b661a62a1876149e96af6de07a2c4a6)

20 years agoMake current_sam_methods a const - Patch by Kai Krüger
Jelmer Vernooij [Sun, 15 Sep 2002 16:35:44 +0000 (16:35 +0000)]
Make current_sam_methods a const - Patch by Kai Krüger
(This used to be commit bd7245dc6fcff805fcb69f6bd1f4852dadf5aa84)

20 years agoAdd document on tracing system calls
Jelmer Vernooij [Sun, 15 Sep 2002 13:26:16 +0000 (13:26 +0000)]
Add document on tracing system calls
(This used to be commit 1e14815f4cd9e8a9ca5c0d41de902f9c0dd6410c)

20 years agoAdd reference to CUPS documentation about how to use unix -> windows
Jelmer Vernooij [Sun, 15 Sep 2002 13:23:56 +0000 (13:23 +0000)]
Add reference to CUPS documentation about how to use unix -> windows
clients using samba
(This used to be commit 898f30fffb4e613e4a7efa0463c54fbc3b1f3cca)