Andrew Tridgell
61930f50cb
waf: enable gccdeps in developer mode
...
there are some bugs in the waf builtin preproc this that avoids
2010-08-14 11:58:13 +10:00
Andrew Tridgell
952ef310b5
s4-build: fixed library name in dcerpc_server.pc.in
...
Thanks to Metze for spotting this
2010-08-14 11:58:13 +10:00
Andrew Tridgell
3828c76c76
ndr: allow ndr_print to print DATA_BLOB
...
this prints DATA_BLOB structures using the ndr->print() calls
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-14 11:58:13 +10:00
Andrew Tridgell
7bb5d353e8
dnsp: dnsp_name is 2 byte aligned
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-08-14 11:58:12 +10:00
Michael Adam
60eae5a134
s3:idmap: fix sid_to_unixid for builtin and own domain.
...
The old idmap code created a new mapping if asking the backends failed.
Now with the new layering, if passdb (which is used for our own domain
and builtin), then we need to continue and ask the backends, giving
tdb or whatever the default backend is a chance to create a mapping.
2010-08-14 02:10:57 +02:00
Michael Adam
9f60eb8c1b
s3:idmap: fix spacing/indentation
2010-08-14 02:10:57 +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
6659ac11de
s3:idmap_tdb: use idmap_rw_new_mapping in idmap_tdb_new_mapping
2010-08-14 02:10:57 +02:00
Michael Adam
5a82cffb8b
s3:idmap_tdb: add idmap_rw_ops to idmap_tdb_context and initialize them in init_db
2010-08-14 02:10:57 +02:00
Michael Adam
3f3cff9127
s3:idmap_tdb2: use idmap_rw_new_mapping in idmap_tdb2_new_mapping
2010-08-14 02:10:57 +02:00
Michael Adam
e82ef14008
s3:idmap_tdb2: add rw_ops to idmap_tdb2_context and initialize in idmap_tdb2_db_init
2010-08-14 02:10:56 +02:00
Michael Adam
307e5b239a
s3:idmap: add abstract idmap_rw new_mapping mechanism without registering backends
2010-08-14 02:10:56 +02:00
Michael Adam
9897647584
s3:idmap_ad: untangle two assignments from checks
2010-08-14 02:10:56 +02:00
Michael Adam
264910b06f
s3:idmap_ad: remove unused filter_low_id and filter_high_id from idmap_ad_context
...
The filter range from the idmap_domain is used now.
2010-08-14 02:10:56 +02:00
Michael Adam
d515d7fe49
s3:idmap_ad: use range from idmap_domain in idmap_ad_sids_to_unixids()
2010-08-14 02:10:56 +02:00
Michael Adam
96607d9543
s3:idmap_ad: use range from idmap_domain in idmap_ad_unixids_to_sids()
2010-08-14 02:10:55 +02:00
Michael Adam
f07049495d
s3:idmap_rid: remove a comment that does not apply in that place.
...
Probably got copied from a different location.
2010-08-14 02:10:55 +02:00
Michael Adam
a758228367
s3:idmap_rid: remove unused domain_name from the idmap_rid_context.
2010-08-14 02:10:55 +02:00
Michael Adam
2916b302f3
s3:idmap_rid: remove range from idmap_rid_context()
...
Now, the idmap_domain range that is centrally parsed is used.
2010-08-14 02:10:55 +02:00
Michael Adam
ac63c50684
s3:idmap_rid: use range from idmap_domain in idmap_rid_sid_to_id()
2010-08-14 02:10:55 +02:00
Michael Adam
cda44b9e8e
s3:idmap_rid: use ranges from idmap_domain struct in idmap_rid_id_to_sid()
2010-08-14 02:10:55 +02:00
Michael Adam
a6f58b76cc
s3:idmap_rid: remove unused talloc context var from idmap_rid_sids_to_unixids()
2010-08-14 02:10:55 +02:00
Michael Adam
376e2bcc6e
s3:idmap_rid: remove unused talloc context arg from idmap_rid_sid_to_id()
2010-08-14 02:10:54 +02:00
Michael Adam
597292a819
s3:idmap_rid: remove unused talloc context var from idmap_rid_unixids_to_sids()
2010-08-14 02:10:54 +02:00
Michael Adam
62833871bc
s3:idmap_rid: remove unused talloc ctx argument from idmap_rid_id_to_sid()
2010-08-14 02:10:54 +02:00
Michael Adam
622bda8a67
s3:idmap_rid: untangle assignment from check in idmap_rid_initialize()
2010-08-14 02:10:54 +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
5bb5b69b0f
s3:idmap_tdb: add my (C)
2010-08-14 02:10:52 +02:00
Michael Adam
78979c6420
s3:idmap_tdb: properly initialize the idmap_tdb context with zero
2010-08-14 02:10:52 +02:00
Michael Adam
9c3d4dff82
s3:idmap_tdb: prevent opening the idmap db more than once.
2010-08-14 02:10:52 +02:00
Michael Adam
66a38d8612
s3:idmap_tdb: rewrite sids_to_unixids to create mappings for unmapped sids.
2010-08-14 02:10:52 +02:00
Michael Adam
4f2bb1a259
s3:idmap_tdb: add a idmap_tdb_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. To be called inside a transaction to guarantee
atomicity of the operation.
2010-08-14 02:10:51 +02:00
Michael Adam
47387b3ebb
s3:idmap_tdb: move the set_mapping code up
2010-08-14 02:10:51 +02:00
Michael Adam
2b2a8f9b3b
s3:idmap_tdb: use transaction wrapper for idmap_tdb_set_mapping().
2010-08-14 02:10:51 +02:00
Michael Adam
b0615e4757
s3:idmap_tdb: remove unused struct idmap_tdb_state.
2010-08-14 02:10:51 +02:00
Michael Adam
28535349bd
s3:idmap_tdb: remove unused idmap_alloc_db
2010-08-14 02:10:51 +02:00