Registry: Unterschied zwischen den Versionen

Aus xinux.net
Zur Navigation springen Zur Suche springen
Zeile 11: Zeile 11:
 
==add the share misc==
 
==add the share misc==
 
  net conf addshare misc /daten/misc writeable=y guest_ok=n "misc share in registry"
 
  net conf addshare misc /daten/misc writeable=y guest_ok=n "misc share in registry"
 +
==look in the share misc in registry==
 +
net registry export  HKLM\Software\Samba /dev/stdout | grep -A 3 misc
 +
 +
[HKLM\SOFTWARE\Samba\smbconf\misc]
 +
"path"="/daten/misc"
 +
"comment"="misc share in registry"
 +
"guest ok"="no"
 +
"read only"="no"

Version vom 25. Juni 2014, 19:32 Uhr

first look

keys

tdbtool /var/lib/samba/registry.tdb keys

keys and values

tdbtool /var/lib/samba/registry.tdb dumps

shares in the registry

smb.conf

you must add this

registry shares = yes 

add the share misc

net conf addshare misc /daten/misc writeable=y guest_ok=n "misc share in registry"

look in the share misc in registry

net registry export  HKLM\Software\Samba /dev/stdout | grep -A 3 misc

[HKLM\SOFTWARE\Samba\smbconf\misc]
"path"="/daten/misc"
"comment"="misc share in registry"
"guest ok"="no"
"read only"="no"