[Samba] Samba Registry Configuration- Cannot open smbconf

Marcel Ritter Marcel.Ritter at rrze.uni-erlangen.de
Sat May 23 13:04:26 GMT 2009


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.
> Thanks
> Niranjan
>   
Bye,
    Marcel
> On Fri, May 22, 2009 at 6:35 PM, Marcel Ritter
> <Marcel.Ritter at rrze.uni-erlangen.de> 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.
>>
>>
>>
>>     



More information about the samba mailing list