Hello, ? I can read/access the registry on my samba 4.1.6 server, but I get a ?permission denied? if I write to some locations. Also, I cannot change the permissions. ? Is there any documentation about the registry on a samba4 server? ? Thanks, Mark
Net rpc rights grant administrator SeDiskOperatorPrivilege , must be set. 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: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im Auftrag von Mark Jas Gesendet: Mittwoch, 12. M?rz 2014 10:11 An: samba at lists.samba.org Betreff: [Samba] samba4 registry Hello, ? I can read/access the registry on my samba 4.1.6 server, but I get a ?permission denied? if I write to some locations. Also, I cannot change the permissions. ? Is there any documentation about the registry on a samba4 server? ? Thanks, Mark -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
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
Hi Daniel,> HKEY_LOCAL_MACHINE\SOFTWARE\Samba\smbconf is where the things goMy goal is not to config samba via registry. Some specific printer driver info must be changed in HKLM\SYSTEM\CurrentControlSet\Control\Print and I'm trying to figure out how to do that. Mark -----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: Smb.conf: [global] 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. Greetings 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
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:~# Mark -----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: Smb.conf: [global] 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. Greetings 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