ira/wip.git
15 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.

15 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

15 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.

15 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.

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

15 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>
15 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.

15 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.

15 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

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

15 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.

15 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.

15 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

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

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

15 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>
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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().

15 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

15 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.

15 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

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

15 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

15 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

15 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.

15 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.

15 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

15 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.

15 years agoMake cli_mkdir async. Change it to return NTSTATUS.
Jeremy Allison [Tue, 21 Apr 2009 12:52:34 +0000 (05:52 -0700)]
Make cli_mkdir async. Change it to return NTSTATUS.
Jeremy.

15 years agoRemove "struct samr_info"
Volker Lendecke [Tue, 21 Apr 2009 10:37:47 +0000 (12:37 +0200)]
Remove "struct samr_info"

15 years agoFix _samr_QuerySecurity
Volker Lendecke [Tue, 21 Apr 2009 10:35:53 +0000 (12:35 +0200)]
Fix _samr_QuerySecurity

15 years agoFix samr_SetSecurity
Volker Lendecke [Tue, 21 Apr 2009 10:16:58 +0000 (12:16 +0200)]
Fix samr_SetSecurity

15 years agos3-secdesc: remove SEC_RIGHT_MAXIMUM_ALLOWED and SEC_RIGHT_SYSTEM_SECURITY.
Günther Deschner [Tue, 21 Apr 2009 11:01:29 +0000 (13:01 +0200)]
s3-secdesc: remove SEC_RIGHT_MAXIMUM_ALLOWED and SEC_RIGHT_SYSTEM_SECURITY.

We had up to three incarnations of these flags in Samba3.

Guenther

15 years agos3-secdesc: move all winreg access bits to IDL.
Günther Deschner [Tue, 14 Apr 2009 23:30:12 +0000 (01:30 +0200)]
s3-secdesc: move all winreg access bits to IDL.

Guenther

15 years agos3-secdesc: use SEC_FLAG_SYSTEM_SECURITY instead of SEC_RIGHT_SYSTEM_SECURITY.
Günther Deschner [Tue, 14 Apr 2009 23:19:30 +0000 (01:19 +0200)]
s3-secdesc: use SEC_FLAG_SYSTEM_SECURITY instead of SEC_RIGHT_SYSTEM_SECURITY.

Guenther

15 years agos3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHT_MAXIMUM_ALLOWED.
Günther Deschner [Tue, 14 Apr 2009 23:16:41 +0000 (01:16 +0200)]
s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHT_MAXIMUM_ALLOWED.

Guenther

15 years agos3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.
Günther Deschner [Tue, 14 Apr 2009 23:12:13 +0000 (01:12 +0200)]
s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.

Guenther

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

15 years agolibgpo: use shared access bits in gpo_sd_check_agp_object().
Günther Deschner [Tue, 21 Apr 2009 10:10:11 +0000 (12:10 +0200)]
libgpo: use shared access bits in gpo_sd_check_agp_object().

Guenther

15 years agoAdd str() for policy_handles.
Andrew Bartlett [Tue, 21 Apr 2009 10:06:04 +0000 (12:06 +0200)]
Add str() for policy_handles.

Pair programmed with Jelmer

15 years agoConvert the alias handles to type-safe policy handles
Volker Lendecke [Mon, 20 Apr 2009 17:04:20 +0000 (19:04 +0200)]
Convert the alias handles to type-safe policy handles

15 years agoConvert the group handles to type-safe policy handles
Volker Lendecke [Mon, 20 Apr 2009 16:27:39 +0000 (18:27 +0200)]
Convert the group handles to type-safe policy handles

15 years agoConvert the user handles to type-safe policy handles
Volker Lendecke [Mon, 20 Apr 2009 16:01:49 +0000 (18:01 +0200)]
Convert the user handles to type-safe policy handles

15 years agopython/dcerpc: Custom implementations of policy_handle.__init__ and policy_handle...
Andrew Bartlett [Tue, 21 Apr 2009 09:53:00 +0000 (11:53 +0200)]
python/dcerpc: Custom implementations of policy_handle.__init__ and policy_handle.__repr__

pair-programmed with Jelmer

15 years agopython/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__.
Andrew Bartlett [Tue, 21 Apr 2009 09:14:11 +0000 (11:14 +0200)]
python/rpc: Add custom GUID.__str__, GUID.__repr__, GUID.__init__ and GUID.__cmp__.

