ira/wip.git
14 years agoFix a type-punned warning
Volker Lendecke [Tue, 28 Apr 2009 09:57:47 +0000 (11:57 +0200)]
Fix a type-punned warning

14 years agos3:mark registry shares without path unavailable just as with text config
Michael Adam [Mon, 27 Apr 2009 23:24:27 +0000 (01:24 +0200)]
s3:mark registry shares without path unavailable just as with text config

This prevents users from getting access to "/" in misconfigured setups.

Michael

14 years agoFix annoying debug messages when no snapshots are used
Volker Lendecke [Tue, 28 Apr 2009 09:16:19 +0000 (11:16 +0200)]
Fix annoying debug messages when no snapshots are used

Not being able to open the shadow copy directory is the same as having no
shadow copy support at all. The VFS module should in this case not log with
debug level 0 and set ENOSYS to indicate "no shadow copies used" to the higher
levels.

14 years agos3-svcctl: Fix crash in _svcctl_EnumServicesStatusW().
Günther Deschner [Mon, 27 Apr 2009 23:08:31 +0000 (01:08 +0200)]
s3-svcctl: Fix crash in _svcctl_EnumServicesStatusW().

The resume handle is a unique pointer, always check before dereference.

Guenther

14 years agoDo not panic unnecessarily
Volker Lendecke [Wed, 22 Apr 2009 14:44:11 +0000 (16:44 +0200)]
Do not panic unnecessarily

14 years agoFix a type-punned warning
Volker Lendecke [Thu, 23 Apr 2009 16:05:51 +0000 (18:05 +0200)]
Fix a type-punned warning

14 years agos3-auth-charcnv: fix push_string(). Don't push to ucs2 and ascii after another.
Günther Deschner [Mon, 27 Apr 2009 16:47:41 +0000 (18:47 +0200)]
s3-auth-charcnv: fix push_string(). Don't push to ucs2 and ascii after another.

This fixes all kinds of encrypted passwords used in the shared auth code naturally.
Andrew B., please check.

Guenther

14 years agos3:nt_printing: fix a comment typo
Michael Adam [Mon, 27 Apr 2009 15:54:23 +0000 (17:54 +0200)]
s3:nt_printing: fix a comment typo

Michael

14 years ago[FIX Bug 6235] domain enumeration breaks if master browser has space in name
Derrell Lipman [Mon, 27 Apr 2009 13:27:52 +0000 (09:27 -0400)]
[FIX Bug 6235] domain enumeration breaks if master browser has space in name

Jeremy: please review to ensure this doesn't appear to break anything

The function name_status_find() is documented as used for finding a server's
name given its IP address. It was, however, looking for the first matching
name which could be a group name at times. This fix ensures that group names
are skipped when scanning for a matching name.

Derrell

14 years agos3:libsmbconf: fix a comment typo
Michael Adam [Mon, 27 Apr 2009 11:25:07 +0000 (13:25 +0200)]
s3:libsmbconf: fix a comment typo

Michael

14 years agos3:registry: replace typedef REGISTRY_OPS by struct registry_ops
Michael Adam [Mon, 23 Mar 2009 22:14:45 +0000 (23:14 +0100)]
s3:registry: replace typedef REGISTRY_OPS by struct registry_ops

Michael

14 years agos3:registry replace typedef REGISTRY_HOOK by struct registry_hook.
Michael Adam [Mon, 23 Mar 2009 22:05:30 +0000 (23:05 +0100)]
s3:registry replace typedef REGISTRY_HOOK by struct registry_hook.

Michael

14 years agos3:registry: replace typedef REGISTRY_KEY by struct registry_key_handle
Michael Adam [Mon, 23 Mar 2009 22:02:57 +0000 (23:02 +0100)]
s3:registry: replace typedef REGISTRY_KEY by struct registry_key_handle

Michael

14 years agos3:registry: make a comment more precise.
Michael Adam [Mon, 23 Mar 2009 22:18:26 +0000 (23:18 +0100)]
s3:registry: make a comment more precise.

