summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-09-25Don't crash when a backend doesn't have a setsampwent function available - ↵Jelmer Vernooij1-2/+2
bug reported by metze (This used to be commit 4aea951102a6e82612560e6a59931fde433ee6ea)
2002-09-25This patch from "Stefan (metze) Metzmacher" <metze@metzemix.de> cleans upAndrew Bartlett5-128/+231
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)
2002-09-25Fix debuglevel command-line argumentJelmer Vernooij1-1/+0
(This used to be commit 779aea57450db83fa7870e8a35db55d475682519)
2002-09-25Compile samtest with LIBADS_OBJ and PASSDB_OBJ...Jelmer Vernooij1-1/+1
(This used to be commit f0c095875758ef44ed2d25d3ed9d77e5e163b75f)
2002-09-25samtest should load smb.conf by defaultJelmer Vernooij1-1/+26
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)
2002-09-25At least try to get this function picked up by the autoprototyperAndrew Bartlett1-2/+2
(This used to be commit d5303d5c080212486329f7e5a65f732e11efbb37)
2002-09-25Kill of Get_Pwnam_Modify and smb_getpwnam(). The latter assumes some thingsAndrew Bartlett2-59/+2
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)
2002-09-25Another patch from metze, towards his work on sam_ads.Andrew Bartlett4-11/+108
See mx-ldap.sf.net for his current progress. (This used to be commit 9c62d1312fdf0aa7b1978e8bbb56fc076ba7e9d0)
2002-09-25Header files should not include includes.h - therein lies maddness, particuarlyAndrew Bartlett1-3/+0
if we ever want to get rid of the magic macros. (This used to be commit 13f33e466ed31d35221157d6b3a1a05507157b66)
2002-09-25Actually pick up the kerberos libs in RedHat - the previous shell constructAndrew Bartlett2-8/+8
didn't seem to work properly. Andrew Bartlett (This used to be commit c0925b6352ff6135da03edff44e0bbd72c949a20)
2002-09-25If adding a user to ldap, make sure we have the 'account' structural class, orAndrew Bartlett1-0/+1
else we can't add to OpenLDAP 2.1 (This used to be commit d9a91a41441c156223760cb356fa997ea7bdbc1a)
2002-09-25Move to common user token debugging, and ensure we always print both theAndrew Bartlett2-17/+26
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)
2002-09-25Avoid a segfault in net join when you have not done an kinit, and it's fallingAndrew Bartlett1-0/+5
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)
2002-09-25The security descriptor in a PRINTER_INFO_2 could be NULL. (Bong?)Tim Potter1-2/+6
(This used to be commit 7ce782c20c6b9e515a2fa831315ae14c66d322ee)
2002-09-25Merge of "profile acls" code.Jeremy Allison3-4/+41
Jeremy. (This used to be commit cfd1bf250b417f3ba3ad21ff681ab282311bb7eb)
2002-09-25merge from APP_HEADGerald Carter2-8/+34
(This used to be commit 930c6710fe076b52ad21addf5fcda834f85e15a9)
2002-09-24Hold lock on NEXTJOB record for a very short time. Jerry needs to add codeJeremy Allison1-29/+52
to make this rebust w.r.t. stored devicemodes. Jeremy. (This used to be commit f93a008f09acda2ddaff9857f2fe0c86948539d1)
2002-09-24Moved -ve cache check to correct place.Jeremy Allison1-10/+10
Jeremy. (This used to be commit 38c67632ade40413c0cc2b91e04105e4065a18b7)
2002-09-24enum_domains shouldn't crash when there are no domains availableJelmer Vernooij1-4/+0
(This used to be commit d312e1c2b44905af87c4d550975eee78dbf2edee)
2002-09-24Fix bug in get_methods_by_nameJelmer Vernooij2-19/+80
Fix bug in enum_domains Add samtest commands: - lookup_sid - lookup_name - enum_domains - lookup_domain (This used to be commit 0c01219850e5d9b77b3b2c0b4b87aa3c82e3292b)
2002-09-24- Don't put pointer to sam_domain_handle in sam_methods but single domainsid ↵Jelmer Vernooij7-141/+156
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)
2002-09-24This is a first working version of net rpc vampire. First do a net rpcVolker Lendecke1-12/+264
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. Volker (This used to be commit f0d7ac9feb5844c93789344285b1d66f480209ba)
2002-09-24Make sure that Alfred Perlstein's changes get into head as smbprint andRichard Sharpe2-27/+172
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)
2002-09-24Typos! Fix 'em!John Terpstra1-1/+1
(This used to be commit d2976b6872c43e3b5bb9a589e8eaff1a08ad5352)
2002-09-24Removed call to configure for VFS modules.John Terpstra1-5/+5
(This used to be commit a029d9781d8511eb5eb51568647fbeccde2efed3)
2002-09-24Updated in preparation for samba-3.0.0alpha20John Terpstra1-14/+13
(This used to be commit 05f61b2dc4c120f5303e1a7c85ca8b1409d9a95e)
2002-09-23Don't uppercase the username and domain in a session setup.Tim Potter2-4/+2
(This used to be commit 0ad19825df318030b1772404570cd993fe49e40a)
2002-09-23Ok, what's this? Samba as a PDC wants to authenticate a user coming inVolker Lendecke1-2/+2
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! Thanks! Volker (This used to be commit 066b163bde9419d32fe8ffe00c1841107357c138)
2002-09-23Update some help. People keep forgetting that!Richard Sharpe1-1/+3
(This used to be commit b53547bf663ed1714326f9b0e74215e012e728af)
2002-09-23Add net getlocalsid [name]Richard Sharpe1-0/+26
(This used to be commit 08c3e2b824cd2c93ca548fa18ea16a18f5b197e5)
2002-09-23Ok, getting a bit more ambitious. Stop me, if this is wrong. ;-)Volker Lendecke4-10/+46
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. Volker (This used to be commit b959419ed38e66a12b63cad3e5fbfa849f952acc)
2002-09-23Cosmetic fix for debug message.Volker Lendecke1-2/+1
(This used to be commit 42774a7753eb8be1ec04bcb5dda089910a1b6d0b)
2002-09-23tdbdump also needs signal.h. Thanks to Guenther Deschner <gd@suse.de>Volker Lendecke1-0/+1
Volker (This used to be commit a1bade0748fa46c6cb00e99d7022b21057679889)
2002-09-23Add the ability to view/set the current local domain SIDs.Volker Lendecke1-0/+45
Volker (This used to be commit f6ed429838cc0140c0d033875012c7a999891549)
2002-09-23* fix getpass checkGerald Carter2-389/+390
* merge in AIX fixes from SAMBA_2_2 (This used to be commit 50752f84f24b36332ec4f1ade92dc5a095ac077b)
2002-09-23Fix typo.Andrew Bartlett1-1/+1
(This used to be commit 575b8674863341d3dbd04d8618a3a5f2ff5651ee)
2002-09-22Small, long overdue, fix for libsmbclient.Richard Sharpe1-0/+19
(This used to be commit 40aea3fe94b68ce284e2f21e57f086212936c049)
2002-09-22Change parsing of policy and privs delta to what Ethereal says.Volker Lendecke3-129/+104
Volker (This used to be commit 8c41b5cd1b8b0c2639def9552bd20b8aca39785c)
2002-09-21Sorry for the new parameter, but I think to really reflect what's comingVolker Lendecke2-3/+24
in via deltas, we need a way to set a user's primary group. Volker (This used to be commit 9f7a16acf1b1f3b100b85339aad8268254512e68)
2002-09-21Merge back Richard's FreeBSD sendfile fixes.Jeremy Allison3-388/+390
Jeremy. (This used to be commit f4845b0213aec58e0f489eba5653aa7b3855610f)
2002-09-21enable 'map hidden' and 'create mask' to allow the new OPEN test toAndrew Tridgell1-0/+2
succeed (This used to be commit f1058012b9662f0f9ce62ea05833e78a411f80b9)
2002-09-20"@" is valid in NetBIOS domain names.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 5c4857d8e00162fc43a0f2e3a335b441bad743bd)
2002-09-20Add framework for samtest commandsJelmer Vernooij2-880/+117
(This used to be commit f1021cbc557bfa0078e932a8268c5c9adcae0ae8)
2002-09-20reran autoconfGerald Carter1-371/+387
(This used to be commit 29be94110415c87c7030f0d2d87b612220397eae)
2002-09-20CUPS merge from SAMBA_2_2Gerald Carter1-0/+4
(This used to be commit cbb16eac0e79649f4383763439c7e745f27fd0cb)
2002-09-20change ADS negprot to match more closely the options used by w2k. ThisAndrew Tridgell1-5/+3
affects the principal used and the order of SPNEGO OIDs (This used to be commit e8ff1c0819e02a1fc7234ad0a07d5415936dfbd2)
2002-09-20allow --with-krb5 to override the location of the kerberos libs onAndrew Tridgell1-12/+18
redhat (This used to be commit 56b194e83538bcb6006a5ab1e00cdb493dd9ad7f)
2002-09-19remove proto headers on realcleanTim Potter1-1/+1
(This used to be commit 1bd2c6e1441ea8e54284c72dc07de741f88dbe90)
2002-09-19Use sendfile in readbraw.Jeremy Allison1-11/+56
Jeremy. (This used to be commit a77966645a976d6ae08581c2e92465c48a8e961d)
2002-09-19Move functionality to check whether entries for lp_workgroup() and "BUILTIN"Jelmer Vernooij2-69/+98
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)