summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-09-26Make functions return NTSTATUS instead of BOOLJelmer Vernooij1-14/+14
(This used to be commit 6347d40eff03ad780446bdae0f1dfe0bc9edf824)
2002-09-26Add -r parameter to smbgroupedit. With -r you can manually chooseVolker Lendecke1-21/+26
a rid. Volker (This used to be commit 11ec785f3f43b277ae3f28b38865f4de972495bc)
2002-09-26Patch from "Kai Krueger" <kai@kruegernetz.de> to get some more of our accessAndrew Bartlett2-47/+58
control bits right on the SAMR pipe. Andrew Bartlett (This used to be commit e87948c777b59592b130da081ef5d25600455d29)
2002-09-26forgot include file, sorrySimo Sorce1-14/+14
(This used to be commit 67d600ed8ed1cdd25503fdb2299bdfa93befee1f)
2002-09-26Patch from "Stefan (metze) Metzmacher" <metze@metzemix.de> to do a *much*Andrew Bartlett6-85/+419
better job of working with usrmgr. Previously we were blanking out entires, and all sort of mischif. The new patch (which I've now had a chance to test/modify) also takes care not to expand % values (ie we go \\%L\%U -> \\server\user, we don't want to store \\server\user back) and to correctly notice 'not set' compared to 'null string' etc. Andrew Bartlett (This used to be commit ab878b6cc4132594fc33f78aeebf0d8b7266c150)
2002-09-26move all the passdb internal interface to NTSTATUSSimo Sorce7-269/+320
only the interface has been fully moved to NTSTATUS not all the plugins make full use of it, but have been all converted. My testings passed completely, however a bit of more testing is welcome Simo. (This used to be commit 102a26e06591928a03b49cd312a65811ed46314f)
2002-09-25notify user when no {domains,accounts} were foundJelmer Vernooij1-0/+10
(This used to be commit ee3b497962a28c7c58e866b8536b1d2ae6f9b23a)
2002-09-25Add samtest command 'enum_accounts' + few typo fixes in sam/interface.cJelmer Vernooij2-4/+30
(This used to be commit 81156d6556dab2ea23dea69da6940a0482d79d9b)
2002-09-25add samtest commands:Jelmer Vernooij1-1/+134
- show_domain - context (This used to be commit e969b1897269ebd27650c2192cd19ebda47e042e)
2002-09-25fix getpass replacement check (i thought I fixed this a few daysGerald Carter1-0/+2
ago....) (This used to be commit 1b55965f12dc2ede46ca2dbc82acbf56b7e33e2e)
2002-09-25Make it clear what this if statement applies to, and what it doesn'tAndrew Bartlett1-0/+1
(This used to be commit 6b78e554c3dd3c98bff7dbd1d3715a9b7e405b8d)
2002-09-25remove extern for AllowDebugChange since we don't use itJelmer Vernooij1-1/+0
(This used to be commit 70d9b71ceaeba95712fa61e601376ff5cc8e7714)
2002-09-25Fix the circular dependency that was preventing 'domain master = auto' (theAndrew Bartlett1-1/+1
default) from working. Andrew Bartlett (This used to be commit 25950dbb3272949a235bed936c7d7b1d23f15fac)
2002-09-25Metze claims that without this his win2k server gets horribly confused lookingAndrew Bartlett1-2/+2
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)
2002-09-25Whenever we deal with adding machine/trusted domain accounts, always reset theAndrew Bartlett1-20/+23
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)
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)