Andrew Bartlett
47e7e48746
s4:ldap-backend Fix LSA test failures with OpenLDAP backend - convert SIDs
...
The SIDs in some queries were not being passed as binary, but as
strings in comparison with the securityIdentifer object. We need to
recognise that these are SIDs in the simple_ldap_map.
Andrew Bartlett
2010-04-22 18:37:19 +10:00
Andrew Bartlett
cbb818222a
s4:OpenLDAP-backend Use the new rdnval module in OpenLDAP
...
This is rather than rdn_name, which tries to do the job on the client
side. We need to leave this module in the stack for Fedora DS (and of
course the LDB backend).
Andrew Bartlett
2010-04-22 18:37:18 +10:00
Andrew Bartlett
9eacde808e
s4:dsdb Revert accidentilly commited change for LDAP backends
...
In the future, LDAP backends will be resposible for maintaining the
'name' attributes.
Andrew Bartlett
2010-04-22 18:37:18 +10:00
Andrew Tridgell
2dcc84432e
s4-schema: allow revision numbers of zero
...
w2k8r2 sends a revision of zero in the initial schema replication
during a net vampire
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21 13:35:56 +10:00
Andrew Bartlett
ea5cf7ce05
s4:provision Pass in the invoication ID and NTDS Settings DN to Schema()
...
By putting these values into the cache on the LDB, this reduces some
of the noise in provision, particularly with the LDAP backend.
Andrew Bartlett
2010-04-20 12:11:18 +10:00
Matthias Dieter Wallnöfer
e0d6f1a6da
s4:dsdb/dns/dns_update.c - fix a typo
2010-04-17 20:42:37 +02:00
Nadezhda Ivanova
eef184301a
s4:Replaced dsdb_get_dom_sid_from_ldb_message() with samdb_result_dom_sid()
2010-04-16 14:28:35 +03:00
Stefan Metzmacher
a7f8c197ad
s4:rootdse: only return "tokenGroups", when the client asked for them
...
metze
2010-04-15 19:02:26 +02:00
Jelmer Vernooij
13bbfa3fca
pydsdb: Fix memory leak on invalid parameters, formatting, trivial
...
typos.
2010-04-15 18:45:41 +02:00
Matthieu Patou
d784ecec55
s4 python: Add a function to get the oid of an attribute when the attid is known
...
This function is mainly to help decoding replPropertyMetaData in python
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-04-15 18:45:41 +02:00
Matthias Dieter Wallnöfer
34ff1c6944
s4:samdb_server_site_name - fix indentation
2010-04-13 15:40:43 +02:00
Matthias Dieter Wallnöfer
a894d6cc37
s4:acl/descriptor LDB module - distinguish between root and default basedn
...
The first is the forest base DN, the second the domain base DN. At the moment
we assume that they are both the same but it hasn't to be so.
Nadia, I would invite you to fix the outstanding parts regarding this (I added
comments).
2010-04-13 09:32:34 +02:00
Matthias Dieter Wallnöfer
719a46913b
s4:dsdb/common/util.c - add a call which determines centrally the forest DNS domainname
2010-04-13 09:32:33 +02:00
Matthias Dieter Wallnöfer
c116d80053
s4:remove "samdb_root_dn", "samdb_base_dn", "samdb_config_dn" and "samdb_schema_dn"
...
They aren't needed anymore.
2010-04-13 08:57:07 +02:00
Matthias Dieter Wallnöfer
ad9e407357
Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"
...
We should use the "ldb_get_*_basedn" calls since they are available in the LDB
library.
2010-04-13 08:55:15 +02:00
Matthias Dieter Wallnöfer
8e4c34880a
s4:objectclass LDB module - remove a unneeded newline
2010-04-13 08:24:09 +02:00
Matthias Dieter Wallnöfer
98ce053efd
s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions
...
Purely cosmetic change.
2010-04-12 18:49:01 +02:00
Jelmer Vernooij
3a34b5f35e
subunit: Remove more test output that could be interpreted by subunit.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
2010-04-11 20:57:33 +02:00
Matthias Dieter Wallnöfer
568ca2433d
s4:samdb_server_site_dn - free unused DNs in the right way
2010-04-11 13:20:44 +02:00
Andrew Bartlett
77267733ed
s4:dsdb Don't use the permissive modify control on schemaInfo updates
...
The use of 'replace' is enough to wipe out the old value, whatever it
is, we don't need to set 'permissive modify' too.
Additionally, this seems to be causing trouble for the OpenLDAP backend
Andrew Bartlett
2010-04-10 21:41:57 +10:00
Andrew Bartlett
5ebeab3794
s4:dsdb Don't return operational attributes on special DNs
2010-04-10 21:41:02 +10:00
Andrew Bartlett
6ef167c37b
s4:rootdse Implement "tokenGroups" in the rootDSE
...
This returns the currently connected user's full token. This is very
useful for debugging, and should be used in ACL tests.
Andrew Bartlett
2010-04-10 21:41:02 +10:00
Andrew Bartlett
944dc2cb0b
s4:dsdb Improve error message in extended_dn_in
...
This error occours when an extended DN cannot be resolved, so it's
most helpful to print the problematic extended DN.
Andrew Bartlett
2010-04-10 21:41:01 +10:00
Andrew Bartlett
4074739fe7
s4:schema Try to fix OpenLDAP backend after schema reload support.
...
If we can't get @REPLCHANGED, default to a value of 0.
Andrew Bartlett
2010-04-10 21:40:59 +10:00
Kamen Mazdrashki
8149094edd
s4/dsdb: Set schemaInfo attribute value during provisioning
...
After provisioning new Forest, schemaInfo should be set
to a value with revision=1 and current invocation_id
2010-04-09 12:21:34 +03:00
Kamen Mazdrashki
4ba2ac073d
s4/dsdb: split writing of schemaInfo blob in two parts
...
ldb_msg preparation is moved into separate function
so that it can be used for implementing schemaInfo
updates both on module stack (dsdb_module_... functions)
and directly on ldb_context
2010-04-09 12:21:33 +03:00
Kamen Mazdrashki
fbef33fb73
s4/dsdb: Let caller to control if valid invocationId is critical or zero-guid is acceptable
2010-04-09 12:21:33 +03:00
Kamen Mazdrashki
5363b6e68b
s4/dsdb: Use dsdb_schema_info object to create default schemaInfo values
2010-04-09 12:21:32 +03:00
Kamen Mazdrashki
c3d7798991
s4/dsdb: Use dsdb_schema_info object to verify schema_info blobs
2010-04-09 12:21:31 +03:00
Kamen Mazdrashki
15921b669e
s4/waf: add new files to WAF build
2010-04-09 12:21:31 +03:00
Kamen Mazdrashki
6d439afbf7
s4/samldb: schemaInfo attribute must be updated when adding new Schema object
2010-04-09 12:21:30 +03:00
Kamen Mazdrashki
9d1f8bcca9
s4/dsdb: dsdb_schema_info object implementation
2010-04-09 12:21:26 +03:00
Kamen Mazdrashki
37a6b66344
s4/dsdb: Define dsdb representation for schemaInfo attribute
2010-04-09 12:21:25 +03:00
Jelmer Vernooij
57ac0a6042
s4-python: Move load_partition_usn to dsdb module.
2010-04-08 23:20:36 +02:00
Endi S. Dewata
5d5fc92c69
s4:dsdb - Handle INVALID_DN_SYNTAX from OpenLDAP in dsdb_module_load_partition_usn().
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-04-08 22:59:10 +02:00
Jelmer Vernooij
2578072541
s4-python: Move set_global_schema to pydsdb.
2010-04-08 12:21:35 +02:00
Jelmer Vernooij
21ab06f8a2
s4-python: Move samdb_ntds_objectGUID to pydsdb.
2010-04-07 17:39:59 +02:00
Jelmer Vernooij
ae97613499
s4-python: Move set_opaque_integer to pyldb.
2010-04-06 13:12:43 +02:00
Andrew Tridgell
7d34210772
s4-waf: added python_dsdb from merge with master
2010-04-06 20:27:26 +10:00
Andrew Tridgell
553324bc10
s4-waf: move to a universal method of recursing into subdirs
...
This works with both standalone lib builds and bundled builds
2010-04-06 20:27:25 +10:00
Andrew Tridgell
b690fedef5
s4-waf: removed the AUTOGENERATED markers
...
we won't be using the mk -> wscript generator again
2010-04-06 20:27:16 +10:00
Andrew Tridgell
01682f797f
s4-waf: fixed some deps now we don't auto-include tevent and replace
...
this is preparation for being able to use system versions of these
libraries
2010-04-06 20:27:12 +10:00
Andrew Tridgell
f9eae32f4b
s4-waf: mark the wscript files as python so vim/emacs knows how to highlight them
2010-04-06 20:27:11 +10:00
Andrew Tridgell
844acb2260
build: waf quicktest nearly works
...
Rewrote wafsamba using a new dependency handling system, and started
adding the waf test code
2010-04-06 20:26:48 +10:00
Andrew Tridgell
845e0cbe6f
build: commit all the waf build files in the tree
2010-04-06 20:26:48 +10:00
Andrew Tridgell
8f1b809d2c
build: nearly there on samba4 build
2010-04-06 20:26:47 +10:00
Andrew Tridgell
9129c3b3b6
build: fixes from ita
2010-04-06 20:26:40 +10:00
Andrew Tridgell
c7ea3e6fbf
build: source= is clearer for source lists
2010-04-06 20:26:39 +10:00
Andrew Tridgell
07eeed33f6
build: heimdal_build waf support
...
heimdal now mostly builds
2010-04-06 20:26:38 +10:00