summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* use glibc sys/inotify.h headerAndrew Tridgell2008-10-302-2/+6
| | | | | | 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
* Fix CID: 456 - resource leak on function exit.Jeremy Allison2008-10-291-0/+13
| | | | Jeremy.
* Fix CID 606 - failed to return -1 after socket() fail.Jeremy Allison2008-10-291-0/+1
| | | | Jeremy.
* Fix CID 574 - tidies up the code expression.Jeremy Allison2008-10-291-2/+2
| | | | Jeremy.
* Coverity fix CID: 592 - null deref (can't happen but doesn't hurt to be sure).Jeremy Allison2008-10-291-1/+1
| | | | Jeremy.
* Coverity fix #CID: 607 - resource leak on error path.Jeremy Allison2008-10-291-0/+1
| | | | Jeremy.
* Allow a new file to inherit the Windows ACL from its parent.Jeremy Allison2008-10-294-150/+319
| | | | | Now to do the same for directories. Jeremy.
* wbinfo --sid-to-fullnameVolker Lendecke2008-10-291-1/+41
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* wbcGetDisplayNameVolker Lendecke2008-10-292-0/+49
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-build: re-run make samba3-idl.Günther Deschner2008-10-296-59/+157
| | | | Guenther
* netlogon: merge netlogon.idl between s3 and s4.Günther Deschner2008-10-292-1475/+1
| | | | Guenther
* s4-netlogon: merge netr_ServerAuthenticate{2,3} from s3 idl.Günther Deschner2008-10-291-1/+2
| | | | Guenther
* s4-netlogon: merge netr_DatabaseSync2 from s3 idl.Günther Deschner2008-10-291-1/+1
| | | | Guenther
* s4-netlogon: merge netr_DatabaseSync from s3 idl.Günther Deschner2008-10-291-3/+3
| | | | Guenther
* s4-netlogon: merge netr_LogonSamLogon{Ex,WithFlags} from s3 idl.Günther Deschner2008-10-291-1/+1
| | | | Guenther
* s4-smbtorture: fix test_LogonUasLogon.Günther Deschner2008-10-281-1/+1
| | | | Guenther
* s4-netlogon: merge misc stuff.Günther Deschner2008-10-281-2/+4
| | | | Guenther
* netapi: fix access bits in netapi.Günther Deschner2008-10-281-1/+1
| | | | Guenther
* s3-netlogon: kill an fstring in rpc_server.Günther Deschner2008-10-281-6/+3
| | | | Guenther
* Merge branch 'master' of ssh://git.samba.org/data/git/sambaJelmer Vernooij2008-10-275-1234/+10
|\
| * idl: share lsa.idl between s3 and s4.Günther Deschner2008-10-272-1217/+1
| | | | | | | | Guenther
| * s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.Günther Deschner2008-10-274-15/+10
| | | | | | | | Guenther
| * s4-lsa: merge lsa_LookupPrivName from s3 lsa idl.Günther Deschner2008-10-271-1/+1
| | | | | | | | Guenther
| * s4-lsa: merge lsa_EnumPrivsAccount from s3 lsa idl.Günther Deschner2008-10-271-1/+1
| | | | | | | | Guenther
| * s4-lsa: merge lsa_LookupPrivDisplayName from s3 lsa idl.Günther Deschner2008-10-271-1/+1
| | | | | | | | Guenther
| * s4-lsa: merge lsa_EnumTrustDom from s3 lsa idl.Günther Deschner2008-10-271-1/+1
| | | | | | | | Guenther
| * s4-lsa: merge lsa_EnumAccounts from s3 lsa idl.Günther Deschner2008-10-271-2/+1
| | | | | | | | Guenther
| * s4-lsa: merge lsa_EnumPrivs from s3 lsa idl.Günther Deschner2008-10-271-4/+4
| | | | | | | | Guenther
| * s4-lsa: merge lsa_QuerySecurity from s3 lsa idl.Günther Deschner2008-10-271-5/+3
| | | | | | | | Guenther
* | Fix definition of environ on Mac OS X (bugzilla: #5412).Jelmer Vernooij2008-10-271-1/+2
| |
* | Fix duplicate inclusion of zlib.m4.Jelmer Vernooij2008-10-271-1/+0
| |
* | Remove duplicate check for volatile, move all utime-checks toJelmer Vernooij2008-10-271-10/+2
|/ | | | libreplace.
* [s3]winbind: fix smbd hanging on Solaris when winbindd closes socket.Michael Adam2008-10-271-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
* s3-rpcclient: add getdcsitecoverage call.Günther Deschner2008-10-271-0/+38
| | | | Guenther
* s3-build: re-run make samba3-idl.Günther Deschner2008-10-275-7/+28
| | | | Guenther
* s3-netlogon-idl: fix IDL for netr_DsrGetDcSiteCoverageW.Günther Deschner2008-10-271-1/+1
| | | | Guenther
* [s3]build: fix bug #5765 - fix installlibs on solaris by using portable ↵Michael Adam2008-10-271-7/+7
| | | | | | | | "test -r" instead of test -e, which /bin/sh on solaris does not know. Michael
* [s3]libsmbconf: add utility function smbconf_is_writeable_bystring()Michael Adam2008-10-272-0/+27
| | | | | | | This checks the writeability of a config source specified by the config source name. Michael
* [s3]libsmbconf: add method is_writeable() and wrapper smbconf_is_writeable()Michael Adam2008-10-275-0/+29
| | | | | | This allows for per-config-source checking of write support. Michael
* [s3]libsmbconf: create text config in smbconftortMichael Adam2008-10-271-1/+38
| | | | Michael
* [s3]libsmbconf: return WERR_BADFILE when no path to text backend is provided.Michael Adam2008-10-271-1/+1
| | | | Michael
* [s3]libsmbconf: fall back to file backend when no valid backend was foundMichael Adam2008-10-271-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
* [s3]libsmbconf: fix comment typo.Michael Adam2008-10-271-1/+1
| | | | Michael
* [s3]libsmbconf: add backend_requires_messaging() method to libsmbconf.Michael Adam2008-10-275-0/+28
| | | | | | | In a clustered environment, the registry backend needs messaging to be set up since ctdb requires this. Michael
* [s3]libsmbconf: remove unused define.Michael Adam2008-10-271-3/+0
| | | | Michael
* [s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we have it.Michael Adam2008-10-271-1/+1
| | | | Michael
* [s3]test: fix testparm_s3 tests: don't create truncated smb.conf files.Michael Adam2008-10-271-1/+1
| | | | | | Use whole argument string in test_one_global_option(), not only first. Michael
* [s3]pdbedit: remove unused variable.Michael Adam2008-10-271-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
* [s3]build: fix bug #5677 - fix test_{shlibs,nss_modules,pam_modules} on SolarisMichael Adam2008-10-271-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
* Add proxied named pipe supportVolker Lendecke2008-10-252-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