summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2008-11-20Second part of fix for bug #5891 - smbd crashed when viewing the eventlog ↵Jeremy Allison1-5/+3
exported by "eventlog list". Don't leak memory on error paths. Jeremy.
2008-11-20s3-eventlog: remove trailing whitespace.Günther Deschner1-44/+44
Guenther
2008-11-20s3-eventlog: avoid passing down full prs_struct in eventlog server.Günther Deschner1-10/+10
Guenther
2008-11-20eventlog: don't crash in sync_eventlog_params().Michael Adam1-1/+1
When freeing the talloc ctx at the end of the routine, it must be a talloc ctx created inside. talloc_tos() needs to be valid after the function finishes, since callers (may) have data attached to it. Michael Signed-off-by: Günther Deschner <gd@samba.org>
2008-11-19This code mixes up int and uint32 when pulling out of a TDB. This is very ↵Jeremy Allison2-24/+26
bad. Fixing... May fix bug #5891, not sure. Jeremy.
2008-11-19s3-ntsvcs: use pidl for _PNP_GetDeviceRegProp.Günther Deschner2-38/+23
Guenther
2008-11-17Fix build warning introduced by making SERVICE_CONTROL an enumTim Prouty1-4/+2
2008-11-15s3-spoolss: fix enumports segfault (another malloc vs. talloc candidate).Günther Deschner1-3/+3
Guenther
2008-11-13s3-svctl-server: fix remote rpc service management (bug #5888).Günther Deschner1-1/+1
Don't TALLOC_FREE a non-talloced [ref] pointer. Guenther
2008-11-11Fix bug 5891] : smbd crashed when viewing the eventlog exported by "eventlog ↵Jeremy Allison1-1/+1
list" Don't mix TALLOC and SAFE_FREE(). Jeremy.
2008-11-10s3-samr-idl: cleanup.Günther Deschner1-0/+3
Guenther
2008-11-06For proxied named pipes, connect to np/<pipe_name> and send auth infoVolker Lendecke1-2/+107
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2008-11-06s3: rpc: let serverinfo_to_SamInfo3() work with no pipe_session_keyStefan Metzmacher1-1/+1
metze
2008-11-01Apply some const to np_write()Volker Lendecke1-1/+1
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij3-16/+16
2008-10-31s3-samr: remove duplicate copies of Alias Object specific access rights.Günther Deschner1-5/+5
Guenther
2008-10-31s3-samr: remove duplicate copies of Group Object specific access rights.Günther Deschner1-5/+5
Guenther
2008-10-31s3-samr: remove duplicate copies of Domain Object specific access rights.Günther Deschner1-18/+18
Guenther
2008-10-31s3-samr: remove duplicate copies of SAM user specific access rights.Günther Deschner1-13/+13
Guenther
2008-10-31s3-samr: remove duplicate copies of SAM server specific access rights.Günther Deschner1-7/+7
Guenther
2008-10-31Unify se_access_check with the S4 code. Will makeJeremy Allison4-14/+13
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
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