[Samba] Samba Registry Configuration- Cannot open smbconf

Marcel Ritter Marcel.Ritter at rrze.uni-erlangen.de
Fri May 22 13:05:42 GMT 2009


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