[Samba] samba4 registry

Mark Jas mark at nieuwenborg.nl
Wed Mar 12 15:45:37 MDT 2014

Hi Daniel,

It doesn't make a difference it I have my samba config in the registry or in smb.conf. Here's whats going wrong:

root at samba4-prn:~# net rpc registry import test.reg -U TESTDOMAIN\\Administrator
Enter TESTDOMAIN\Administrator's password:
dcerpc_winreg_CreateKey returned WERR_NOT_SUPPORTED
createkey HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\nlvwprt10\HPPresetRoot failed: WERR_NOT_SUPPORTED
root at samba4-prn:~#


-----Oorspronkelijk bericht-----
Van: Daniel Müller [mailto:mueller at tropenklinik.de] 
Verzonden: woensdag 12 maart 2014 12:25
Aan: Mark Jas; samba at lists.samba.org
Onderwerp: AW: [Samba] samba4 registry

I think you did:

config backend=registry

restart samba 4
net registry enumerate HKLM/Software/Samba/smbconf

net conf list
net conf listshares
net conf drop
net conf delshare
net conf import

HKEY_LOCAL_MACHINE\SOFTWARE\Samba\smbconf is where the things go

Just do set a smb.conf as you would originaly then import it by

"net conf import your-smb.conf"

to see how things are working or if it is possible.


EDV Daniel Müller

Leitung EDV
Tropenklinik Paul-Lechler-Krankenhaus
Paul-Lechler-Str. 24
72076 Tübingen
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Internet: www.tropenklinik.de
"Der Mensch ist die Medizin des Menschen"

-----Ursprüngliche Nachricht-----
Von: Mark Jas [mailto:mark at nieuwenborg.nl]
Gesendet: Mittwoch, 12. März 2014 10:55
An: mueller at tropenklinik.de; samba at lists.samba.org
Betreff: RE: [Samba] samba4 registry

Thanks Daniel, but no luck.
For example, I can add values and change permissions on HKLM\SYSTEM\CurrentControlSet\Control\Print
But I cannot in HKLM\SYSTEM\CurrentControlSet\Control\Print\Printers

More information about the samba mailing list