Günther Deschner
5b46e5985e
s3-netlogon: let get_md4pw() return a struct samr_Password.
...
(in preparation of credential merge).
Guenther
2009-08-26 00:48:04 +02:00
Günther Deschner
1a53b61771
s3-netlogon: make _netr_ServerAuthenticate a callback to _netr_ServerAuthenticate3.
...
Guenther
2009-08-26 00:47:55 +02:00
Zach Loafman
808a0d44f8
Allow for name array strings that don't end in a slash
...
Fix set_namearray to allow for strings that don't end in a slash. Also
remove unnecessary strdup()s.
Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-08-25 13:01:57 -07:00
Volker Lendecke
1df18922c6
Add some const to dsgetdcname
2009-08-25 17:38:31 +02:00
Volker Lendecke
3176ee2632
Do an early TALLOC_FREE
2009-08-25 17:38:31 +02:00
Günther Deschner
d896fb2dab
netlogon: give netlogon w7/w2k8r2 AES negotiate flag proper name (see bug #6099 for details).
...
Guenther
2009-08-25 11:12:45 +02:00
Andrew Tridgell
61ca4c491e
fixed DRS rename of deleted objects
...
The objectclass module checks that the target parent exists, and
refuses renames if it doesn't exist. For this to work for deleted
objects we have to do the search in the objectclass module with the
"show deleted" control enabled.
2009-08-25 17:00:27 +10:00
Andrew Tridgell
3c7cbd60e5
fixed a double free bug on error in net export
2009-08-25 16:59:25 +10:00
Andrew Bartlett
436d8b6e06
s4:python Fix the reprovision test by deleting 'deleted' objects too.
...
We were failing because CN=Deleted Objects, which is marked as
'deleted' itself, could not be re-added in a reprovision.
Andrew Bartlett
2009-08-25 16:28:44 +10:00
Andrew Bartlett
6542a084a5
s4:dsdb Rework show_deleted module not to liniearise the LDAP filter
...
Instead, use the fact that the ldb_parse_tree structure is public to
construct the 'and not deleted' clause as a structure, and apply each
filter tree to that template.
Andrew Bartlett
2009-08-25 16:28:44 +10:00
Jeremy Allison
2135461037
Help debug for bug 6651 - smbd SIGSEGV when breaking oplocks.
...
Should help track if we get invoked with an invalid fd from
the signal handler.
Jeremy.
2009-08-24 21:14:52 -07:00
Jeremy Allison
c69f92d16d
Second attempt at fix for bug 6529 - Offline files conflict with Vista and Office 2003.
...
Confirmation from reporter that this fixes the issue in master on ext3/ext4.
Back-ports to follow.
Jeremy.
2009-08-24 20:57:37 -07:00
Jeremy Allison
9a86f26a5f
Allow systems with timestamp granularity of 1sec to work with
...
this test.
Jeremy.
2009-08-24 18:21:23 -07:00
Jeremy Allison
7a6c979299
Use existing time_t rounding function, don't invent my own.
...
Jeremy.
2009-08-24 15:09:29 -07:00
Günther Deschner
2840902692
netlogon: add (yet) undocumented netlogon negotiate bit to bitmap.
...
This bit is set by the Win7 client while joining.
Guenther
2009-08-24 23:09:58 +02:00
Günther Deschner
4799020e9f
s3-netlogon: Only hand out rid when netlogon credential chain has been setup sucessfully.
...
Guenther
2009-08-24 23:09:57 +02:00
Jeremy Allison
87d30a1968
Second part of fix for 6529 - Offline files conflict with Vista and Office 2003.
...
ext4 may be able to store ns timestamps, but the only API to *set* timestamps
takes usec, not nsec. Round to usec on set requests.
Jeremy.
2009-08-24 12:30:05 -07:00
Jeremy Allison
e829ca560d
Fix make test.
...
Jeremy.
2009-08-24 11:24:10 -07:00
Olaf Flebbe
5359e397ff
make smbcontrol smbd ping work proper checking for arguments handle short pid_t correctly
2009-08-24 16:17:43 +02:00
Günther Deschner
b1ee4c14d4
libndr: add missing protoypes for double type.
...
Guenther
2009-08-24 14:31:22 +02:00
Günther Deschner
965a079535
tevent: avoid using reserved c++ word.
...
Guenther
2009-08-24 14:31:02 +02:00
Andrew Bartlett
be9441ac3f
s4:dsdb Use talloc_strndup() to ensure OIDs are null terminated
...
The OIDs are not NULL terminated by the python caller, in line with
the LDB API, but we need them to be here, as we were casting them to a
string.
Andrew Bartlett
2009-08-24 20:24:19 +10:00
Andrew Bartlett
7234a24f82
s4:ldb Add python binding and test for ldb_msg_diff()
2009-08-24 20:24:18 +10:00
Andrew Bartlett
b4e8d927cd
s4:dsdb Add const
2009-08-24 20:24:18 +10:00
Andrew Bartlett
bf54b419ae
s4:dsdb remove unused variable
2009-08-24 20:24:18 +10:00
Andrew Bartlett
cc330f9362
s4:dsdb use talloc_strndup() in GET_STRING_LDB() rather than walk off the end
...
The problem is that samdb_result_string() and
ldb_msg_find_attr_as_string() both simply cast the string, rather than
ensuring the return value is NULL terminated. This may be best
regarded as a flaw in LDB, but fixing it there is going to be more
difficult.
Andrew Bartlett
2009-08-24 20:24:18 +10:00
Andrew Tridgell
0f98d539e2
note the semantic change in talloc_free from 2.0
2009-08-24 16:33:00 +10:00
Andrew Tridgell
f60f0077e4
fixed typo in talloc doc XML
2009-08-24 16:30:01 +10:00
Andrew Tridgell
2c846058ff
LIBREPLACEOBJ now contains the full path
2009-08-24 16:30:00 +10:00
Andrew Tridgell
798b3fbb53
updated XML source for talloc man page
2009-08-24 16:30:00 +10:00
Andrew Tridgell
e6da38c8b7
added talloc_set_log_* documentation
2009-08-24 16:30:00 +10:00
Andrew Tridgell
a0e2041836
updated talloc guide for recent API changes
2009-08-24 16:30:00 +10:00
Andrew Tridgell
39cd5bbb33
make lib/replace more usable in standalone builds
...
This makes the lib/replace m4 work in lib/talloc as a standalone build
2009-08-24 16:30:00 +10:00
Andrew Tridgell
a5358402b2
fixed getpass m4
...
This allows the getpass.m4 code to work in standalone talloc builds
2009-08-24 16:30:00 +10:00
Stefan Metzmacher
e8782de8fe
s3:lib: setup talloc log and abort functions
...
metze
2009-08-24 16:30:00 +10:00
Stefan Metzmacher
851b01f64e
s3:configure: require talloc >= 2.0.0
...
metze
2009-08-24 16:30:00 +10:00
Stefan Metzmacher
251b03eee6
s4:cmdline: setup talloc log and abort functions
...
metze
2009-08-24 16:29:59 +10:00
Stefan Metzmacher
5cefde4075
s4:build: require talloc >= 2.0.0
...
metze
2009-08-24 16:29:59 +10:00
Stefan Metzmacher
55dbe80d05
talloc: add --enable-talloc-compat1 to build a compat library for talloc 1.x.x
...
metze
2009-08-24 16:29:58 +10:00
Stefan Metzmacher
64e05779d2
talloc: update talloc.exports and talloc.signatures
...
metze
2009-08-24 16:29:58 +10:00
Stefan Metzmacher
6c9ace27c5
talloc: add defines and functions for TALLOC_MAJOR/MINOR_VERSION
...
We also use the major and minor versions in the TALLOC_MAGIC,
so that we can detect if two conflicting versions of talloc
are loaded in one process. In this case we use talloc_log() to
output a very useful debug message before we call
talloc_abort().
metze
2009-08-24 16:29:58 +10:00
Stefan Metzmacher
9baacbbbdf
talloc: change version to 2.0.0
...
metze
2009-08-24 16:29:58 +10:00
Stefan Metzmacher
5760edeeb6
talloc: remove ABI compat functions
...
metze
2009-08-24 16:29:58 +10:00
Stefan Metzmacher
8a90c8bc98
talloc: remove unused build dependecies to samba
...
metze
2009-08-24 16:29:58 +10:00
Stefan Metzmacher
ed384e8aac
talloc/testsuite: use talloc_set_log_fn() and log to stdout
...
metze
2009-08-24 16:29:58 +10:00
Stefan Metzmacher
e40f3144f2
talloc: add talloc_set_log_fn() and talloc_set_log_stderr()
...
So that the application can setup a log function to get ERROR
and WARNING messages.
metze
2009-08-24 16:29:58 +10:00
Stefan Metzmacher
ac8aeec824
talloc: let talloc_steal() only generate a warning if it's used with references
...
We have to many callers, which rely on that talloc_steal() never fails.
metze
2009-08-24 16:29:57 +10:00
Stefan Metzmacher
84810d7182
talloc/testsuite: report __location__ of testsuite failures
...
metze
2009-08-24 16:29:57 +10:00
Stefan Metzmacher
f8559b8238
talloc/testsuite: add infrastructure to test aborts
...
metze
2009-08-24 16:29:57 +10:00
Stefan Metzmacher
13227f83b9
talloc/testsuite: reset the globals after each subtest
...
metze
2009-08-24 16:29:57 +10:00