summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
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)
2008-07-27Fix srvsvc_Net[Get|Set]FileSecurityVolker Lendecke1-155/+87
There were two bugs in those routines: They did not send INTERNAL_OPEN_ONLY to open_file_ntcreate() and they did not chdir, so the file could never be found. While there I decided to remove the become_root() calls and call create_file() instead of the lower-level routines. (This used to be commit 669771738422776f8c81086ffea4924b62d72957)
2008-07-26make read/write to internal pipes available externallyVolker Lendecke1-8/+3
(This used to be commit e11b5cb1e061caf4c3793fb402ca6bee95a8f26c)
2008-07-26Refactoring: Make close_internal_rpc_pipe_hnd a talloc destructorVolker Lendecke1-5/+5
(This used to be commit 10b47a0c2cfd62489428518112da82f73a52b7bc)
2008-07-26Refactor make_internal_rpc_pipe_p: connection_struct is not neededVolker Lendecke1-21/+11
(This used to be commit defcf0eecfb8eb035d9ca80530720b9e6873f6c7)
2008-07-26Make api_rpcTNP static to srv_pipe.cVolker Lendecke1-2/+5
(This used to be commit 256c93a8b3d4d9a4e52a656c91b89a043a087066)
2008-07-22Fix warnings on FreeBSD-based platformsZach Loafman2-6/+6
Fix two shadowed declaration warnings on FreeBSD-based platform: 'reboot' is a 4.0BSD syscall in unistd.h and 'tcp_seq' is a typedef in netinet/tcp.h. (This used to be commit 14d2a4da1da38d6f69c63505d35990322f253e5d)
2008-07-20Refactoring: Change calling conventions for cli_rpc_pipe_open_noauthVolker Lendecke2-10/+2
Pass in ndr_syntax_id instead of pipe_idx, return NTSTATUS (This used to be commit 9abc9dc4dc13bd3e42f98eff64eacf24b51f5779)
2008-07-19Introduce is_known_pipenameVolker Lendecke1-0/+33
This scans the list of pipes registered via rpc_pipe_register_commands instead of using static tables. (This used to be commit 283e6039989adea1c8921b3600b410cb67b6492a)
2008-07-18Fix typos.Karolin Seeger1-14/+14
the user have -> has Karolin (This used to be commit 1ee2ad1051e6076709ef8ed2f45bebff10b0c3cf)
2008-07-18Simplify the RPC servers: remove get_pipe_fnsVolker Lendecke1-97/+25
The per-server xxx_get_pipe_fns functions can go once all the RPC servers are converted (This used to be commit 6aa2391cbe1cbda8269ded767117f53d83b243e1)
2008-07-16In api_pipe_bind_req(), check for the iface id, not the pipe nameVolker Lendecke5-7/+35
This requires to store the rpc_interface in "struct rpc_table" (This used to be commit 654f8de8497aff29f9b1f1822b6a8e734ff329e0)
2008-07-16In api_pipe_bind_req(), decode the bind request before checking the pipeVolker Lendecke1-8/+10
(This used to be commit 8be41382ed9bb4fb44a1846fff2c7652388e4f28)
2008-07-02Canonicalize servername in the printer functions to remove leading '\\' ↵Jeremy Allison1-54/+59
characters. Ensure we always return consistent names. Jeremy. (This used to be commit fc2178b04743d2f94be7b489b793fc67826557ac)
2008-06-28Fix a file descriptor leak in add_port_hookVolker Lendecke1-4/+1
This was probably cut&paste from add_printer_hook which further down has the unconditional close(fd). In add_port_hook() we're not interested in the output of 'addport command', so don't create the out fd. (cherry picked from commit 0c5ca2127ac6e3c71e369242376d27429c3aee5e) (This used to be commit 9fe09398b79ae7c5e78182112a8cd2c9b5f99ad3)
2008-06-26Fix valgrind errors in _spoolss_addprinterdriverVolker Lendecke1-0/+11
Jerry, this was dropped as part of your SVN r15309 (037f9f83). Can you please check? Thanks, Volker (cherry picked from commit 5aa2411f0b3720b790439359a2dadb23008e936e) (This used to be commit 8e7effd58f7790d6e71e38c990f6cb05456e47e1)
2008-06-26Change print_access_check to take auth_serversupplied_info instead of ↵Volker Lendecke1-9/+10
current_user Reason: This is the main user of p->current_user which I would like to remove (This used to be commit fd43059b3dfa8cdac9814de1c76f963ba5de9bcb)
2008-06-26Remove p->vuidVolker Lendecke3-18/+6
The users can use p->server_info. Now pipes_struct is decoupled from the SMB transport. (This used to be commit d4cf5a131919530317cd457006b4df5af2c69fa7)
2008-06-26Remove a check on p->vuid in _netr_LogonSamLogon/offVolker Lendecke1-6/+0
This is in preparation of removing p->vuid completely. I don't think this check here makes any sort of sense, it only proves that the user having done the session setup on its way to the schannel bind (ususally anonymous) did not do a logoff in between. But this would have been caught way before this in reply_pipe_write_and_X. (This used to be commit fbc00460f8deaa57bfbf16b12d29acec56578b63)
2008-06-26Now that we have p->server_info, use p->server_info->user_session_keyVolker Lendecke4-40/+47
(This used to be commit aefad64e3a5c86d2f988d47e6215ed2085b8fc47)
2008-06-26Fix typoVolker Lendecke1-1/+1
(This used to be commit 41d2daeaa5a87da82a0debc4c9cfe14976215bd8)
2008-06-26Add server_info to pipes_structVolker Lendecke2-0/+19
(This used to be commit d621867bb8767e1c4236d28dd9294a61db6cbb10)
2008-06-24Remove "conn" from pipes_structVolker Lendecke2-4/+4
For spoolss, we need the client's IP address (This used to be commit 64a4dfaa826cf9319ef3f5c65023352bf8af539e)