Günther Deschner [Mon, 27 Oct 2008 15:07:33 +0000 (16:07 +0100)]
s4-netlogon: merge netr_DsrEnumerateDomainTrusts from s3 idl.
Guenther
Günther Deschner [Mon, 27 Oct 2008 13:58:28 +0000 (14:58 +0100)]
s4-netlogon: merge netr_DsrGetDcSiteCoverageW from s3 idl.
Guenther
Günther Deschner [Tue, 28 Oct 2008 14:19:05 +0000 (15:19 +0100)]
s4-smbtorture: fix test_LogonUasLogoff.
Guenther
Günther Deschner [Tue, 28 Oct 2008 14:18:53 +0000 (15:18 +0100)]
s4-smbtorture: fix test_LogonUasLogon.
Guenther
Günther Deschner [Tue, 28 Oct 2008 00:06:31 +0000 (01:06 +0100)]
s4-netlogon: merge misc stuff.
Guenther
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
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
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
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
Stefan Metzmacher [Tue, 28 Oct 2008 11:20:59 +0000 (12:20 +0100)]
selftest: move gdb_* and valgrind_* scripts to selftest/
metze
Stefan Metzmacher [Mon, 27 Oct 2008 10:35:07 +0000 (11:35 +0100)]
s4: import lorikeet-heimdal-
200810271034
metze
Günther Deschner [Thu, 23 Oct 2008 23:57:28 +0000 (01:57 +0200)]
netapi: fix access bits in netapi.
Guenther
Günther Deschner [Mon, 27 Oct 2008 17:23:50 +0000 (18:23 +0100)]
s3-netlogon: kill an fstring in rpc_server.
Guenther
Günther Deschner [Mon, 27 Oct 2008 23:06:35 +0000 (00:06 +0100)]
s4-lsa-server: remove merge leftover.
Guenther
Jelmer Vernooij [Mon, 27 Oct 2008 22:41:48 +0000 (23:41 +0100)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Mon, 27 Oct 2008 22:39:53 +0000 (23:39 +0100)]
Fix definition of environ on Mac OS X (bugzilla: #5412).
Jelmer Vernooij [Mon, 27 Oct 2008 22:34:23 +0000 (23:34 +0100)]
Fix duplicate inclusion of zlib.m4.
Jelmer Vernooij [Mon, 27 Oct 2008 22:23:15 +0000 (23:23 +0100)]
Remove duplicate check for volatile, move all utime-checks to
libreplace.
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
Günther Deschner [Fri, 24 Oct 2008 13:17:49 +0000 (15:17 +0200)]
idl: share lsa.idl between s3 and s4.
Guenther
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
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
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
Günther Deschner [Tue, 21 Oct 2008 11:03:49 +0000 (13:03 +0200)]
s4-lsa: merge lsa_QueryDomainInformationPolicy from s3 lsa idl.
Guenther
Günther Deschner [Tue, 21 Oct 2008 08:23:14 +0000 (10:23 +0200)]
s4-lsa: merge lsa_QueryTrustedDomainInfoByName from s3 lsa idl.
Guenther
Günther Deschner [Tue, 21 Oct 2008 08:33:27 +0000 (10:33 +0200)]
s4-lsa: merge lsa_QueryTrustedDomainInfo from s3 idl.
Guenther
Günther Deschner [Tue, 21 Oct 2008 00:34:45 +0000 (02:34 +0200)]
s4-lsa: merge lsa_QueryTrustedDomainInfoBySid from s3 lsa idl.
Guenther
Günther Deschner [Tue, 21 Oct 2008 00:24:07 +0000 (02:24 +0200)]
s4-lsa: merge lsa_LookupPrivName from s3 lsa idl.
Guenther
Günther Deschner [Tue, 21 Oct 2008 00:11:54 +0000 (02:11 +0200)]
s4-lsa: merge lsa_EnumPrivsAccount from s3 lsa idl.
Guenther
Günther Deschner [Mon, 20 Oct 2008 23:53:32 +0000 (01:53 +0200)]
s4-lsa: merge lsa_LookupPrivDisplayName from s3 lsa idl.
Guenther
Günther Deschner [Mon, 20 Oct 2008 23:20:53 +0000 (01:20 +0200)]
s4-lsa: merge lsa_GetUserName from s3 lsa idl.
Guenther
Günther Deschner [Mon, 20 Oct 2008 21:12:04 +0000 (23:12 +0200)]
s4-lsa: merge lsa_EnumTrustDom from s3 lsa idl.
Guenther
Günther Deschner [Mon, 20 Oct 2008 21:04:40 +0000 (23:04 +0200)]
s4-lsa: merge lsa_EnumAccounts from s3 lsa idl.
Guenther
Günther Deschner [Mon, 20 Oct 2008 20:54:05 +0000 (22:54 +0200)]
s4-lsa: merge lsa_EnumPrivs from s3 lsa idl.
Guenther
Günther Deschner [Mon, 20 Oct 2008 20:39:06 +0000 (22:39 +0200)]
s4-lsa: merge lsa_QuerySecurity from s3 lsa idl.
Guenther
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
Günther Deschner [Mon, 27 Oct 2008 13:25:03 +0000 (14:25 +0100)]
s3-rpcclient: add getdcsitecoverage call.
Guenther
Günther Deschner [Mon, 27 Oct 2008 13:24:46 +0000 (14:24 +0100)]
s3-build: re-run make samba3-idl.
Guenther
Günther Deschner [Mon, 27 Oct 2008 13:24:08 +0000 (14:24 +0100)]
s3-netlogon-idl: fix IDL for netr_DsrGetDcSiteCoverageW.
Guenther
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
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
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
Michael Adam [Thu, 23 Oct 2008 22:00:20 +0000 (00:00 +0200)]
[s3]libsmbconf: create text config in smbconftort
Michael
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
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
Michael Adam [Tue, 21 Oct 2008 21:20:31 +0000 (23:20 +0200)]
[s3]libsmbconf: fix comment typo.
Michael
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
Michael Adam [Mon, 20 Oct 2008 14:10:54 +0000 (16:10 +0200)]
[s3]libsmbconf: remove unused define.
Michael
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
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
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
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
Jelmer Vernooij [Sat, 25 Oct 2008 22:41:34 +0000 (00:41 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
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
Volker Lendecke [Sat, 25 Oct 2008 13:23:36 +0000 (15:23 +0200)]
Move the is_known_pipename check into np_open
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.
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
Volker Lendecke [Sat, 25 Oct 2008 10:09:58 +0000 (12:09 +0200)]
Remove "pipe_handle_offset" -- pipes now use "struct files_struct"
Jelmer Vernooij [Fri, 24 Oct 2008 16:15:09 +0000 (18:15 +0200)]
Remove another use of global_loadparm.
Jelmer Vernooij [Fri, 24 Oct 2008 16:06:57 +0000 (18:06 +0200)]
Fix includes.
Jelmer Vernooij [Fri, 24 Oct 2008 15:53:38 +0000 (17:53 +0200)]
Remove include/local.h and move defines to more appropriate places.
Jelmer Vernooij [Fri, 24 Oct 2008 15:27:36 +0000 (17:27 +0200)]
Fix installation of charset headers.
Jelmer Vernooij [Fri, 24 Oct 2008 14:52:25 +0000 (16:52 +0200)]
Fix the build.
Jelmer Vernooij [Fri, 24 Oct 2008 14:38:44 +0000 (16:38 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Fri, 24 Oct 2008 14:37:56 +0000 (16:37 +0200)]
Remove unused include param/param.h.
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
Jelmer Vernooij [Fri, 24 Oct 2008 14:12:14 +0000 (16:12 +0200)]
Remove more global_loadparm instances, fix syntax errors.
Jelmer Vernooij [Fri, 24 Oct 2008 14:05:15 +0000 (16:05 +0200)]
Revert Samba3 back to using its own charset handling code.
Jelmer Vernooij [Fri, 24 Oct 2008 14:00:43 +0000 (16:00 +0200)]
Add version of next_codepoint without iconv_convenience.
Jelmer Vernooij [Fri, 24 Oct 2008 13:45:13 +0000 (15:45 +0200)]
Remove use of global_loadparm in last Python script.
Jelmer Vernooij [Fri, 24 Oct 2008 13:30:43 +0000 (15:30 +0200)]
Regenerate SWIG files.
Jelmer Vernooij [Fri, 24 Oct 2008 13:00:09 +0000 (15:00 +0200)]
Remove access to global_loadparm from python module.
Jelmer Vernooij [Fri, 24 Oct 2008 12:57:55 +0000 (14:57 +0200)]
Mark global_loadparm as deprecated.
Jelmer Vernooij [Fri, 24 Oct 2008 12:57:03 +0000 (14:57 +0200)]
Remove more usages of global_loadparm.
Jelmer Vernooij [Fri, 24 Oct 2008 12:45:31 +0000 (14:45 +0200)]
Remove dependency of charset code on loadparm.
Jelmer Vernooij [Fri, 24 Oct 2008 12:31:16 +0000 (14:31 +0200)]
Remove more uses of global_loadparm.
Jelmer Vernooij [Fri, 24 Oct 2008 12:26:46 +0000 (14:26 +0200)]
Remove iconv_convenience argument from convert_string{,talloc}() but
make them wrappers around convert_string{,talloc}_convenience().
Jelmer Vernooij [Fri, 24 Oct 2008 11:22:12 +0000 (13:22 +0200)]
Remove a few more usages of global_loadparm.
Jelmer Vernooij [Fri, 24 Oct 2008 11:13:27 +0000 (13:13 +0200)]
Eliminate another instance of global_loadparm.
Jelmer Vernooij [Fri, 24 Oct 2008 02:39:09 +0000 (04:39 +0200)]
Avoid retrieving iconv convenience during loops.
Jelmer Vernooij [Fri, 24 Oct 2008 02:38:31 +0000 (04:38 +0200)]
Remove const so return value can be freed.
Jelmer Vernooij [Fri, 24 Oct 2008 02:19:08 +0000 (04:19 +0200)]
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Jelmer Vernooij [Fri, 24 Oct 2008 02:18:47 +0000 (04:18 +0200)]
Fix merged build paths.
Jelmer Vernooij [Fri, 24 Oct 2008 02:00:07 +0000 (04:00 +0200)]
Just hardcode workgroup to empty string, to avoid use of
global_loadparm.
Jelmer Vernooij [Fri, 24 Oct 2008 01:40:09 +0000 (03:40 +0200)]
Remove iconv_convenience parameter from simple string push/pull
functions.
Jelmer Vernooij [Fri, 24 Oct 2008 00:58:12 +0000 (02:58 +0200)]
Fix include path to pytalloc.
Jelmer Vernooij [Fri, 24 Oct 2008 00:52:51 +0000 (02:52 +0200)]
Move pytalloc to talloc directory.
Jelmer Vernooij [Fri, 24 Oct 2008 00:51:03 +0000 (02:51 +0200)]
Split up codepoints code, use consistent _m suffix.
Tim Prouty [Thu, 23 Oct 2008 23:35:53 +0000 (16:35 -0700)]
s3: fix simple "incompatible pointer type" build warning
Jelmer Vernooij [Thu, 23 Oct 2008 23:19:33 +0000 (01:19 +0200)]
Rename string_replace_w to string_replace_m, which is more correct.
Jelmer Vernooij [Thu, 23 Oct 2008 23:18:56 +0000 (01:18 +0200)]
Remove unnecessary include, improve function name.
Tim Prouty [Thu, 23 Oct 2008 20:41:44 +0000 (13:41 -0700)]
Fix "ndr_size_PAC_LOGON_INFO defined but not used" build warning
This patch removes the gensize option from krb5pac.idl because it
generates an unused function that has been causing warnings during the
s3 build. I re-ran 'make samba3-idl' to update the generated files
for s3. For s4 I ran a full build with no problems.
Günther Deschner [Thu, 23 Oct 2008 22:05:05 +0000 (00:05 +0200)]
netapi: make sure to always cleanup after testing NetUser calls.
Guenther
Jelmer Vernooij [Thu, 23 Oct 2008 22:06:35 +0000 (00:06 +0200)]
Move charset library to top level.
Günther Deschner [Thu, 23 Oct 2008 21:13:09 +0000 (23:13 +0200)]
netapi: add more group tests to netapitest.
Guenther
Günther Deschner [Thu, 23 Oct 2008 21:11:50 +0000 (23:11 +0200)]
s3-samr-server: return NT_STATUS_NOT_SUPPORTED for group rename.
Guenther
Günther Deschner [Thu, 23 Oct 2008 20:26:21 +0000 (22:26 +0200)]
s3-samr-server: remove unused historic code.
Guenther
Günther Deschner [Thu, 23 Oct 2008 18:43:11 +0000 (20:43 +0200)]
svcctl: move some non-rpc related bits out of rpc_svcctl.h.
Guenther
Jelmer Vernooij [Thu, 23 Oct 2008 21:21:16 +0000 (23:21 +0200)]
Merge branch 'master' of git://git.samba.org/samba
Jelmer Vernooij [Thu, 23 Oct 2008 21:20:50 +0000 (23:20 +0200)]
Fix prototype for set_sockaddr_port.