Günther Deschner
09265bcff5
s3-nsswitch: Fix Bug #6238 . Make sure logoff is bla bla.
...
Fix inspired by patch from Rashid N. Achilov <citycat4@ngs.ru>.
Guenther
2009-04-03 09:57:53 +02:00
Andrew Bartlett
6e6094d780
s4:schema Don't free mem_ctx before it is initilised
2009-04-03 10:33:12 +11:00
Günther Deschner
621d40332a
s3-build: fix the build after tsocket changes.
...
Metze, please check.
Guenther
2009-04-03 00:30:58 +02:00
Andrew Bartlett
2f04b7d29a
Merge branch 'master' of ssh://git.samba.org/data/git/samba into wspp-schema
2009-04-03 08:28:22 +11:00
Andrew Bartlett
354ba5e2e3
s4:schema Update Windows 2008 schema from Microsoft to latest version
2009-04-03 08:18:14 +11:00
Andrew Bartlett
c7ed9bc477
Remove minschema generated schema - we now generate from setup/ad-schema/
2009-04-03 08:15:25 +11:00
Andrew Bartlett
1a17fcdf66
Add parentGUID as an allowed attribute in samba4Top
...
This is required to get provision against OpenLDAP working again
2009-04-03 08:14:42 +11:00
Günther Deschner
31ab1d6a64
s3-lsa: use LSA_ROLE definitions in _lsa_QueryInfoPolicy().
...
Guenther
2009-04-02 22:52:52 +02:00
Günther Deschner
168eb23252
s3-lsa: don't SAFE_FREE talloced structs.
...
Guenther
2009-04-02 22:50:44 +02:00
Stefan Metzmacher
3bbad34a02
tsocket: remove DGRAM support from tsocket_context
...
metze
2009-04-02 21:54:08 +02:00
Stefan Metzmacher
7e1411b5c7
libcli/cldap: convert to tsocket_* function to tdgram_*
...
metze
2009-04-02 21:54:02 +02:00
Stefan Metzmacher
c59ee5a139
tsocket: optimize tdgram_bsd a lot
...
The desire is to do as less syscalls during the
tdgram_sendto_send/recv() and tdgram_recvfrom_send/recv()
operations.
1. we first try the sendto()/recvfrom() syscall and
only use a fd event if we got EAGAIN.
2. we cache the fd event and only change it's flags
if really needed.
For the highload case we do almost no epoll_ctl() and epoll_wait()/select()
syscalls anymore. This speeds up the LDAP-BENCH-CLDAP test
by more than 20%. (With a modified version of this test
which let the server skip any ldb calls and just return success
I'm getting about 8000 requests per second, while I'm getting
just about 6000 requests per second without optimization)
metze
2009-04-02 21:54:00 +02:00
Stefan Metzmacher
85742dbc06
tsocket: add tdgram_sendto_queue_send/recv()
...
metze
2009-04-02 21:53:59 +02:00
Stefan Metzmacher
8d98070a9f
tsocket: split out a smaller tdgram_context abstraction
...
The idea is to have a tdgram and a tstream abstraction
which only provide tevent_req based io functions.
metze
2009-04-02 21:53:03 +02:00
Günther Deschner
37aff885a6
s3-spoolss: implement _spoolss_GetPrinterDriver2 level 101 (Bug #5140 ).
...
Guenther
2009-04-02 12:46:04 +02:00
Andrew Tridgell
a6a29682e5
Merge commit 'abartlet/wspp-schema' into wspp-schema
2009-04-02 16:43:23 +11:00
Andrew Tridgell
9539e2b508
major upgrade to the ldb attribute handling
...
This is all working towards supporting the full WSPP schema without a
major performance penalty.
We now use binary searches when looking up classes and attributes. We
also avoid the loop loading the attributes into ldb, by adding a hook
to override the ldb attribute search function in a module. The
attributes can thus be loaded once, and then saved as part of the
global schema.
Also added support for a few more key attribute syntaxes, as needed
for the full schema.
2009-04-02 16:42:21 +11:00
Zack Kirsch
108cf27bb1
s4 torture: Addition to RAW-BENCH-LOCK to take a configurable number of locks before starting the test
...
This can be useful for benchmarking as well as stress testing.
2009-04-01 20:59:52 -07:00
Zach Loafman
9d95f8704d
s/NT_STATUS_WIN7_INVALID_RANGE/NT_STATUS_INVALID_LOCK_RANGE/g
2009-04-01 20:59:52 -07:00
Jeremy Allison
c57b32c5ab
Allow pdbedit to change a user rid/sid. Based on a fix from Alexander Zagrebin <alexz@visp.ru>.
...
Jeremy.
2009-04-01 20:21:02 -07:00
Jeremy Allison
1258ed8b1c
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2009-04-01 20:20:44 -07:00
Tim Prouty
87fe4d732d
s3 onefs: Quiet a log message about oplocks being requested on streams
2009-04-01 20:06:18 -07:00
Tim Prouty
f92140b716
s4 torture: Remove unused parameter
2009-04-01 20:02:31 -07:00
Tim Prouty
5000640bf4
s4 torture: Add new streams oplock test
2009-04-01 20:02:31 -07:00
Andrew Tridgell
1bc9c39235
Merge commit 'master/master' into wspp-schema
2009-04-02 10:17:32 +11:00
Michael Adam
36c1a52a57
s3:net conf: don't store share names as lower case, but as given.
...
Michael
2009-04-02 00:30:13 +02:00
Jeremy Allison
aef0bdc6a1
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2009-04-01 14:03:17 -07:00
Günther Deschner
01a942d8ab
s3-auth: rename static smb_create_user(). Sorry...
...
Guenther
2009-04-01 21:44:14 +02:00
Günther Deschner
5cdf75e679
s3-libnet-samsync: return appropriate error code in fetch_sam_entry().
...
Guenther
2009-04-01 19:12:19 +02:00
Günther Deschner
e18f57fd36
s3-libnet-samsync: use smb_create_user().
...
Guenther
2009-04-01 19:12:19 +02:00
Günther Deschner
d0e1ff4aff
s3-passdb: add smb_create_user().
...
Guenther
2009-04-01 19:12:19 +02:00
Günther Deschner
e4802bfcad
s3-libnet-samsync: some pure cosmetics.
...
Guenther
2009-04-01 19:12:19 +02:00
Günther Deschner
af78240cbe
s3-libnet-samsync: use parent talloc context for libnet_samsync_passdb.
...
Guenther
2009-04-01 19:12:18 +02:00
Jeremy Allison
eaddcfef1b
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba
2009-04-01 09:16:41 -07:00
Zach Loafman
91e75ea8f6
s4:torture/smb2: Add torture tests for lease breaks, durable opens.
2009-04-01 08:30:25 -07:00
Zach Loafman
afa71fbad9
s4:smb2: Add lease break support for SMB2.1
...
Add the structures and marshalling for the lease break variants of the
oplock break / oplock break ack messages.
2009-04-01 08:30:25 -07:00
Günther Deschner
264b28ec09
s3-libnet: only call libnet_dssync_process() startup and shutdown callbacks when filled in.
...
Guenther
2009-04-01 16:58:48 +02:00
Stefan Metzmacher
7ce1356c9f
lib/util: fallback to any id in idr_get_new_random()
...
metze
2009-04-01 16:41:15 +02:00
Stefan Metzmacher
794525f342
libcli/cldap: fix memory/resource leak
...
We need to remove the message id, when a search request is finished
metze
2009-04-01 16:41:14 +02:00
Volker Lendecke
ffdc2a3fe8
Print an error if trying a merged build without a system kerberos lib
...
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-04-01 16:31:10 +02:00
Michael Adam
6edaf6188c
s3: fix the fix for bug #6195 - dont let smbd child processes panic
...
This patch makes sure the original and temporary TDBs are closed
_before_ the rename. Originally, the open TDB was renamed, and so
the name passdb.tdb.tmp stayed around in the db context. Hence
upon client connect, the smbd children died because reinit_after_fork()
calling tdb_reopen_all() would try to reopen passdb.tdb.tmp which
existed no longer...
Michael
2009-04-01 12:26:36 +02:00
Michael Adam
1e92ddd405
s3:build: add targets to show how libraries will be built / linked
...
showlibtalloc, showlibtdb, ... and one overall showlibs target.
Michael
2009-04-01 10:41:35 +02:00
Michael Adam
99b486a056
s3:build: don't build the static libs unconditionally
...
Michael
2009-04-01 10:41:35 +02:00
Michael Adam
b79157f602
s3:build: add LIBSMBCLIENT_LIBS and LIBSMBSHAREMODES_LIBS to Makefile
...
for completeness
Michael
2009-04-01 10:41:34 +02:00
Michael Adam
15ef346f9f
s3:build: no need to set LIBFOO_STATIC to the object collection any more
...
now that the @LIBFOO_STATIC@ entries have vanished from the object lists.
Just use the static library.
Michael
2009-04-01 10:41:34 +02:00
Michael Adam
993c87495b
s3:build: rename WINBIND_LIBS -> LIBWBCLIENT_LIBS for unification
...
Michael
2009-04-01 10:41:34 +02:00
Michael Adam
baf39de623
s3:build: unify linking of libwbclient with a @LIBWBCLIENT_TARGET@
...
just like for the libs configured with SMB_LIBRARY().
This makes @LIBWBCLIENT_STATIC@ vanish from the object collections.
Michael
2009-04-01 10:41:33 +02:00
Michael Adam
f9eb77477b
s3:build: first cut at fixing linking of shared/static libs internally
...
This is based on a patch from the debian packages
by Steve Langasek <vorlon@debian.org>.
It removes the static libs from the object collections.
For those libs that are set up with SMB_LIBRARY().
Michael
2009-04-01 10:41:33 +02:00
Jeremy Allison
1e742660bf
Tidy up some convert_string_internal error cases, found by Andrew Bartlett.
...
Jeremy.
2009-03-31 18:28:49 -07:00
Tim Prouty
7424665061
s3 onefs: Add missing newlines to debug statements in the onefs module
2009-03-31 17:31:50 -07:00