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

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

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

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

15 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

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

15 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

15 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>
15 years agowbcGetDisplayName
Volker Lendecke [Tue, 21 Oct 2008 15:11:29 +0000 (17:11 +0200)]
wbcGetDisplayName

Signed-off-by: Stefan Metzmacher <metze@samba.org>
15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

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

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

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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 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

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Sat, 25 Oct 2008 22:41:34 +0000 (00:41 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agoAdd proxied named pipe support
Volker Lendecke [Sat, 25 Oct 2008 13:37:13 +0000 (15:37 +0200)]
Add proxied named pipe support

This is a central piece of the "merged build" thing: Forward named pipes from
samba3 to samba4. This patch is not finished yet, as we will have to forward
the smb-level authentication information to samba4, but I'm pushing this patch
already to demonstrate the implementation without clutter.

It adds an intermediate parameter

np:proxy = srvsvc samr winreg wkssvc ... and so on

that states which of the pipes should be forwarded to the s4 unix domain socket
DEFAULT. The parameter is intermediate because once we have a proper endpoint
mapper implementation, this information will be retrieved out of a database.

If anybody wants to try this, do the merged build and configure s4 with

server services = samba3_smb, rpc, nbt, wrepl, ldap, cldap, kdc, drepl
samba3:smbd = /data/inst/sbin/smbd

and s3 with

auth methods = guest netlogond
np:proxy = srvsvc samr winreg wkssvc netlogon ntlsa ntsvcs lsass lsarpc netdfs \
rpcecho initshutdown epmapper svcctl eventlog drsuapi

Then run rpcclient against samba4. It will fork s3, which authenticates against
s4, and then forwards the rpc requests to s4.

Volker

15 years agoMove the is_known_pipename check into np_open
Volker Lendecke [Sat, 25 Oct 2008 13:23:36 +0000 (15:23 +0200)]
Move the is_known_pipename check into np_open

15 years agoAdd str_list_check[_ci] to s3's proto.h
Volker Lendecke [Sat, 25 Oct 2008 11:50:25 +0000 (13:50 +0200)]
Add str_list_check[_ci] to s3's proto.h

Jelmer, when I include lib/util/util.h into some s3 file I get errors, this is
why I put those prototypes here as a workaround. Might be fixed differently
later.

15 years agoFix "make etags" -- the args list gets really long for s4 with the prefix
Volker Lendecke [Sat, 25 Oct 2008 11:33:21 +0000 (13:33 +0200)]
Fix "make etags" -- the args list gets really long for s4 with the prefix

15 years agoRemove "pipe_handle_offset" -- pipes now use "struct files_struct"
Volker Lendecke [Sat, 25 Oct 2008 10:09:58 +0000 (12:09 +0200)]
Remove "pipe_handle_offset" -- pipes now use "struct files_struct"

15 years agoRemove another use of global_loadparm.
Jelmer Vernooij [Fri, 24 Oct 2008 16:15:09 +0000 (18:15 +0200)]
Remove another use of global_loadparm.

15 years agoFix includes.
Jelmer Vernooij [Fri, 24 Oct 2008 16:06:57 +0000 (18:06 +0200)]
Fix includes.

15 years agoRemove include/local.h and move defines to more appropriate places.
Jelmer Vernooij [Fri, 24 Oct 2008 15:53:38 +0000 (17:53 +0200)]
Remove include/local.h and move defines to more appropriate places.

15 years agoFix installation of charset headers.
Jelmer Vernooij [Fri, 24 Oct 2008 15:27:36 +0000 (17:27 +0200)]
Fix installation of charset headers.

15 years agoFix the build.
Jelmer Vernooij [Fri, 24 Oct 2008 14:52:25 +0000 (16:52 +0200)]
Fix the build.

15 years agoMerge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Fri, 24 Oct 2008 14:38:44 +0000 (16:38 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba

15 years agoRemove unused include param/param.h.
Jelmer Vernooij [Fri, 24 Oct 2008 14:37:56 +0000 (16:37 +0200)]
Remove unused include param/param.h.

15 years agoError return is False, not -1
Derrell Lipman [Fri, 24 Oct 2008 14:26:56 +0000 (10:26 -0400)]
Error return is False, not -1

- There were a few places in SMBC_getatr() that returned -1 instead of a
  boolean.  -1 was intended to mean error, but that's what False is for, and
  the usages of this function assume that it returns a boolean with False as
  the error condition.

Derrell

15 years agoRemove more global_loadparm instances, fix syntax errors.
Jelmer Vernooij [Fri, 24 Oct 2008 14:12:14 +0000 (16:12 +0200)]
Remove more global_loadparm instances, fix syntax errors.

15 years agoRevert Samba3 back to using its own charset handling code.
Jelmer Vernooij [Fri, 24 Oct 2008 14:05:15 +0000 (16:05 +0200)]
Revert Samba3 back to using its own charset handling code.

15 years agoAdd version of next_codepoint without iconv_convenience.
Jelmer Vernooij [Fri, 24 Oct 2008 14:00:43 +0000 (16:00 +0200)]
Add version of next_codepoint without iconv_convenience.