ira/wip.git
13 years agos3-srvsvc-idl: fix srvsvc_NetCharDevQEnum.
Günther Deschner [Thu, 30 Oct 2008 15:48:26 +0000 (16:48 +0100)]
s3-srvsvc-idl: fix srvsvc_NetCharDevQEnum.

Guenther

13 years agos3-srvsvc-idl: fix srvsvc_NetCharDevEnum.
Günther Deschner [Thu, 30 Oct 2008 15:20:51 +0000 (16:20 +0100)]
s3-srvsvc-idl: fix srvsvc_NetCharDevEnum.

Guenther

13 years agos3-srvsvc-idl: add missing field to srvsvc_SrvInfo402/403.
Günther Deschner [Thu, 30 Oct 2008 15:14:07 +0000 (16:14 +0100)]
s3-srvsvc-idl: add missing field to srvsvc_SrvInfo402/403.

Guenther

13 years agos3-srvsvc-idl: merge STR_LEN4 removal from s4.
Günther Deschner [Thu, 30 Oct 2008 10:07:24 +0000 (11:07 +0100)]
s3-srvsvc-idl: merge STR_LEN4 removal from s4.

Guenther

13 years agoStart moving us closer to passing S4 RAW-ACL test using the vfs_acl_xattr module...
Jeremy Allison [Thu, 30 Oct 2008 23:13:03 +0000 (16:13 -0700)]
Start moving us closer to passing S4 RAW-ACL test using the vfs_acl_xattr module. Inheritance fails at the moment though.
Jeremy.

13 years agoDon't create LanMan Directory Replication Service key (bug 4934).
Jelmer Vernooij [Thu, 30 Oct 2008 22:39:38 +0000 (23:39 +0100)]
Don't create LanMan Directory Replication Service key (bug 4934).

13 years agoMerge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Thu, 30 Oct 2008 22:29:14 +0000 (23:29 +0100)]
Merge branch 'master' of git://git.samba.org/samba

13 years agoFix building of SWIG files from merged build.
Jelmer Vernooij [Thu, 30 Oct 2008 22:28:50 +0000 (23:28 +0100)]
Fix building of SWIG files from merged build.

13 years agoFix installation of Samba 4 during merged build.
Jelmer Vernooij [Thu, 30 Oct 2008 22:19:51 +0000 (23:19 +0100)]
Fix installation of Samba 4 during merged build.

13 years agoInherit Windows ACLs on a new directory.
Jeremy Allison [Thu, 30 Oct 2008 20:51:28 +0000 (13:51 -0700)]
Inherit Windows ACLs on a new directory.
Jeremy.

13 years agouse glibc sys/inotify.h header
Andrew Tridgell [Thu, 30 Oct 2008 19:30:04 +0000 (12:30 -0700)]
use glibc sys/inotify.h header

when we first added the inotify code glibc didn't have the inotify
functions yet. Now that it does we can use the official header and
avoid the asm/unistd.h syscall workaround

13 years agoFix Debian maintainers email address.
Jelmer Vernooij [Thu, 30 Oct 2008 16:19:19 +0000 (17:19 +0100)]
Fix Debian maintainers email address.

13 years agoRevert "Length comparison of the linearized version is not correct."
Simo Sorce [Thu, 30 Oct 2008 12:28:07 +0000 (08:28 -0400)]
Revert "Length comparison of the linearized version is not correct."

This reverts commit 753af36a3e194f645ec0b68a033199035e71c909.

13 years agouse glibc sys/inotify.h header
Andrew Tridgell [Thu, 30 Oct 2008 04:53:46 +0000 (15:53 +1100)]
use glibc sys/inotify.h header

when we first added the inotify code glibc didn't have the inotify
functions yet. Now that it does we can use the official header and
avoid the asm/unistd.h syscall workaround

13 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 30 Oct 2008 00:10:04 +0000 (17:10 -0700)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

13 years agoFix CID: 456 - resource leak on function exit.
Jeremy Allison [Thu, 30 Oct 2008 00:07:14 +0000 (17:07 -0700)]
Fix CID: 456 - resource leak on function exit.
Jeremy.

