summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_idmap.c
AgeCommit message (Collapse)AuthorFilesLines
2003-04-03The ldap idmap backend from Anthony Liguori (aliguori@us.ibm.com):Jim McDonough1-1/+1
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-02THE Idmap patch :-)Simo Sorce1-28/+27
includes a --with-idmap=no switch to disable idmap usage if you find problems. cosmetic fixes and param aliases to separate winbind from idamp roles. A temporarily remote idmap winbind compatibility backend. As I have time I will further change code to not call directly winbind (partly done but not tested) and a specilized module will be built in place for the current glue hack. The patch has been tested locally in my limited time, the patch is simple and clear and should not reserve problems, if any just disable it. As usual, comments and fisex are welcome :-) Simo. (This used to be commit 02781320476ed1b7ee5d943fa36f9a66ab67f208)
2003-02-26Kill RID-only and domain+RID madness from winbind.Andrew Bartlett1-82/+0
Now we deal with SIDs in almost all of winbind (a couple of limited exceptions remain, but I'm looking into them - they use non-winbind structs ATM). This has particular benifits in returning out-of-domain SIDs for group membership (Need to look into this a bit more) as well as general code quality. This also removes much of the complexity from the idmap interface, which now only deals with mapping IDs, not with SID->domain translations. Breifly tested, but needs more. Fixes some valgrind-found bugs from my previous commit. Winbind cache chagned to using SID strings in some places, as I could not follow exactly how to save and restore multiple packed sids properly. Andrew Bartlett (This used to be commit 9247cf08c40f016a924d600ac906cfc6a7016777)
2003-02-21rename 'winbind backend' to 'idmap backend'. Put paramter in security ↵Jim McDonough1-23/+23
section...does this make sense? (This used to be commit 822083f73e8ba4e096c53ff0f7578f47bc21b7b5)
2003-02-20From aliguori@us.ibm.com:Jim McDonough1-438/+187
This patch adds the architecture for an IDMAP backend system including a new smb.conf parameter "winbind backend". Right now, the only valid value is "tdb" but I'm currently working on an LDAP backend. (This used to be commit 35e4448dcb2deb0d5d34d9e974a49f2fb31f1356)
2002-06-18more debug classess activatedSimo Sorce1-0/+3
(This used to be commit 897e64d2e0c1d04ab93441ccaffe369bf43be46e)
2002-04-27Merge Herb's idmap endian fix.Jeremy Allison1-12/+9
Jeremy. (This used to be commit 7ddad4061a1b7ed25e4d6471c7a1f8f97a98ed37)
2002-04-27Another attempt at fixing the endian problem when upgrading from 2.2.3a.Jeremy Allison1-8/+12
Herb please check. Jeremy. (This used to be commit a312b5b2de117797ddfdc79316378aac93034718)
2002-04-26Attempt to fix big-endian upgrade problem (Herb, Jerry, please check).Jeremy Allison1-6/+12
Jeremy. (This used to be commit 54261460b35cc531e033a99596d5596e94bebe24)
2002-04-25Fix from Herb for upgrading from big-endian earlier databases.Jeremy Allison1-4/+4
Jeremy. (This used to be commit e65563fc9eb454988c11c12e3e979dd07e3032a3)
2002-04-04Fix up conversion code from old winbindd versions (some testing needed).Jeremy Allison1-67/+143
Added time based cache size check (#ifdef'ed out by default, just didn't want to lose the code). Jeremy. (This used to be commit b2350ed36c42827c417ea4a3dd0668a4a631a090)
2002-03-21Missed a couple of fetch/store_ints.Jeremy Allison1-4/+4
Jeremy. (This used to be commit 51189e62a7f20db1835a54c7af1e39f4712c0b95)
2002-03-21Make winbindd_idmap tdb endian independent. This is very important forJeremy Allison1-11/+46
sharing between machines with rsync. Finally removed tdb_store_int/tdb_fetch_int. Now only tdb_store_int32/tdb_fetch_int32 which are endian independent are allowed. Jeremy. (This used to be commit 1c4a00dcc13f4a7c5876a5cf63ca730190d1132e)
2002-03-21When upgrading from an old idmap tdb, remember to overwrite the reverseJeremy Allison1-0/+5
mapping as well as the forward one. Found this in doing the backport to 2.2.x. This is *essential* to upgrade an old idmap file to a new one. Jeremy. (This used to be commit 980355de0c9d0d1116b29b0a5be98d0b277f24dc)
2002-02-28enable locking on the idmap database to make it safe to dump/restoreAndrew Tridgell1-1/+1
it externally while winbindd is running (This used to be commit cd3a7466dbf4491aba34197cd6f3cc4167c0c660)
2002-02-27this allows us to support foreign SIDs in winbindd and smbdAndrew Tridgell1-53/+149
this means "xcopy /o" has a chance of working with ACLs that contain ACEs that use SIDs that the Samba server has no knowledge of. It's a bit hackish, Tim, can you look at my uid.c changes? (This used to be commit fe2db3148587937aa7b674c1c99036d42a3776b3)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-19Fix to close winbindd_idmap on exit. Pointed out by Alexander Bokovoy.Jeremy Allison1-0/+7
Jeremy. (This used to be commit 1bd96b3094b530c3426b22b6f891c7fc055e7033)
2001-11-14Random connection robustness related fixes. Display some debugs aboutTim Potter1-2/+2
the currently open connections when winbindd receives a USR1 signal. Hmm - I've just realised this will conflict with the messaging code but we don't use that yet. (This used to be commit caef54e40081477609a824185949ddf6db6ba363)
2001-09-17move to SAFE_FREE()Simo Sorce1-2/+2
(This used to be commit 03dc67788f68c9e01b5a82fdf43f837cb19f4608)
2001-09-05fixed a bunch of compilation errors on Solaris, mostly people getting ↵Andrew Tridgell1-2/+2
NSS_STATUS and WINBINDD error codes mixed up (This used to be commit 66698d6b841df809a8654012a8385bffacb9dc4a)
2001-06-04use LDSHFLAGS not -shared in several placesAndrew Tridgell1-1/+1
(This used to be commit 8ec9c87b5d1a7dae17d5b1a30f58effaf5e69e4b)
2001-05-07Preliminary merge of winbind into HEAD. Note that this compiles and linksTim Potter1-8/+72
but I haven't actually run it yet so it probably doesn't work. (-: (This used to be commit 59f95416b66db6df05289bde224de29c721978e5)
2001-04-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison1-3/+3
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
2001-01-11Changes from APPLIANCE_HEAD:David O'Neill1-0/+1
source/nsswitch/winbindd_idmap.c - convert tdb key to unix code-page when generating (This used to be commit 3b9e68d6806b039d284533b64f9c41c9d4790a8b)
2000-05-12While we're all making incompatible tdb changes, I changed the implementationTim Potter1-3/+4
of tdb_{store,get}_int() to store the length of the string key + 1 so the stored key contains the trailing NULL character. This allows normal string library routines to manipulate keys. Also renamed tdb_get_int() to tdb_fetch_int() to keep the set of verbs consistent. (This used to be commit a423c7c5f21dc4046530b85482dee88dcfcbf070)
2000-05-09brought the winbindd code into headAndrew Tridgell1-0/+235
this does not yet compile, but I'm working on that. (This used to be commit 3fb862531a4e78dca13d16d958517b16e5bdd4e2)