summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-10-27[s3]winbind: fix smbd hanging on Solaris when winbindd closes socket.Michael Adam1-1/+6
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
2008-10-27s3-rpcclient: add getdcsitecoverage call.Günther Deschner1-0/+38
Guenther
2008-10-27s3-build: re-run make samba3-idl.Günther Deschner5-7/+28
Guenther
2008-10-27s3-netlogon-idl: fix IDL for netr_DsrGetDcSiteCoverageW.Günther Deschner1-1/+1
Guenther
2008-10-27[s3]build: fix bug #5765 - fix installlibs on solaris by using portable ↵Michael Adam1-7/+7
"test -r" instead of test -e, which /bin/sh on solaris does not know. Michael
2008-10-27[s3]libsmbconf: add utility function smbconf_is_writeable_bystring()Michael Adam2-0/+27
This checks the writeability of a config source specified by the config source name. Michael
2008-10-27[s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable()Michael Adam5-0/+29
This allows for per-config-source checking of write support. Michael
2008-10-27[s3]libsmbconf: create text config in smbconftortMichael Adam1-1/+38
Michael
2008-10-27[s3]libsmbconf: return WERR_BADFILE when no path to text backend is provided.Michael Adam1-1/+1
Michael
2008-10-27[s3]libsmbconf: fall back to file backend when no valid backend was foundMichael Adam1-4/+5
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
2008-10-27[s3]libsmbconf: fix comment typo.Michael Adam1-1/+1
Michael
2008-10-27[s3]libsmbconf: add backend_requires_messaging() method to libsmbconf.Michael Adam5-0/+28
In a clustered environment, the registry backend needs messaging to be set up since ctdb requires this. Michael
2008-10-27[s3]libsmbconf: remove unused define.Michael Adam1-3/+0
Michael
2008-10-27[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it.Michael Adam1-1/+1
Michael
2008-10-27[s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.Michael Adam1-1/+1
Use whole argument string in test_one_global_option(), not only first. Michael
2008-10-27[s3]pdbedit: remove unused variable.Michael Adam1-4/+0
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
2008-10-27[s3]build: fix bug #5677 - fix test_{shlibs,nss_modules,pam_modules} on SolarisMichael Adam1-3/+6
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
2008-10-26Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij7-68/+194
2008-10-25Add proxied named pipe supportVolker Lendecke2-29/+146
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
2008-10-25Move the is_known_pipename check into np_openVolker Lendecke3-21/+16
2008-10-25Add str_list_check[_ci] to s3's proto.hVolker Lendecke1-0/+3
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.
2008-10-25Fix "make etags" -- the args list gets really long for s4 with the prefixVolker Lendecke1-1/+34
2008-10-25Remove "pipe_handle_offset" -- pipes now use "struct files_struct"Volker Lendecke3-22/+0
2008-10-24Remove another use of global_loadparm.Jelmer Vernooij2-9/+10
2008-10-24Fix includes.Jelmer Vernooij2-0/+2
2008-10-24Remove include/local.h and move defines to more appropriate places.Jelmer Vernooij6-59/+35
2008-10-24Fix installation of charset headers.Jelmer Vernooij1-1/+1
2008-10-24Fix the build.Jelmer Vernooij2-2/+3
2008-10-24Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij1-3/+3
2008-10-24Remove unused include param/param.h.Jelmer Vernooij79-87/+11
2008-10-24Error return is False, not -1Derrell Lipman1-3/+3
- 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
2008-10-24Remove more global_loadparm instances, fix syntax errors.Jelmer Vernooij3-9/+9
2008-10-24Revert Samba3 back to using its own charset handling code.Jelmer Vernooij1-1/+1
2008-10-24Add version of next_codepoint without iconv_convenience.Jelmer Vernooij9-31/+37
2008-10-24Remove use of global_loadparm in last Python script.Jelmer Vernooij1-2/+0
2008-10-24Regenerate SWIG files.Jelmer Vernooij4-33/+6
2008-10-24Remove access to global_loadparm from python module.Jelmer Vernooij1-3/+0
2008-10-24Mark global_loadparm as deprecated.Jelmer Vernooij1-1/+1
2008-10-24Remove more usages of global_loadparm.Jelmer Vernooij7-27/+50
2008-10-24Remove dependency of charset code on loadparm.Jelmer Vernooij3-3/+7
2008-10-24Remove more uses of global_loadparm.Jelmer Vernooij3-11/+7
2008-10-24Remove iconv_convenience argument from convert_string{,talloc}() butJelmer Vernooij24-73/+109
make them wrappers around convert_string{,talloc}_convenience().
2008-10-24Remove a few more usages of global_loadparm.Jelmer Vernooij4-7/+7
2008-10-24Eliminate another instance of global_loadparm.Jelmer Vernooij31-46/+109
2008-10-24Avoid retrieving iconv convenience during loops.Jelmer Vernooij1-11/+15
2008-10-24Remove const so return value can be freed.Jelmer Vernooij2-10/+10
2008-10-24Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij12-96/+281
2008-10-24Fix merged build paths.Jelmer Vernooij2-2/+2
2008-10-24Just hardcode workgroup to empty string, to avoid use ofJelmer Vernooij1-4/+3
global_loadparm.
2008-10-24Remove iconv_convenience parameter from simple string push/pullJelmer Vernooij26-401/+392
functions.