Registry: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 9: | Zeile 9: | ||
you must add this | you must add this | ||
registry shares = yes | registry shares = yes | ||
− | ==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== | ==look in the share misc in registry== | ||
net registry export HKLM\Software\Samba /dev/stdout | grep -A 3 misc | net registry export HKLM\Software\Samba /dev/stdout | grep -A 3 misc |
Version vom 25. Juni 2014, 19:40 Uhr
first look
keys
tdbtool /var/lib/samba/registry.tdb keys
keys and values
tdbtool /var/lib/samba/registry.tdb dumps
smb.conf
you must add this
registry shares = yes
net conf addshare misc /daten/misc writeable=y guest_ok=n "misc share 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"
smbclient -U% -L localhost Domain=[XINUX] OS=[Unix] Server=[Samba 4.1.8-SerNet-Ubuntu-8.trusty] Sharename Type Comment --------- ---- ------- IPC$ IPC IPC Service (Samba 4.1.8-SerNet-Ubuntu-8.trusty) sysvol Disk netlogon Disk misc Disk misc share in registry Domain=[XINUX] OS=[Unix] Server=[Samba 4.1.8-SerNet-Ubuntu-8.trusty] Server Comment --------- ------- Workgroup Master --------- -------
net conf setparm misc "browseable" "no"