HP-UX HB v13.00 Ch-20 - CIFS

HP-UX Handbook Rev 13.00 Page 39 (of 40)
Chapter 20 CIFS
October 29, 2013
Start and configuration commands
Startup Commands
Options
Comment
startsmb
Used to start nmbd and smbd. It will report
if daemons are already running.
stopsmb
Used to stop nmbd and smbd's.
/sbin/init.d/samba
{stop|start}
Startscript
/etc/rc.config.d/samba
RUN_SAMBA={0|1}
Runvariable
/sbin/rc2.d/S900samba
Sambastartscript for booting.
/sbin/rc1.d/K100samba
Sambastopscript for shutdown
/opt/samba/bin/samba_setup
basic samba setup
/opt/samba/bin/rpcclient
for printer and driver management
Troubleshooting commands
Troubleshooting Commands
Comment
smbclient \\server\service -U user
Connect a user to a service, to test user access
smbclient M host "message"
Send message to windows client host
smbclient L host
List services from host
Smbcontrol <pid> debug <number>
Send debug level 1 10 to smbd pid
nmblookup -S
Lookup node status
Nmblookup M -
Find master browser
Nmblookup T .. ..
Resolve IP to name
Relevant directories
Directories
Subdirectories
Purpose
/opt/samba/
bin/
Binaries
Swat/, HP_docs/,
docs/,
dokumentation
HA/
Templates for use in
MC/ServiceGuard
/etc/opt/samba
Configuration data
/var/opt/samba
private/ and locks/
Sensitive data
Additional Information
HP Links
http://www.software.hp.com/ Software Bundles
http://docs.hp.com Administration Guides and Release Notes