13 years agoFix CID 606 - failed to return -1 after socket() fail.
Jeremy Allison [Wed, 29 Oct 2008 23:43:19 +0000 (16:43 -0700)]
Fix CID 606 - failed to return -1 after socket() fail.
Jeremy.

13 years agoFix CID 574 - tidies up the code expression.
Jeremy Allison [Wed, 29 Oct 2008 23:28:57 +0000 (16:28 -0700)]
Fix CID 574 - tidies up the code expression.
Jeremy.

13 years agoCoverity fix CID: 592 - null deref (can't happen but doesn't hurt to be sure).
Jeremy Allison [Wed, 29 Oct 2008 23:02:45 +0000 (16:02 -0700)]
Coverity fix CID: 592 - null deref (can't happen but doesn't hurt to be sure).
Jeremy.

13 years agoCoverity fix #CID: 607 - resource leak on error path.
Jeremy Allison [Wed, 29 Oct 2008 22:55:45 +0000 (15:55 -0700)]
Coverity fix #CID: 607 - resource leak on error path.
Jeremy.

13 years agoLength comparison of the linearized version is not correct.
Simo Sorce [Wed, 29 Oct 2008 12:34:05 +0000 (08:34 -0400)]
Length comparison of the linearized version is not correct.
The linearized version is not casefolded so length might not match
and yet the strings be equivalent. This can happen if one component
is case-insensitive and a letter that have an uppercase version of
a multibyte character that differ in legth from the corresponding
lowercase one.

13 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Wed, 29 Oct 2008 20:27:59 +0000 (13:27 -0700)]
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

13 years agoAllow a new file to inherit the Windows ACL from its parent.
Jeremy Allison [Wed, 29 Oct 2008 20:27:14 +0000 (13:27 -0700)]
Allow a new file to inherit the Windows ACL from its parent.
Now to do the same for directories.
Jeremy.

13 years agos4-srvsvc-server: fix obvious level mismatch in dcesrv_srvsvc_NetShareAdd().
Günther Deschner [Wed, 29 Oct 2008 13:49:41 +0000 (14:49 +0100)]
s4-srvsvc-server: fix obvious level mismatch in dcesrv_srvsvc_NetShareAdd().

Guenther

13 years agowbinfo --sid-to-fullname
Volker Lendecke [Wed, 22 Oct 2008 09:21:31 +0000 (11:21 +0200)]
wbinfo --sid-to-fullname

Signed-off-by: Stefan Metzmacher <metze@samba.org>
13 years agowbcGetDisplayName
Volker Lendecke [Tue, 21 Oct 2008 15:11:29 +0000 (17:11 +0200)]
wbcGetDisplayName

Signed-off-by: Stefan Metzmacher <metze@samba.org>
13 years agos4-srvsvc-idl: adapt some more formating changes from s3 idl.
Günther Deschner [Wed, 29 Oct 2008 12:31:02 +0000 (13:31 +0100)]
s4-srvsvc-idl: adapt some more formating changes from s3 idl.

Guenther

13 years agos3-build: re-run make samba3-idl.
Günther Deschner [Wed, 29 Oct 2008 01:44:59 +0000 (02:44 +0100)]
s3-build: re-run make samba3-idl.

Guenther

13 years agonetlogon: merge netlogon.idl between s3 and s4.
Günther Deschner [Wed, 29 Oct 2008 00:42:05 +0000 (01:42 +0100)]
netlogon: merge netlogon.idl between s3 and s4.

Guenther

