summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:provision Simplify the module listAndrew Bartlett2009-11-232-20/+26
| | | | | | | | | | | This makes the member server much more like the DC, the objectGUID module replaces the repl_meta_data module. We also generally rework the construction of the list, building a full list in python, and then transforming it into a string, rather than playing string concatonation games Andrew Bartlett
* s4/schema(tort): Refactor DSDB-SYNTAX test for better performanceKamen Mazdrashki2009-11-231-35/+86
| | | | | | | Test was implemented as a test fixture so that setup/teardown occurs only once. This should impact test performace as long as provision_get_schema() is a slow function (especially when debugging)
* s4/schema: Handle Object(OR-Name) syntax in extended_dn_out moduleKamen Mazdrashki2009-11-231-4/+12
| | | | | | | | Windows displays attribute values with Object(OR-Name) syntax in plain DN format when queried through LDAP. Hence, we need to post-process such values specially in extended_dn_out.c module so they are always shown as plain DN, no matter what controls are passed for search request.
* s4/schema: Object(OR-Name) syntax handling for DRS callsKamen Mazdrashki2009-11-233-6/+11
| | | | OR-Name syntax through DRS calls looks like DN-Binary syntax
* s4/schema(tort): Inject authOrig attribute into schema loaded for testsKamen Mazdrashki2009-11-231-1/+44
|
* s4/schema(tort): Add test for Object(OR-Name) syntaxKamen Mazdrashki2009-11-231-0/+8
|
* s4/schema(tort): Test LDB_SYNTAX_DN with extended_dn in [GUID;SID;DN] formKamen Mazdrashki2009-11-231-1/+9
|
* s4/drs(tort): DSSYNC test to print what is different in drs_msg alsoKamen Mazdrashki2009-11-231-1/+7
|
* s4-smbtorture: fix spoolss_EnumPrinterKey client in RPC-SPOOLSS-WIN.Günther Deschner2009-11-231-4/+19
| | | | Guenther
* s4-smbtorture: add tests for spoolss_EnumPrinterKey to RPC-SPOOLSS-PRINTER.Günther Deschner2009-11-231-0/+81
| | | | Guenther
* s4:netlogon RPC - Remove trailing whitespaceMatthias Dieter Wallnöfer2009-11-221-1/+1
|
* s4:netlogon RPC - Fix up the error handlingMatthias Dieter Wallnöfer2009-11-221-4/+2
|
* s4:netlogon RPC - Fix up a commentMatthias Dieter Wallnöfer2009-11-221-4/+5
| | | | Now we have Windows 7 released so don't refer to a beta anymore.
* Fixed incorrect indentation.Nadezhda Ivanova2009-11-221-7/+6
|
* s4:lsa RPC - Fix type of variable "atype"Matthias Dieter Wallnöfer2009-11-211-1/+2
| | | | This is an unsigned 32bit integer.
* s4:samr RPC - Use more LDB constantsMatthias Dieter Wallnöfer2009-11-212-12/+12
|
* s4:lsa RPC - Use more LDB constantsMatthias Dieter Wallnöfer2009-11-211-16/+16
| | | | And fix an obvious bug (call of "samdb_msg_add_delete")
* Implemented LDAP_SERVER_SD_FLAGS_OID on search requests.Nadezhda Ivanova2009-11-213-26/+225
|
* s4:torture/smb2/oplock - Remove unneeded "status" redeclarationsMatthias Dieter Wallnöfer2009-11-211-5/+0
|
* s4:torture/smb2/notify - Rename nested "fname" variable to prevent warningsMatthias Dieter Wallnöfer2009-11-211-6/+6
|
* s4:torture/raw/unlink - Remove unused variable and labelMatthias Dieter Wallnöfer2009-11-211-2/+1
|
* s4:torture/rpc/netlogon - Fix uninitialised variableMatthias Dieter Wallnöfer2009-11-211-2/+1
|
* s4:WINREG RPC server - CosmeticMatthias Dieter Wallnöfer2009-11-211-2/+2
|
* Cosmetic patch - fixed case of attribute name.Nadezhda Ivanova2009-11-201-1/+1
|
* s4:min_versions: require ldb 0.9.9Stefan Metzmacher2009-11-201-1/+1
| | | | metze
* s4:lib/ldb: change version to 0.9.9 after some critical index fixesStefan Metzmacher2009-11-201-1/+1
| | | | metze
* Implementation of LDAP_SERVER_SD_FLAGS_OID on modify requests.Nadezhda Ivanova2009-11-202-21/+240
|
* Some changes to allow processing of ldap controls on modify requests.Nadezhda Ivanova2009-11-206-10/+106
| | | | | ldap_backend used to filter out ldap controls on modify. Also, modified python binding for ldap_modify to allow writing tests for such controls.
* s4:ntvfs/posix/pvfs_acl - Remove unused variable "token"Matthias Dieter Wallnöfer2009-11-201-1/+0
|
* s4-dsdb: some more attribuutes that we should only give if asked forAndrew Tridgell2009-11-202-2/+14
|
* s4-drs: we need to specifically ask for ntSecurityDescriptorAndrew Tridgell2009-11-201-1/+1
| | | | ntSecurityDescriptor is no longer included by default
* s4-ldb: added a warning about ldb_msg_add_dnAndrew Tridgell2009-11-201-0/+2
| | | | ldb_msg_add_dn does not copy the dn linearized string
* added new function "ldb_msg_add_dn"Crístian Deives2009-11-204-9/+17
| | | | | | a helper function to a DN element to an ldb_msg using ldb_msg_add_string. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-dsdb: removed attributes that should not be displayed by defaultAndrew Tridgell2009-11-201-0/+37
| | | | | | Some attributes (like ntSecurityDescriptor) are stored in our db, but should only be displayed if asked for. This also applied to parentGUID from old installs, which is now generated.
* s4-drs: Removes stored parentGUID's creation and renamingFernando J V da Silva2009-11-201-80/+7
| | | | | | parentGUID is now created on demand in operational.c Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: Synchronous Implementation of generated parentGUIDFernando J V da Silva2009-11-201-2/+34
| | | | | | | This generated parentGUID on demand, rather than getting it from the database Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: Utility functions to deal with GUIDFernando J V da Silva2009-11-201-0/+99
| | | | | | | | dsdb_find_parentguid_by_dn() returns the parentGUID for a given DN dsdb_msg_add_guid() adds a GUID value to a given message (either objectGUID or parentGUID). Signed-off-by: Andrew Tridgell <tridge@samba.org>
* ldb:ldb_tdb backend/indexes - Outside APIMatthias Dieter Wallnöfer2009-11-203-28/+30
| | | | | | | - The outside API contains "DN" string arguments: Bad. Since in this way we fully rely on the outside calls regarding the right DN format. Solution: Use always a "struct ldb_dn" entry. Since this one is interchangeable and we can handle it in our preferred way.
* ldb:ldb_tdb backend/indexes - DN comparisonMatthias Dieter Wallnöfer2009-11-201-4/+5
| | | | | | - DN comparison: The function doesn't seem that efficient. I "upgraded" it a bit to be more powerful (added a second length check and do both before the string comparison)
* s4-dsdb: make sure mod_usn list is zeroed on each transactionAndrew Tridgell2009-11-201-7/+10
|
* s4-ldb: added a double-rename testAndrew Tridgell2009-11-201-0/+24
| | | | This tests the fix for double rename/add and indexing
* s4-ldb: when -v is specified, show progress of ldbadd/ldbmodifyAndrew Tridgell2009-11-202-2/+8
| | | | This is useful for speed tests with large numbers of records.
* s4-ldb: make ldb tools line bufferedAndrew Tridgell2009-11-201-0/+3
| | | | | this prevents output being buffered when redirected to a file. Useful for larger ldb command line operations
* s4-ldb: fixed an issue in rename/modify indexingAndrew Tridgell2009-11-201-16/+16
| | | | | | | | | When we rename or modify a record, we need to update the indexes at the same time. It is important that we use the DN of the actual message that is stored in the database to do this, not the DN that was passed in by the user. If the two differ in case then the index records needs to use the 'real' record DN, as index handling is currently case sensitive.
* s4-ldb: allow ldap.py test suite to run directly against a fileAndrew Tridgell2009-11-201-1/+5
| | | | | This makes it much easier to debug (as you can break in the ldb modules by running gdb on /usr/bin/python)
* s4:ldbcli - Added encoder/decoder for relax control.Endi S. Dewata2009-11-191-2/+20
|
* Added control copying for message types other than ldb_search.Nadezhda Ivanova2009-11-181-1/+4
| | | | | | When ildap created a new message to forward, it only copied controls for ldb_search requests. This caused controls for add and modify to be lost in transition and tests for them could not be implemented.
* s4:selftest: mark samba4.smb2.lock.*.VALID-REQUEST as known failureStefan Metzmacher2009-11-181-0/+1
| | | | metze
* SMB2-LOCK: make use of torture_assert_*()Stefan Metzmacher2009-11-181-12/+6
| | | | | | This is needed in order to mark tests as known failures. metze
* s4:ntvfs_generic: check for valid SMB2_LOCK flagsStefan Metzmacher2009-11-181-0/+8
| | | | metze