Stefan Metzmacher
f554af1871
s3:smbd: move already_got_session to struct smbd_server_connection
...
metze
2009-06-03 17:54:37 +02:00
Stefan Metzmacher
d9843b3db4
s3:smbd: move max_recv to struct smbd_server_connection
...
metze
2009-06-03 17:54:37 +02:00
Stefan Metzmacher
e16e7146b3
s3:smbd: move negprot related globals to struct smbd_server_connection
...
metze
2009-06-03 17:54:37 +02:00
Stefan Metzmacher
f20ded603b
s3:smbd: move pending_auth_data list to struct smbd_server_connection
...
metze
2009-06-03 17:54:36 +02:00
Björn Jacke
b3491df2f9
s3:torture: fix password timestamp checks on NetBSD
...
The Open Group says:
"The useconds argument [of usleep] must be less than 1,000,000."
NetBSD takes this seriously. usleep of more than 999999 are effectless.
2009-06-03 17:50:01 +02:00
Jelmer Vernooij
b0654b3323
selftest: Add script that can take a subunit stream and format it.
2009-06-03 17:16:56 +02:00
Jelmer Vernooij
2e7022eda0
selftest/plain: Allow caller to not specify the number of expected
...
testsuites to run.
2009-06-03 17:16:25 +02:00
Jelmer Vernooij
7fddc71caa
selftest: Run tests for Samba4 target in the samba 4 testsuite.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
4828f75fed
selftest: Fix target/Samba4 tests.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
4bbef3bcd8
Remove empty unit test.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
e72be91eba
selftest/README: Fix formatting.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
1dac17f941
selftest: Factor generic functionality for buildfarm output into a
...
separate perl module.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
641f8d62df
Support reporting current time in selftest output.
2009-06-03 16:26:30 +02:00
Jelmer Vernooij
53aeb7f4cf
selftest: Add subunit output format.
2009-06-03 16:26:29 +02:00
Jelmer Vernooij
87bbae7b07
Rename harness2subunit.pl -> tap2subunit to be consistent with the
...
subunit tools.
2009-06-03 16:26:29 +02:00
Jelmer Vernooij
4bf988105b
README: Fix indentation of bullet point.
...
README.Coding: Use consistent header.
2009-06-03 16:26:29 +02:00
Jelmer Vernooij
e285bb2da5
Move findstatic.pl script to top-level.
2009-06-03 15:06:15 +02:00
Stefan Metzmacher
089ba385af
s4:torture/libnetapi: fix netapi detection
...
We need to set SMB_ENABLE(TORTURE_LIBNETAPI,NO) first
to overwrite the default of YES for MODULES and
then only set it to YES if netapi was found.
metze
2009-06-03 14:12:36 +02:00
Stefan Metzmacher
71fcd5bf64
s3:smbd: remove old comment, we support SMB2 signing now
...
metze
2009-06-03 11:18:54 +02:00
Stefan Metzmacher
8be8d911a8
s3:smbd: allow SMB2 only if we don't use security = share
...
metze
2009-06-03 10:51:25 +02:00
Stefan Metzmacher
edeccf0df0
SMB2-CONNECT: make it possible to specific the max write size via --option=torture:smb2maxwrite=12345
...
metze
2009-06-03 10:50:52 +02:00
Jelmer Vernooij
8d033ec0d1
Move mount.cifs/umount.cifs to the top level and remove the outdated copy
...
in Samba 4.
2009-06-02 23:24:33 +02:00
Volker Lendecke
e0a6a344be
Support getting gpfs birthtime
2009-06-02 18:15:20 +02:00
Jelmer Vernooij
8d966fac41
Fix unresolved symbol in python messaging module.
2009-06-02 18:05:42 +02:00
Jelmer Vernooij
ac9ff3574d
Fix pythonpath so subunit can be found.
2009-06-02 18:05:42 +02:00
Brad Hards
00bfe9c286
Add support for double type in pidl.
...
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-06-02 18:05:42 +02:00
Jelmer Vernooij
688efbbc68
Fix finding the LDB header files in the system in pyldb_util.
2009-06-02 18:05:41 +02:00
Jelmer Vernooij
2c84685a3d
Build modules statically by default, as there still seem to be a lot of
...
issues with those even if shared libs work.
2009-06-02 18:05:41 +02:00
Jelmer Vernooij
6ace18904d
Fix more unresolved symbols.
2009-06-02 18:05:41 +02:00
Jelmer Vernooij
fe2b04b4bb
python: Move helper functions for using param into a separate file rather
...
than linking against the python module.
2009-06-02 18:05:40 +02:00
Jelmer Vernooij
42fa7ec823
Split up Python code a little bit so we don't hav eto link python modules
...
to each other.
2009-06-02 18:05:40 +02:00
Jelmer Vernooij
4602cc0ac1
Build libsamba-util as a shared library.
2009-06-02 18:05:40 +02:00
Jelmer Vernooij
f90782f228
Fix dependencies when using shared libraries.
2009-06-02 18:05:39 +02:00
Mathias Dietz
15e10c6a84
Store winattrs in GPFS
...
1. Store win attributes in gpfs instead of posix bits.
2. use of path based winattr calls of gpfs.
Signed-off-by: Mathias Dietz <mdietz@de.ibm.com>
2009-06-02 17:03:59 +02:00
Günther Deschner
011a505800
nss_wrapper: prefix function pointer names in struct nwrap_ops.
...
Guenther
2009-06-02 14:52:53 +02:00
Günther Deschner
68bb2d2e80
torture: minor fixes to torture macro text output.
...
Guenther
2009-06-02 13:12:09 +02:00
Günther Deschner
8684911bda
nss_wrapper: resort calls to move public calls to the end.
...
Guenther
2009-06-02 13:11:57 +02:00
Günther Deschner
81e820c1aa
nss_wrapper: add nwrap_ops function pointer table.
...
Guenther
2009-06-02 13:11:49 +02:00
Günther Deschner
9a7a97856a
nss_wrapper: make sure to return after calling real_{set,end}{gr,pw}ent.
...
Guenther
2009-06-02 13:11:42 +02:00
Günther Deschner
94f2ef4f72
nss_wrapper: fix typo while checking for getgrid_r support.
...
Metze, this has been in here for a long time, please check.
Guenther
2009-06-02 13:11:33 +02:00
Volker Lendecke
84090c95a5
Add a "connectpath" operation to the shadow_copy2 module
2009-06-02 11:58:22 +02:00
Volker Lendecke
56efcb7b72
Add SMB_VFS_CONNECTPATH operation
...
This is required for the shadow_copy2 module and "wide links = no". The file
system snapshots by nature are typically outside of share directory. So the
REALPATH result fails the wide links = no test.
2009-06-02 11:58:22 +02:00
Volker Lendecke
83ffbb4ec4
Remove a variable used just once
2009-06-02 11:58:22 +02:00
Jeremy Allison
cdb765a76c
Fix bug #6419 - smbclient -L 127.0.0.1" displays "netbios name" instead of "workgroup"
...
Unify the handling of the sessionsetup parsing so we don't get different
results when parsing a guest reply than an ntlmssp reply.
Jeremy.
2009-06-01 14:38:56 -07:00
Andrew Tridgell
50043177e8
Merge branch 'master' of ssh://git.samba.org/data/git/samba
2009-06-01 22:04:00 +10:00
Andrew Tridgell
73c8566d95
use the unique flag on ldb attributes to optimise & clauses
...
When a attribute is marked unique we know that if we find a match
it will be the only possible match. This means that in a list of
subtrees connected by an &, it is best to first load the index values
for the unique entries, as if they find something then we know we
won't have to look any further.
This helps with searches like this:
(&(objectclass=user)(samaccountname=tridge))
the old code would first have loaded the very large index for the
objectclass=user attribute, and then loaded the single entry for
samaccountname=tridge. Now we load the samaccountname=tridge entry
first, notice that it gives us a single result, and stop, thereby
skipping the load of the objectclass=user index record completely.
2009-06-01 22:03:20 +10:00
Andrew Kroeger
05be1cc717
s4:mkproto: Add NET_API_STATUS return type.
...
The recently added LIBNETAPI torture tests use NET_API_STATUS as a return type
for some functions. The torture/libnetapi/proto.h private header that was being
generated by mkproto.pl did not include a prototype for the test_netuseradd()
function, as it did not know how to handle the NET_API_STATUS return type.
2009-06-01 19:55:34 +10:00
Andrew Kroeger
a0edb50552
gitignore: Ignore additional auto-generated file
2009-06-01 19:13:28 +10:00
Andrew Tridgell
c0213308bb
we don't need the unique checks in the samldb code now
...
These attributes now use the unique indexing flag
2009-06-01 16:37:28 +10:00
Andrew Tridgell
ce1045983f
mark samAccountName, objectGUID and objectSID as unique indexed
2009-06-01 16:36:56 +10:00