13 years agos4-netlogon: merge netr_ServerPasswordSet2 from s3 idl.
Günther Deschner [Wed, 29 Oct 2008 00:41:09 +0000 (01:41 +0100)]
s4-netlogon: merge netr_ServerPasswordSet2 from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_ServerPasswordSet from s3 idl.
Günther Deschner [Wed, 29 Oct 2008 00:34:49 +0000 (01:34 +0100)]
s4-netlogon: merge netr_ServerPasswordSet from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_ServerReqChallenge from s3 idl.
Günther Deschner [Wed, 29 Oct 2008 00:23:49 +0000 (01:23 +0100)]
s4-netlogon: merge netr_ServerReqChallenge from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_ServerAuthenticate{2,3} from s3 idl.
Günther Deschner [Wed, 29 Oct 2008 00:14:08 +0000 (01:14 +0100)]
s4-netlogon: merge netr_ServerAuthenticate{2,3} from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_DatabaseRedo from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 23:16:08 +0000 (00:16 +0100)]
s4-netlogon: merge netr_DatabaseRedo from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_DatabaseSync2 from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 23:07:12 +0000 (00:07 +0100)]
s4-netlogon: merge netr_DatabaseSync2 from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_DatabaseSync from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 22:13:58 +0000 (23:13 +0100)]
s4-netlogon: merge netr_DatabaseSync from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_LogonSamLogon{Ex,WithFlags} from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 18:03:50 +0000 (19:03 +0100)]
s4-netlogon: merge netr_LogonSamLogon{Ex,WithFlags} from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_AccountSync from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 01:37:43 +0000 (02:37 +0100)]
s4-netlogon: merge netr_AccountSync from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_AccountDeltas from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 01:34:02 +0000 (02:34 +0100)]
s4-netlogon: merge netr_AccountDeltas from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_DatabaseDeltas from s3 idl.
Günther Deschner [Mon, 27 Oct 2008 23:38:44 +0000 (00:38 +0100)]
s4-netlogon: merge netr_DatabaseDeltas from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_LogonGetDomainInfo from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 01:25:30 +0000 (02:25 +0100)]
s4-netlogon: merge netr_LogonGetDomainInfo from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_LogonControl2Ex from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 01:19:26 +0000 (02:19 +0100)]
s4-netlogon: merge netr_LogonControl2Ex from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_LogonControl2 from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 00:02:06 +0000 (01:02 +0100)]
s4-netlogon: merge netr_LogonControl2 from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_LogonControl from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 01:15:51 +0000 (02:15 +0100)]
s4-netlogon: merge netr_LogonControl from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_DsRGetDCName{Ex,Ex2} from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 00:43:06 +0000 (01:43 +0100)]
s4-netlogon: merge netr_DsRGetDCName{Ex,Ex2} from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_GetDcName from s3 idl.
Günther Deschner [Tue, 28 Oct 2008 00:27:12 +0000 (01:27 +0100)]
s4-netlogon: merge netr_GetDcName from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_GetAnyDCName from s3 idl (untested).
Günther Deschner [Tue, 28 Oct 2008 00:23:04 +0000 (01:23 +0100)]
s4-netlogon: merge netr_GetAnyDCName from s3 idl (untested).

Guenther

13 years agos4-netlogon: merge netr_DsRGetSiteName from s3 idl.
Günther Deschner [Mon, 27 Oct 2008 15:14:28 +0000 (16:14 +0100)]
s4-netlogon: merge netr_DsRGetSiteName from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_DsrEnumerateDomainTrusts from s3 idl.
Günther Deschner [Mon, 27 Oct 2008 15:07:33 +0000 (16:07 +0100)]
s4-netlogon: merge netr_DsrEnumerateDomainTrusts from s3 idl.

Guenther

13 years agos4-netlogon: merge netr_DsrGetDcSiteCoverageW from s3 idl.
Günther Deschner [Mon, 27 Oct 2008 13:58:28 +0000 (14:58 +0100)]
s4-netlogon: merge netr_DsrGetDcSiteCoverageW from s3 idl.

Guenther

13 years agos4-smbtorture: fix test_LogonUasLogoff.
Günther Deschner [Tue, 28 Oct 2008 14:19:05 +0000 (15:19 +0100)]
s4-smbtorture: fix test_LogonUasLogoff.

Guenther

13 years agos4-smbtorture: fix test_LogonUasLogon.
Günther Deschner [Tue, 28 Oct 2008 14:18:53 +0000 (15:18 +0100)]
s4-smbtorture: fix test_LogonUasLogon.

Guenther

13 years agos4-netlogon: merge misc stuff.
Günther Deschner [Tue, 28 Oct 2008 00:06:31 +0000 (01:06 +0100)]
s4-netlogon: merge misc stuff.

Guenther

13 years agoRAW-ACLS: test the behavior of NULL DACL vs. empty DACL
Stefan Metzmacher [Tue, 28 Oct 2008 16:14:53 +0000 (17:14 +0100)]
RAW-ACLS: test the behavior of NULL DACL vs. empty DACL

