Patch: Allow unprivileged processes to read registry
stefw at gnome.org
Thu Apr 5 10:58:27 MDT 2012
The samba configuration is shared between daemons and clients. If
'config backend = registry' is configured, then currently clients
running without root privileges (like smbclient) fail with:
Failed to initialize the registry: WERR_ACCESS_DENIED
The attached patch fixes this issue. The database is created with 0644
permissions. If write access to the database fails, then the database is
opened in read-only mode.
I've tested this with various commands and it seems to do the trick.
Does this look like a good approach? If so, I'll file a bug for the patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4774 bytes
Desc: not available
More information about the samba-technical