15 years agoRemove smb_mkstemp() - libreplace will now provide a secure mkstemp() if
Jelmer Vernooij [Mon, 20 Apr 2009 21:58:26 +0000 (23:58 +0200)]
Remove smb_mkstemp() - libreplace will now provide a secure mkstemp() if
the system one is broken.

15 years agolibgpo: fix the build of gpext plugins.
Günther Deschner [Mon, 20 Apr 2009 21:38:11 +0000 (23:38 +0200)]
libgpo: fix the build of gpext plugins.

Guenther

15 years agolibgpo: Fix some minor issues.
Günther Deschner [Mon, 20 Apr 2009 17:15:32 +0000 (19:15 +0200)]
libgpo: Fix some minor issues.

Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoFix ini parsing in the s3 gpext modules. Fix ini parser API. Make the build work
Wilco Baan Hofman [Mon, 20 Apr 2009 14:51:33 +0000 (16:51 +0200)]
Fix ini parsing in the s3 gpext modules. Fix ini parser API. Make the build work

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoMove gpo_ini stuff to the main libgpo. Make gpo_ini use a common parser.
Wilco Baan Hofman [Mon, 20 Apr 2009 12:57:33 +0000 (14:57 +0200)]
Move gpo_ini stuff to the main libgpo. Make gpo_ini use a common parser.

It now makes use of lib/util/param.c to parse ini files.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoFix Samba 4 Makefile to also clean ../libgpo
Wilco Baan Hofman [Mon, 20 Apr 2009 08:11:00 +0000 (10:11 +0200)]
Fix Samba 4 Makefile to also clean ../libgpo

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoMove some headers around to avoid confusion.
Wilco Baan Hofman [Mon, 20 Apr 2009 07:57:00 +0000 (09:57 +0200)]
Move some headers around to avoid confusion.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoMove some headers around to avoid confusion.
Wilco Baan Hofman [Mon, 20 Apr 2009 07:56:08 +0000 (09:56 +0200)]
Move some headers around to avoid confusion.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoAdjust samba 3 to the new gpo API. Still untested code.
Wilco Baan Hofman [Sun, 15 Mar 2009 19:34:59 +0000 (20:34 +0100)]
Adjust samba 3 to the new gpo API. Still untested code.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoMake the gpo files build for samba 4.
Wilco Baan Hofman [Sun, 15 Mar 2009 03:40:12 +0000 (04:40 +0100)]
Make the gpo files build for samba 4.

Only gpt.ini remaining. Not suitable for merge yet, samba 3 is currently broken due to some changed public API.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoMark the places where work needs to be done.
Wilco Baan Hofman [Sun, 1 Mar 2009 18:49:42 +0000 (19:49 +0100)]
Mark the places where work needs to be done.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoAdd nt_token_check_sid convenience function. Map NT_USER_TOKEN to struct security_tok...
Wilco Baan Hofman [Sun, 1 Mar 2009 17:44:58 +0000 (18:44 +0100)]
Add nt_token_check_sid convenience function. Map NT_USER_TOKEN to struct security_token. Fix build errors.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoAdd ../libgpo to samba4 srcdir list in rules.mk.
Wilco Baan Hofman [Sun, 1 Mar 2009 15:53:07 +0000 (16:53 +0100)]
Add ../libgpo to samba4 srcdir list in rules.mk.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoMake gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() function...
Wilco Baan Hofman [Sun, 1 Mar 2009 15:25:57 +0000 (16:25 +0100)]
Make gpo_ldap.c compatible with samba 4. Add ads_get_ldap_server_name() function to samba 3. Move prototypes to root libgpo where appropriate.

gpo_ldap.c now compiles for both samba 3 and 4.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoAdd ads convenience functions to samba 4. Move gpo_ldap.c to root libgpo.
Wilco Baan Hofman [Sun, 1 Mar 2009 13:06:36 +0000 (14:06 +0100)]
Add ads convenience functions to samba 4. Move gpo_ldap.c to root libgpo.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoMove gpo_fetch to top-level.
Jelmer Vernooij [Sun, 1 Mar 2009 01:53:42 +0000 (02:53 +0100)]
Move gpo_fetch to top-level.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoMove gpo_sec to top-level.
Jelmer Vernooij [Sun, 1 Mar 2009 01:44:51 +0000 (02:44 +0100)]
Move gpo_sec to top-level.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agoMove some libgpo files to root.
Jelmer Vernooij [Sun, 1 Mar 2009 01:13:21 +0000 (02:13 +0100)]
Move some libgpo files to root.

