Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-12-31 | pyldb: Add dom_sid.split in favor of less powerful dom_sid_to_rid(). | Jelmer Vernooij | 2 | -10/+10 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-30 | s4:lib/registry/util.c - Reintroduce "FIXME"s | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
Jelmer suggested to put them in again. | |||||
2009-12-24 | s4:lib/socket: add socket_get_{remote|local}_addr() to get a tsocket_address ↵ | Stefan Metzmacher | 2 | -0/+32 | |
instead of a socket_address metze | |||||
2009-12-24 | s4:lib/socket: add helpers functions to convert between socket_address and ↵ | Stefan Metzmacher | 3 | -1/+48 | |
tsocket_address metze | |||||
2009-12-23 | s4:ldb Fix declaration in the middle of the code | Simo Sorce | 1 | -2/+4 | |
2009-12-23 | s4: Fix the build | Simo Sorce | 1 | -0/+1 | |
2009-12-23 | s4: tests controls parsing and using for ldbadd/ldbedit/ldbmodify | Matthieu Patou | 4 | -1/+90 | |
2009-12-23 | s4: make ldbadd/ldbmodify/ldbdelete really use the --controls switch | Matthieu Patou | 6 | -9/+230 | |
2009-12-22 | Samba4 and LDB requires talloc 2.0.1 | Andrew Bartlett | 1 | -1/+1 | |
reported by ewoud@kohlvanwijngaarden.nl | |||||
2009-12-21 | provision/pyldb: Avoid linking in static python ldb module. | Jelmer Vernooij | 2 | -2/+3 | |
2009-12-21 | ldb_wrap: Fix compilation when using system ldb. | Jelmer Vernooij | 1 | -1/+1 | |
2009-12-21 | s4-tort: Tests for "msDS-IntId" attribute implemented | Kamen Mazdrashki | 1 | -2/+281 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-21 | s4-tort: Move Schema tests from ldap.py into separate module | Kamen Mazdrashki | 2 | -133/+221 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-18 | Added oid for AS_SYSTEM control, used to bypass access checks for system ↵ | Nadezhda Ivanova | 1 | -0/+6 | |
operations. | |||||
2009-12-18 | s4-ldb: fixed a valgrind error in ldbtest | Andrew Tridgell | 1 | -0/+2 | |
we were using msg->dn after the ldb it contained had been freed Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-18 | s4-dsdb: declare ldb_dn_update_components() | Andrew Tridgell | 1 | -0/+1 | |
2009-12-18 | s4-dsdb: added ldb_dn_update_components() | Andrew Tridgell | 1 | -0/+23 | |
This is used to udpate just the DN components of a ldb_dn, leaving the other extended fields alone. It is needed to prevent linked attribute updates from removing other extended components. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-18 | s4-ldb: display msDS-OptionalFeatureGUID as a GUID | Andrew Tridgell | 1 | -0/+1 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-18 | s4-ldb: canonicalise the message on ldb_add | Andrew Tridgell | 1 | -0/+9 | |
This canonicalise avoids a problem with an add that has multiple elements with the same el->name. That is allowed by MS servers, and by ldb, but it breaks things like the tdb backend and the repl_meta_data RPMD handling. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-18 | s4-dsdb: Add a test for adding, deleting, and appending a posixAccount ↵ | Brendan Powers | 1 | -0/+30 | |
objectClass to a user Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-17 | Fixed incorrect checking of PRINCIPAL_SELF permissions. | Nadezhda Ivanova | 1 | -2/+41 | |
If an ace has the PRINCIPAL_SELF as trustee, this sid has to be replaced with the onjectSid of the object being checked. PRINCIPAL_SELF is the way to grant rights to an account over itself. | |||||
2009-12-16 | s4-ldb: show the OID of any unhandled critical controls | Andrew Tridgell | 1 | -4/+9 | |
It isn't very useful just saying that a control is not supported, without saying which one is the problem Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-16 | s4-ldb: fixed a transaction error on prepare_commit | Andrew Tridgell | 1 | -2/+2 | |
when a prepare commit fails, we need to give a cancel to all modules, not a commit! Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2009-12-16 | s4-ldb: added --show-deactivated-link command line option | Andrew Tridgell | 1 | -1/+8 | |
this adds the SHOW_DEACTIVATED_LINK control | |||||
2009-12-15 | Removed ldb_modify_ctrl from ldb, implemented as a static in ldap_backend. | Nadezhda Ivanova | 2 | -31/+4 | |
2009-12-15 | s4:tls: fix the build on Solaris | Brian Lu | 1 | -0/+3 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-12-14 | s4-ldb: added new ldb_dn extended components for linked attributes | Andrew Tridgell | 1 | -0/+30 | |
These will store linked attribute replication meta data | |||||
2009-12-14 | s4-ldb: added a function to filter extended components of a ldb_dn | Andrew Tridgell | 1 | -0/+16 | |
We need to be able to filter out components that should not be exposed to users | |||||
2009-12-14 | s4-ldb: added a new "reveal" control | Andrew Tridgell | 3 | -1/+43 | |
This control will allow inspection of internal ldb values, which would normally be stripped before being presented to users. The first use will be stripping linked attribute meta data extended components. | |||||
2009-12-14 | s4-ldb: sort the linearized extended DN by component name | Andrew Tridgell | 1 | -0/+14 | |
This will make life easier when handling deleted linked attributes | |||||
2009-12-10 | Implementation of sDRightsEffective, allowedAttributesEffective and ↵ | Nadezhda Ivanova | 1 | -1/+126 | |
allowedChildClassesEffective. Behavior as documented in WSPP and tested. Needs optimisation though. | |||||
2009-12-10 | s4-ldb: fixed 2 bugs in ldb_dn_set_extended_component() | Andrew Tridgell | 1 | -2/+5 | |
The first bug was that setting a component twice could cause it to appear twice in the DN. The second bug was that using an existing ldb_val from a previous call of ldb_dn_get_extended_component() as an argument to ldb_dn_set_extended_component() would cause a valgrind error (as the array the val pointed into will change). | |||||
2009-12-10 | s4-ldb: use GUID_to_ndr_blob() | Andrew Tridgell | 2 | -5/+8 | |
2009-12-10 | s4-ldb: simplify ldif handlers using new GUID functions | Andrew Tridgell | 1 | -8/+9 | |
2009-12-09 | s4-ldb: fixed nested searches inside ldb modules | Andrew Tridgell | 2 | -4/+12 | |
We need to keep a search count in ltdb to allow for nesting of searches inside a module Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-12-09 | s4-ldb: added a missing ltdb_unlock_read() | Andrew Tridgell | 1 | -0/+1 | |
2009-12-08 | s4-ldb: fixed ldbdel with -r (recursive deletion) | Andrew Tridgell | 1 | -0/+15 | |
We need to delete the deepest DNs first | |||||
2009-12-08 | s4:build Bump ldb and tdb required versions. | Andrew Bartlett | 2 | -2/+2 | |
Hopefully this will ensure we don't get an older version from the system. | |||||
2009-12-07 | s4:ldb Add a function to match a message against an objectClass | Andrew Bartlett | 2 | -0/+22 | |
(as objectClass will always be a case insensitive ascii string, we can make a much simpler match function here than for the general case). Andrew Bartlett | |||||
2009-12-07 | s4:ldap.py Improve testsuite for primaryGroupToken behaviour | Andrew Bartlett | 1 | -0/+22 | |
This tries to show that the domain object should not have a primaryGroupToken, for example. (This passes against the old and new code, as the failure case requires an object with an objectSid, and exactly one group in it's subtree. Sadly I don't know of a valid structure that I can construct to test this). Andrew Bartlett | |||||
2009-12-05 | s4-ldif: Fix memory leek in ldb_ldif_write() | Kamen Mazdrashki | 1 | -0/+2 | |
2009-12-01 | s4-ldb: the '1' form of extended_dn search is easier to read | Andrew Tridgell | 1 | -1/+1 | |
The '1' form gives GUIDs and SIDs in the ascii form as normally used for display. | |||||
2009-12-01 | s4:ldap.py Add test of namingContext behaviour after tridge found a bug | Andrew Bartlett | 1 | -0/+15 | |
Tridge found that the partitions.c module was being initialised twice, and setting the partitions into the rootDSE twice. Andrew Bartlett | |||||
2009-11-30 | s4-drs: Test situations for runtime constructed parentGUID | Fernando J V da Silva | 1 | -1/+24 | |
Includes the following verifications for the constructed parentGUID: - Checks if it returns nothing when there is no parent object - Ensures that attributes mentioned after the parentGUID are returned correctly (this avoid a bug pointed out by Tridge during sync constructed parentGUID development) Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-30 | s4-ldb: changed ldb_msg_add_dn() to ldb_msg_add_linearized_dn() | Crístian Deives | 3 | -8/+12 | |
this makes the usage clearer Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-30 | s4-ldb: check for -ve value for page size | Andrew Tridgell | 1 | -0/+5 | |
This comes from a tip from Howard Chu. Apparently some clients will send a -ve page size value. | |||||
2009-11-29 | lib/registry/util.c - Reorder the registry datatypes of the conversion functions | Matthias Dieter Wallnöfer | 1 | -9/+12 | |
This is absolutely cosmetic and makes the code easier to comprehend. | |||||
2009-11-29 | Revert "s4:registry/util - Don't include the trailing '\0' in the internal ↵ | Matthias Dieter Wallnöfer | 1 | -6/+2 | |
data format but add it on the back-conversion to a string" This reverts commit 7d400715e9af2056690c03a1a2f45c7f343fa313. "convert_string_talloc_convenience" does always add the NULL termination. Didn't know that. Thanks Jelmer for pointing out! | |||||
2009-11-28 | s4-ldb: make it much easier to use common ldb controls | Andrew Tridgell | 2 | -15/+64 | |
2009-11-28 | s4: fix SD update and password change in upgrade script | Matthieu Patou | 2 | -0/+33 | |
- reserve a new Samba OID for recalculate SD control - fix the update SD function - fix handling of kvno in the update_machine_account_password function - fix handling of handles in RPC winreg server Signed-off-by: Andrew Tridgell <tridge@samba.org> |