Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-17 | s4/drs(tort): use torture_drsuapi_assert_call() macro for error checking | Kamen Mazdrashki | 1 | -11/+2 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-17 | s4/drs(tort): replace 'printf' with 'torture_...' calls | Kamen Mazdrashki | 1 | -14/+15 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-17 | s4/drs(tort): 'DsSyncBindInfo.pipe' renamed - 'pipe' is a system call | Kamen Mazdrashki | 1 | -11/+11 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-17 | s4/drs(tort): 'DsPrivate.pipe' renamed - 'pipe' is a system call | Kamen Mazdrashki | 3 | -13/+13 | |
Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2009-11-17 | s4:dsdb With these workarounds, we now pass the RPC-DSSYNC test | Andrew Bartlett | 2 | -3/+15 | |
2009-11-17 | s4:provision Split up reference creation, load schema earlier in the stack | Andrew Bartlett | 3 | -19/+31 | |
The schema needs to be loaded above the extended_dn_out modules as otherwise we don't get an extended DN in the search results. The reference split is to ensure we create references after the objects they reference exist. Andrew Bartlett | |||||
2009-11-17 | s4:schema Add the GUID to each defaultObjectCategory when loading from LDIF | Andrew Bartlett | 1 | -0/+49 | |
This makes these full extended DNs, so we set the right values into the database, even before we actually set the schema objects themselves. Andrew Bartlett | |||||
2009-11-17 | s4:dsdb Rework samdb code to use 'storage format' DNs for defaultObjectCategory | Andrew Bartlett | 4 | -1/+67 | |
It is important to always ensure that this attribute has an extended DN if the rest of the database stores things that way. The knowlege of what format the DN is stored on disk with is passed around in an LDB opaque. Andrew Bartlett | |||||
2009-11-17 | s4:provision Generate a random objectGUID for each schema record | Andrew Bartlett | 1 | -0/+2 | |
This is needed to then create extended DNs with GUID attributes in them, when importing from the LDIF Andrew Bartlett | |||||
2009-11-17 | s4:dsdb Load objectGUID and extended DN defaultObjectCategory into the schema | Andrew Bartlett | 4 | -37/+29 | |
The load of defaultObjectCategory as an extended DN means we need to use the common parsing functions I just split out, rather than the GET_DS_DN macro. The objectGUIDs are loaded so that we can create the extended DN when we load from LDIF (and are loaded for the other cases for consistency). Also adapt callers to API changes needed for common parsing code Andrew Bartlett | |||||
2009-11-17 | s4:dsdb Use the new flags to dsdb_module_search in schema_load | Andrew Bartlett | 1 | -1/+3 | |
This loads the defaultObjectCategory DN as an extended DN, so we can apply it, with the associated GUID, when setting this on records in the objectClass module. Previously we would not store the extended DN components for objectCategory. Andrew Bartlett | |||||
2009-11-17 | s4:dsdb Break up 'parse a DN from DRSUAPI' into a subfunction | Andrew Bartlett | 1 | -73/+91 | |
This should make it easier to call this function from the DRS schema load code, rather than duplicate it. (we may do the same with other functions in future). Andrew Bartlett | |||||
2009-11-17 | s4:dsdb Add 'dsdb_flags' to dsdb_module_search() to enable often-used features | Andrew Bartlett | 7 | -11/+84 | |
These flags, also on dsdb_module_search_dn() allow us to add commonly set controls to this pre-packaged blocking search, without rebuilding the whole function in each caller. Andrew Bartlett | |||||
2009-11-16 | Don't overwrite a dynamic pointer with the address of a stack | Jeremy Allison | 3 | -17/+12 | |
variable. Jeremy. | |||||
2009-11-16 | s4:SAMLDB module | Matthias Dieter Wallnöfer | 1 | -14/+14 | |
- Add more "\n" to make sure that error messages are displayed immediately - Add a "NULL" in a attribute list | |||||
2009-11-16 | Revert "s4:dsdb/repl/replicated_objects - Applicate also here the new ↵ | Matthias Dieter Wallnöfer | 1 | -4/+1 | |
"lDAPDisplayName" generator" This reverts commit df95d5c29292968b465bff24c3cf78800677a4d4. abartlet pointed out in a post on the samba-technical list that this isn't necessary at all (lDAPDisplayName normalisation algorithm). Rather it breaks functionality of the replication. | |||||
2009-11-16 | README.Coding: add section about usage of helper variables | Stefan Metzmacher | 1 | -0/+26 | |
metze | |||||
2009-11-16 | README.Coding: fix error in "good example" | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-11-16 | s3:libsmb: avoid passing a function call as function parameter | Stefan Metzmacher | 2 | -21/+21 | |
Using a helper variable makes it easier to "step" into the desired function within gdb. metze | |||||
2009-11-16 | s4:dsdb LDB attribute lists must always be a static const char **. | Andrew Bartlett | 1 | -1/+1 | |
(If they are not, then due to the async code, they will cause a segfault as they reference a reclaimed portion of the stack). Andrew Bartlett | |||||
2009-11-16 | s4:provision - Removed dependency on full Samba 3 schema from FDS | Endi S. Dewata | 9 | -152/+170 | |
2009-11-15 | Fixed some major bugs in inheritance and access checks. | Nadezhda Ivanova | 5 | -120/+274 | |
Fixed sd creation not working on LDAP modify. Fixed incorrect replacement of CO and CG. Fixed incorrect access check on modify for SD modification. Fixed failing sec_descriptor test and enabled it. Fixed failing sd add test in ldap.python | |||||
2009-11-15 | s3: Remove two more DFSG-nonfree text documents at release time. (Debian bug | Jelmer Vernooij | 1 | -0/+2 | |
2009-11-15 | Fix writing corrupt registries because of hardcoded version string in IDL. | Wilco Baan Hofman | 1 | -1/+1 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-11-15 | Fix NULL pointer dereference in libgpo when listing Local Policy which has ↵ | Wilco Baan Hofman | 1 | -3/+4 | |
no security descriptor. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-11-15 | Fix writing corrupt REG_SZ to the registry. | Wilco Baan Hofman | 1 | -1/+2 | |
Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-11-15 | Fix trailing garbage in the hbin block. | Wilco Baan Hofman | 1 | -0/+5 | |
This specifically fixes a problem showing extra bytes of garbage in list and print in regshell, even though the vk.data_length has the correct size. Signed-off-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2009-11-15 | Added tests for descriptor inheritance on ldap modify. | Zahari Zahariev | 1 | -121/+207 | |
Fixed some expected owners and groups. Signed-off-by: Nadezhda Ivanova <nadezhda.ivanova@postpath.com> | |||||
2009-11-15 | ldb:python bindings - add a context on "py_ldb_delete" | Matthias Dieter Wallnöfer | 1 | -2/+10 | |
So the converted DN will be freed after usage. | |||||
2009-11-15 | s4:ldap.py - enhance schema addition test | Matthias Dieter Wallnöfer | 1 | -12/+40 | |
Don't add only a new objectclass but also a new attribute. Plus let now the server itself calculate the "lDAPDisplayName" attribute and compare the result. | |||||
2009-11-15 | s4:dsdb/repl/replicated_objects - Applicate also here the new ↵ | Matthias Dieter Wallnöfer | 1 | -1/+4 | |
"lDAPDisplayName" generator Also here we've to be sure to generate the attribute correctly if it doesn't exist yet. | |||||
2009-11-15 | s4:SAMLDB module - Add support for required and generated schema attributes | Andrew Bartlett | 1 | -7/+285 | |
This missing support found by Microsoft test suite at AD interop event. Patch by Andrew Bartlett Enhancements by Matthias Dieter Wallnöfer | |||||
2009-11-15 | s4:samdb util - add a call for generating a correct "lDAPDisplayName" | Matthias Dieter Wallnöfer | 1 | -0/+28 | |
This is needed for the SAMLDB module enhancement regarding schema objects. The algorithm in pseudo code is located in MS-ADTS 3.1.1.2.3.4. | |||||
2009-11-15 | s3: Fix a memleak in sys_popen | Volker Lendecke | 1 | -0/+1 | |
Found with "dfree command" set | |||||
2009-11-15 | s4:ldap.py - Deactivates some at the moment pointless test parts | Matthias Dieter Wallnöfer | 1 | -6/+6 | |
I think those parts should be deactivated since they're result set checks for lookups which are commented out already. | |||||
2009-11-14 | Mention typedef struct in README.Coding | Volker Lendecke | 1 | -0/+8 | |
2009-11-14 | s3: Add min_setup, min_param and min_data to cli_trans_recv | Volker Lendecke | 7 | -129/+72 | |
Every caller that expects to receive something needs to check if enough was sent. Make this check mandatory for everyone. Yes, this makes the parameter list for cli_trans a bit silly, but that's just the way it is: A silly protocol request :-) While there, convert some _done functions to tevent_req_simple_finish_ntstatus. | |||||
2009-11-14 | Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/ | Volker Lendecke | 4 | -25/+14 | |
2009-11-14 | s3: Convert cli_set_unix_extensions_capabilities_send to async | Volker Lendecke | 4 | -44/+96 | |
2009-11-14 | Introduce tevent_req_poll_ntstatus | Volker Lendecke | 2 | -0/+25 | |
2009-11-14 | Introduce tevent_req_simple_finish_ntstatus | Volker Lendecke | 2 | -0/+22 | |
2009-11-14 | s3: Tiny logic simplification | Volker Lendecke | 1 | -10/+11 | |
2009-11-14 | s4-drs: DsExecuteKCC() implementation | Erick Nascimento | 3 | -2/+31 | |
I implemented the DsExecuteKCC() handling code on kccsrv_execute_kcc(). Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2009-11-14 | pam_winbind: fix a printf type mismatch warning | Björn Jacke | 1 | -2/+2 | |
2009-11-14 | s3:fix a comment typo | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-11-14 | s3:is_trusted_domain: shortcut if domain name == global_sam_name | Michael Adam | 1 | -0/+4 | |
A domain can't have a trust with itself. This saves some roundtrips to the ldap server for ldapsam. Michael | |||||
2009-11-14 | s3:is_trusted_domain: shortcut if domain name is NULL or empty | Michael Adam | 1 | -0/+4 | |
This saves some roundtrips to LDAP in an ldapsm setup. Michael | |||||
2009-11-14 | s3:passdb: bump interface VERSION 18->19 (removed uid_to_rid) | Michael Adam | 1 | -1/+2 | |
Michael | |||||
2009-11-14 | s3:passdb: remove the uid_to_rid method - we only need uid_to_sid | Michael Adam | 5 | -42/+1 | |
Michael | |||||
2009-11-14 | s3:pdb_default_uid_to_sid: fix some debug statements. | Michael Adam | 1 | -3/+3 | |
Michael |