On Sat, May 23, 2009 at 6:34 PM, Marcel Ritter <[email protected]> wrote: > mallapadi niranjan wrote: >> Hi, >> >> you seem to be right, If i grant "SeDiskOperatorPrivilege" rights it >> works, But i found that if i do not open any share from the samba >> server and open regedit only and access the Samba registry it doesn't >> work, >> >> But if i open the samba share and then open regedit and access the >> samba registry i am able open smbconf key >> > Exactly the same here - I asked our windows guy about it, but > he couldn't explain this behaviour either.
It would be helpful if samba developers can comment something on this, I assume that when a share is opened some user credentials are getting stored which are required for certain operations. this credentials may be is accessed when accessing smbconf key. >> Thanks >> Niranjan >> > Bye, > Marcel >> On Fri, May 22, 2009 at 6:35 PM, Marcel Ritter >> <[email protected]> wrote: >> >>> mallapadi niranjan schrieb: >>> >>>> Hi all, >>>> >>>> I am using samba-3.3.4 on RHEL5.3, my smb.conf is as below >>>> >>>> [global] >>>> netbios name = nirvana >>>> workgroup = samba >>>> registry shares = yes >>>> >>>> >>>> >>>> after which i added a share using net conf command as follows >>>> >>>> $/usr/local/samba-3.3.4/bin/net conf addshare test /tmp writeable=y >>>> >>>> net conf list >>>> [test] >>>> path = /tmp >>>> guest ok = no >>>> read only = no >>>> >>>> >From a Windows XP system When i connect to "nirvana' registry , i get >>>> access to samba registry but When i access the >>>> 192.168.122.153\HKLM\SOFTWARE\Samba\smbconf I get error "Cannot open >>>> smbconf: Error while opening key" >>>> >>>> Any ideas, how i can access the subkey ? >>>> >>>> >>> I had a similar problem - if I recall it correctly the account used >>> to connect via regedit.exe needs to have special privileges in order >>> do change (and read?) the config: >>> >>> Just try this: >>> net rpc grant rights <username> SeDiskOperatorPrivilege >>> >>> >>>> Regards >>>> Niranjan >>>> >>>> >>> Bye, >>> Marcel >>> >>> -- >>> Dipl.-Inf. Marcel Ritter >>> ---- >>> Unix _IS_ user friendly... It's just selective about who its friends are. >>> >>> >>> >>> > > -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