Michael

14 years agos3:registry: replace typedef REGISTRY_VALUE by struct regval_blob
Michael Adam [Mon, 23 Mar 2009 21:27:59 +0000 (22:27 +0100)]
s3:registry: replace typedef REGISTRY_VALUE by struct regval_blob

Michael

14 years agos3:registry: replace typedef REGVAL_CTR by struct regval_ctr.
Michael Adam [Mon, 23 Mar 2009 17:14:17 +0000 (18:14 +0100)]
s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.

This paves the way for hiding the typedef and the implementation
from the surface.

Michael

14 years agos3:net conf: support dangling parameters by specifying "" as the section name.
Michael Adam [Fri, 24 Oct 2008 11:49:16 +0000 (13:49 +0200)]
s3:net conf: support dangling parameters by specifying "" as the section name.

for {get,set,del}parm

Michael

14 years agos3:fix build of the pam_smbpass shared module
Michael Adam [Mon, 27 Apr 2009 08:51:55 +0000 (10:51 +0200)]
s3:fix build of the pam_smbpass shared module

Michael

14 years agos4:selftest: don't run the smb2.durable.open test
Stefan Metzmacher [Sat, 25 Apr 2009 04:14:40 +0000 (06:14 +0200)]
s4:selftest: don't run the smb2.durable.open test

it often crashes when the server doesn't support them.

metze

14 years agos4:RPC-ECHO: disable the timeout test as it can't work with our client library
Stefan Metzmacher [Fri, 17 Apr 2009 17:59:25 +0000 (19:59 +0200)]
s4:RPC-ECHO: disable the timeout test as it can't work with our client library

We need proper ways to cancel requests in order to have that
test working against a correctly behaving server over ncacn_np.

metze

14 years agoRAW-LOCK: samba4 behaves like windows 7 in regard of locking error codes
Stefan Metzmacher [Fri, 24 Apr 2009 13:36:00 +0000 (15:36 +0200)]
RAW-LOCK: samba4 behaves like windows 7 in regard of locking error codes

metze

14 years agos4:torture: use torture api instead of printf for RAW-LOCK
Stefan Metzmacher [Fri, 24 Apr 2009 10:28:59 +0000 (12:28 +0200)]
s4:torture: use torture api instead of printf for RAW-LOCK

metze

14 years agos4:selftest: s4 doesn't support osxrename and directory rename yet
Stefan Metzmacher [Fri, 24 Apr 2009 09:23:43 +0000 (11:23 +0200)]
s4:selftest: s4 doesn't support osxrename and directory rename yet

metze

14 years agos4:tortore: use torture api instead of printf in RAW-RENAME
Stefan Metzmacher [Fri, 24 Apr 2009 09:23:07 +0000 (11:23 +0200)]
s4:tortore: use torture api instead of printf in RAW-RENAME

metze

14 years agofind/replace. Change uintX types to uintX_t types to tidy up the code.
Jeremy Allison [Fri, 24 Apr 2009 14:06:48 +0000 (07:06 -0700)]
find/replace. Change uintX types to uintX_t types to tidy up the code.
Jeremy.

14 years agos3-libnetjoin: make acct_flags dependent on secure channel type.
Günther Deschner [Tue, 3 Feb 2009 19:03:42 +0000 (20:03 +0100)]
s3-libnetjoin: make acct_flags dependent on secure channel type.

Guenther

14 years agos3-libnetjoin: add support for WKSSVC_JOIN_FLAGS_JOIN_UNSECURE.
Günther Deschner [Thu, 6 Nov 2008 11:26:24 +0000 (12:26 +0100)]
s3-libnetjoin: add support for WKSSVC_JOIN_FLAGS_JOIN_UNSECURE.

Guenther

14 years agos3-svcctl: indicate that the spooler is already running if it does.
Günther Deschner [Tue, 21 Apr 2009 14:18:51 +0000 (16:18 +0200)]
s3-svcctl: indicate that the spooler is already running if it does.

