summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2008-12-05s3-samr: fix init_samr_user_info2{1,3,5} callers.Günther Deschner1-1/+1
Guenther
2008-12-03s3: Change SMB_VFS_CREATE_FILE to take a create_file_flags argumentTim Prouty1-2/+2
This replaces the is_dos_path bool with a more future-proof argument. The next step is to plumb INTERNAL_OPEN_ONLY through this flag instead of overridding the oplock_request.
2008-12-03s3: Add new "is_dos_path" argument to SMB_VFS_CREATE_FILETim Prouty1-0/+2
Now unix paths can be differentiated from windows paths so the underlying create_file implementations can convert paths correctly.
2008-12-03s3: Add SMB_VFS_CREATE_FILE to the vfs layerTim Prouty1-2/+2
Modify all callers of create_file to go through SMB_VFS_CREATE_FILE
2008-12-02s3-samr: simplify _samr_QueryUserInfo a lot and fix some few potential memleaks.Günther Deschner1-167/+37
Guenther
2008-12-02s3-samr: fix samr_SetUserInfo{2} level 23.Günther Deschner1-16/+21
Do not just start decoding/setting passwords when fields_present do not indicate there is a password to be set. Guenther
2008-12-02s3-samr: _samr_EnumDomainUsers always returns a sam array (even w/o users).Günther Deschner1-1/+1
Guenther
2008-12-02s3-samr: refuse do process UserSetInfo with 0 fields_present.Günther Deschner1-0/+12
Guenther
2008-12-02s3-samr: use samr_DomainServerState in client tools.Günther Deschner1-1/+1
Guenther
2008-12-01s3-samr: fix various potential memleaks in samr_SetUserInfo.Günther Deschner1-43/+2
Was there any reason why we did all these individual TALLOC_FREEs ? Guenther
2008-12-01s3-samr: avoid code duplication for identical code in _samr_Connect2, 4 and 5.Günther Deschner1-78/+15
Guenther
2008-12-01s3-samr: modify logging in _samr_Connect2 so that it can be called from ↵Günther Deschner1-4/+16
other calls as well. Guenther
2008-11-28Remove "conn" parameter from np_open, smb_request contains itVolker Lendecke1-2/+3
2008-11-27s3-samr: never allow to alter pwdlastset directly.Günther Deschner1-0/+16
Guenther
2008-11-27s3-samr: fix return code for invalid password sets in SetUserInfo.Günther Deschner1-4/+4
Guenther
2008-11-27s3-samr: fix return code for invalid name in _samr_LookupDomain.Günther Deschner1-0/+3
Guenther
2008-11-27s3-samr: avoid enumeration and user creation on builtin domain handle.Günther Deschner1-0/+10
Guenther
2008-11-27s3-samr: support samr_CreateUser as well.Günther Deschner1-10/+20
Guenther
2008-11-27s3-samr: support samr_QueryUserInfo2 as well.Günther Deschner1-10/+15
Guenther
2008-11-27s3-samr: add support for _samr_QueryUserInfo level 5.Günther Deschner1-0/+108
Guenther
2008-11-25s3-samr: fix _samr_LookupNames return code.Günther Deschner1-1/+10
Guenther
2008-11-24Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!Volker Lendecke12-181/+129
2008-11-24Convert delete_driver_files to use create_conn_structVolker Lendecke1-4/+6
Jerry, please check!
2008-11-24Convert get_correct_cversion to use create_conn_structVolker Lendecke1-1/+1
Jerry, please check!
2008-11-24Convert move_driver_to_download_area to use create_conn_structVolker Lendecke1-1/+2
This removes a use of struct current_user and the vuid The become_user() here is unnecessary, within the spoolss handling code we have switched to the authenticated pipe user anyway. Jerry, please check!
2008-11-23Add auth_serversupplied_info to create_conn_structVolker Lendecke1-6/+4
srvsvc needs it, as will printing
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