Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-15 | Merge branch 'master' of /home/tridge/samba/git/combined | Andrew Tridgell | 7 | -32/+102 | |
2009-09-15 | s4-ldb: ldap attribute names can contain a '.' | Andrew Tridgell | 1 | -1/+2 | |
When they are of the form of OIDs | |||||
2009-09-15 | s4-ldb: expose ldb_transaction_prepare_commit() in ldb | Andrew Tridgell | 3 | -21/+64 | |
It is useful to be able to control the 2 phase commit from application code (s4 replication uses it) | |||||
2009-09-15 | s4-repl: don't do double replication | Andrew Tridgell | 2 | -2/+36 | |
When we replicate from a remote DC, we need to note the new uSN that the local changes have resulted in, and modify the uSN that the notify task uses to determine if it should send a ReplicaSync message back to the remote DC. Otherwise we end up always triggering a ReplicaSync every time we replicate from another DC | |||||
2009-09-15 | tdb: allow reads after prepare commit | Andrew Tridgell | 1 | -8/+0 | |
We previously only allowed a commit to happen after a prepare commit. It is in fact safe to allow reads between a prepare and a commit, and the s4 replication code can make use of that, so allow it. | |||||
2009-09-15 | Merge branch 'master' of /home/tridge/samba/git/combined | Andrew Tridgell | 39 | -499/+583 | |
2009-09-15 | s4-drs: filter based on local_usn | Andrew Tridgell | 1 | -1/+1 | |
The getncchanges uSN is in our local space, so we must compare it to the local_usn in replPropertyMetaData | |||||
2009-09-15 | s4-repl: make sure we marshal the replPropertyMetaData after the last change | Andrew Tridgell | 1 | -10/+10 | |
we were setting local_usn after the marshall, so it wasn't going into the object | |||||
2009-09-15 | s4-dsdb: use DLIST_ADD() not DLIST_ADD_END() | Andrew Tridgell | 2 | -4/+4 | |
Using DLIST_ADD_END() to construct a long list is very inefficient (it is O(n^2). These lists are not ordered, so using DLIST_ADD() is much better. | |||||
2009-09-15 | s4-ldb: cope better with corruption of tdb records | Andrew Tridgell | 4 | -5/+30 | |
When doing an indexed search if we hit a corrupt record we abandoned the indexed search and did a full search. The problem was that we might have sent some records to the caller already, which means the caller ended up with duplicate records. Fix this by returning a search error if indexing returns an error and we have given any records to the caller. | |||||
2009-09-15 | talloc: when we enable NULL tracking, reparent the autofree context | Andrew Tridgell | 1 | -0/+3 | |
If NULL tracking is enabled after the autofree context is initialised then autofree ends up separate from the null_context. This means that talloc_report_full() doesn't report the autofree context. Fix this by reparenting the autofree context when we create the null_context. | |||||
2009-09-15 | s4-repl: add a debug to make it easier to monitor replication | Andrew Tridgell | 1 | -0/+5 | |
2009-09-15 | s3: ignore cups-config to tidy up library dependencies | Björn Jacke | 1 | -1/+1 | |
contrary to krb5-config for example, which outputs useful things, cups-config --libs does not output libs we have to link against. It outputs libs that cups linked against. We just have to link against cups. | |||||
2009-09-15 | libcli:nbt put util_net.c protos in new header file | Andrew Bartlett | 4 | -21/+48 | |
This fixed a very odd build problem due to util.h importing system/network.h being imported before the uid_wapper code. Andrew Bartlett | |||||
2009-09-15 | s4:schema Add code to provide an index into the subClass tree | Andrew Bartlett | 2 | -1/+27 | |
In time, this should avoid the astounding (order) complexity of the objectclass sorting in objectclass.c eventually. Andrew Bartlett | |||||
2009-09-15 | s3-dcerpc: really fix remaining old auth level constants. sorry... | Günther Deschner | 1 | -2/+2 | |
Guenther | |||||
2009-09-15 | Merge branch 'master' of /home/tridge/samba/git/combined | Andrew Tridgell | 22 | -22/+382 | |
2009-09-15 | s4-dsdb: use DLIST_ADD() not DLIST_ADD_END() | Andrew Tridgell | 2 | -4/+4 | |
Using DLIST_ADD_END() to construct a long list is very inefficient (it is O(n^2). These lists are not ordered, so using DLIST_ADD() is much better. | |||||
2009-09-15 | s4-ldb: cope better with corruption of tdb records | Andrew Tridgell | 4 | -5/+30 | |
When doing an indexed search if we hit a corrupt record we abandoned the indexed search and did a full search. The problem was that we might have sent some records to the caller already, which means the caller ended up with duplicate records. Fix this by returning a search error if indexing returns an error and we have given any records to the caller. | |||||
2009-09-15 | talloc: when we enable NULL tracking, reparent the autofree context | Andrew Tridgell | 1 | -0/+3 | |
If NULL tracking is enabled after the autofree context is initialised then autofree ends up separate from the null_context. This means that talloc_report_full() doesn't report the autofree context. Fix this by reparenting the autofree context when we create the null_context. | |||||
2009-09-15 | s3-dcerpc: fix remaining old auth level constants. | Günther Deschner | 2 | -19/+19 | |
Guenther | |||||
2009-09-15 | s4-repl: add a debug to make it easier to monitor replication | Andrew Tridgell | 1 | -0/+5 | |
2009-09-15 | ntlmssp: pretty print a VERSION structure. | Günther Deschner | 6 | -19/+21 | |
Guenther | |||||
2009-09-15 | ntlmssp: better document to what structures we are reffering to. | Günther Deschner | 1 | -3/+25 | |
Guenther | |||||
2009-09-15 | s3-dcerpc: remove unsed auth type defines as seen on the wire. | Günther Deschner | 2 | -18/+5 | |
Guenther | |||||
2009-09-15 | s3-dcerpc: remove more unused structs. | Günther Deschner | 1 | -12/+0 | |
Guenther | |||||
2009-09-15 | s3-dcerpc: remove duplicate RPC_AUTH_LEVEL flags. | Günther Deschner | 2 | -14/+5 | |
Guenther | |||||
2009-09-15 | s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags. | Günther Deschner | 16 | -100/+93 | |
Guenther | |||||
2009-09-15 | libcli:nbt make the lmhosts parsing code and dependicies common | Andrew Bartlett | 10 | -298/+346 | |
This starts the process to have Samba4 use lmhosts. Andrew Bartlett | |||||
2009-09-15 | s4:heimdal_build: fix one more problem with automatic dependecies | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-09-14 | s4:provision Prevent some invalid combinations of realm and domain | Andrew Bartlett | 1 | -0/+9 | |
We don't do well (even just trying to create duplicate servicePrincipalName values) with some of these combinations, so kill it off early before the administrator thinks it's going to work. Andrew Bartlett | |||||
2009-09-14 | s4: Script to build or rebuild extend DN attributes | Matthieu Patou | 1 | -0/+141 | |
This script can be used to upgrade a provision that didn't integrate extended dn. It can also be used to add missing extended DN that weren't created during provision. | |||||
2009-09-15 | s3: BSD needs sys/sysctl.h included to build properly | Björn Jacke | 3 | -1/+10 | |
FreeBSD (and other BSDs, too) need sys/sysctl.h inclueded to use sysctlbyname(). Thanks to Timur Bakeyev for that. | |||||
2009-09-14 | Second part of bug fix for 6606. | Volker Lendecke | 1 | -0/+6 | |
s3:libsmb: Fix bug 6606 -- short reads in smbclient were not handled | |||||
2009-09-14 | Torture test for bug 6529 - Offline files conflict with Vista and Office 2003. | Jeremy Allison | 1 | -0/+131 | |
Ensure we don't regress. Jeremy. | |||||
2009-09-15 | nss_winbind: remove unused variable | Björn Jacke | 1 | -1/+0 | |
2009-09-14 | Fix bug 6494 - Incorrect FileStatus returned in NT_CREATE_ANDX. | Jeremy Allison | 3 | -3/+36 | |
Lookup the EA and Stream status on CreateX. Jeremy. | |||||
2009-09-14 | Fix bug 6726 - Filename length overwrites oplock request field in ↵ | Jeremy Allison | 1 | -1/+1 | |
cli_nt_create(). Jeremy. | |||||
2009-09-14 | s3:vfs_catia: Make some fns static | Volker Lendecke | 1 | -3/+3 | |
2009-09-14 | s3:vfs_catia: Use talloc_zero for simplification | Volker Lendecke | 1 | -2/+1 | |
2009-09-14 | s3:vfs_modules: Fix Coverity ID 946: OVERRUN_STATIC | Volker Lendecke | 1 | -1/+1 | |
Tim, please check! | |||||
2009-09-14 | Merge branch 'master' of /home/tridge/samba/git/combined | Andrew Tridgell | 45 | -555/+1452 | |
2009-09-14 | s4-repl: handle rename in repl_meta_data | Andrew Tridgell | 1 | -0/+97 | |
On a rename we need to update uSNChanged, and the max uSN for the partition | |||||
2009-09-14 | s4-drs: allow replication of renames | Andrew Tridgell | 1 | -6/+7 | |
a rename may have no attribute changes | |||||
2009-09-14 | Prepend "$libreplacedir/" to all objects in LIBREPLACEOBJ | Matt Kraai | 7 | -14/+14 | |
2009-09-14 | s4-repl: fixed a memory error handling linked attributes | Andrew Tridgell | 1 | -10/+10 | |
We could get a double free with multiple linked attributes in a message | |||||
2009-09-14 | s4-repl: fall back to repsFrom if repsTo not set | Andrew Tridgell | 1 | -2/+4 | |
Windows does not seem to be always setting up repsTo using DsUpdateRefs(). For now we will fall back to using repsFrom if repsTo is empty. This is almost certainly incorrect, but it does get notification based replication working with both w2k3 and w2k8. | |||||
2009-09-14 | pyldb: Don't segfault when invalid type is specified to Dn.get(). | Jelmer Vernooij | 2 | -2/+14 | |
(#6722) | |||||
2009-09-14 | examples/LDAP: remove sambaAccountPolicy from the IBM-DS schema. | Michael Adam | 2 | -6/+0 | |
Michael | |||||
2009-09-14 | dsdb: the samba3 ldap schema has no sambaAccountPolicy (any more at least) | Michael Adam | 1 | -1/+0 | |
Michael |