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
Stefan Metzmacher
1fbc86c57a
talloc: call return after abort, because an overloaded abort function might not exit
...
This will be useful in the testsuite,
where we could check if an abort would happen.
metze
2009-08-24 16:29:57 +10:00
Stefan Metzmacher
2c664db749
talloc: report the size of reference handles as 0
...
metze
2009-08-24 16:29:57 +10:00
Stefan Metzmacher
d1895d2fee
talloc: let talloc_total_blocks() and talloc_get_size() operate on the null_context
...
metze
2009-08-24 16:29:57 +10:00
Volker Lendecke
fced9dfc1e
s3:winbind: Fallback to the forest root for lookupname
...
Thanks to Steven Danneman for watching me closely :-)
2009-08-23 10:19:32 +02:00
Volker Lendecke
1603c608c9
s3:winbind: Even on a domain controller, "our" domain is internal
...
It happens to be what we also share out via NETLOGON/SAMR, but winbind has
direct access to it via the passdb domain methods
2009-08-23 10:19:32 +02:00
Volker Lendecke
a0bf0cb0fb
s3:winbind: Do not drop the first user in sam_query_user_list
2009-08-23 10:19:32 +02:00
Volker Lendecke
963419be1b
s3:winbind: For internal domains it is pointless to connect to a DC
2009-08-23 10:19:32 +02:00
Volker Lendecke
fc3d427af8
s3:winbind: winbindd_dual_ndrcmd should output what it's doing
2009-08-23 10:19:32 +02:00
Volker Lendecke
a09b9ed9e2
s3:winbind: Fix the talloc hierarchy in wb_queryuser_done
...
We need to return state->userinfo beyond the end of wb_queryuser_recv, so the
unmarshalled strings are children of that, not the state that is lost sooner.
Metze, this scheme works fine as long as we only have a single malloc'ed
entity that is returned. I think we need a different scheme in the future
when we might have more than one independent object to be returned.
2009-08-23 10:19:32 +02:00
Jeremy Allison
da9356711b
Implement Metze's suggestion of trying getpwuid(0) then getpwnam(root).
...
Jeremy.
2009-08-22 09:40:58 -07:00
Jeremy Allison
1fb916babd
Log debug message when hires timestamps are available on the
...
share.
Jeremy.
2009-08-21 21:53:37 -07:00
Jeremy Allison
1af0aa92b3
Fix bug 6529 - Offline files conflict with Vista and Office 2003
...
On filesystems that can't store less than one second timestamps,
round the incoming timestamp set requests so the client can't discover
that a time set request has been truncated by the filesystem.
Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0.
Jeremy
2009-08-21 21:44:21 -07:00
Jeremy Allison
47c7063dc6
Try and fix the buildfarm by using getpwnam(root) instead
...
of getpwuid(0) if DEVELOPER is defined. I'm hoping the
build farm defines DEVELOPER...
Jeremy.
2009-08-21 21:08:02 -07:00
Andrew Bartlett
497234c1cb
s4:ntp_signd Fix bug 6656 - Set protocol version to 0, as used by ntpd
...
The change to protocol version 1 was not intentional, and broke the
protocol established with the ntp.org project.
Andrew Bartlett
2009-08-22 11:14:22 +10:00