summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2008-10-28s3-netlogon: kill an fstring in rpc_server.Günther Deschner1-6/+3
Guenther
2008-10-27s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.Günther Deschner1-3/+5
Guenther
2008-10-25Add proxied named pipe supportVolker Lendecke1-28/+144
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 Lendecke1-0/+6
2008-10-25Remove "pipe_handle_offset" -- pipes now use "struct files_struct"Volker Lendecke1-16/+0
2008-10-24s3-samr-server: return NT_STATUS_NOT_SUPPORTED for group rename.Günther Deschner1-0/+3
Guenther
2008-10-24s3-samr-server: remove unused historic code.Günther Deschner1-60/+0
Guenther
2008-10-23Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij1-2/+2
otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
2008-10-23Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTSJelmer Vernooij2-2/+2
previously present in Samba 3.
2008-10-23Use common error definitions.Jelmer Vernooij1-1/+0
2008-10-23s3-samr-server: unify callback convention: _samr_UserSetInfo.Günther Deschner1-34/+19
Guenther
2008-10-23s3-samr-server: unify callback convention: _samr_QueryDomainInfo.Günther Deschner1-32/+18
Guenther
2008-10-23s3-samr-server: fix return code in _samr_QueryDisplayInformation.Günther Deschner1-1/+1
Guenther
2008-10-23s3-samr-server: _samr_DeleteUser needs to wipe out the user_handle on success.Günther Deschner1-0/+2
Guenther
2008-10-22s3-samr-server: fix access check in _samr_QuerySecurity().Günther Deschner1-1/+1
Guenther
2008-10-22s3: use shared asn1 code.Günther Deschner1-1/+1
Guenther
2008-10-21Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.Jeremy Allison1-5/+59
Jeremy.
2008-10-21s3-build: fix the build.Günther Deschner1-2/+2
Guenther
2008-10-21s3-lsa-server: fix _lsa_GetUserName.Günther Deschner1-8/+21
Guenther
2008-10-20Remove the requirement for ldap call made as root. Add in securityJeremy Allison1-4/+63
checks for all SAMR calls. Jeremy.
2008-10-20s3-samr-server: be consistent when reporting we do password complexity.Günther Deschner1-0/+4
Guenther
2008-10-20s3-build: no need to duplicate generated srv_ prototypes.Günther Deschner3-0/+3
Guenther
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-1/+1
2008-10-17Unify access checks for lsa server functions.Jeremy Allison1-4/+17
Jeremy.
2008-10-16s3: use IDL generated rpc for _svcctl_QueryServiceConfigW.Günther Deschner2-39/+19
Guenther
2008-10-15s3: fix s3 winreg server after idl changes.Günther Deschner1-8/+8
Guenther
2008-10-15s3: fix s3 lsa server.Günther Deschner1-2/+2
Guenther
2008-10-15s3: fix various samr callers.Günther Deschner1-14/+14
Guenther
2008-10-15Rename reboot -> do_reboot since the first is a reserved name on FreeBSD.Jelmer Vernooij2-4/+4
2008-10-15Merge branch 'master' of git://git.samba.org/sambaJelmer Vernooij1-5/+5
2008-10-15s3: fix samlogon client and server calls.Günther Deschner1-5/+5
Guenther
2008-10-15Share initshutdown.idl.Jelmer Vernooij2-6/+6
2008-10-14Use GUID_string rather than smb_uuid_string().Jelmer Vernooij1-1/+1
2008-10-13Remove the current_spoolss_pipes_open thingy.Volker Lendecke1-17/+0
I looked at a checkout from 2002 and even there it did not what it was supposed to do. Sadly this also removes one of the nicest comments in the whole Samba code :-)
2008-10-13Make the internal pipe functions staticVolker Lendecke1-8/+8
2008-10-13Remove smb_np_structVolker Lendecke1-303/+0
2008-10-13Use "struct files_struct" for pipes instead of smb_np_structVolker Lendecke1-3/+95
2008-10-13Pass struct smb_request to file_freeVolker Lendecke1-4/+4
on the way to get rid of chain_fsp
2008-10-13Add data_blob_string_const_null() function that includes the terminatingJelmer Vernooij1-2/+2
null byte and use it in Samba 3. This matches the behaviour prior to my data_blob changes.
2008-10-12Use common util_file code.Jelmer Vernooij1-9/+9
2008-10-12Revert "Make get_rpc_pipe() static"Volker Lendecke1-3/+1
This reverts commit f25972832ec9d5a130da9dc060f4c3ed35bda7db.
2008-10-12Make get_rpc_pipe() staticVolker Lendecke1-1/+3
2008-10-12Remove unused #definesVolker Lendecke1-3/+0
2008-10-12Use common strlist implementation in Samba 3 and Samba 4.Jelmer Vernooij1-1/+1
2008-10-09Remove SEC_ACCESS. It's a uint32_t.Jeremy Allison3-22/+16
Jeremy.
2008-10-08For the vfs_acl_xattr.c module, make sure we map GENERIC file and directory bitsJeremy Allison1-2/+24
to specific bits every time a security descriptor is set. The S4 torture suite proves that generic bits are not returned when querying an ACL set using them (ie. only the specific bits are stored on disk). Jeremy.
2008-09-26s3-srvsvc: fix _srvsvc_NetShareAdd segfault.Günther Deschner1-1/+3
parm_err is not a ref pointer. Guenther
2008-08-22rpc_server: make it a little more obvious what flags we send to a client.Günther Deschner1-1/+10
Guenther (This used to be commit f3791e03ab09cadb1f54e32e67f4dfb3cf42e708)
2008-08-14Fix coverity CID: 594. Resource leak on error path.Jeremy Allison1-2/+4
Jeremy. (This used to be commit 1f38b9963c4ec0d73da496a72ba4ee74d8d581c9)
2008-07-30Fix duplicate gloabl warning.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 6da33797b0549a2da7dc0fa7ee21dc5e8a6b1459)