Michael Adam
dea3ef1ab6
s3:idmap_ldap: rename idmap_ldap_get_new_id to idmap_ldap_allocate_id
...
This is in preparation of allowing allocating ldap based domain-specific configs.
2011-06-01 01:43:23 +02:00
Michael Adam
2de65b97b9
s3:idmap_ldap: rename idmap_ldap_allocate_id to idmap_ldap_allocate_id_internal
...
This is in preparation of allowing allocating ldap based domain-specific configs.
2011-06-01 01:43:23 +02:00
Michael Adam
82853a613b
s3:idmap: remove the params argument from the init function
2011-03-22 22:49:56 +01:00
Michael Adam
98854207fe
s3:idmap: remove special treatment of domain "*" from idmap_ldap_init.
...
The default config via domain "*" is now treated just as the explicit
domain configs.
2011-03-22 22:49:56 +01:00
Michael Adam
7511f080b4
s3:idmap: remove use of params from idmap_ldap_init - it is not used any more
2011-03-22 22:49:56 +01:00
Michael Adam
0726b29e59
s3:idmap_ldap: fix a few typos in a comment
...
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-11 01:29:09 +01:00
Volker Lendecke
233c8bca3b
s3: Remove close_fn from idmap_methods
...
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
2011-03-06 13:37:13 +01:00
Volker Lendecke
1bf29c7acf
s3-idmap-ldap: private_data is a talloc child of dom
2011-03-06 12:51:02 +01:00
Michael Adam
2d3a8b196f
s3:idmap_ldap: remove special handling of alloc secret (not used any more).
2011-01-02 12:51:54 +01:00
Michael Adam
52b37de5d8
s3:idmap_ldap: remove unused idmap_ldap_alloc_context.
2011-01-02 12:51:54 +01:00
Michael Adam
91e7430817
s3:idmap_ldap: remove alloc context member from ldap_idmap_context
2011-01-02 12:51:54 +01:00
Michael Adam
5908bd62b5
s3:idmap_ldap: remove use of alloc context from idmap_ldap_allocate_id().
2011-01-02 12:51:54 +01:00
Michael Adam
510bf2d591
s3:idmap_ldap: remove unused idmap_ldap_alloc_close_destructor().
2011-01-02 12:51:54 +01:00
Michael Adam
f83fa1ec20
s3:idmap_ldap: remove unused idmap_ldap_alloc_init().
2011-01-02 12:51:54 +01:00
Michael Adam
632e232fc4
s3:idmap_ldap: don't call idmap_ldap_alloc_init in idmap_ldap_init.
...
Call verify_idpool() instead.
2011-01-02 12:51:54 +01:00
Michael Adam
58508c9726
s3:idmap_ldap: remove use of the ldap_idmap_alloc_context from verify_idpool().
...
Allocation is now subsumed in the idmap ldap config.
This is the beginning of the removal of the idmap ldap alloc parameters.
2011-01-02 12:51:54 +01:00
Andrew Bartlett
f768b32e37
libcli/security Provide a common, top level libcli/security/security.h
...
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-10-12 05:54:10 +00:00
Günther Deschner
4dbd743e46
s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions.
...
Guenther
2010-09-20 14:04:37 -07:00
Günther Deschner
2b41f421fd
s3-idmap: only include idmap headers where needed.
...
Guenther
2010-08-26 00:20:29 +02:00
Michael Adam
a739cb5944
s3:idmap_ldap: use idmap_rw_new_mapping in idmap_ldap_new_mapping
2010-08-14 02:10:57 +02:00
Michael Adam
a7ba9064d6
s3:idmap_ldap: add idmap_rw_ops to idmap_ldap_context and init in db_init()
2010-08-14 02:10:57 +02:00
Michael Adam
a896ba07bb
s3:idmap_ldap: add my (C)
2010-08-14 02:10:54 +02:00
Michael Adam
58cb5163f2
s3:idmap_ldap: create mappings for unmapped sids in idmap_ldap_sids_to_unixids()
2010-08-14 02:10:54 +02:00
Michael Adam
26c82596d9
s3:idmap_ldap: add a idmap_ldap_new_mapping().
...
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-14 02:10:54 +02:00
Michael Adam
4ed6f315d9
s3:idmap_ldap: add idmap_ldap_get_new_id() to allocate a new id given a domain
...
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-14 02:10:54 +02:00
Michael Adam
5f77570bb6
s3:idmap_ldap: move idmap_ldap_set_mapping() further up.
2010-08-14 02:10:53 +02:00
Michael Adam
3e71eaeca0
s3:idmap_ldap: make idmap_ldap_alloc_context a member of idmap_ldap_context
...
this hides this beneath the idmap structure and removes a global variable
2010-08-14 02:10:53 +02:00
Michael Adam
523b94f180
s3:idmap_ldap: call idmap_ldap_alloc_init from idmap_ldap_init.
...
The alloc subsystem is now subordinate to the idmap system.
2010-08-14 02:10:53 +02:00
Michael Adam
c854261867
s3:idmap_ldap: remove the (now unused) range from idmap_ldap_alloc_context
2010-08-14 02:10:53 +02:00
Michael Adam
3f39921e7e
s3:idmap_ldap: use ranges from idmap domain in idmap_ldap_allocate_id()
...
Second step in removing the idmap range from the idmap_ldap_alloc_context.
2010-08-14 02:10:53 +02:00
Michael Adam
5518bcb840
s3:idmap_ldap: add idmap_domain arg to idmap_ldap_alloc_init and verify_idpool
...
First step in removing idmap ranges from the idmap_ldap_alloc_context.
The range from the domain is to be used now.
2010-08-14 02:10:53 +02:00
Michael Adam
1cf27374ab
s3:idmap_ldap: remove unused filter range from struct idmap_ldap_context
2010-08-14 02:10:53 +02:00
Michael Adam
5bb4a94c6c
s3:idmap_ldap: don't load ranges - they have been loaded into struct idmap_domain
2010-08-14 02:10:52 +02:00
Michael Adam
634cd2e045
s3:idmap_ldap: use filter range from idmap domain, not idmap_ldap_context
2010-08-14 02:10:52 +02:00
Michael Adam
3a5f86216b
s3:idmap_ldap: re-implement allocate_id in idmap methods.
2010-08-14 02:10:52 +02:00
Michael Adam
f96575d6db
s3:idmap_ldap: remove unused idmap_ldap_alloc_methods.
2010-08-14 02:10:39 +02:00
Michael Adam
0369eb5555
s3:idmap_ldap: remoce unused idmap_alloc_ldap_init
2010-08-14 02:10:39 +02:00
Michael Adam
0dfe400d64
s3:idmap_ldap: don't call idmap_alloc_ldap_init in idmap_ldap_init
...
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-14 02:10:39 +02:00
Michael Adam
0d0032e744
s3:idmap: remove the set_mapping method from the idmap API
2010-08-14 02:10:36 +02:00
Michael Adam
95b840cbf1
s3:idmap: remove unused method set_id_hwm from idmap API
...
Michael
2010-08-14 02:10:35 +02:00
Michael Adam
3715a1687f
s3:idmap: remove unused alloc method get_id_hwm from idmap API
...
Michael
2010-08-14 02:10:35 +02:00
Michael Adam
672ab10ee7
s3:idmap: remove unused method dump_data() from the idmap API
...
Michael
2010-08-14 02:10:35 +02:00
Günther Deschner
c136b84f0d
s3-secrets: only include secrets.h when needed.
...
Guenther
2010-08-05 10:12:25 +02:00
Michael Adam
3f99ff104a
s3:idmap_ldap: remove unreached code (and explicit error return code)
2010-06-21 12:38:25 +02:00
Andrew Bartlett
cba7f8b827
s3:dom_sid Global replace of DOM_SID with struct dom_sid
...
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>
2010-05-21 10:39:59 +02:00
Michael Adam
632e4afc36
s3:idmap_ldap: fix indentation: tab/space mixup
...
Michael
2009-11-23 23:51:06 +01:00
Michael Adam
7153200f21
s3:idmap_ldap: trim the " chars from the location string in idmap_ldap_db_init
...
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
2009-11-20 13:17:23 +01:00
Michael Adam
6a59db9a2e
s3:idmap_ldap: trim the " chars from the location string in 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
2009-11-20 13:17:22 +01:00
Jeremy Allison
5cc895983d
Fix valgrind memory leak in bug #6814 - Fixes for problems reported by valgrind
...
Jeremy.
2009-10-15 16:55:40 -07:00
Michael Adam
e381c13b02
s3:idmap_ldap: filter out of range mappings in default idmap config
...
This fixes bug #6417
Michael
2009-05-28 00:41:33 +02:00