summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2008-06-22Remove the "exists" parameter from create_msdfs_linkVolker Lendecke1-4/+2
Jeremy, setting "exists" to True in _dfs_Add prevented the initial creation of a new symlink for me, because the SMB_VFS_UNLINK failed. This also exists in 3.2. I only check it into 3.3 as I would like you to look at it first. Thanks, Volker (This used to be commit f58b098a4172949018e84c4d0c722d6eb9bba514)
2008-06-22Check for sec_initial_uid() instead of uid==0 in dfs managementVolker Lendecke1-2/+2
(This used to be commit 948607f16112f6529f3a54cd6bbe978e8a600bc8)
2008-06-21Make pipes_struct its own talloc ctxVolker Lendecke3-40/+16
(This used to be commit 829b1ad4697f2f1ea008377d591456722dccd025)
2008-06-21Fix a SAFE_FREE/TALLOC_FREE mixupVolker Lendecke1-1/+1
(This used to be commit b39852f51313059899630ba63509fee904ba3613)
2008-06-19Wrap the unix token info in a unix_user_token in auth_serversupplied_infoVolker Lendecke1-5/+6
No functional change, this is a preparation for more current_user ref removal (This used to be commit dcaedf345e62ab74ea87f0a3fa1e3199c75c5445)
2008-06-16Fix bug 5500 -- thanks to mathion at thorrovydeti.com for reportingVolker Lendecke1-0/+2
(cherry picked from commit 996c3ce6f0dbe79b0679ae30afd873c24fe5b1eb) (This used to be commit 1f86c7a2a19e66948c9b51572d3c078b6e03ef52)
2008-06-13Fix a crash in _winreg_QueryValueVolker Lendecke1-0/+4
Coverity ID 474, value_length and type are both unique, not ref pointers and can thus be NULL. Karolin, please merge this to -stable. Thanks, Volker (cherry picked from commit 999533c0ccced59141d8baff5bc248d63e2a966f) (This used to be commit 7e07ec68f15908a998f83d615a1b4d1349935a54)
2008-06-09Don't reset password last set time just because the expired flagJim McDonough1-1/+9
is set to 0. If the account wasn't expired but autolocked, using "net user /dom <username> /active:y" would clear this, incorrectly setting the current time as the new "password last set" time. (This used to be commit 0f292d70f698b8ae885005b5704a96476e876571)
2008-05-27Allow server manager to close open files selected by id.Jeremy Allison1-2/+55
Jeremy. (This used to be commit 7eeed8bb41059ec2bddedb6a71deddeec7f33af2)
2008-05-25Remove the reference to current_user_info from share_access.cVolker Lendecke1-6/+10
This required to pass around the domain a bit (This used to be commit 17b0db20d28d1b737c5e86b78106657e8ca5ce9c)
2008-05-22Remove MAX_SESS_ENTRIES and MAX_CONN_ENTRIES limitsJeremy Allison1-19/+6
as they are no longer needed now we have IDL marshalling. Change the calculation of the 32-bit fileid we return to a Windows client. We can't just use the generation count as it starts at zero for every smbd - and this command must enumerate all files open across all smbds. We'd really like combination of process-id + dev + inode + generation count to be unique, but as we can't fit that into 32 bits just use 16 bits of pid + generation count. Jeremy. (This used to be commit 8b926d5a93d04b828990057ae6f1e090764305c1)
2008-05-22Revert "Arggh. Got the path/user the wrong way around. IDL is correct :-)."Jeremy Allison1-6/+19
This reverts commit 1078b5c53ae9d6f9532eecebf9cf4a1712200b7e. This message doesn't match the actual change. (This used to be commit a65abb49cf8d291c7deb659912c0df34ec37da02)
2008-05-22Arggh. Got the path/user the wrong way around. IDL is correct :-).Jeremy Allison1-19/+6
Jeremy. (This used to be commit 1078b5c53ae9d6f9532eecebf9cf4a1712200b7e)
2008-05-22Arggh. Got the path/user the wrong way around. IDL is correct :-).Jeremy Allison1-4/+4
Jeremy. (This used to be commit 2281274480d8cf9e773874301dbbc7bf06346901)
2008-05-22Fix 2 bugs with displaying open file state. FirstlyJeremy Allison1-3/+3
the IDL is documented incorrectly in the MS-DOCS. Username and path need to be reversed (yes I will raise this with MS). Secondly, we need to check access_mask for the permissions, not share_access (share_access are the deny modes). Jeremy. (This used to be commit bdaad19f90e991aba2afccfa13afbbfe2ac7baaf)
2008-05-20Fix typo.Günther Deschner1-1/+1
Guenther (cherry picked from commit d3dd7ea5a77414c0d802668ab5bfbe3487b66926) (This used to be commit 68d6b0053f3ce63747bc26a2bebb1fb0b46c8ca0)
2008-05-20Fix a valgrind error in _samr_LookupNamesVolker Lendecke1-5/+8
(cherry picked from commit fb0a25d59ddd28ea1d5af33ec7d9f817fac3fb9d) (This used to be commit 89f87efa2394e99802ca23307e712fc5820a5fc6)
2008-05-17Factor out generation of an info3 struct from a serversupplied_infoVolker Lendecke1-183/+12
(This used to be commit e60faccc1bdd2b80e039ec8c93683be10752f937)
2008-05-16Fix Bug #5461 and implement a very basic _samr_GetDisplayEnumerationIndex().Günther Deschner1-20/+139
Citrix PM cannot use a Samba DC when having more then 900 groups as citrix insists on calling _samr_GetDisplayEnumerationIndex() after receiving the first 900 groups via _samr_QueryDisplayInfo() to get the continuation index. Guenther (This used to be commit 1c4adc8dda68eae9839bdff843aadf8c98dd9e87)
2008-05-09Remove a couple of uses of SMB_VFS_GET_NT_ACL(), useJeremy Allison1-13/+42
SMB_VFS_FGET_NT_ACL instead. I'd like to ultimately remove SMB_VFS_GET_NT_ACL. Jeremy. (This used to be commit 4221937b68e2414295279b27c5f12a80f826ed4b)
2008-05-09dsgetdcname: use existing messaging_context if possible.Günther Deschner1-0/+2
Guenther (This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
2008-05-08Yay ! Remove a VFS entry. Removed the set_nt_acl() call,Jeremy Allison1-1/+1
this can only be done via fset_nt_acl() using an open file/directory handle. I'd like to do the same with get_nt_acl() but am concerned about efficiency problems with "hide unreadable/hide unwritable" when doing a directory listing (this would mean opening every file in the dir on list). Moving closer to rationalizing the ACL model and maybe moving the POSIX calls into a posix_acl VFS module rather than having them as first class citizens of the VFS. Jeremy. (This used to be commit f487f742cb903a06fbf2be006ddc9ce9063339ed)
2008-05-06Fix a memleak in construct_printer_info_7()Volker Lendecke1-2/+5
Also fix a "ignoring asprintf result" warning (This used to be commit 64d21f39636019d6a17f84efc6fb9e61e67a235e)
2008-05-05Remove "userdom_struct user" from "struct user_struct"Volker Lendecke1-2/+2
(This used to be commit 420de035237bb08bc470c9eb820f3da2edaa6805)
2008-05-05Remove "session_key" from "struct user_struct"Volker Lendecke1-1/+3
This one took a bit -- I hope I covered all data paths (This used to be commit 74c88a44422f88d6e2f2cdbfdfa0bafe0dbe06c4)
2008-05-05Remove "guest" from "struct user_struct"Volker Lendecke2-2/+2
(This used to be commit 570a6b80feb5b0dc23213ba936c721e766cd4818)
2008-05-05Remove "nt_user_token" from "struct user_struct"Volker Lendecke1-1/+1
(This used to be commit 51d5d512f28eadc74eced43e5e7f4e5bdff3ff69)
2008-05-02Remove the "stat_open()" function, flag, and all associated code. It was onlyJeremy Allison1-2/+9
being (correctly) used in the can_read/can_write checks for hide unreadable/unwritable and this is more properly done using the functions in smbd/file_access.c. Preparing to do NT access checks on all file access. Jeremy. (This used to be commit 6bfb06ad95963ae2acb67c4694a98282d3b29faa)
2008-04-29_netr_LogonSamLogon: fix lm session key length.Günther Deschner1-1/+1
Thanks Volker for pointing this out. Guenther (This used to be commit 7ccca9a004c7a4794781cbd7c703c53a0481bd51)
2008-04-24The first of Martin Zielinski <mz@seh.de> Vista printing patches.Jeremy Allison1-3/+6
Jerry will test and should get into 3.2 final (and the next 3.0.x release). Jeremy. (This used to be commit 3fc1ab210b8772ee9f867499c0b1a7bb4bcdd285)
2008-04-20Introduce rpc_pipe_np_smb_conn()Volker Lendecke1-1/+1
This abstracts away all references to rpc_pipe_client->cli, the only reference is now in cli_pipe.c. (This used to be commit c56e1c08cef107ff33a34346ceeca3475a102b19)
2008-04-20Remove a redundant reference to rpc_pipe_state->cli from srv_spoolssVolker Lendecke1-4/+0
This assignment is done in cli_rpc_pipe_open called from cli_rpc_pipe_open_noauth already. (This used to be commit 7331c4c2781bf7904942c119f1a8de8eda00ae7e)
2008-04-17rpc_parse: Use UUIDs from librpc/gen_ndr/ when possible to reduceJelmer Vernooij1-4/+4
duplication. (This used to be commit 428654b473ba44b2f5340eefef0d4fcd51aff558)
2008-04-17NetrUnjoinDomain2: Honor registry config to try config changes.Günther Deschner1-0/+1
Guenther (This used to be commit b42304c299224238a0247e0e1561eb2ad3217b96)
2008-04-15Reconcile ndr_syntax_id used by pidl-generated code and Samba3's RFC_IFACE.Jelmer Vernooij1-2/+2
(This used to be commit 7bea00dca1ee08ef731dfa73110ef9c190a29919)
2008-04-14WKSSVC: In _wkssvc_NetrJoinDomain2, do modify the local configuration if ↵Günther Deschner1-0/+1
enabled. Guenther (This used to be commit 260efafb8fb6527eb0a182f9a6bfed8239dd8315)
2008-04-11Remove some write-only fstringsVolker Lendecke1-12/+3
(This used to be commit aacb07b1b0f674b8cb92347ef4b4dd1e7808dde8)
2008-04-04Fix _samr_GetUserPwInfo() (to return more then just zeros).Günther Deschner1-8/+45
Guenther (This used to be commit 624371ce32a7c0816963745059e743e5b3e92e2a)
2008-04-04Fix _samr_GetDomPwInfo (to return more then zeros).Günther Deschner1-2/+16
Guenther (This used to be commit 1cde9579f10ab8c43c25dfd6e5c658c7653f9a37)
2008-04-04Fix bug #5372. With a large CUPS installation with a remote server, contactingJeremy Allison1-1/+7
the server when searching for a name for the location and comment fields can take so much time the client times out. When searching for a name we don't use these fields anyway, so add a function get_a_printer_search() which doesn't contact the CUPS server. Jeremy. (This used to be commit 92d9f20852d5384e92a93dd0b051034718840ca8)
2008-04-01Fix build warning.Günther Deschner1-1/+1
Guenther (This used to be commit c40522cfe97c4e5eedccc9c56f47f9d4a8bcdaaf)
2008-04-01Fix SRVSVC ShareInfo level 502 server side handling.Günther Deschner1-4/+6
Guenther (This used to be commit 776facabf6f09f643d6dc526aa83f8db517465f9)
2008-04-01Fix SRVSVC ShareInfo max_users handling server side.Günther Deschner1-6/+6
Guenther (This used to be commit b4d944e724f7ae2a97ba788b185aba7b7308b475)
2008-04-01Fix _srvsvc_NetShareSetInfo.Günther Deschner1-3/+5
Guenther (This used to be commit 2fd90b62d7e61fa0c23f8f41e9f12fc16f29a8b1)
2008-03-31Re-add support for the samr parameters string.Günther Deschner2-38/+30
(dialin settings, terminal server settings, etc.) Guenther (This used to be commit c4f248df8e34c6a028bf8d789fe9763b0ea063fe)
2008-03-31Add init_samr_parameters_string().Günther Deschner1-0/+35
Guenther (This used to be commit 8f6f0d1601cb93af51f8d493382cd707c3eb0cdf)
2008-03-28Add some paranoia fixes for _wkssvc_NetrJoinDomain2/UnjoinDomain2.Günther Deschner1-2/+22
Guenther (This used to be commit 72101a7d0868b19a413b17f8142637f92c6cdad5)
2008-03-28srv_winreg: add a debug message to _winreg_CreateKey().Michael Adam1-0/+3
Michael (This used to be commit 971f6749ed23523f6eafe5136f6d4c920c20aec4)
2008-03-28Let libnetjoin find the dc in wkssvc NetrJoinDomain2/UnjoinDomain2.Günther Deschner1-30/+0
Guenther (This used to be commit 9e7d673ac44f500863bcbd0198452adc7c5027f9)
2008-03-27Make sure to zero the returned handle in _svcctl_CloseServiceHandle().Günther Deschner1-0/+2
Guenther (This used to be commit 84a079af490cb135dd557091932ea079e1d7ff5b)