Matthias Dieter Wallnöfer
6836304957
s4:ntvfs/posix/pvfs_wait.c - fix a "calculated value unused" warning
...
The calculated value is "req" (!= NULL) if "talloc_reference" did work correctly
or it is NULL if we ran out of memory.
2010-05-21 23:35:57 +02:00
Roel van Meer
366333c08f
Fix bug #7448 - smbd crash when sambaLMPassword and sambaNTPassword entries missing from ldap.
...
Protect SMBsesskeygen_ntv1() from a NULL pointer.
2010-05-21 14:17:17 -07:00
Jeremy Allison
efb29227fa
Make krb5 over SMB2 identical to the way we handle it in SMB1.
...
Jeremy.
2010-05-21 12:08:18 -07:00
Jeremy Allison
f576cc5410
Doh! If you're going to give advice in "useage", make sure it's correct.
...
Jeremy.
2010-05-21 11:40:54 -07:00
Jeremy Allison
03f22005f9
Add comments to usage error message for -k to make it obvious what this needs.
...
Jeremy.
2010-05-21 10:35:22 -07:00
Jeremy Allison
8c9ea2ba7c
Set SMB2 max read/write/trans sizes to Win7 compatible - 1Mb.
...
Jeremy.
2010-05-21 10:32:46 -07:00
Ira Cooper
28b8d42136
s3: added support for fake oplocks in SMB2.
2010-05-21 09:57:33 -07:00
Günther Deschner
dd3c367153
s4-smbtorture: Fix NetUserPasswordSet2 RAP tests.
...
Guenther
2010-05-21 18:11:10 +02:00
Günther Deschner
94d41ddc8f
s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
...
Guenther
2010-05-21 18:11:04 +02:00
Günther Deschner
032c051523
rap: fix rap_NetUserPasswordSet2 IDL.
...
Guenther
2010-05-21 18:10:57 +02:00
Günther Deschner
7c979adfbf
s3-net: fix net_ads_gpo() for non-ads case.
...
Guenther
2010-05-21 18:09:14 +02:00
Kamen Mazdrashki
a4719a4e12
s4-drsuapi: Sort ATTID definitions by ATTID value
2010-05-21 17:36:40 +03:00
Kamen Mazdrashki
ffc46769b3
s4/drsuapi: Yet another set of predefined ATTIDs
2010-05-21 17:36:40 +03:00
Andreas Schneider
b6b3822289
s4-torture: Improved the winreg symlink test.
...
This test is still disabled as we don't know how to remove a symbolic
link. It looks like there only DeleteKey functions which can work on a
handle are able to delete a symbolic link.
Pair-Programmed-With: Michael Adam <obnox@samba.org>
2010-05-21 15:59:23 +02:00
Andreas Schneider
74d0fc10fd
s4-torture: Disable the security descriptor tests.
2010-05-21 15:59:10 +02:00
Andreas Schneider
225bd02dab
s4-torture: Try to fix the winreg tests.
2010-05-21 15:59:00 +02:00
Stefan Metzmacher
5fe476b682
s4:ldb: add --controls support to ldbedit
...
metze
2010-05-21 13:59:55 +02:00
Thomas Nagy
ab093ffe46
wafsamba: Disable the abi checks when gdb is not available
...
Try to find gdb during the configuration, if gdb is missing, disable
the abi checks.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-05-21 13:59:55 +02:00
Andrew Bartlett
50b472a772
s4:libcli/ldap Update headermap.txt (autotools build) and wscript_build for libcli_ldap.h
...
It took a little while to find where to update this...
Andrew Bartlett
2010-05-21 20:09:07 +10:00
Michael Adam
124047877d
s4:torture:winreg: improve error messages in test_HKLM_wellknown
2010-05-21 11:24:27 +02:00
Michael Adam
67439d4297
s4:torture:winreg: improve error messages in test_QueryValue_full
...
So that one has a chance to tell what part of the test failed. And why.
2010-05-21 11:24:15 +02:00
Andrew Bartlett
cba7f8b827
s3:dom_sid Global replace of DOM_SID with struct dom_sid
...
This matches the structure that new code is being written to,
and removes one more of the old-style named structures, and
the need to know that is is just an alias for struct dom_sid.
Andrew Bartlett
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:39:59 +02:00
Andrew Bartlett
a92b653af9
s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-21 10:24:55 +02:00
Andrew Bartlett
c8a23147fe
s4:libcli/ldap Rename ldap.h to libcli_ldap.h
...
It is a problem if a samba header is called ldap.h if we also want
to use OpenLDAP's ldap.h
Andrew Bartlett
2010-05-21 17:39:15 +10:00
Andrew Bartlett
82c97e0ab8
s4:auth Remove un-needed headers.
2010-05-21 16:38:44 +10:00
Andrew Bartlett
9453a0f88f
s4:auth Fix previous commit - segfault in determinging a user's groups
...
The previous commit didn't include these vital fixes.
Andrew Bartlett
2010-05-21 16:01:34 +10:00
Andrew Bartlett
80b4d50603
Revert "Make -k a simple non-bool option."
...
This reverts commit 2bbf055dbb
.
This change broke 'make test', because the current syntax is deliberate
and an integral part of how Samba4 uses Kerberos.
If a change like this is to be implemented, then careful review of all
our test scripts must be taken first, and then new options such as
--dont-use-kerberos, --may-use-kerberos and --must-use-kerberos
should be added.
Andrew Bartlett
2010-05-21 15:04:36 +10:00
Andrew Bartlett
91807d9dd5
s4:auth Error out when a memberOf DN does not have a SID
...
We previously segfaulted if this was not the case.
Andrew Bartlett
2010-05-21 15:04:19 +10:00
Günther Deschner
783cd32a75
s4-smbtorture: add kernel_mode_registry_path().
...
Guenther
2010-05-21 01:31:26 +02:00
Günther Deschner
e6047c1634
s4-smbtorture: Fix volatile test in RPC-WINREG.
...
Guenther
2010-05-21 01:31:22 +02:00
Gregor Beck
304271bd8f
s3: registry: add tests with empty valuename
...
Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21 00:22:45 +02:00
Gregor Beck
12ce164384
s3: registry: let test_setvalue use getvalueraw instead of enumerate
...
simplifies code, prerequisite to handle empty valuenames
Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21 00:22:45 +02:00
Gregor Beck
0a173444ac
s3: registry: fix query empty valuenames
...
Remove a check introduced with commit 80c2446321
wich causes queries for values with empty name to fail. Empty valuenames are
used for the so called default value of a key.
Signed-off-by: Michael Adam <obnox@samba.org>
2010-05-21 00:22:45 +02:00
Kai Blin
136ea7b91d
s3-waf: Actually make --with/--without-swat work
2010-05-21 00:15:52 +02:00
Kai Blin
c926acf7f1
s3-waf: Really disable winbindd build when --without-winbind is specified
2010-05-21 00:15:52 +02:00
Jeremy Allison
2bbf055dbb
Make -k a simple non-bool option.
...
Jeremy.
2010-05-20 14:59:34 -07:00
Jeremy Allison
2d46e07c47
Fix what looks like a cut-and-paste error in our read_negTokenInit() function.
...
We should never be calling asn1_push_XXX functions inside an asn1
reading function. Change asn1_push_tag() -> asn1_start_tag() and
asn1_pop_tag() -> asn1_end_tag(). This allows us to connect to a
NetApp filer at the Microsoft plugfest.
Andrew PLEASE CHECK !
Jeremy.
2010-05-20 14:50:16 -07:00
Günther Deschner
8a4525d9fa
waf: fix the build of nsswitch libwbclient.
...
Guenther
2010-05-20 23:40:30 +02:00
Günther Deschner
7c6be166d0
s4-smbtorture: use push_reg_sz/push_reg_multi_sz in spoolss tests.
...
Guenther
2010-05-20 22:49:51 +02:00
Günther Deschner
393e1495af
s4-smbtorture: pass down hkey to main keytest in RPC-WINREG.
...
Guenther
2010-05-20 22:49:50 +02:00
Günther Deschner
ff3d2bef11
s4-smbtorture: print local_machine name in RemoteFindFirstPrinterChangeNotifyEx test.
...
Guenther
2010-05-20 22:49:50 +02:00
Günther Deschner
7370d03627
s4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.
...
Guenther
2010-05-20 22:49:50 +02:00
Kai Blin
29f549e3fb
s3-waf: ndr string functions moved to top level
2010-05-20 22:30:24 +02:00
Kai Blin
aca2b5461c
s3-waf: Fix the build after rebase
2010-05-20 22:16:15 +02:00
Kai Blin
73f6fed4d6
s3-waf: more elaborate host_os check for STAT_ST_BLOCKSIZE
2010-05-20 22:16:15 +02:00
Michael Adam
9ab3316250
s3-waf: fix linking of eventlogadm by adding cap as dependency
2010-05-20 22:16:15 +02:00
Michael Adam
f35bafe39c
s3-waf: fix linking of swat by adding cap as dependency
2010-05-20 22:16:15 +02:00
Kai Blin
c33ba1f9d1
s3-waf: Fix build with ldap by adding a SMBLDAP subsystem
2010-05-20 22:16:15 +02:00
Kai Blin
17b136a79f
s3-waf: fix the winbindd build again
2010-05-20 22:16:15 +02:00
Kai Blin
b6c5d5de37
s3-waf: Fix up PIDL includes.
...
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2010-05-20 22:16:15 +02:00