Guenther

14 years agos3-svcctl: fix _svcctl_ControlService.
Günther Deschner [Fri, 10 Apr 2009 19:39:45 +0000 (21:39 +0200)]
s3-svcctl: fix _svcctl_ControlService.

Guenther

14 years agos4-smbtorture: add test_ControlService() to RPC-SVCCTL.
Günther Deschner [Fri, 10 Apr 2009 19:10:07 +0000 (21:10 +0200)]
s4-smbtorture: add test_ControlService() to RPC-SVCCTL.

Guenther

14 years agos4-smbtorture: add test_StartServiceW() to RPC-SVCCTL.
Günther Deschner [Fri, 10 Apr 2009 18:55:10 +0000 (20:55 +0200)]
s4-smbtorture: add test_StartServiceW() to RPC-SVCCTL.

Guenther

14 years agos4-smbtorture: change default service to spooler in RPC-SVCCTL.
Günther Deschner [Mon, 20 Apr 2009 14:49:01 +0000 (16:49 +0200)]
s4-smbtorture: change default service to spooler in RPC-SVCCTL.

Guenther

14 years agos3-idmap: Fix bug #6286: Call init function for builtin idmap modules before probing...
Günther Deschner [Fri, 24 Apr 2009 08:02:06 +0000 (10:02 +0200)]
s3-idmap: Fix bug #6286: Call init function for builtin idmap modules before probing for them as shared modules.

idmap-gurus of the world, please check.

Guenther

14 years agos3-build: refactor LIBNET_OBJ.
Günther Deschner [Thu, 23 Apr 2009 15:09:55 +0000 (17:09 +0200)]
s3-build: refactor LIBNET_OBJ.

Guenther

14 years agos3-netlogon: Start fixing rpccli_netlogon_setup_creds after auth merge.
Günther Deschner [Fri, 24 Apr 2009 01:09:20 +0000 (03:09 +0200)]
s3-netlogon: Start fixing rpccli_netlogon_setup_creds after auth merge.

Guenther

14 years agoRename the top-level LDB test to LOCAL-LDB, so it gets picked up by the
Jelmer Vernooij [Fri, 24 Apr 2009 07:47:55 +0000 (09:47 +0200)]
Rename the top-level LDB test to LOCAL-LDB, so it gets picked up by the
script that determines the tests to run.

14 years agos4:torture Fix segfault in RPC-SAMSYNC
Andrew Bartlett [Fri, 24 Apr 2009 07:35:24 +0000 (09:35 +0200)]
s4:torture Fix segfault in RPC-SAMSYNC

This code needs to be fixed to match Win2008 behavior, but at least it
does not segfault any more.

Andrew Bartlett

14 years agos4:torture Add tests for prefixMap custom attribute handler
Andrew Bartlett [Fri, 24 Apr 2009 07:17:29 +0000 (09:17 +0200)]
s4:torture Add tests for prefixMap custom attribute handler