This is based on the torture test attached to bug 4284
by Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>.

metze

13 years agos4: ntvfs/posix: to set a DACL at open time SEC_DESC_DACL_PRESENT must be set
Stefan Metzmacher [Tue, 28 Oct 2008 16:13:21 +0000 (17:13 +0100)]
s4: ntvfs/posix: to set a DACL at open time SEC_DESC_DACL_PRESENT must be set

metze

13 years agos4: libcli/security: a NULL DACL allows access
Stefan Metzmacher [Tue, 28 Oct 2008 16:10:51 +0000 (17:10 +0100)]
s4: libcli/security: a NULL DACL allows access

This fixes bug 4284.

metze

13 years agos4: lsa-server: fix crash bugs related to [out,ref] ** changes
Stefan Metzmacher [Tue, 28 Oct 2008 11:21:44 +0000 (12:21 +0100)]
s4: lsa-server: fix crash bugs related to [out,ref] ** changes

metze

13 years agoselftest: move gdb_* and valgrind_* scripts to selftest/
Stefan Metzmacher [Tue, 28 Oct 2008 11:20:59 +0000 (12:20 +0100)]
selftest: move gdb_* and valgrind_* scripts to selftest/

metze

13 years agos4: import lorikeet-heimdal-200810271034
Stefan Metzmacher [Mon, 27 Oct 2008 10:35:07 +0000 (11:35 +0100)]
s4: import lorikeet-heimdal-200810271034

metze

13 years agonetapi: fix access bits in netapi.
Günther Deschner [Thu, 23 Oct 2008 23:57:28 +0000 (01:57 +0200)]
netapi: fix access bits in netapi.

Guenther

13 years agos3-netlogon: kill an fstring in rpc_server.
Günther Deschner [Mon, 27 Oct 2008 17:23:50 +0000 (18:23 +0100)]
s3-netlogon: kill an fstring in rpc_server.

Guenther

13 years agos4-lsa-server: remove merge leftover.
Günther Deschner [Mon, 27 Oct 2008 23:06:35 +0000 (00:06 +0100)]
s4-lsa-server: remove merge leftover.

Guenther

