summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_ldap.c
AgeCommit message (Collapse)AuthorFilesLines
2013-03-09s3-winbindd: Move idmap_fetch_secret to idmap_utils.c for reuseChristof Schmitt1-24/+0
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2013-03-09s3-winbindd: Move common code for LDAP id mapping to idmap_utilsChristof Schmitt1-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>
2012-09-07s3-smbldap: use smbldap_ prefixed functionsAlexander Bokovoy1-1/+1
2012-08-09Check error returns from strupper_m() (in all reasonable places).Jeremy Allison1-1/+6
2012-07-18loadparm: make the source3/ lp_ functions take an explicit TALLOC_CTX *.Rusty Russell1-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>
2011-11-16s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.Günther Deschner1-1/+3
Guenther
2011-11-16s3-passdb: split out passdb/pdb_ldap_schema.cGünther Deschner1-0/+1
Guenther
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-06-01s3:idmap_ldap: allow creation of ldap stored mappings for explicitly ↵Michael Adam1-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().
2011-06-01s3:idmap_ldap: rename idmap_ldap_get_new_id to idmap_ldap_allocate_idMichael Adam1-6/+6
This is in preparation of allowing allocating ldap based domain-specific configs.
2011-06-01s3:idmap_ldap: rename idmap_ldap_allocate_id to idmap_ldap_allocate_id_internalMichael Adam1-3/+3
This is in preparation of allowing allocating ldap based domain-specific configs.
2011-03-22s3:idmap: remove the params argument from the init functionMichael Adam1-2/+1
2011-03-22s3:idmap: remove special treatment of domain "*" from idmap_ldap_init.Michael Adam1-9/+5
The default config via domain "*" is now treated just as the explicit domain configs.
2011-03-22s3:idmap: remove use of params from idmap_ldap_init - it is not used any moreMichael Adam1-13/+7
2011-03-11s3:idmap_ldap: fix a few typos in a commentMichael Adam1-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
2011-03-06s3: Remove close_fn from idmap_methodsVolker Lendecke1-6/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
2011-03-06s3-idmap-ldap: private_data is a talloc child of domVolker Lendecke1-10/+0
2011-01-02s3:idmap_ldap: remove special handling of alloc secret (not used any more).Michael Adam1-11/+8
2011-01-02s3:idmap_ldap: remove unused idmap_ldap_alloc_context.Michael Adam1-7/+0
2011-01-02s3:idmap_ldap: remove alloc context member from ldap_idmap_contextMichael Adam1-1/+0
2011-01-02s3:idmap_ldap: remove use of alloc context from idmap_ldap_allocate_id().Michael Adam1-16/+10
2011-01-02s3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor().Michael Adam1-12/+0
2011-01-02s3:idmap_ldap: remove unused idmap_ldap_alloc_init().Michael Adam1-82/+0
2011-01-02s3:idmap_ldap: don't call idmap_ldap_alloc_init in idmap_ldap_init.Michael Adam1-3/+3
Call verify_idpool() instead.
2011-01-02s3:idmap_ldap: remove use of the ldap_idmap_alloc_context from verify_idpool().Michael Adam1-12/+7
Allocation is now subsumed in the idmap ldap config. This is the beginning of the removal of the idmap ldap alloc parameters.
2010-10-12libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett1-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
2010-09-20s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.Günther Deschner1-1/+2
Guenther
2010-08-26s3-idmap: only include idmap headers where needed.Günther Deschner1-0/+1
Guenther
2010-08-14s3:idmap_ldap: use idmap_rw_new_mapping in idmap_ldap_new_mappingMichael Adam1-34/+3
2010-08-14s3:idmap_ldap: add idmap_rw_ops to idmap_ldap_context and init in db_init()Michael Adam1-0/+11
2010-08-14s3:idmap_ldap: add my (C)Michael Adam1-0/+1
2010-08-14s3:idmap_ldap: create mappings for unmapped sids in idmap_ldap_sids_to_unixids()Michael Adam1-4/+13
2010-08-14s3:idmap_ldap: add a idmap_ldap_new_mapping().Michael Adam1-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.
2010-08-14s3:idmap_ldap: add idmap_ldap_get_new_id() to allocate a new id given a domainMichael Adam1-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.
2010-08-14s3:idmap_ldap: move idmap_ldap_set_mapping() further up.Michael Adam1-112/+113
2010-08-14s3:idmap_ldap: make idmap_ldap_alloc_context a member of idmap_ldap_contextMichael Adam1-71/+75
this hides this beneath the idmap structure and removes a global variable
2010-08-14s3:idmap_ldap: call idmap_ldap_alloc_init from idmap_ldap_init.Michael Adam1-0/+7
The alloc subsystem is now subordinate to the idmap system.
2010-08-14s3:idmap_ldap: remove the (now unused) range from idmap_ldap_alloc_contextMichael Adam1-3/+0
2010-08-14s3:idmap_ldap: use ranges from idmap domain in idmap_ldap_allocate_id()Michael Adam1-5/+6
Second step in removing the idmap range from the idmap_ldap_alloc_context.
2010-08-14s3:idmap_ldap: add idmap_domain arg to idmap_ldap_alloc_init and verify_idpoolMichael Adam1-37/+6
First step in removing idmap ranges from the idmap_ldap_alloc_context. The range from the domain is to be used now.
2010-08-14s3:idmap_ldap: remove unused filter range from struct idmap_ldap_contextMichael Adam1-1/+0
2010-08-14s3:idmap_ldap: don't load ranges - they have been loaded into struct ↵Michael Adam1-49/+1
idmap_domain
2010-08-14s3:idmap_ldap: use filter range from idmap domain, not idmap_ldap_contextMichael Adam1-8/+4
2010-08-14s3:idmap_ldap: re-implement allocate_id in idmap methods.Michael Adam1-0/+1
2010-08-14s3:idmap_ldap: remove unused idmap_ldap_alloc_methods.Michael Adam1-7/+0
2010-08-14s3:idmap_ldap: remoce unused idmap_alloc_ldap_initMichael Adam1-6/+0
2010-08-14s3:idmap_ldap: don't call idmap_alloc_ldap_init in idmap_ldap_initMichael Adam1-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.
2010-08-14s3:idmap: remove the set_mapping method from the idmap APIMichael Adam1-1/+0
2010-08-14s3:idmap: remove unused method set_id_hwm from idmap APIMichael Adam1-119/+0
Michael
2010-08-14s3:idmap: remove unused alloc method get_id_hwm from idmap APIMichael Adam1-98/+0
Michael