summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/idmap_ldap.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
* s3:idmap_ldap: allow creation of ldap stored mappings for explicitly ↵Michael Adam2011-06-011-1/+1
| | | | | | | configured domains. After the preparations, this is achieved by using idmap_ldap_allocate_id_internal() as get_new_id rw method instead of idmap_ldap_allocate_id().
* s3:idmap_ldap: rename idmap_ldap_get_new_id to idmap_ldap_allocate_idMichael Adam2011-06-011-6/+6
| | | | This is in preparation of allowing allocating ldap based domain-specific configs.
* s3:idmap_ldap: rename idmap_ldap_allocate_id to idmap_ldap_allocate_id_internalMichael Adam2011-06-011-3/+3
| | | | This is in preparation of allowing allocating ldap based domain-specific configs.
* s3:idmap: remove the params argument from the init functionMichael Adam2011-03-221-2/+1
|
* s3:idmap: remove special treatment of domain "*" from idmap_ldap_init.Michael Adam2011-03-221-9/+5
| | | | | The default config via domain "*" is now treated just as the explicit domain configs.
* s3:idmap: remove use of params from idmap_ldap_init - it is not used any moreMichael Adam2011-03-221-13/+7
|
* s3:idmap_ldap: fix a few typos in a commentMichael Adam2011-03-111-3/+4
| | | | | | | and use the chance to reformat the comment properly... Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Mar 11 01:29:09 CET 2011 on sn-devel-104
* s3: Remove close_fn from idmap_methodsVolker Lendecke2011-03-061-6/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
* s3-idmap-ldap: private_data is a talloc child of domVolker Lendecke2011-03-061-10/+0
|
* s3:idmap_ldap: remove special handling of alloc secret (not used any more).Michael Adam2011-01-021-11/+8
|
* s3:idmap_ldap: remove unused idmap_ldap_alloc_context.Michael Adam2011-01-021-7/+0
|
* s3:idmap_ldap: remove alloc context member from ldap_idmap_contextMichael Adam2011-01-021-1/+0
|
* s3:idmap_ldap: remove use of alloc context from idmap_ldap_allocate_id().Michael Adam2011-01-021-16/+10
|
* s3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor().Michael Adam2011-01-021-12/+0
|
* s3:idmap_ldap: remove unused idmap_ldap_alloc_init().Michael Adam2011-01-021-82/+0
|
* s3:idmap_ldap: don't call idmap_ldap_alloc_init in idmap_ldap_init.Michael Adam2011-01-021-3/+3
| | | | Call verify_idpool() instead.
* s3:idmap_ldap: remove use of the ldap_idmap_alloc_context from verify_idpool().Michael Adam2011-01-021-12/+7
| | | | | Allocation is now subsumed in the idmap ldap config. This is the beginning of the removal of the idmap ldap alloc parameters.
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-1/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner2010-09-201-1/+2
| | | | Guenther
* s3-idmap: only include idmap headers where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3:idmap_ldap: use idmap_rw_new_mapping in idmap_ldap_new_mappingMichael Adam2010-08-141-34/+3
|
* s3:idmap_ldap: add idmap_rw_ops to idmap_ldap_context and init in db_init()Michael Adam2010-08-141-0/+11
|
* s3:idmap_ldap: add my (C)Michael Adam2010-08-141-0/+1
|
* s3:idmap_ldap: create mappings for unmapped sids in idmap_ldap_sids_to_unixids()Michael Adam2010-08-141-4/+13
|
* s3:idmap_ldap: add a idmap_ldap_new_mapping().Michael Adam2010-08-141-0/+48
| | | | | | High level function to create a new mapping for an unmapped sid. This builds logic that used to reside in the top level idmap code in the backend.
* s3:idmap_ldap: add idmap_ldap_get_new_id() to allocate a new id given a domainMichael Adam2010-08-141-0/+25
| | | | | | Currently this only works with the default domain, calling out to idmap_ldap_allocate_id(). In the future this will be extended to also work for non-default domains.
* s3:idmap_ldap: move idmap_ldap_set_mapping() further up.Michael Adam2010-08-141-112/+113
|
* s3:idmap_ldap: make idmap_ldap_alloc_context a member of idmap_ldap_contextMichael Adam2010-08-141-71/+75
| | | | this hides this beneath the idmap structure and removes a global variable
* s3:idmap_ldap: call idmap_ldap_alloc_init from idmap_ldap_init.Michael Adam2010-08-141-0/+7
| | | | The alloc subsystem is now subordinate to the idmap system.
* s3:idmap_ldap: remove the (now unused) range from idmap_ldap_alloc_contextMichael Adam2010-08-141-3/+0
|
* s3:idmap_ldap: use ranges from idmap domain in idmap_ldap_allocate_id()Michael Adam2010-08-141-5/+6
| | | | Second step in removing the idmap range from the idmap_ldap_alloc_context.
* s3:idmap_ldap: add idmap_domain arg to idmap_ldap_alloc_init and verify_idpoolMichael Adam2010-08-141-37/+6
| | | | | First step in removing idmap ranges from the idmap_ldap_alloc_context. The range from the domain is to be used now.
* s3:idmap_ldap: remove unused filter range from struct idmap_ldap_contextMichael Adam2010-08-141-1/+0
|
* s3:idmap_ldap: don't load ranges - they have been loaded into struct ↵Michael Adam2010-08-141-49/+1
| | | | idmap_domain
* s3:idmap_ldap: use filter range from idmap domain, not idmap_ldap_contextMichael Adam2010-08-141-8/+4
|
* s3:idmap_ldap: re-implement allocate_id in idmap methods.Michael Adam2010-08-141-0/+1
|
* s3:idmap_ldap: remove unused idmap_ldap_alloc_methods.Michael Adam2010-08-141-7/+0
|
* s3:idmap_ldap: remoce unused idmap_alloc_ldap_initMichael Adam2010-08-141-6/+0
|
* s3:idmap_ldap: don't call idmap_alloc_ldap_init in idmap_ldap_initMichael Adam2010-08-141-8/+0
| | | | | | The registering of alloc backends is being removed. The idmap backends are responsible for initializing their alloc code on their own if necessary.
* s3:idmap: remove the set_mapping method from the idmap APIMichael Adam2010-08-141-1/+0
|
* s3:idmap: remove unused method set_id_hwm from idmap APIMichael Adam2010-08-141-119/+0
| | | | Michael
* s3:idmap: remove unused alloc method get_id_hwm from idmap APIMichael Adam2010-08-141-98/+0
| | | | Michael
* 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