summaryrefslogtreecommitdiff
path: root/source3/passdb
AgeCommit message (Collapse)AuthorFilesLines
2003-09-18The "unknown_5" 32 bit field in the user structs is actually 2 16-bitJeremy Allison5-23/+75
fields, bad_password_count and logon_count. Ensure this is stored/fetched in the various SAMs. As it replaces the unknown_5 field this fits exactly into the tdb SAM without any binary problems. It also is added to the LDAP SAM as two extra attributes. It breaks compatibility with the experimental SAMs xml and mysql. The maintainers of these SAMs must fix them so upgrades like this can be done transparently. I will insist on the "experimental" status until this is solved. Jeremy. (This used to be commit 71ecd10181cd35313b79f618c2928c2f45424812)
2003-09-18Oops. Proper fix for #470.Jeremy Allison1-18/+20
Jeremy. (This used to be commit e121a2ec0c243477ea318d573166f342abbd1cce)
2003-09-18Fix for #470 - unable to display SIDs in ACLs.Jeremy Allison1-2/+11
Jeremy. (This used to be commit 1b343f710550a39815001c668c48d9b194f19243)
2003-09-16Fix typo. Found by Aurelien DegremontJelmer Vernooij1-1/+1
(This used to be commit 271111d6a7f5011c8300e060a9da3a972a28a704)
2003-09-15Merge from Samba 3.0:Tim Potter1-267/+226
>remove getpwnam() calls from init_sam_from_xxx(). >This means that %u & %g will no longer expand, but %U >and %G still do. The payback is that winbindd local >accounts for users work with 'wbinfo -u' when winbind >is running on a PDC. >Fix a nasty mess, and also bug #296. passdb/pdb_ldap.c was not converting >to/from utf8 for some calls. The libads code gets this right. Wonder why >the passdb code doesn't use it ? >Jeremy. (This used to be commit 1e60bbff70efe3b5c306bc1ef560ee8032b1a852)
2003-09-15Merge from Samba 3.0:Tim Potter1-29/+8
>remove getpwnam() calls from init_sam_from_xxx(). >This means that %u & %g will no longer expand, but %U >and %G still do. The payback is that winbindd local >accounts for users work with 'wbinfo -u' when winbind >is running on a PDC. (This used to be commit f047e24561688c697179b14549b1800e00b2a435)
2003-09-09removing unused filesGerald Carter2-1650/+0
(This used to be commit 1a9145015d4b2ee7e7399099760cda13d619e740)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter8-31/+666
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce6-80/+87
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-07-16ading new files from 3.0Gerald Carter1-0/+78
(This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter11-2506/+1342
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-05-28Merge of cut and paste fix from 3.0Tim Potter1-3/+3
(This used to be commit 34a0c7313a12d581e9aaf08322b105216cc94478)
2003-05-28Merge of uint32/uid_t mismatch from 3.0Tim Potter2-3/+3
(This used to be commit a9f0e69dbefdaf8daee3943782817bcc536d2fb3)
2003-05-27cut-n-paste errorGerald Carter1-1/+1
(This used to be commit 1f02ca540dff5366a1ad2e8a98b626635a8e9018)
2003-05-27fix bug 118; replace hard coded 'next[User|Group]Rid' attribute namesGerald Carter1-6/+8
(This used to be commit dc18ffcc5a215975a90232374a84ffbe6b6903ea)
2003-05-22fix bug #108; sambaSambaAccount string attributes are case insensitive; ↵Gerald Carter1-1/+4
don't try to change a string that only differs in case (This used to be commit 60c6bc9883b4b969626da85af834362ca2bfcd54)
2003-05-18port fixes from 3.0Simo Sorce3-10/+4
(This used to be commit 0d098df8b5db02c73b859aea136d01c9ca42b17a)
2003-05-16Merge get_global_sam_name() from 3.0 to fix compile breakage.Tim Potter1-0/+8
(This used to be commit bc71d7a4ab70339cfd815a57448cbd8762d5ce38)
2003-05-14readding reverted changes during idmap merge (noticed by Andrew b.)Gerald Carter1-16/+33
(This used to be commit d9fd4b8be36b0175d68f9b3c3200dbb03df64c76)
2003-05-14fix group mapping in LDAP under new schemaGerald Carter1-35/+61
(This used to be commit 59328b8c8add974c7edaeecdf8eac0fb0d328fc2)
2003-05-14syncing LDAP schema changes with Samba_3_0Gerald Carter1-292/+802
(This used to be commit a1326ea34831bf49942f7bcb954999091c3ea820)
2003-05-14Fix pointer return bug in get_unix_attributes()Tim Potter1-1/+1
(This used to be commit 04e2fe104dfa4508b59276ecd7bee201d453462e)
2003-05-14spellingTim Potter2-3/+3
(This used to be commit 249a6974702d050644d6d61f33f0034ce2a689ee)
2003-05-14spellingTim Potter1-2/+2
(This used to be commit 6097b050d082c7c88dca5416389617306e6dab0c)
2003-05-12Fix compiler warnings.Jeremy Allison3-3/+0
Jeremy. (This used to be commit e12934c67b6aea9e3e449009e159ce6814dcbd11)
2003-05-12fixing typos in debug statementsGerald Carter1-1/+1
(This used to be commit bd660f45df4df686f58a181f002ca1d88e7c1015)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew Bartlett.Jelmer Vernooij1-2/+2
(This used to be commit d31509fe88da8727521586dced1da2c73bfee2bc)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functionsJelmer Vernooij1-2/+2
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)
2003-05-02shouldn't wellknown group be well.. ..WKN_GRP ?Simo Sorce1-2/+1
make a new sam_Account contain our domain by default, windows will complain on logon otherwise. fix stupid typo in idmap_util.c (This used to be commit 21701876dc6c59ebfc51be708a98226a00a764e0)
2003-05-01fix wrong debug messages in idmap_util.cSimo Sorce1-3/+8
correctly handle allocated rids in tdbsam (This used to be commit 7ae6162e1dd668897628c4f7edff508616644d21)
2003-05-01proper wellknown sids initialization at startupSimo Sorce2-39/+37
(This used to be commit 568feee8977ee1be210344c8ab1896512894cba2)
2003-05-01*id_to_*id call reshape to return NTSTATUS errorsSimo Sorce1-5/+3
plus internal fixes 1st stage (This used to be commit 6d036761e565bc93964bb3c939d5b7d78d5778a3)
2003-05-01Use ints for the version numbers in the smb_register_*() functions (patch by ↵Jelmer Vernooij1-1/+1
metze) (This used to be commit 3895571eeef81db7ce4c71e85b0be5c235b16efd)
2003-04-30correctly initiazlize idmap tdb when creationg newSimo Sorce2-54/+1
few fixes to *id_to_*id functions, we don't set the mapping for algoritmic RIDs, they are resolved in the classic way eliminate getpw* calls from tdbsam (This used to be commit 6a7689cf74cd4d5f29e0b12f4bf8ac3051d49157)
2003-04-29forgot to remove getpwnamSimo Sorce1-20/+0
(This used to be commit 1915ab7b95b2baade0f4293d5a7a96003888d1c9)
2003-04-29This is a nice rewrite:Simo Sorce7-218/+72
SAM_ACCOUNT does not have anymore uid and gid fields all the code that used them has been fixed to use the proper idmap calls fix to idmap_tdb for first time idmap.tdb initialization. auth_serversupplied_info structure has now an uid and gid field few other fixes to make the system behave correctly with idmap tested only with tdbsam, but smbpasswd and nisplus should be ok have not tested ldap ! (This used to be commit 6a6f6032467e55aa9b76390e035623976477ba42)
2003-04-29Some passdb backends really don't like having no primary group - so alwaysAndrew Bartlett1-34/+25
set one - new accounts -> domain users, unless otherwise specified. This moves that logic from pdb_set_sam_sids() into pdb_init_sam_new(), which is called by all the 'new account' creators. (pdb_set_sam_sids() now only deals with the mapping from an existing account) Andrew Bartlett (This used to be commit 2c7b3d9fd5bb327bdbd34ec27b36eb59cbc481af)
2003-04-29Change order of parameters to smb_register_passdb()Jelmer Vernooij3-3/+3
(This used to be commit 63cf5637c16dc770f0ab2f73ff00577c7cd426ee)
2003-04-29Merge Samba 3.0 pdb_ldap from 3.0 into HEAD, so as to allow idra to continueAndrew Bartlett1-412/+1591
his IDMAP work. This version also works properly (the HEAD version had suffered from bitrot), and should be a good basis to change into the new IDMAP rules. It also includes UTF8 conversions. Included also are the schema changes, and a note about the now very old scripts in examples/LDAP (they don't work for this, or even the previous schema). Andrew Bartlett (This used to be commit 38a8f2b23a12f6a964d447f7904dd722a1ca046c)
2003-04-29Merge 3.0's change to how we add users onto HEAD, including a few other bitsAndrew Bartlett1-25/+36
of sync-up for the rpc_server/srv_samr_nt.c Andrew Bartlett (This used to be commit 3c867aedd9abc29389f5d049dbc94ada6738d1b0)
2003-04-29don't implement any group mapping functions in the guest sam moduleGerald Carter1-0/+11
(This used to be commit a4056e2cae21e1f7e1aac1414bfa4158947fbfc7)
2003-04-29ok next_rid out as well local_*id_to*id functionsSimo Sorce3-299/+97
reverted user making function, did not pass the abartlet test :-) idmap is now fully integrated, we only miss user creation and removal of uid and gid from SAM_ACCOUNT (This used to be commit 67af8c26586c4829166795813a373bf9be27b753)
2003-04-28new helper functions to create usersSimo Sorce1-1/+154
(This used to be commit 74826e7ebb62ab09df68bb00fbd6097852ec5b6d)
2003-04-28Use NTSTATUS as return value for smb_register_*() functions and init_module()Jelmer Vernooij7-19/+28
function. Patch by metze with some minor modifications. (This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1)
2003-04-28Merge memory leak fixes in our trusted domain list from 3.0 to HEADAndrew Bartlett1-7/+11
(This used to be commit c7f06f3a480feb1c7b1a44d16c05e1c238800b15)
2003-04-28Fix number of arguments to asprintf()Jelmer Vernooij1-1/+1
(This used to be commit 5e4e6a6ed08f1b4fe97bbd91f983039143cc9939)
2003-04-27prepare to get _nua out of the door (but back in from the window ;-)Simo Sorce3-79/+17
(This used to be commit 09eb02cba0747ae47aa4a76f4fac69af293a774a)
2003-04-24Don't store UID or GIDJelmer Vernooij2-48/+13
(This used to be commit b2d9d450493f6fc0ceb94dd0007cedf56371bb4b)
2003-04-24Move pdb_mysql and pdb_xml from modules/ to passdb/, just like they areJelmer Vernooij2-0/+1546
in 3_0 (This used to be commit 9b969f877f8057930fb53da99ee8a0574b4f5531)
2003-04-24Declare static function before using itJelmer Vernooij1-0/+2
(This used to be commit d501946ef6e417b9d3fa4b492dd20991e3e56baf)