summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/idmap_ldap.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-winbindd: Move idmap_fetch_secret to idmap_utils.c for reuseChristof Schmitt2013-03-091-24/+0
| | | | Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3-winbindd: Move common code for LDAP id mapping to idmap_utilsChristof Schmitt2013-03-091-44/+2
| | | | | | | | idmap_ad and idmap_ldap use the same helper functions and the same maximum query size. Move the code to idmap_utils so that it can be shared by every module issuing LDAP queries. Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3-smbldap: use smbldap_ prefixed functionsAlexander Bokovoy2012-09-071-1/+1
|
* Check error returns from strupper_m() (in all reasonable places).Jeremy Allison2012-08-091-1/+6
|
* loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *.Rusty Russell2012-07-181-1/+1
| | | | | | | | | | They use talloc_tos() internally: hoist that up to the callers, some of whom don't want to us talloc_tos(). A simple patch, but hits a lot of files. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
* s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.Günther Deschner2011-11-161-1/+3
| | | | Guenther
* s3-passdb: split out passdb/pdb_ldap_schema.cGünther Deschner2011-11-161-0/+1
| | | | Guenther
* 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