summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/idmap_ldap.c
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:idmap: remove unused method dump_data() from the idmap APIMichael Adam2010-08-141-1/+0
| | | | Michael
* s3-secrets: only include secrets.h when needed.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3:idmap_ldap: remove unreached code (and explicit error return code)Michael Adam2010-06-211-5/+1
|
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-2/+2
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3:idmap_ldap: fix indentation: tab/space mixupMichael Adam2009-11-231-14/+14
| | | | Michael
* s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_initMichael Adam2009-11-201-0/+2
| | | | | | | | | When idmap backend is specified as idmap backend = ldap:"ldap://server1 ldap://server2" then currently "ldap://server1 ldap://server2" was passed to ldap_initialize including the quotes, leading to an ldap error. Michael
* s3:idmap_ldap: trim the " chars from the location string in ↵Michael Adam2009-11-201-0/+2
| | | | | | | | | | | idmap_ldap_alloc_init When idmap alloc backend is specified as idmap alloc backend = ldap:"ldap://server1 ldap://server2" then currently "ldap://server1 ldap://server2" was passed to ldap_initialize including the quotes, leading to an ldap error. Michael
* Fix valgrind memory leak in bug #6814 - Fixes for problems reported by valgrindJeremy Allison2009-10-151-0/+1
| | | | Jeremy.
* s3:idmap_ldap: filter out of range mappings in default idmap configMichael Adam2009-05-281-16/+55
| | | | | | This fixes bug #6417 Michael
* s3:winbind:idmap_ldap: warn about duplicate SID->XID mappings (bug #6387)Michael Adam2009-05-251-2/+11
| | | | | | | | With the current infrastructure, we should not return error on duplicate mappings but just warn instead (because an error would trigger the attempt to create yet another mapping). Michael
* s3:winbind:idmap_ldap: warn about duplicate XID->SID mappings (bug #6387)Michael Adam2009-05-251-0/+8
| | | | | | | | With the current infrastructure, we should not return error on duplicate mappings but just warn instead (because an error would trigger the attempt to create yet another mapping). Michael
* s3:winbind:idmap_ldap: fix a crash bug in idmap_ldap_unixids_to_sids (#6387)Michael Adam2009-05-221-1/+1
| | | | | | | | | | | | | | | | | | | | This fixes a crash bug hit when multiple mappings were found by the ldap search. This crash was caused by an ldap asssertion in ldap_next_entry because was set to NULL in each iteration. The corresponding fix was applied to the idmap_ldap_sids_to_unixids() by Jerry in 2007 (b066668b74768d9ed547f16bf7b6ba6aea5df20a). This fixes the crash part of bug #6387. There is a logic part, too: The problem currently only occurs when multiple mappings are found for one given unixid. Now winbindd does not crash any more but it does not correctly handle this situation. It just returns the last mapping from the ldap search results. This needs fixing. Michael
* Initialize the id_map status in idmap_ldap to avoid surpriseBo Yang2009-02-271-0/+8
|
* Fix prototypesVolker Lendecke2008-08-121-2/+2
| | | | (This used to be commit 8b9d12714679745b98755e6805e71b75828ce227)
* Remove "idmap alloc config : range" parameterVolker Lendecke2008-08-121-34/+11
| | | | | | This was overwritten by "idmap uid/gid" anyway. These are now the range parameters for the alloc backend. (This used to be commit d563a7b80dc3e759069db2cd54d596a1b8c55191)
* idmap rewriteVolker Lendecke2008-08-121-28/+27
| | | | (This used to be commit 30a180f2fce8cf6a3e5548f6bba453272ba70b33)
* Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2007-12-151-4/+2
| | | | (This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
* Use sid_string_talloc where we have a tmp talloc ctxVolker Lendecke2007-12-151-3/+4
| | | | (This used to be commit f00ab810d2540679bec109498ac89e1eafe18f03)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-4/+4
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r25165: Use talloc_asprintf_append_buffer with an unmodifiedJeremy Allison2007-10-101-4/+4
| | | | | | string. Jeremy. (This used to be commit fe30a523dfc77cc373145624246fd3ad5c62b9ac)
* r25154: move winbindd code into winbindd/Stefan Metzmacher2007-10-101-0/+1505
metze (This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)