14 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Andrew Bartlett [Fri, 24 Apr 2009 07:17:08 +0000 (09:17 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel

14 years agoProvide a ldb_global_init() function for compatibility with older versions of LDB
Jelmer Vernooij [Thu, 23 Apr 2009 16:59:37 +0000 (18:59 +0200)]
Provide a ldb_global_init() function for compatibility with older versions of LDB
(including the one in Samba 3).

14 years agoMore lcov code coverage generation work
Andrew Bartlett [Thu, 23 Apr 2009 16:46:24 +0000 (18:46 +0200)]
More lcov code coverage generation work

14 years agosamba3/ldb: Update the ldb_dn API to match that of the Samba 4 LDB:
Jelmer Vernooij [Thu, 23 Apr 2009 12:31:45 +0000 (14:31 +0200)]
samba3/ldb: Update the ldb_dn API to match that of the Samba 4 LDB:
 * ldb_dn_new() now takes an initial DN string
 * ldb_dn_string_compose() -> ldb_dn_new_fmt()
 * dummy ldb_dn_validate(), since LDB DNs in the current implementation
   are always valid if they could be created.

14 years agoldb/samba3: Support event context argument to ldb_init().
Jelmer Vernooij [Thu, 23 Apr 2009 12:27:59 +0000 (14:27 +0200)]
ldb/samba3: Support event context argument to ldb_init().

This argument is ignored (Samba3's LDB is synchronous) but having it
there is useful for API compatibility with the LDB used by Samba 4 and
available on some systems.

14 years agoFix of a bug in the security.descriptor.as_sddl() method
nadezhda ivanova [Thu, 23 Apr 2009 14:18:23 +0000 (17:18 +0300)]
Fix of a bug in the security.descriptor.as_sddl() method

security.descriptor.as_sddl() method did not work correctly when invoked without
supplying the domain sid. Returned the same value as when the sid was provided.
Test added for this case in  libcli/security/tests/bindings.py

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
14 years agos4:torture use common libcli/auth crypto code
Andrew Bartlett [Thu, 23 Apr 2009 15:53:25 +0000 (17:53 +0200)]
s4:torture use common libcli/auth crypto code

14 years agoFix push_codepoint function without iconv_convenience.
Jelmer Vernooij [Thu, 23 Apr 2009 15:46:54 +0000 (17:46 +0200)]
Fix push_codepoint function without iconv_convenience.

14 years agocharcnv: Import push_codepoint().
Jelmer Vernooij [Thu, 23 Apr 2009 14:03:19 +0000 (16:03 +0200)]
charcnv: Import push_codepoint().

14 years agoAdd a new non-convenience version of push_codepoint.
Jelmer Vernooij [Thu, 23 Apr 2009 13:24:38 +0000 (15:24 +0200)]
Add a new non-convenience version of push_codepoint.

14 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Andrew Bartlett [Thu, 23 Apr 2009 15:38:42 +0000 (17:38 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel

14 years agoAdd async support for reply_tcon* and ntvfs_connect
Sam Liddicott [Thu, 23 Apr 2009 12:47:59 +0000 (13:47 +0100)]
Add async support for reply_tcon* and ntvfs_connect

smbsrv_tcon_backend no longer creates the ntvfs_request wrapper,
so smbsrv_reply_tcon* can now do this and then invoke ntvfs_connect
in the typical manner using SMBSRV_SETUP_NTVFS_REQUEST and
SMBSRV_CALL_NTVFS_BACKEND

Previously smbsrv_tcon_backend has been responsible for instantiating
the ntvfs_module_context to service a tree-connect request, and
then create an ntvfs_request wrapper around the smbsrv_request
and pass this to ntvfs_connect for the newly created ntvfs.

These actions could not be invoked asynchronously.

This meant that any client requests made while instantiating the
ntvfs module, including any composite's used during authentication
(or related client connections for the case of proxy modules)
would block other ntvfs modules and requests in the current process as
they executed a nested event loop to await completion.

Signed-off-by: Sam Liddicott <sam@liddicott.com>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
14 years agos4:test Include 'source4' in directories to find lcov in
Andrew Bartlett [Thu, 23 Apr 2009 14:46:47 +0000 (16:46 +0200)]
s4:test Include 'source4' in directories to find lcov in

14 years agoAdd missing prototypes
Volker Lendecke [Thu, 23 Apr 2009 14:17:18 +0000 (16:17 +0200)]
Add missing prototypes

14 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Andrew Bartlett [Thu, 23 Apr 2009 13:12:35 +0000 (15:12 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel

14 years agos4:test Fix 'make lcov' in Samba4
Andrew Bartlett [Thu, 23 Apr 2009 13:11:04 +0000 (15:11 +0200)]
s4:test Fix 'make lcov' in Samba4

14 years agoRevert "Do not use the file system GET_REAL_FILENAME for mangled names"
Volker Lendecke [Thu, 23 Apr 2009 12:54:52 +0000 (14:54 +0200)]
Revert "Do not use the file system GET_REAL_FILENAME for mangled names"

This reverts commit b5b6ecb58aeba196c28370cde21a0826f81d8da6.

14 years agoFix a couple of warnings
Volker Lendecke [Thu, 23 Apr 2009 12:24:16 +0000 (14:24 +0200)]
Fix a couple of warnings

14 years agoFix an uninitialized variable
Volker Lendecke [Thu, 23 Apr 2009 12:23:23 +0000 (14:23 +0200)]
Fix an uninitialized variable

14 years agoFix a type-punned warning
Volker Lendecke [Thu, 23 Apr 2009 12:14:37 +0000 (14:14 +0200)]
Fix a type-punned warning

14 years agoFix a pointless static
Volker Lendecke [Wed, 22 Apr 2009 09:54:13 +0000 (11:54 +0200)]
Fix a pointless static

14 years agos4:samr Use ldb_context * rather than void *
Andrew Bartlett [Thu, 23 Apr 2009 10:19:10 +0000 (12:19 +0200)]
s4:samr Use ldb_context * rather than void *

14 years agoFix coverity #901 - uninitialized data.
Jeremy Allison [Thu, 23 Apr 2009 09:51:55 +0000 (02:51 -0700)]
Fix coverity #901 - uninitialized data.
Jeremy.

14 years agoFix Coverity ID 626: DEADCODE
Volker Lendecke [Thu, 23 Apr 2009 09:05:49 +0000 (11:05 +0200)]
Fix Coverity ID 626: DEADCODE

14 years agoFix Coverity bug #902, uninitialized variable.
Jeremy Allison [Thu, 23 Apr 2009 09:02:28 +0000 (02:02 -0700)]
Fix Coverity bug #902, uninitialized variable.
Jeremy.

14 years agoFix Coverity ID 628, Andrew B., please check!
Volker Lendecke [Thu, 23 Apr 2009 08:49:41 +0000 (10:49 +0200)]
Fix Coverity ID 628, Andrew B., please check!

14 years agoFix coverity #908, #909, uninitialized variable.
Jeremy Allison [Thu, 23 Apr 2009 08:47:04 +0000 (01:47 -0700)]
Fix coverity #908, #909, uninitialized variable.
Jeremy.

14 years agoFix Coverity ID 884: DEADCODE
Volker Lendecke [Thu, 23 Apr 2009 08:42:43 +0000 (10:42 +0200)]
Fix Coverity ID 884: DEADCODE

14 years agoFix coverity #910, uninitialized variable.
Jeremy Allison [Thu, 23 Apr 2009 08:38:21 +0000 (01:38 -0700)]
Fix coverity #910, uninitialized variable.
Jeremy.

14 years agos3-selftest: test wbinfo --allocate-uid/gid.
Günther Deschner [Wed, 22 Apr 2009 21:48:24 +0000 (23:48 +0200)]
s3-selftest: test wbinfo --allocate-uid/gid.

Guenther

14 years agoerrormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFUL
Kai Blin [Wed, 22 Apr 2009 22:23:56 +0000 (00:23 +0200)]
errormap: Change the WBC_ERR_UNKNOWN_ERROR to map to NT_STATUS_UNSUCCESSFUL

This allows us to distinguish on NTSTATUS level if we got a
WBC_ERR_UNKNOWN_ERROR or WBC_ERR_NSS_ERROR.

14 years agoSpecify explicit path to vlp, for those not having vlp in $PATH.
Jelmer Vernooij [Wed, 22 Apr 2009 21:54:10 +0000 (23:54 +0200)]
Specify explicit path to vlp, for those not having vlp in $PATH.

14 years agoMake dskattr async.
Jeremy Allison [Wed, 22 Apr 2009 15:04:53 +0000 (08:04 -0700)]
Make dskattr async.
Jeremy.

14 years agoѕ3/configure: fix regexp for ld version recognition
Björn Jacke [Sat, 28 Mar 2009 00:21:25 +0000 (01:21 +0100)]
ѕ3/configure: fix regexp for ld version recognition

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
14 years agoFix profile acls in some corner cases
Simo Sorce [Wed, 22 Apr 2009 13:12:58 +0000 (09:12 -0400)]
Fix profile acls in some corner cases

Always add back the real original owner of the directory in the ACE List after
we steal its ACE for the Administrators group.

14 years agoAvoid duplicate aces
Simo Sorce [Wed, 22 Apr 2009 10:15:21 +0000 (06:15 -0400)]
Avoid duplicate aces

When adding arbitrary aces to an nt_ace_list we need to make sure we
are not actually adding a duplicate.
add_or_replace_ace() takes care of doing the right thing.

14 years agoPrevent reallocs of the talloc pool itself
Simo Sorce [Tue, 21 Apr 2009 07:08:37 +0000 (03:08 -0400)]
Prevent reallocs of the talloc pool itself

14 years agoMake cli_chkpath async.
Jeremy Allison [Wed, 22 Apr 2009 13:46:42 +0000 (06:46 -0700)]
Make cli_chkpath async.
Jeremy

14 years agoMove serverinfo_to_SamInfo3() to rpc_server/
Volker Lendecke [Wed, 22 Apr 2009 10:23:10 +0000 (12:23 +0200)]
Move serverinfo_to_SamInfo3() to rpc_server/

Normally I hate moving around stuff, but this function is only called from the
RPC server side and it pulls in passdb when trying to link in our rpc client
routines. That seems unnecessary to me.

14 years agoAdd comment explaining the previous fix.
Jeremy Allison [Wed, 22 Apr 2009 10:03:04 +0000 (03:03 -0700)]
Add comment explaining the previous fix.
Jeremy.

14 years agoFix bug #6279 - winbindd crash. Cope with LDAP libraries returning LDAP_SUCCESS but...
Jeremy Allison [Wed, 22 Apr 2009 09:54:11 +0000 (02:54 -0700)]
Fix bug #6279 - winbindd crash. Cope with LDAP libraries returning LDAP_SUCCESS but not returning a result.
Jeremy

14 years agoFix some nonempty blank lines
Volker Lendecke [Wed, 22 Apr 2009 09:51:03 +0000 (11:51 +0200)]
Fix some nonempty blank lines

14 years agoRemove some shadowed definition warnings
Volker Lendecke [Wed, 22 Apr 2009 09:17:38 +0000 (11:17 +0200)]
Remove some shadowed definition warnings

14 years agoAvoid using deprecated form of AC_CHECK_TYPE.
Brad Hards [Wed, 22 Apr 2009 08:32:53 +0000 (10:32 +0200)]
Avoid using deprecated form of AC_CHECK_TYPE.

libreplace makes use of an older form of AC_CHECK_TYPE which basically
provides a fallback definition for the type if it isn't available.
http://www.gnu.org/software/hello/manual/autoconf/Obsolete-Macros.html#Obsolete-Macros
shows why this isn't a good idea (its not so important, except for pointer types).
This patch partly addresses the issue.

Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
14 years agoerrormap: Add wbcErr to NTSTATUS mappings
Kai Blin [Thu, 16 Apr 2009 09:49:25 +0000 (11:49 +0200)]
errormap: Add wbcErr to NTSTATUS mappings

14 years agos4-build: Also search ../nsswitch for make (c|e)tags
Kai Blin [Sun, 5 Apr 2009 13:38:09 +0000 (15:38 +0200)]
s4-build: Also search ../nsswitch for make (c|e)tags

14 years agos4 selftest: Export the WINBINDD_SOCKET_DIR env var
Kai Blin [Fri, 17 Apr 2009 07:59:39 +0000 (09:59 +0200)]
s4 selftest: Export the WINBINDD_SOCKET_DIR env var

14 years agos4:ldb: fix extrasemi compile warning
Björn Jacke [Fri, 3 Apr 2009 17:27:16 +0000 (19:27 +0200)]
s4:ldb: fix extrasemi compile warning

14 years agos4:ldb: do talloc_free and return NULL when we have no matches to return
Björn Jacke [Mon, 30 Mar 2009 11:18:34 +0000 (13:18 +0200)]
s4:ldb: do talloc_free and return NULL when we have no matches to return

14 years agolibcli: fix a "not handled in switch" compile warning
Björn Jacke [Mon, 30 Mar 2009 11:47:58 +0000 (13:47 +0200)]
libcli: fix a "not handled in switch" compile warning

return NULL also for RAW_CLOSE_GENERIC

14 years agoѕ4: fix a "not handled in switch" compile warning
Björn Jacke [Mon, 30 Mar 2009 11:39:42 +0000 (13:39 +0200)]
ѕ4: fix a "not handled in switch" compile warning

14 years agos3: Use common security_descriptor_equal().
Jelmer Vernooij [Tue, 21 Apr 2009 16:15:59 +0000 (18:15 +0200)]
s3: Use common security_descriptor_equal().

14 years agos3:libsmb: always use the tevent_req_nomem() for checking allocation failures
Stefan Metzmacher [Tue, 21 Apr 2009 15:42:39 +0000 (17:42 +0200)]
s3:libsmb: always use the tevent_req_nomem() for checking allocation failures

This will also make sure we cleanup 'req' in case of an error.

metze

14 years agoFix includes for security_descriptor file for the non-merged build.
Jelmer Vernooij [Tue, 21 Apr 2009 15:19:22 +0000 (17:19 +0200)]
Fix includes for security_descriptor file for the non-merged build.

14 years agoFix make install; don't install drsuapi.h and fix the location of
Jelmer Vernooij [Tue, 21 Apr 2009 14:50:20 +0000 (16:50 +0200)]
Fix make install; don't install drsuapi.h and fix the location of
credentials.h

14 years agoMake rmdir async.
Jeremy Allison [Tue, 21 Apr 2009 13:52:54 +0000 (06:52 -0700)]
Make rmdir async.
Jeremy.

14 years agoRevert "Use an absolute path to ensure that we can always regenerate tables.c"
Stefan Metzmacher [Tue, 21 Apr 2009 13:33:53 +0000 (15:33 +0200)]
Revert "Use an absolute path to ensure that we can always regenerate tables.c"

This reverts commit b57c8ff4400e5f2bd0776247496b34dab68bde97.

This actually breaks the merged build...
Doing a merged build and a samba4 build within the same
checkout, without a git clean -x -d -f (this removes everything that's
not checked into git! save files you don't want to delete!) running in the
toplevel directory, is not supported.

metze

14 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Andrew Bartlett [Tue, 21 Apr 2009 13:19:50 +0000 (15:19 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel

14 years agoMove the security_descriptor utility code to the top-level.
Jelmer Vernooij [Tue, 21 Apr 2009 12:27:25 +0000 (14:27 +0200)]
Move the security_descriptor utility code to the top-level.

14 years agoUse a static copy of the samsync header file as Samba3 doesn't generate
Jelmer Vernooij [Tue, 21 Apr 2009 10:44:01 +0000 (12:44 +0200)]
Use a static copy of the samsync header file as Samba3 doesn't generate
prototype headers.

14 years agoAdd the implicit [ref] to the connect_handle in EnumDomains
Andrew Bartlett [Tue, 21 Apr 2009 13:14:02 +0000 (15:14 +0200)]
Add the implicit [ref] to the connect_handle in EnumDomains

14 years agoRevert "pidl/python: Add explicit casts, fixing implicit cast warnings."
Andrew Bartlett [Tue, 21 Apr 2009 13:07:10 +0000 (15:07 +0200)]
Revert "pidl/python: Add explicit casts, fixing implicit cast warnings."

It was creating new objects with bogus data.

This reverts commit 210830392999691469a55f4f5e2032abcdb20b8a.