13 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Mon, 27 Oct 2008 22:41:48 +0000 (23:41 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

13 years agoFix definition of environ on Mac OS X (bugzilla: #5412).
Jelmer Vernooij [Mon, 27 Oct 2008 22:39:53 +0000 (23:39 +0100)]
Fix definition of environ on Mac OS X (bugzilla: #5412).

13 years agoFix duplicate inclusion of zlib.m4.
Jelmer Vernooij [Mon, 27 Oct 2008 22:34:23 +0000 (23:34 +0100)]
Fix duplicate inclusion of zlib.m4.

13 years agoRemove duplicate check for volatile, move all utime-checks to
Jelmer Vernooij [Mon, 27 Oct 2008 22:23:15 +0000 (23:23 +0100)]
Remove duplicate check for volatile, move all utime-checks to
libreplace.

13 years agos4-libnet: fix user and group enumeration functions after lsa changes.
Günther Deschner [Mon, 27 Oct 2008 20:46:50 +0000 (21:46 +0100)]
s4-libnet: fix user and group enumeration functions after lsa changes.

Guenther

13 years agoidl: share lsa.idl between s3 and s4.
Günther Deschner [Fri, 24 Oct 2008 13:17:49 +0000 (15:17 +0200)]
idl: share lsa.idl between s3 and s4.

Guenther

13 years agos4-lsa: merge lsa_QueryInfoPolicy/{2} from s3 lsa idl.
Günther Deschner [Fri, 24 Oct 2008 13:05:57 +0000 (15:05 +0200)]
s4-lsa: merge lsa_QueryInfoPolicy/{2} from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.
Günther Deschner [Fri, 24 Oct 2008 11:43:21 +0000 (13:43 +0200)]
s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.
Günther Deschner [Fri, 24 Oct 2008 00:01:16 +0000 (02:01 +0200)]
s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_QueryDomainInformationPolicy from s3 lsa idl.
Günther Deschner [Tue, 21 Oct 2008 11:03:49 +0000 (13:03 +0200)]
s4-lsa: merge lsa_QueryDomainInformationPolicy from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_QueryTrustedDomainInfoByName from s3 lsa idl.
Günther Deschner [Tue, 21 Oct 2008 08:23:14 +0000 (10:23 +0200)]
s4-lsa: merge lsa_QueryTrustedDomainInfoByName from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_QueryTrustedDomainInfo from s3 idl.
Günther Deschner [Tue, 21 Oct 2008 08:33:27 +0000 (10:33 +0200)]
s4-lsa: merge lsa_QueryTrustedDomainInfo from s3 idl.

Guenther

13 years agos4-lsa: merge lsa_QueryTrustedDomainInfoBySid from s3 lsa idl.
Günther Deschner [Tue, 21 Oct 2008 00:34:45 +0000 (02:34 +0200)]
s4-lsa: merge lsa_QueryTrustedDomainInfoBySid from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_LookupPrivName from s3 lsa idl.
Günther Deschner [Tue, 21 Oct 2008 00:24:07 +0000 (02:24 +0200)]
s4-lsa: merge lsa_LookupPrivName from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_EnumPrivsAccount from s3 lsa idl.
Günther Deschner [Tue, 21 Oct 2008 00:11:54 +0000 (02:11 +0200)]
s4-lsa: merge lsa_EnumPrivsAccount from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_LookupPrivDisplayName from s3 lsa idl.
Günther Deschner [Mon, 20 Oct 2008 23:53:32 +0000 (01:53 +0200)]
s4-lsa: merge lsa_LookupPrivDisplayName from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_GetUserName from s3 lsa idl.
Günther Deschner [Mon, 20 Oct 2008 23:20:53 +0000 (01:20 +0200)]
s4-lsa: merge lsa_GetUserName from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_EnumTrustDom from s3 lsa idl.
Günther Deschner [Mon, 20 Oct 2008 21:12:04 +0000 (23:12 +0200)]
s4-lsa: merge lsa_EnumTrustDom from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_EnumAccounts from s3 lsa idl.
Günther Deschner [Mon, 20 Oct 2008 21:04:40 +0000 (23:04 +0200)]
s4-lsa: merge lsa_EnumAccounts from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_EnumPrivs from s3 lsa idl.
Günther Deschner [Mon, 20 Oct 2008 20:54:05 +0000 (22:54 +0200)]
s4-lsa: merge lsa_EnumPrivs from s3 lsa idl.

Guenther

13 years agos4-lsa: merge lsa_QuerySecurity from s3 lsa idl.
Günther Deschner [Mon, 20 Oct 2008 20:39:06 +0000 (22:39 +0200)]
s4-lsa: merge lsa_QuerySecurity from s3 lsa idl.

Guenther

13 years ago[s3]winbind: fix smbd hanging on Solaris when winbindd closes socket.
Michael Adam [Mon, 27 Oct 2008 13:28:44 +0000 (14:28 +0100)]
[s3]winbind: fix smbd hanging on Solaris when winbindd closes socket.

On some versions of Solaris, we observed a strange effect of close(2)
on a socket: After the server (here winbindd) called close, the client fd
was not marked as readable for select. And a write call to the fd did
not produce an error EPIPE but just returned as if successful.

So while winbindd had called remove_client(), the corresponding smbd
still thought that it was connected, but failed to retrieve answers
for its queries.

This patch works around the problem by forcing the client fd to
the readable state: Just write one byte into the socket before
closing.

Michael

13 years agos3-rpcclient: add getdcsitecoverage call.
Günther Deschner [Mon, 27 Oct 2008 13:25:03 +0000 (14:25 +0100)]
s3-rpcclient: add getdcsitecoverage call.

Guenther

13 years agos3-build: re-run make samba3-idl.
Günther Deschner [Mon, 27 Oct 2008 13:24:46 +0000 (14:24 +0100)]
s3-build: re-run make samba3-idl.

Guenther

13 years agos3-netlogon-idl: fix IDL for netr_DsrGetDcSiteCoverageW.
Günther Deschner [Mon, 27 Oct 2008 13:24:08 +0000 (14:24 +0100)]
s3-netlogon-idl: fix IDL for netr_DsrGetDcSiteCoverageW.

Guenther

13 years ago[s3]build: fix bug #5765 - fix installlibs on solaris by using portable "test -r"
Michael Adam [Mon, 27 Oct 2008 12:50:27 +0000 (13:50 +0100)]
[s3]build: fix bug #5765 - fix installlibs on solaris by using portable "test -r"

instead of test -e, which /bin/sh on solaris does not know.

Michael

13 years ago[s3]libsmbconf: add utility function smbconf_is_writeable_bystring()
Michael Adam [Fri, 24 Oct 2008 08:36:29 +0000 (10:36 +0200)]
[s3]libsmbconf: add utility function smbconf_is_writeable_bystring()

This checks the writeability of a config source specified by the
config source name.

Michael

13 years ago[s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable()
Michael Adam [Thu, 23 Oct 2008 09:16:50 +0000 (11:16 +0200)]
[s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable()

This allows for per-config-source checking of write support.

Michael

13 years ago[s3]libsmbconf: create text config in smbconftort
Michael Adam [Thu, 23 Oct 2008 22:00:20 +0000 (00:00 +0200)]
[s3]libsmbconf: create text config in smbconftort

Michael

13 years ago[s3]libsmbconf: return WERR_BADFILE when no path to text backend is provided.
Michael Adam [Thu, 23 Oct 2008 14:05:19 +0000 (16:05 +0200)]
[s3]libsmbconf: return WERR_BADFILE when no path to text backend is provided.

Michael

13 years ago[s3]libsmbconf: fall back to file backend when no valid backend was found
Michael Adam [Tue, 21 Oct 2008 21:20:57 +0000 (23:20 +0200)]
[s3]libsmbconf: fall back to file backend when no valid backend was found

Interpret the source string as a file name when it contains
a ':' sign but the initial part is not a known backend.
This might occur even implicitly when "%T" is used in an
include file name (even though this is not realistic..).

Michael

13 years ago[s3]libsmbconf: fix comment typo.
Michael Adam [Tue, 21 Oct 2008 21:20:31 +0000 (23:20 +0200)]
[s3]libsmbconf: fix comment typo.

Michael

13 years ago[s3]libsmbconf: add backend_requires_messaging() method to libsmbconf.
Michael Adam [Mon, 20 Oct 2008 21:52:02 +0000 (23:52 +0200)]
[s3]libsmbconf: add backend_requires_messaging() method to libsmbconf.

In a clustered environment, the registry backend needs messaging
to be set up since ctdb requires this.

Michael

13 years ago[s3]libsmbconf: remove unused define.
Michael Adam [Mon, 20 Oct 2008 14:10:54 +0000 (16:10 +0200)]
[s3]libsmbconf: remove unused define.

Michael

13 years ago[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it.
Michael Adam [Wed, 22 Oct 2008 22:48:34 +0000 (00:48 +0200)]
[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it.

Michael

13 years ago[s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.
Michael Adam [Tue, 21 Oct 2008 21:24:44 +0000 (23:24 +0200)]
[s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.

Use whole argument string in test_one_global_option(), not only first.

Michael

13 years ago[s3]pdbedit: remove unused variable.
Michael Adam [Thu, 23 Oct 2008 09:00:49 +0000 (11:00 +0200)]
[s3]pdbedit: remove unused variable.

Note: The change of commit r21962 (or fe962d2e48, aka f540c18b2)
that was partly lost in the SVN->git glue commit e5a951325a6
(aka 5c6c8e1fe93f34) is not needed any more since the handler
for option "-s" calls set_dyn_CONFIGFILE().

Michael

13 years ago[s3]build: fix bug #5677 - fix test_{shlibs,nss_modules,pam_modules} on Solaris
Michael Adam [Mon, 27 Oct 2008 11:59:11 +0000 (12:59 +0100)]
[s3]build: fix bug #5677 - fix test_{shlibs,nss_modules,pam_modules} on Solaris

and other systems where sh does not support "export FOO=bar"
by separating setting and exporting the variable.

Thanks to Yasuma Takeda <yasuma@osstech.co.jp> for the patch.

Michael