Signed-off-by: Günther Deschner <gd@samba.org>
15 years agopidl:Samba4/client: fix dcerpc_ndr_request_send() callers
Stefan Metzmacher [Fri, 17 Apr 2009 11:05:04 +0000 (13:05 +0200)]
pidl:Samba4/client: fix dcerpc_ndr_request_send() callers

For samba4 you need one of this:
samba/source4# make full_idl
samba/source4# make clean
samba# git clean -x -f

metze

15 years agos4:librpc/rpc: pass async as argument to dcerpc_ndr_request_send()
Stefan Metzmacher [Fri, 17 Apr 2009 09:48:31 +0000 (11:48 +0200)]
s4:librpc/rpc: pass async as argument to dcerpc_ndr_request_send()

The caller should decide if async is desired it should be harcoded per call.

metze

15 years agopidl:Samba4/client: use dcerpc_ndr_request() for sync requests
Stefan Metzmacher [Fri, 17 Apr 2009 11:04:18 +0000 (13:04 +0200)]
pidl:Samba4/client: use dcerpc_ndr_request() for sync requests

metze

15 years agos4:librpc/rpc: remove async argument from the sync dcerpc_request() function
Stefan Metzmacher [Fri, 17 Apr 2009 09:46:57 +0000 (11:46 +0200)]
s4:librpc/rpc: remove async argument from the sync dcerpc_request() function

metze

15 years agos4:librpc/rpc: only use smb_trans for sync rpc calls
Stefan Metzmacher [Fri, 17 Apr 2009 09:40:40 +0000 (11:40 +0200)]
s4:librpc/rpc: only use smb_trans for sync rpc calls

Over named pipes we can only do one smb_trans at a time,
otherwise we're getting NT_STATUS_PIPE_BUSY.
Async rpc calls need to use smb_read/write only.

metze

15 years agos4:torture/rpc: use dcerpc_ndr_request() for the object_uuid test
Stefan Metzmacher [Fri, 17 Apr 2009 17:57:15 +0000 (19:57 +0200)]
s4:torture/rpc: use dcerpc_ndr_request() for the object_uuid test

As we want sync calls...

metze

15 years agos4:librpc/rpc: ask for 0x2000 bytes in the ioctl case to match all othercases
Stefan Metzmacher [Fri, 17 Apr 2009 17:57:39 +0000 (19:57 +0200)]
s4:librpc/rpc: ask for 0x2000 bytes in the ioctl case to match all othercases

metze

15 years agoStop autogenerated files from being created.
Jeremy Allison [Mon, 20 Apr 2009 16:06:21 +0000 (09:06 -0700)]
Stop autogenerated files from being created.
Jeremy.

