Stefan Metzmacher
07e01f8405
s4:smbclient: correct initialize smbclient_context
...
Found by valgrind.
metze
2009-01-07 06:36:23 +01:00
Volker Lendecke
c692accbb7
Add a talloc failure check
2009-01-06 23:27:24 +01:00
Jelmer Vernooij
ee9dff71e1
When loading the default configuration, allow the configuration file to be
...
missing.
2009-01-06 22:38:44 +01:00
Volker Lendecke
1d427dcee0
Add some const to dcerpc_binding_build_tower()
2009-01-06 21:57:01 +01:00
Jelmer Vernooij
958186df2a
Fix compilation, remove unused variables.
2009-01-06 21:52:54 +01:00
Jelmer Vernooij
63e7c2fef8
Fix prototype.
2009-01-06 21:45:13 +01:00
Matthias Dieter Wallnöfer
05f97d3235
Fix typo
2009-01-06 16:23:29 +01:00
Günther Deschner
10d72781fd
s4-smbtorture: verify each password change via samlogon in SAMR-PASSWORDS-PWDLASTSET test.
...
Guenther
2009-01-06 16:03:54 +01:00
Kai Blin
75e2406564
s4 winbind: Silence a "discards const" warning
2009-01-06 09:55:49 +01:00
Jelmer Vernooij
d2c70d24e1
py: Properly increase the reference counter of Py_None.
2009-01-06 04:13:57 +01:00
Jelmer Vernooij
de7dc2cec0
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2009-01-05 14:02:30 +01:00
Andrew Bartlett
83b2f1483f
Initialise 'flags' in new python ldb binding for ldb_connect
2009-01-05 20:08:04 +11:00
Tim Prouty
2ddaebb2e1
s4 torture: Add more rename tests to RAW-STREAMS
...
There is one part of the new rename tests that passes against windows,
but doesn't pass against samba3 right now. Windows allow renaming a
stream to the default stream, but none of the current streams module
support this. When this ability is added the check for samba can be
removed from this test.
This patch also adds a missing unlink in the cleanup of
test_stream_delete and changes the order that the tests are run to be
consistent with the physical order in the file.
2009-01-04 19:31:30 -08:00
Andrew Bartlett
d22adc14a9
More work to have OpenLDAP accept the full AD schema
...
We need to avoid handling DN+Binary and DN+String with the refint
module for now, as this is a currently unsupported syntax.
Also rename entryTTL to avoid a conflict with the operational
attribute of the same name.
Andrew Bartlett
2009-01-05 12:38:47 +11:00
Jelmer Vernooij
ca05542d3d
Use fqdn rather than gethostname when guessing realm.
2009-01-05 00:27:49 +01:00
Jelmer Vernooij
af744e0954
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2009-01-04 22:48:23 +01:00
Stefan Metzmacher
033428d7da
tevent: move samba4 stuff from libtevent.m4 to samba.m4
...
metze
2009-01-04 18:57:18 +01:00
Stefan Metzmacher
f9cb82d547
s4:build: add SMB_MAKE_SETTINGS() macro
...
metze
2009-01-04 18:57:18 +01:00
Stefan Metzmacher
47d532fa68
s4:smbd: convert to tevent_* api
...
metze
2009-01-03 19:58:57 +01:00
Stefan Metzmacher
1c8580cfa9
s4:libcli/ldap: convert to tevent_* api
...
metze
2009-01-03 19:58:56 +01:00
Stefan Metzmacher
c72cbce6ee
s4:auth/kerberos: convert to tevent_* api
...
metze
2009-01-03 19:58:56 +01:00
Stefan Metzmacher
c652b42612
tevent: raise version to 0.9.2 after AUTOCLOSE changes
...
metze
2009-01-03 19:58:55 +01:00
Stefan Metzmacher
5fa0d3d568
s4:socket: use a socket_wrapper aware function to auto close the fd event for sockets
...
metze
2009-01-03 19:58:53 +01:00
Stefan Metzmacher
b1be241ca5
s4:sysdep/inotify: use tevent_fd_set_auto_close()
...
metze
2009-01-03 19:58:52 +01:00
Stefan Metzmacher
b00f6d169c
tevent: raise version to 0.9.1
...
This 0.9.1 isn't compatible with 0.9.0,
but it makes only sense to raise the major version
after we have reached 1.0.0.
metze
2009-01-03 09:14:23 +01:00
Kai Blin
120dc0e5aa
s4 winbind: Correctly silence a "discard const" warning
...
Thanks to metze for pointing out the error.
2009-01-02 23:42:55 +01:00
scudette@gmail.com
793f1cdbd9
Changed code to use proper talloc context instead of NULL to control memory leak.
2009-01-02 20:55:20 +01:00
scudette@gmail.com
cc9771d3da
Memory leak fixed due to accumulation of open reg keys.
2009-01-02 20:55:20 +01:00
scudette@gmail.com
de58ef45ac
Fixes uninitialised access as reported by valgrind.
2009-01-02 20:55:20 +01:00
Jeremy Allison
11576353f6
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2009-01-02 11:39:04 -08:00
Jeremy Allison
2234173220
Fix warnings in make test code.
...
Jeremy.
2009-01-02 11:38:24 -08:00
Stefan Metzmacher
268f3e93a4
s4:lib/events: remove unused events_internal.h
...
external users need to use tevent_internal.h anyway
metze
2009-01-02 18:16:55 +01:00
Stefan Metzmacher
2885a7ab6e
s4:selftest: report tevent tests as 'tevent.python'
...
metze
2009-01-02 18:16:55 +01:00
Stefan Metzmacher
34cc50cb63
s4:lib/events: convert to use tevent_* functions instead of compat macros
...
metze
2009-01-02 18:16:54 +01:00
Stefan Metzmacher
25387d8942
s4:lib/events: deprecate event_context_find()
...
metze
2009-01-02 18:16:49 +01:00
Stefan Metzmacher
3f8f99eaec
s4:tevent: move event_context_find() to tevent_s4.c
...
metze
2009-01-02 18:16:48 +01:00
Stefan Metzmacher
54c0f626f5
s4:pyregistry: use tevent_context_init()
...
metze
2009-01-02 18:16:48 +01:00
Stefan Metzmacher
0e95c9a1eb
Revert "s4 winbind: Copy SID to avoid "discard const" warning"
...
This reverts commit 102028ec722d942d7f91eb92e8da4f1480d140d1.
state->ctx is the composite_context, which is a temporary context!
metze
2009-01-02 18:15:10 +01:00
Stefan Metzmacher
a54c558ca6
Revert "s4 winbind: Avoid a "discards const" compiler warning."
...
This reverts commit dd8d4b6fd178df6847052dac207a4aafc0697d71.
s3call->response.extra_data.data is a pointer and no fstring!
metze
2009-01-02 17:56:41 +01:00
Stefan Metzmacher
8b81e7c7c6
Happy New Year!
...
metze
2009-01-02 09:45:14 +01:00
Jelmer Vernooij
ce47b69d8e
Fix syntax errors.
2009-01-01 06:33:25 +01:00
Jelmer Vernooij
08259c1c52
Add iconv_convenience argument to size functions.
2009-01-01 04:45:33 +01:00
Jelmer Vernooij
2dc045007e
make: Search for c tags in ../ as well.
2009-01-01 03:30:54 +01:00
Tim Prouty
d217bd00a1
s4: simplify some overly-complicated logic
2008-12-30 15:21:34 -08:00
Stefan Metzmacher
60b366369e
s4:cluster: fix dependency to TDB_WRAP
...
metze
2008-12-29 20:55:02 +01:00
Stefan Metzmacher
183c379fe5
s4:lib/tevent: rename structs
...
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
2008-12-29 20:46:40 +01:00
Stefan Metzmacher
af29b82536
s4:pvfs_aio: use tevent
...
metze
2008-12-29 19:57:07 +01:00
Stefan Metzmacher
635a973be5
s4:sys_lease_linux: use tevent
...
metze
2008-12-29 19:57:00 +01:00
Stefan Metzmacher
e36d64728f
s4:cluster: remove old/broken ctdb code
...
We don't need a full copy of ctdb...
If we want to readd cluster support,
we should just use a ctdb client library.
metze
2008-12-29 14:46:09 +01:00
Stefan Metzmacher
aec16efaf2
s4: remove unused dbwrap code
...
If we readd this later, we should share the code with
samba3 and make it async/non-blocking.
metze
2008-12-29 14:46:08 +01:00