zahari
4fff36f618
Setting nTSecurityDescriptor via LDAP fails
...
Fix for the problem was substitute talloc_strndup() with
talloc_memdup(), allocate 1 more character and put null character
('\0') in the extra place so data copied is null terminated.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-20 22:54:15 +01:00
Jelmer Vernooij
ee577ef0ee
Add more comments.
2009-03-20 22:52:57 +01:00
Günther Deschner
19de802c17
s3-spoolss: _spoolss_EnumPrinters level 3 always returns WERR_UNKNOWN_LEVEL.
...
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
d2de9b068c
s3-spoolss: implement enumprinters_level4.
...
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
aa6dbcfc11
s3-spoolss: implement enumprinters_level5.
...
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
6713244d46
s3-spoolss: use enum_all_printers_info_level for level 1 and 2.
...
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
95f2913c7d
s3-spoolss: add enum_all_printers_info_level().
...
Guenther
2009-03-20 17:20:33 +01:00
Günther Deschner
5a388115a9
s3-spoolss: apply some const in spoolss server.
...
Guenther
2009-03-20 17:20:32 +01:00
Günther Deschner
c9a388348a
s3-rpcclient: allow to set flags in enumprinters command.
...
Guenther
2009-03-20 17:20:32 +01:00
Jelmer Vernooij
ca202cf464
Merge branch 'master' of ssh://git.samba.org/data/git/samba into displaysec
2009-03-20 16:40:09 +01:00
Matthias Dieter Wallnoefer
2de464a765
Fix uninstallman.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-03-20 16:22:02 +01:00
Stefan Metzmacher
1ef206524d
selftest/Samba3: use the same sequence of signals to shutdown samba3 as with the shell scripts
...
When we kill the timelimit process with SIGKILL, it can't kill its
children...
metze
2009-03-20 14:41:11 +01:00
Günther Deschner
3a6133d702
s3-netapi: Fix Coverity #774 (REVERSE_INULL).
...
Guenther
2009-03-20 11:21:36 +01:00
Günther Deschner
f2243e8197
s3-netapi: Fix Coverity #775 (REVERSE_INULL).
...
Guenther
2009-03-20 11:19:59 +01:00
Günther Deschner
d2e348b191
s3-netapi: Fix Coverity #776 (REVERSE_INULL).
...
Guenther
2009-03-20 11:17:50 +01:00
Günther Deschner
97190ae184
s3-krb5: Fix Coverity #762 (REVERSE_INULL).
...
Guenther
2009-03-20 11:11:04 +01:00
Günther Deschner
73030b107d
s3-net: Fix Coverity #861 (UNINIT).
...
Guenther
2009-03-20 11:07:21 +01:00
Günther Deschner
d2fb6d3482
s3-net: Fix Coverity #898 (UNINIT).
...
Guenther
2009-03-20 11:04:59 +01:00
Günther Deschner
045151b767
s3-spoolss: pure comsetics.
...
sorry, I just need to do that.
Guenther
2009-03-20 10:49:45 +01:00
Günther Deschner
1524abd8bf
s3-krb5: Fix Coverity #722 (RESOURCE_LEAK).
...
Guenther
2009-03-20 10:41:44 +01:00
Günther Deschner
2c186be0df
s3-net: Fix Coverity #886 (FORWARD_NULL).
...
Guenther
2009-03-20 10:41:44 +01:00
Günther Deschner
842edcd2b0
s3-samr: try to to fix password_expired flag handling.
...
Guenther
2009-03-20 10:39:18 +01:00
Stefan Metzmacher
da46c37100
s4:build: include ../libcli/cldap/config.mk
...
This fixes commit 84a140f18722518eb0f40737085dd3b3958a3a02,
sorry!
metze
2009-03-20 10:16:00 +01:00
Bo Yang
808928c24b
Fix crash in async_smb.c
2009-03-20 09:56:15 +01:00
Andrew Bartlett
37f130fd89
s4:fullschema Use server-side sort to make the output deterministic
2009-03-20 16:47:34 +11:00
Andrew Bartlett
4a45b0da57
s4:ldb Allow paged_searches to be mixed with other controls
...
I want to mix this with the server-side sort in particular.
Andrew Bartlett
2009-03-20 16:45:52 +11:00
Andrew Bartlett
f696bb81f8
s4: Remove autogenerated attributes from minschema and fullschema output
...
These attributes will be generated by Samba on import, and do not need
to be in the schema file.
Andrew Bartlett
2009-03-20 16:28:42 +11:00
Andrew Bartlett
653dd024a6
Add minschema like tool to extract and dump the full schema from AD
2009-03-20 16:28:41 +11:00
Andrew Bartlett
5bfed623f5
s4:minschma Fix aggregate schema generation in minschema
...
The conversion from EJS to python I did with Jelmer this morning was
not quite complete, due mostly to the difference between print in EJS
and python (python implies a newline).
Andrew Bartlett
2009-03-20 16:28:41 +11:00
Andrew Bartlett
6906c01cac
s4:ldb Ensure to pass down options to LDB from python
...
This is needed for things such as to load modules, like the
paged_searches module.
Andrew Bartlett
2009-03-20 16:28:41 +11:00
Andrew Bartlett
1dc5b90e86
s4:ldb Fix the paged_searches module
...
This simplifies the code, removes presumptions about being the only
control in the reply, and allows it to function against Windows 2008.
For searches which did not require a paged result, the module was
simply returning a failure when the compleated search did not include
a paged result control.
Andrew Bartlett
2009-03-20 16:28:40 +11:00
Jelmer Vernooij
5fe2b28f45
Merge branch 'master' of git://git.samba.org/samba into minschema
2009-03-20 01:30:36 +01:00
Jelmer Vernooij
ec9aeeab00
Fix up minschema after the conversion from JavaScript.
...
Pair programmed over the phone with Andrew :-)
2009-03-20 01:29:31 +01:00
Jelmer Vernooij
722dc9eed3
pyldb: Improve exception message when a list is expected.
2009-03-20 00:33:43 +01:00
Andrew Tridgell
9709ddcd3d
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2009-03-20 10:01:17 +11:00
Michael Adam
3a4638db03
add a versiontest program to print samba_version_string().
...
This is to allow for testing samba_version_string() without
the need to compile any of the larger binaries like smbd or net...
Michael
2009-03-19 23:57:35 +01:00
Michael Adam
d813a90d18
version: fix handling of SAMBA_VERSION_VENDOR_PATCH.
...
We need a string version of this, or else version.c does not compile.
Michael
2009-03-19 23:57:34 +01:00
Dan Sledz
f603903cb0
s3: Fix a free of an uninitialized variable in winbind_get_sid_aliases
2009-03-19 14:59:23 -07:00
Stefan Metzmacher
18b4925031
s3:libads: use libcli/cldap code
...
metze
2009-03-19 16:26:00 +01:00
Stefan Metzmacher
4508152282
s3:build: compile lib/tsocket and libcli/cldap
...
metze
2009-03-19 16:25:59 +01:00
Stefan Metzmacher
84a140f187
move source4/libcli/cldap => libcli/cldap
...
metze
2009-03-19 16:25:59 +01:00
Stefan Metzmacher
c600e8ef42
s4:cldap: rewrite the cldap library based on tsocket
...
metze
2009-03-19 16:25:59 +01:00
Stefan Metzmacher
b69e72deda
lib/util: build tevent_unix.o and tevent_ntstatus.o as UTIL_TEVENT subsystem
...
metze
2009-03-19 16:25:58 +01:00
Stefan Metzmacher
4e18c24e2e
lib/tsocket: add tsocket_guide.txt section with specific details about bsd style sockets
...
metze
2009-03-19 16:25:58 +01:00
Stefan Metzmacher
f6efec5dd4
lib/tsocket: add a fast path to tsocket_writev_send/recv()
...
This is similar to the tsocket_sendto_send/recv() fast path.
metze
2009-03-19 16:25:57 +01:00
Stefan Metzmacher
b900e92425
lib/tsocket: add a fast path to tsocket_sendto_send/recv()
...
By first trying to send data without waiting for the socket
to become writeable we gain about 10-20% performance in the
LDAP-BENCH-CLDAP test.
metze
2009-03-19 16:25:57 +01:00
Stefan Metzmacher
235a7a420b
lib/tsocket: add tsocket_guide.txt section about the async _send/recv() helper functions
...
metze
2009-03-19 16:25:56 +01:00
Stefan Metzmacher
a27c6eb8e2
lib/tsocket: add tsocket_readv_send/recv()
...
metze
2009-03-19 16:25:56 +01:00
Stefan Metzmacher
6c8bd1005d
lib/tsocket: add tsocket_writev_queue_send/recv()
...
metze
2009-03-19 16:25:55 +01:00
Stefan Metzmacher
2e44ceaea8
lib/tsocket: add tsocket_writev_send/recv()
...
metze
2009-03-19 16:25:55 +01:00