Matthias Dieter Wallnöfer [Mon, 24 May 2010 09:06:29 +0000 (11:06 +0200)]
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).
Matthias Dieter Wallnöfer [Mon, 24 May 2010 08:38:16 +0000 (10:38 +0200)]
s4:setup/*.ldif - remove unneeded "cn" attributes
Should be generated automatically
Björn Jacke [Wed, 12 May 2010 16:17:30 +0000 (18:17 +0200)]
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...
Björn Jacke [Mon, 24 May 2010 11:41:12 +0000 (13:41 +0200)]
s3:Makefile: set PIE flags also for nss_winbind
Björn Jacke [Wed, 12 May 2010 17:05:37 +0000 (19:05 +0200)]
s3:build: remove CFLAGS from LDSHFLAGS, SHLD has them already
Björn Jacke [Mon, 24 May 2010 10:21:40 +0000 (12:21 +0200)]
s3:Makefile: position independency is also needed for shared libs
Björn Jacke [Sat, 22 May 2010 14:48:16 +0000 (16:48 +0200)]
s3:build: don't use pieflags twice - ldflags already have them
Volker Lendecke [Mon, 24 May 2010 09:23:42 +0000 (11:23 +0200)]
s3: Fix a typo found by ITPFS oota <t-oota@dh.jp.nec.com>
Thanks!
Thomas Nagy [Sun, 23 May 2010 19:31:53 +0000 (21:31 +0200)]
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>
Andrew Tridgell [Sun, 23 May 2010 15:55:48 +0000 (17:55 +0200)]
build: get the SONAME right for installed libraries
Thomas Nagy [Sat, 22 May 2010 12:35:50 +0000 (14:35 +0200)]
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>
Volker Lendecke [Sun, 23 May 2010 09:44:30 +0000 (11:44 +0200)]
s3: Another non-gnumake fix
AC_OUTPUT_COMMANDS must be called before AC_OUTPUT and
$MAKEFILE is not defined in ./config.status
Volker Lendecke [Sat, 22 May 2010 22:16:52 +0000 (00:16 +0200)]
s3: Factor out compiler-independent defines
Volker Lendecke [Sat, 22 May 2010 22:00:41 +0000 (00:00 +0200)]
s3: Next step to fix the build on OpenSolaris
Volker Lendecke [Sat, 22 May 2010 17:29:13 +0000 (19:29 +0200)]
s3: Attempt to fix the non-gnumake build
Björn, please check!
Simo Sorce [Sat, 22 May 2010 16:40:13 +0000 (12:40 -0400)]
torture: fix typos
Volker Lendecke [Sat, 22 May 2010 11:08:06 +0000 (13:08 +0200)]
s3: Remove unreachable code
Stefan Metzmacher [Fri, 21 May 2010 11:29:14 +0000 (13:29 +0200)]
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
Jeremy Allison [Sat, 22 May 2010 06:59:54 +0000 (23:59 -0700)]
If using fake oplocks, use the correct SMB2 type code for "no oplock".
Jeremy.
Stefan Metzmacher [Fri, 21 May 2010 15:33:05 +0000 (17:33 +0200)]
s4:libnet: use the new generated config from the provision for the self_join
This fixes net vampire with the --target-dir option.
metze
Jeremy Allison [Sat, 22 May 2010 00:12:40 +0000 (17:12 -0700)]
Don't forget brackets around bitwise tests.
Jeremy.
Jeremy Allison [Fri, 21 May 2010 23:56:10 +0000 (16:56 -0700)]
Make DFS work over SMB2.
Jeremy.
Matthias Dieter Wallnöfer [Fri, 21 May 2010 21:23:58 +0000 (23:23 +0200)]
s4:torture/rap/rap.c - quiet discard const warning
Matthias Dieter Wallnöfer [Fri, 21 May 2010 21:19:23 +0000 (23:19 +0200)]
s4:torture/raw/open.c - remove unused variables and fix error handling
Matthias Dieter Wallnöfer [Fri, 21 May 2010 21:16:43 +0000 (23:16 +0200)]
s4:ntvfs/ipc/vfs_ipc.c - add more "const" in order to fix warnings
Matthias Dieter Wallnöfer [Fri, 21 May 2010 21:14:19 +0000 (23:14 +0200)]
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.
Roel van Meer [Fri, 21 May 2010 21:17:17 +0000 (14:17 -0700)]
Fix bug #7448 - smbd crash when sambaLMPassword and sambaNTPassword entries missing from ldap.
Protect SMBsesskeygen_ntv1() from a NULL pointer.
Jeremy Allison [Fri, 21 May 2010 19:08:18 +0000 (12:08 -0700)]
Make krb5 over SMB2 identical to the way we handle it in SMB1.
Jeremy.
Jeremy Allison [Fri, 21 May 2010 18:40:54 +0000 (11:40 -0700)]
Doh! If you're going to give advice in "useage", make sure it's correct.
Jeremy.
Jeremy Allison [Fri, 21 May 2010 17:35:22 +0000 (10:35 -0700)]
Add comments to usage error message for -k to make it obvious what this needs.
Jeremy.
Jeremy Allison [Fri, 21 May 2010 17:32:46 +0000 (10:32 -0700)]
Set SMB2 max read/write/trans sizes to Win7 compatible - 1Mb.
Jeremy.
Ira Cooper [Thu, 20 May 2010 15:13:37 +0000 (11:13 -0400)]
s3: added support for fake oplocks in SMB2.
Günther Deschner [Fri, 21 May 2010 16:05:48 +0000 (18:05 +0200)]
s4-smbtorture: Fix NetUserPasswordSet2 RAP tests.
Guenther
Günther Deschner [Fri, 21 May 2010 16:05:10 +0000 (18:05 +0200)]
s4-smbtorture: fix smbcli_rap_netuserpasswordset2().
Guenther
Günther Deschner [Fri, 21 May 2010 16:02:45 +0000 (18:02 +0200)]
rap: fix rap_NetUserPasswordSet2 IDL.
Guenther
Günther Deschner [Fri, 21 May 2010 16:06:51 +0000 (18:06 +0200)]
s3-net: fix net_ads_gpo() for non-ads case.
Guenther
Kamen Mazdrashki [Fri, 21 May 2010 02:36:35 +0000 (05:36 +0300)]
s4-drsuapi: Sort ATTID definitions by ATTID value
Kamen Mazdrashki [Fri, 21 May 2010 02:27:04 +0000 (05:27 +0300)]
s4/drsuapi: Yet another set of predefined ATTIDs
Andreas Schneider [Thu, 20 May 2010 12:00:57 +0000 (14:00 +0200)]
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>
Andreas Schneider [Fri, 21 May 2010 10:49:23 +0000 (12:49 +0200)]
s4-torture: Disable the security descriptor tests.
Andreas Schneider [Fri, 21 May 2010 10:42:55 +0000 (12:42 +0200)]
s4-torture: Try to fix the winreg tests.
Stefan Metzmacher [Fri, 21 May 2010 09:30:20 +0000 (11:30 +0200)]
s4:ldb: add --controls support to ldbedit
metze
Thomas Nagy [Fri, 21 May 2010 10:48:11 +0000 (12:48 +0200)]
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>
Andrew Bartlett [Fri, 21 May 2010 10:07:18 +0000 (20:07 +1000)]
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
Michael Adam [Fri, 21 May 2010 08:56:37 +0000 (10:56 +0200)]
s4:torture:winreg: improve error messages in test_HKLM_wellknown
Michael Adam [Fri, 21 May 2010 08:53:35 +0000 (10:53 +0200)]
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.
Andrew Bartlett [Fri, 21 May 2010 01:25:01 +0000 (11:25 +1000)]
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>
Andrew Bartlett [Fri, 21 May 2010 00:38:04 +0000 (10:38 +1000)]
s3:passdb Remove use of uint8 uint16 and uint32 in favour of C99 types
Signed-off-by: Günther Deschner <gd@samba.org>
Andrew Bartlett [Fri, 21 May 2010 07:39:15 +0000 (17:39 +1000)]
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
Andrew Bartlett [Fri, 21 May 2010 06:38:44 +0000 (16:38 +1000)]
s4:auth Remove un-needed headers.
Andrew Bartlett [Fri, 21 May 2010 06:01:34 +0000 (16:01 +1000)]
s4:auth Fix previous commit - segfault in determinging a user's groups
The previous commit didn't include these vital fixes.
Andrew Bartlett
Andrew Bartlett [Fri, 21 May 2010 05:04:36 +0000 (15:04 +1000)]
Revert "Make -k a simple non-bool option."
This reverts commit
2bbf055dbb15ea99b80ae66adc906ad5494a3999.
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
Andrew Bartlett [Fri, 21 May 2010 05:02:22 +0000 (15:02 +1000)]
s4:auth Error out when a memberOf DN does not have a SID
We previously segfaulted if this was not the case.
Andrew Bartlett
Günther Deschner [Thu, 20 May 2010 23:25:16 +0000 (01:25 +0200)]
s4-smbtorture: add kernel_mode_registry_path().
Guenther
Günther Deschner [Thu, 20 May 2010 22:28:36 +0000 (00:28 +0200)]
s4-smbtorture: Fix volatile test in RPC-WINREG.
Guenther
Gregor Beck [Wed, 19 May 2010 09:37:23 +0000 (11:37 +0200)]
s3: registry: add tests with empty valuename
Signed-off-by: Michael Adam <obnox@samba.org>
Gregor Beck [Wed, 19 May 2010 10:20:10 +0000 (12:20 +0200)]
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>
Gregor Beck [Wed, 19 May 2010 09:16:54 +0000 (11:16 +0200)]
s3: registry: fix query empty valuenames
Remove a check introduced with commit
80c2446321c519797a57b8006942a983f8481d79
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>
Kai Blin [Thu, 20 May 2010 21:05:21 +0000 (23:05 +0200)]
s3-waf: Actually make --with/--without-swat work
Kai Blin [Thu, 20 May 2010 20:58:59 +0000 (22:58 +0200)]
s3-waf: Really disable winbindd build when --without-winbind is specified
Jeremy Allison [Thu, 20 May 2010 21:59:34 +0000 (14:59 -0700)]
Make -k a simple non-bool option.
Jeremy.
Jeremy Allison [Thu, 20 May 2010 21:30:44 +0000 (14:30 -0700)]
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.
Günther Deschner [Thu, 20 May 2010 21:40:30 +0000 (23:40 +0200)]
waf: fix the build of nsswitch libwbclient.
Guenther
Günther Deschner [Thu, 20 May 2010 20:13:48 +0000 (22:13 +0200)]
s4-smbtorture: use push_reg_sz/push_reg_multi_sz in spoolss tests.
Guenther
Günther Deschner [Thu, 20 May 2010 18:50:31 +0000 (20:50 +0200)]
s4-smbtorture: pass down hkey to main keytest in RPC-WINREG.
Guenther
Günther Deschner [Thu, 20 May 2010 19:57:53 +0000 (21:57 +0200)]
s4-smbtorture: print local_machine name in RemoteFindFirstPrinterChangeNotifyEx test.
Guenther
Günther Deschner [Thu, 20 May 2010 18:49:44 +0000 (20:49 +0200)]
s4-smbtorture: use push_reg_sz()/push_reg_multi_sz() in RPC-WINREG.
Guenther
Kai Blin [Thu, 20 May 2010 20:30:24 +0000 (22:30 +0200)]
s3-waf: ndr string functions moved to top level
Kai Blin [Thu, 20 May 2010 08:24:37 +0000 (10:24 +0200)]
s3-waf: Fix the build after rebase
Kai Blin [Fri, 14 May 2010 09:03:19 +0000 (11:03 +0200)]
s3-waf: more elaborate host_os check for STAT_ST_BLOCKSIZE
Michael Adam [Wed, 12 May 2010 21:48:10 +0000 (23:48 +0200)]
s3-waf: fix linking of eventlogadm by adding cap as dependency
Michael Adam [Wed, 12 May 2010 21:47:36 +0000 (23:47 +0200)]
s3-waf: fix linking of swat by adding cap as dependency
Kai Blin [Wed, 12 May 2010 20:43:18 +0000 (22:43 +0200)]
s3-waf: Fix build with ldap by adding a SMBLDAP subsystem
Kai Blin [Wed, 12 May 2010 11:39:00 +0000 (05:39 -0600)]
s3-waf: fix the winbindd build again
Kai Blin [Wed, 12 May 2010 11:23:27 +0000 (05:23 -0600)]
s3-waf: Fix up PIDL includes.
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Kai Blin [Wed, 12 May 2010 10:32:30 +0000 (04:32 -0600)]
s3-waf: Some files moved during the rebase
Stefan Metzmacher [Wed, 12 May 2010 10:31:27 +0000 (04:31 -0600)]
s3-waf: Add autogeneration with PIDL
Kai Blin [Wed, 12 May 2010 10:27:49 +0000 (04:27 -0600)]
s3-waf: Remove references to LDB
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
Stefan Metzmacher [Wed, 12 May 2010 10:23:10 +0000 (04:23 -0600)]
s3-waf: Also include source4/ when looking for headers
Kai Blin [Tue, 11 May 2010 15:44:25 +0000 (17:44 +0200)]
s3-waf: build shared modules as subsystems
Kai Blin [Tue, 11 May 2010 15:14:54 +0000 (17:14 +0200)]
s3-waf: autogenerate lists of static modules
Kai Blin [Tue, 11 May 2010 15:13:05 +0000 (17:13 +0200)]
s3-waf: clean up includes
Kai Blin [Tue, 11 May 2010 15:11:41 +0000 (17:11 +0200)]
s3-waf: create a SECRETS subsystem
Kai Blin [Tue, 11 May 2010 13:24:13 +0000 (15:24 +0200)]
s3-waf: clean up dependencies a little
Kai Blin [Tue, 11 May 2010 13:23:37 +0000 (15:23 +0200)]
s3-waf: tdb includes are in lib/tdb/include
Kai Blin [Tue, 11 May 2010 13:00:43 +0000 (15:00 +0200)]
s3-waf: fix eventlogadm build with winbind
Kai Blin [Tue, 11 May 2010 08:32:07 +0000 (10:32 +0200)]
s3-waf: Autogenerate the static and dynamic init function calls
Kai Blin [Tue, 11 May 2010 08:31:22 +0000 (10:31 +0200)]
s3-waf: add popt and tdb include dirs to the includes list
Kai Blin [Tue, 11 May 2010 08:30:25 +0000 (10:30 +0200)]
s3-waf: Fix up the winbindd build
Kai Blin [Fri, 30 Apr 2010 17:45:06 +0000 (19:45 +0200)]
s3-waf: add eventlogadm binary
Kai Blin [Fri, 30 Apr 2010 12:43:57 +0000 (14:43 +0200)]
s3-waf: Use a common subsystem for the kerberos client code
Kai Blin [Fri, 30 Apr 2010 12:33:49 +0000 (14:33 +0200)]
s3-waf: Use a common subsystem for samba-popt code
Kai Blin [Fri, 30 Apr 2010 12:22:06 +0000 (14:22 +0200)]
s3-waf: note that the options are broken
Kai Blin [Fri, 30 Apr 2010 12:21:28 +0000 (14:21 +0200)]
s3-waf: replace all - with _ in the configuration option names
Kai Blin [Fri, 30 Apr 2010 12:18:20 +0000 (14:18 +0200)]
s3-waf: Build swat
Kai Blin [Fri, 30 Apr 2010 12:17:30 +0000 (14:17 +0200)]
s3-waf: build winbindd again
Kai Blin [Fri, 30 Apr 2010 09:25:52 +0000 (11:25 +0200)]
s3-waf: fix up the LDAP objects if LDAP isn't built
Andrew Tridgell [Sun, 18 Apr 2010 12:43:01 +0000 (06:43 -0600)]
s3-waf: install swat files
Andrew Tridgell [Sun, 18 Apr 2010 12:42:49 +0000 (06:42 -0600)]
s3-waf: fixed install path for sbin binaries
Andrew Tridgell [Sun, 18 Apr 2010 12:42:20 +0000 (06:42 -0600)]
s3-waf: fixed SWATDIR to match old build