Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-10-15 | s4-script: flush DNS after adding new addresses | Andrew Tridgell | 1 | -0/+1 | |
2009-10-15 | s4-devel: for devel scripts its better to use bin/ than $PREFIX/bin | Andrew Tridgell | 2 | -6/+7 | |
This avoids having to do make install after each change when using the drs devel scripts | |||||
2009-10-15 | s4-drs: support DRSUAPI_DRS_ADD_REF flag | Andrew Tridgell | 1 | -5/+29 | |
The DRSUAPI_DRS_ADD_REF flag tells the DRS server to run an UpdateRefs call on behalf of the client after the DsGetNCChanges call. The lack of support for this option may explain why the repsTo attribute was not being created for w2k8-r2 replication partners. | |||||
2009-10-15 | s4-drs: implement more of DsUpdateRefs | Andrew Tridgell | 2 | -27/+63 | |
The DsUpdateRefs calls takes a set of flags that indicates if the server should ignore specific add/delete error codes. This patch also exposes the core UpdateRefs call into a public function, so that it can be called from DsGetNCChanges | |||||
2009-10-15 | ldb: fixed display of replUpToDateVector | Andrew Tridgell | 1 | -1/+1 | |
2009-10-15 | drs: improved error checking | Andrew Tridgell | 1 | -16/+49 | |
Check the validity of the requested options in DsGetNCChanges | |||||
2009-10-15 | s4-dsdb: added samdb_rodc() and samdb_ntds_options() | Andrew Tridgell | 2 | -1/+51 | |
Later we will need to make samdb_rodc() look in the database, but for now we should at least have the function in a central place | |||||
2009-10-14 | s4:torture cldap test - Add checks for the right forest DNS name | Matthias Dieter Wallnöfer | 1 | -1/+6 | |
2009-10-14 | s4:password_hash - load the domain parameters from the "loadparm context" | Matthias Dieter Wallnöfer | 1 | -42/+11 | |
And don't cut them out from the DNS hostname. | |||||
2009-10-14 | s4:torture - fix up "ldap_basic" test | Matthias Dieter Wallnöfer | 1 | -5/+6 | |
2009-10-14 | s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where needed | Matthias Dieter Wallnöfer | 15 | -49/+43 | |
For KERBEROS applications the realm should be upcase (function "lp_realm") but for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch implements the use of both in the right way. | |||||
2009-10-14 | s4:loadparm - adapt "realm" handling | Matthias Dieter Wallnöfer | 2 | -3/+24 | |
Change "lp_realm" behaviour to return the realm always upcased and add a function "lp_dnsdomain" which returns it always lowcased. | |||||
2009-10-14 | Revert "s4:hdb-samba4 - Don't double-free "db"" | Andrew Bartlett | 1 | -0/+1 | |
This reverts commit 11a8a54c825a52d7dd6ab78bc7aeff2d719327d2. The actual fix for bug 6801 is in hdb_end_seq_get() - this attempt leaks 'db' instead. Andrew Bartlett | |||||
2009-10-14 | s4:heimdal A real fix for bug 6801 | Andrew Bartlett | 1 | -3/+3 | |
The issue was that we would free the entry after the database, not knowing that the entry was a talloc child of the database. Andrew Bartlett | |||||
2009-10-13 | s4:hdb-samba4 - Don't double-free "db" | Matthias Dieter Wallnöfer | 1 | -1/+0 | |
"db" is freed anyway after the destructor terminates so this does really make no sense here (rather it makes code crash). Should fix bug #6801. | |||||
2009-10-13 | s4:dcesrv_samr - add another constant | Matthias Dieter Wallnöfer | 1 | -1/+1 | |
2009-10-13 | s4:dcesrv_samr - prevent "ldb_modify" on a possibly empty message | Matthias Dieter Wallnöfer | 1 | -8/+10 | |
In this code part under certain circumstances we can end up with an empty message. Since our new behaviour denies them (like the real AD) we need to bypass them on LDB modify calls. | |||||
2009-10-13 | s4:dcesrv_samr - Add additional "talloc_free"s | Matthias Dieter Wallnöfer | 1 | -0/+4 | |
2009-10-13 | s4:dcesrv_samr - Cosmetics | Matthias Dieter Wallnöfer | 1 | -23/+31 | |
Make more use of constants and add some braces around "if" blocks | |||||
2009-10-12 | s4:ldb_tdb - Revert some introduced "trivial gotos" | Matthias Dieter Wallnöfer | 1 | -21/+11 | |
I hope that this makes abartlet & simo happy again (consider mailing list). | |||||
2009-10-13 | s4-repl: check that a DsGetNCChanges is a continuation, and fix sorting | Andrew Tridgell | 2 | -4/+17 | |
When we indicate that a getncchanges request is not complete, we set the more_data flag to true in the response. The client usually then asks for the next block of data. If the client decides it wants to skip that replication and do a different replication then we need to make sure that the next call is in fact a continuation of the existing call, and not a new call. This relies on returning the results sorted by uSNChanged, as the client uses the tmp_highest_usn in each result to see if progress is being made. | |||||
2009-10-12 | s4:provision.py - simplify the "realm" variable handling a bit | Matthias Dieter Wallnöfer | 1 | -6/+5 | |
(Remove unneeded "upper"s) | |||||
2009-10-12 | s4:objectclass ldb module - Check for empty messages | Matthias Dieter Wallnöfer | 1 | -1/+8 | |
I think the check for empty messages fits best here. | |||||
2009-10-12 | Revert "s4:ldb - add a check which has to be done on beginning of a "modify" ↵ | Matthias Dieter Wallnöfer | 1 | -8/+0 | |
operation" This reverts commit f9990e9b391f330a8e6c5c158ee4e4eaa50f6176. abartlet claims that this behaviour is too AD specific to put here. Btw I had also some doubts if this is clean enough. I put it only here to make "ldap.py" pass. I'll try to find a new solution soon. | |||||
2009-10-12 | s4:ldb Allow a NULL module list | Andrew Bartlett | 1 | -1/+1 | |
2009-10-12 | Allow (and ignore) distinguishedName on special records | Andrew Bartlett | 1 | -0/+2 | |
They are not stored, so we can ignore them (makes copying records much easier) Andrew Bartlett | |||||
2009-10-12 | s4:schema Add some error checking to the schema load | Andrew Bartlett | 2 | -7/+25 | |
2009-10-12 | s4:dsdb Make dsdb_read_prefixes_from_ldb static | Andrew Bartlett | 1 | -1/+3 | |
2009-10-12 | s4:ldb Reload the 'ltdb_cache' when @OPTIONS changes | Andrew Bartlett | 1 | -0/+7 | |
(Otherwise setting the check base on search option is not applied until after a reload). Andrew Bartlett | |||||
2009-10-12 | s4:ldb Allow a module string of "" | Andrew Bartlett | 1 | -0/+6 | |
(We may have no modules set) Andrew Bartlett | |||||
2009-10-12 | s4:dsdb Search for the schema with dsdb_module_search(), in schema_fsmo | Andrew Bartlett | 2 | -122/+102 | |
This avoids using an ldb_search(), which would run from the top of the module stack. This will help us load the schema before the partitions are initialised. Andrew Bartlett | |||||
2009-10-12 | s4:dsdb Add new functions to help modules do an ldb_search() | Andrew Bartlett | 5 | -43/+173 | |
These take an ldb_module argument, and avoid doing the search from the top of the stack again. (This will help when modules are initialised before being added to the partition set) Andrew Bartlett | |||||
2009-10-12 | s4:provision Remove all references to samba4LocalDomain | Andrew Bartlett | 6 | -35/+32 | |
This was a bad idea all along, as Simo said at the time. With the full MS schema and enforcement of it, it is an even worse idea. This fixes the provision of the member server in 'make test' Andrew Bartlett | |||||
2009-10-12 | s4:provision Clarify that we set, rather than modify, objectGUID values | Andrew Bartlett | 1 | -6/+6 | |
2009-10-12 | s4-selftest: don't run benchmarks on the build farm hosts | Andrew Tridgell | 1 | -0/+1 | |
2009-10-12 | torture: fixed socket leak in BENCH-TCON test | Andrew Tridgell | 1 | -0/+1 | |
The BENCH-TCON test was leaving the socket open. A smbclie_tdis() closes the tree connection, but does not close the socket. This caused the build farm to run out of file descriptors | |||||
2009-10-12 | scripts: handle non-C files in minimal_includes.pl | Andrew Tridgell | 1 | -1/+1 | |
2009-10-12 | s4-drs: make DsBind a bit less verbose | Andrew Tridgell | 1 | -1/+1 | |
2009-10-09 | s4/torture: fix build break "implicit declaration of function 'isprint'" | Steven Danneman | 1 | -0/+1 | |
2009-10-08 | Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba | Jeremy Allison | 4 | -66/+69 | |
2009-10-08 | s3/s4 - Adapt the IDL changes on various locations | Matthias Dieter Wallnöfer | 4 | -66/+69 | |
2009-10-07 | Exteded RAW-RENAME test to catch regressions in bug 6781. | Jeremy Allison | 1 | -4/+40 | |
Jeremy. | |||||
2009-10-08 | s4:ldb - SQLite: port some constraints from the TDB backend also to the ↵ | Matthias Dieter Wallnöfer | 1 | -0/+49 | |
SQLITE one | |||||
2009-10-08 | s4:subtree_delete - Make the initialisation of the child counter more clear | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
2009-10-08 | s4:ldap.py - Further enhancements | Matthias Dieter Wallnöfer | 1 | -6/+236 | |
- Enhance test for "distinguishedName" - Add a test for single-valued attributes - Add a test for multi-valued attributes - Add a test for empty messages - Add a test for empty attributes | |||||
2009-10-08 | s4:ldb - add a check which has to be done on beginning of a "modify" operation | Matthias Dieter Wallnöfer | 1 | -0/+8 | |
2009-10-08 | s4:ldap server - remove unused error handlings | Matthias Dieter Wallnöfer | 1 | -35/+0 | |
Those error cases should be handled by LDB itself to be available on all connection methods and not only over LDAP. | |||||
2009-10-08 | s4:ldb_tdb - Rework/Various | Matthias Dieter Wallnöfer | 1 | -192/+200 | |
- Unify the error handling method with "done" mark in all longer functions - Fix up result codes to match more the real MS AD - Some cosmetic fixups | |||||
2009-10-07 | s4/torture: Ported SMBv1 RAW-OPEN tests to SMB2-CREATE | Aravind Srinivasan | 1 | -1/+573 | |
Four tests were ported from raw/open.c One new tests added LEADING-SLASH, which tests that a server provides the proper error when a relative path is given to a CREATE PDU with a leading "/". | |||||
2009-10-07 | s4/torture: convert all printf to torture_comments | Aravind Srinivasan | 1 | -20/+32 | |