summaryrefslogtreecommitdiff
path: root/source3/passdb
AgeCommit message (Collapse)AuthorFilesLines
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)
2003-04-21Pdb modules are in $libdir/pdb not $libdir/passdbJelmer Vernooij1-12/+5
(This used to be commit 9822af500cf36e83fce54e49a062a8847d1c5431)
2003-04-17seem that someone changed the semanthic of unix_strlower without fixing allSimo Sorce1-3/+7
places where it was used, this caused me segfaults in the last week :( add more debugging in idmap to chase down a problem (This used to be commit 6393105bda12fb3f6211e4f0128aabf588431b49)
2003-04-16Adjust comment to respect change to no longer use unixsam by default...Andrew Bartlett1-3/+2
(This used to be commit 87f491d6a63e0818ada4ed21dd1f4905b20f846c)
2003-04-16This code is no longer referenced - moved to the new libsmb/ldap.cAndrew Bartlett1-62/+0
Andrew Bartlett (This used to be commit c98bbc750773f7c49dbb1e69a5936f52416dd51c)
2003-04-16Store the type of 'sec channel' that we establish to the DC. If we are aAndrew Bartlett2-16/+101
workstation, we have to use the workstation type, if we have a BDC account, we must use the BDC type - even if we are pretending to be a workstation at the moment. Also actually store and retreive the last change time, so we can do periodic password changes again (for RPC at least). And finally, a couple of minor fixes to 'net'. Andrew Bartlett (This used to be commit 6e6b7b79edae3efd0197651e9a8ce6775c001cf2)
2003-04-09Fix double free on error and typoJelmer Vernooij1-2/+1
(This used to be commit 84b116f9c007c0f933af82462dff4324ffa53f0f)
2003-04-07Restore previous behaviour to update on pdb_unix (auto-upgrade to new account)Andrew Bartlett1-0/+1
(This used to be commit 0509cbc59174354b7c57206a07f7bd222cc87db4)
2003-04-06Don't bail if we have a badly formed record, just move on to the next one.Andrew Bartlett1-1/+1
(This used to be commit febd966b10b23238c93444256b8ad30b50b20ef8)
2003-04-03The ldap idmap backend from Anthony Liguori (aliguori@us.ibm.com):Jim McDonough1-703/+94
This patch moves the ldap routines out of passdb into a generic library and implements an LDAP backend for IDMAP. THe backend can be enabled with "idmap backend = ldap" in smb.conf. THere are also schema changes to make sure to update teh ldap schema files. (This used to be commit 87c7c582c60521da3a93d997386fe79935012aea)
2003-04-02Add staticJelmer Vernooij1-1/+1
(This used to be commit 674d0ca5d84b64be395fbeff773c8dd8aeb1518c)
2003-04-02Fix a crash bug if LDAP doesn't fill in ld_error.Andrew Bartlett1-18/+18
Andrew Bartlett C VS: ---------------------------------------------------------------------- (This used to be commit d84a3fc522a588bdcd36cb86df304572947a456a)
2003-03-30This fixes group updates in LDAP the same way as user updatesVolker Lendecke1-77/+98
are handled, though we assume that always everything needs to be updated in LDAP. PDB_IS_* is not done yet for groups. Do we need it? Volker (This used to be commit 409a26282f8fcbd583a85df40c70b504eac26f6e)
2003-03-30- Point users at the HOWTO Collection instead of 'README' in modules/mysql.cJelmer Vernooij1-1/+4
- Make passdb work with absolute paths (passdb backend = /path/to/smbpasswd.so works now). vfs, rpc and charset will follow (This used to be commit 794d3ed03619a4e41558d9ff65783a1aa1b2be90)
2003-03-28Merge from HEAD - get better error strings from the ldap server in pdb_ldap.Andrew Bartlett1-11/+38
Andrew Bartlett (This used to be commit 5dc29b10b08658178133aee7b4c47197fadc533a)
2003-03-27This is no functional change. It just makes pdb_ldap.c a bitVolker Lendecke1-24/+50
easier to understand by moving the logic for init_ldap_from_sam and friends around. Volker (This used to be commit 124c80facba364033f72b20660f347390effba59)
2003-03-25Apply metze's change correctly this time. Playing 'patch' byVolker Lendecke1-6/+6
hand can be somewhat error-prone.. Volker (This used to be commit 12fabd07148c21f5481cb750f1cfdab2e8112e4b)