search for: _srvsvc_netsharesetinfo

Displaying 5 results from an estimated 5 matches for "_srvsvc_netsharesetinfo".

2024 Jun 11
1
SeDiskOperatorPrivilege_Privilege
...rder to successfully execute the delete share command, smbd requires that the administrator connects using a root account (i.e. uid == 0) or has the SeDiskOperatorPrivilege. Scripts defined in the delete share command parameter are executed as root. Looks like it is still checked (in master) in: _srvsvc_NetShareSetInfo() is_disk_op = security_token_has_privilege( session_info->security_token, SEC_PRIV_DISK_OPERATOR); /* fail out now if you are not root and not a disk op */ if (session_info->unix_token->uid != sec_initial_uid() && !is_disk_op) {...
2010 May 13
1
net rpc rights grant root SeDiskOperatorPrivilege failed with "Failed to grant privileges for root (NT_STATUS_ACCESS_DENIED)"
...hts grant "username" SeDiskOperatorPrivilege OR net -S ADserver -U support rpc rights grant 'domain\Administrator' SeDiskOperatorPrivilege I am trying to grant the above privilege because managing samba shares through mmc from remote windows system is failing with: _srvsvc_NetShareSetInfo: uid 10500 doesn't have the SeDiskOperatorPrivilege privilege needed to modify share myshare Uid 10500 is 'domain\Administrator' account I can send the relevant smb.conf and any additional traces I need to capture. Can anyone provide ideas on what could be going wrong? The...
2015 Oct 23
1
no access to share permission on a domain member
hi all , i have a domain server with a test share on it. But i can't find the way to manage it via windows. when i try to modify something on the share permission part, i get a access deny error. if i put the server in debug mod i get _srvsvc_NetShareSetInfo: uid 10001 doesn't have the SeDiskOperatorPrivilege privilege needed to modify share demoshare uid 10001 being the uid of the administrator of the AD but if i do : wbinfo -i administrator administrator:*:10001:20000:Administrator:/home/Administrator:/bin/sh getent passwd | grep 10001 adminis...
2024 Jun 11
1
SeDiskOperatorPrivilege_Privilege
On Tue, 11 Jun 2024 15:52:45 +0100 Luis Peromarta via samba <samba at lists.samba.org> wrote: > Again, my exact same experience. > > LP > On Jun 11, 2024 at 14:58 +0100, Bailey Allison via samba > <samba at lists.samba.org>, wrote: > > Hey Rowland, > > > > Just wanted to say you are 100% correct, and it does (seemingly) > > nothing, at least
2024 Jun 11
1
SeDiskOperatorPrivilege_Privilege
...share command, smbd requires that the administrator connects > using a root account (i.e. uid == 0) or has the > SeDiskOperatorPrivilege. Scripts defined in the delete share command > parameter are executed as root. > > > Looks like it is still checked (in master) in: > > _srvsvc_NetShareSetInfo() > > is_disk_op = security_token_has_privilege( > session_info->security_token, > SEC_PRIV_DISK_OPERATOR); > > /* fail out now if you are not root and not a disk op */ > > if (session_info->unix_token->uid != sec_initi...