Andrew Bartlett
43c931b2d4
s4:samr Split the guts of samr_CreateUser2 into a helper function
...
This allows this logic to be shared, rather than copied, into a passdb
wrapper.
Andrew Bartlett
2010-05-24 23:08:11 +10:00
Andrew Bartlett
e0d141bd46
s4:dsdb Allow a NULL search expression in dsdb_search()
...
The NULL search expression expands to (objectClass=*), but %s expands
NULL to (NULL) which doesn't parse...
Andrew Bartlett
2010-05-24 23:08:11 +10:00
Andrew Bartlett
6c726745a4
s4:ntvfs rename notify.idl to s4_notify.idl until we can merge this IDL
...
This IDL is almost common, but the source3 version has a
hand-marshalled server_id. The s3compat build has problems with two
different idl files of the same name.
Andrew Bartlett
2010-05-24 23:08:11 +10:00
Matthias Dieter Wallnöfer
8e1e6b0112
s4:LogonGetDomainInfo - allow to set DNS hostname for the first time
...
Otherwise it obviously can never be set.
2010-05-24 14:01:06 +02:00
Matthias Dieter Wallnöfer
ee524d3182
s4:"rdn_name" LDB module - fix the creation of the RDN attribute (try to normalise it)
...
And return always the correct error codes on the failed add operations (should
anyway be ERR_OPERATIONS_ERROR - therefore no behaviour change).
2010-05-24 14:01:06 +02:00
Matthias Dieter Wallnöfer
40ced1a3be
s4:setup/*.ldif - remove unneeded "cn" attributes
...
Should be generated automatically
2010-05-24 14:01:05 +02:00
Björn Jacke
8e069e245b
s3: major overhaul of compiler and linker flags for HP-UX builds
...
this will fix a number of things like shared library builds. That in turn will
probably trigger some other build bugs...
2010-05-24 13:51:35 +02:00
Björn Jacke
4c659433c0
s3:Makefile: set PIE flags also for nss_winbind
2010-05-24 13:51:28 +02:00
Björn Jacke
2466dc7eaf
s3:build: remove CFLAGS from LDSHFLAGS, SHLD has them already
2010-05-24 12:26:10 +02:00
Björn Jacke
5f0a2a15d8
s3:Makefile: position independency is also needed for shared libs
2010-05-24 12:25:02 +02:00
Björn Jacke
857ca4176a
s3:build: don't use pieflags twice - ldflags already have them
2010-05-24 12:24:56 +02:00
Volker Lendecke
d12768cc0a
s3: Fix a typo found by ITPFS oota <t-oota@dh.jp.nec.com>
...
Thanks!
2010-05-24 11:26:15 +02:00
Thomas Nagy
792743cfab
solve the error "ldb.inst.h does not exist"
...
The error happens when headermap.txt is not available
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-24 01:26:43 +02:00
Andrew Tridgell
eec93985d1
build: get the SONAME right for installed libraries
2010-05-23 22:11:57 +02:00
Thomas Nagy
bd8e3cf855
Substitute the pidl files without using 'headermap.txt'
...
The headers generated by pidl contain references to bin/default. Those paths
may be replaced automatically.
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-05-23 17:51:06 +02:00
Volker Lendecke
6e7d39f4dd
s3: Another non-gnumake fix
...
AC_OUTPUT_COMMANDS must be called before AC_OUTPUT and
$MAKEFILE is not defined in ./config.status
2010-05-23 12:44:43 +02:00
Volker Lendecke
7eff96cb43
s3: Factor out compiler-independent defines
2010-05-23 00:33:45 +02:00
Volker Lendecke
9d1a08032b
s3: Next step to fix the build on OpenSolaris
2010-05-23 00:15:49 +02:00
Volker Lendecke
086c6c0e9a
s3: Attempt to fix the non-gnumake build
...
Björn, please check!
2010-05-22 20:06:16 +02:00
Simo Sorce
8040bc608a
torture: fix typos
2010-05-22 12:40:42 -04:00
Volker Lendecke
72d2c370e2
s3: Remove unreachable code
2010-05-22 13:08:38 +02:00
Stefan Metzmacher
796904e983
s4:ldb_controls: make it possible to pass arbitrary control via the command line
...
--controls=local_oid:1.3.6.1.4.1.7165.4.3.7:1
To specify the DSDB_CONTROL_PASSWORD_HASH_VALUES_OID control as critical.
metze
2010-05-22 09:28:35 +02:00
Jeremy Allison
d7542b58fc
If using fake oplocks, use the correct SMB2 type code for "no oplock".
...
Jeremy.
2010-05-21 23:59:54 -07:00
Stefan Metzmacher
625ffba8ec
s4:libnet: use the new generated config from the provision for the self_join
...
This fixes net vampire with the --target-dir option.
metze
2010-05-22 08:41:18 +02:00
Jeremy Allison
82484461e3
Don't forget brackets around bitwise tests.
...
Jeremy.
2010-05-21 17:12:40 -07:00
Jeremy Allison
b2a7ad8c95
Make DFS work over SMB2.
...
Jeremy.
2010-05-21 16:56:10 -07:00
Matthias Dieter Wallnöfer
6af5e7cde1
s4:torture/rap/rap.c - quiet discard const warning
2010-05-21 23:35:58 +02:00
Matthias Dieter Wallnöfer
bd3e70c1be
s4:torture/raw/open.c - remove unused variables and fix error handling
2010-05-21 23:35:58 +02:00
Matthias Dieter Wallnöfer
a05ac3039b
s4:ntvfs/ipc/vfs_ipc.c - add more "const" in order to fix warnings
2010-05-21 23:35:57 +02:00
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