15 years agoAdd previously generated header files now needed in merged build.
Jeremy Allison [Mon, 20 Apr 2009 15:48:07 +0000 (08:48 -0700)]
Add previously generated header files now needed in merged build.
Jeremy.

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba into libcli-auth-merge...
Andrew Bartlett [Mon, 20 Apr 2009 15:19:45 +0000 (17:19 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba into libcli-auth-merge-without-netlogond

15 years agoAdded ability to revert to old modules for make revert.
John H Terpstra [Mon, 20 Apr 2009 15:10:20 +0000 (10:10 -0500)]
Added ability to revert to old modules for make revert.

15 years agoFix to use modified cli_rpc_pipe_open_schannel_with_key API
Andrew Bartlett [Mon, 20 Apr 2009 15:04:33 +0000 (17:04 +0200)]
Fix to use modified cli_rpc_pipe_open_schannel_with_key API

15 years agoMerge commit 'origin/master' into libcli-auth-merge-without-netlogond
Andrew Bartlett [Mon, 20 Apr 2009 14:53:02 +0000 (16:53 +0200)]
Merge commit 'origin/master' into libcli-auth-merge-without-netlogond

15 years agoDo not vasprint stuff where not necessary
Volker Lendecke [Mon, 20 Apr 2009 14:50:14 +0000 (16:50 +0200)]
Do not vasprint stuff where not necessary

15 years agoRemove use of talloc_reference in cli_rpc_pipe_open_schannel_with_key()
Andrew Bartlett [Mon, 20 Apr 2009 14:50:49 +0000 (16:50 +0200)]
Remove use of talloc_reference in cli_rpc_pipe_open_schannel_with_key()

15 years agoMove syslog check out of m4 library file into configure.in
Jelmer Vernooij [Mon, 20 Apr 2009 14:22:44 +0000 (16:22 +0200)]
Move syslog check out of m4 library file into configure.in

15 years agoError out at runtime when seteuid/setresuid or setegid/setresgid are not
Jelmer Vernooij [Mon, 20 Apr 2009 13:54:02 +0000 (15:54 +0200)]
Error out at runtime when seteuid/setresuid or setegid/setresgid are not
available. This means it's possible to compile libreplace when these
functions are not available and use it, as long as this particular
function is not used.

15 years agoOnly define waitpid replacement if wait4 is available. (It isn't on
Jelmer Vernooij [Mon, 20 Apr 2009 13:47:19 +0000 (15:47 +0200)]
Only define waitpid replacement if wait4 is available. (It isn't on
Windows.)

15 years agoCope with the fact that only _mkdir() exists on Windows and that it
Jelmer Vernooij [Mon, 20 Apr 2009 13:39:48 +0000 (15:39 +0200)]
Cope with the fact that only _mkdir() exists on Windows and that it
doesn't take a mode argument.

15 years agoMove check for syslog out of libreplace to source3/ and source4/.
Jelmer Vernooij [Mon, 20 Apr 2009 13:21:39 +0000 (15:21 +0200)]
Move check for syslog out of libreplace to source3/ and source4/.

This should help compiling talloc on Windows.

15 years agoReproduce a bug with a custom GET_REAL_FILENAME
Volker Lendecke [Fri, 17 Apr 2009 13:08:40 +0000 (15:08 +0200)]
Reproduce a bug with a custom GET_REAL_FILENAME

15 years agos4:selftest: ignore smb2.lease test for now
Stefan Metzmacher [Mon, 20 Apr 2009 13:05:34 +0000 (15:05 +0200)]
s4:selftest: ignore smb2.lease test for now

metze

15 years agoAdd a unit test for security_descriptor.as_sddl() without arguments.
Jelmer Vernooij [Mon, 20 Apr 2009 13:10:17 +0000 (15:10 +0200)]
Add a unit test for security_descriptor.as_sddl() without arguments.

15 years agoMake domain sid argument to as_sddl() optional.
Jelmer Vernooij [Mon, 20 Apr 2009 13:03:21 +0000 (15:03 +0200)]
Make domain sid argument to as_sddl() optional.

15 years agoDo not use the file system GET_REAL_FILENAME for mangled names
Volker Lendecke [Wed, 15 Apr 2009 11:01:09 +0000 (13:01 +0200)]
Do not use the file system GET_REAL_FILENAME for mangled names

15 years agolibcli/auth Ensure we cancel the transaction when schannel not detected
Andrew Bartlett [Mon, 20 Apr 2009 11:55:04 +0000 (13:55 +0200)]
libcli/auth Ensure we cancel the transaction when schannel not detected

(found by jra on code review)

Andrew Bartlett

15 years agoEnsure we have all the definitions needed in both threaded and non-threaded versions.
Jeremy Allison [Mon, 20 Apr 2009 11:25:26 +0000 (04:25 -0700)]
Ensure we have all the definitions needed in both threaded and non-threaded versions.
Jeremy.

15 years agoFix warning in use of talloc_set_name.
Jeremy Allison [Mon, 20 Apr 2009 11:05:12 +0000 (04:05 -0700)]
Fix warning in use of talloc_set_name.
Jeremy.

15 years agoAttempt to fix build farm on platforms where pthread_once_t is a struct.
Jeremy Allison [Mon, 20 Apr 2009 11:00:06 +0000 (04:00 -0700)]
Attempt to fix build farm on platforms where pthread_once_t is a struct.
Jeremy.

15 years agoFix the pthread_once initialization issue. Make talloc_stackframe use
Jeremy Allison [Mon, 20 Apr 2009 10:04:42 +0000 (03:04 -0700)]
Fix the pthread_once initialization issue. Make talloc_stackframe use
this.
Jeremy.

15 years agos3:ntlmssp Remove use of talloc(NULL) in NTLMSSP code
Andrew Bartlett [Mon, 20 Apr 2009 09:55:49 +0000 (11:55 +0200)]
s3:ntlmssp Remove use of talloc(NULL) in NTLMSSP code