samba 関連のコマンド一覧]
概要
sambaで利用できるコマンド
実行環境
コマンド一覧
nmbd
Usage: nmbd [OPTION...]
- -D, --daemon
- Become a daemon(default)
- -i, --interactive
- Run interactive (not a daemon)
- -F, --foreground
- Run daemon in foreground (for daemontools & etc)
- --no-process-group
- Don't create a new process group
- -S, --log-stdout
- Log to stdout
- -H, --hosts=STRING
- Load a netbios hosts file
- -p, --port=INT
- Listen on the specified port
Help options:
- -?, --help
- Show this help message
- --usage
- Display brief usage message
Common samba options:
- -d, --debuglevel=DEBUGLEVEL
- Set debug level
- -s, --configfile=CONFIGFILE
- Use alternate configuration file
- -l, --log-basename=LOGFILEBASE
- Base name for log files
- -V, --version
- Print version
smbd
smbdはWindows クライアントにファイル共有と印刷サービスを提供するサーバデーモンですので、samba起動用コマンドになります。
Usage: smbd [OPTION...]
- -D, --daemon
- Become a daemon (default)
- -i, --interactive
- Run interactive (not a daemon)
- -F, --foreground
- Run daemon in foreground (for
- : daemontools, etc.)
- --no-process-group
- Don't create a new process group
- -S, --log-stdout
- Log to stdout
- -b, --build-options
- Print build options
- -p, --port=STRING
- Listen on the specified ports
- -P, --profiling-level=PROFILE_LEVEL
- Set profiling level
Help options:
- -?, --help
- Show this help message
- --usage
- Display brief usage message
Common samba options:
- -d, --debuglevel=DEBUGLEVEL
- Set debug level
- -s, --configfile=CONFIGFILE
- Use alternate configuration file
- -l, --log-basename=LOGFILEBASE
- Base name for log files
- -V, --version
- Print version
Build-time configuration overrides:
- --sbindir=SBINDIR
- Path to sbin directory
- --bindir=BINDIR
- Path to bin directory
- --swatdir=SWATDIR
- Path to SWAT installation directory
- --lmhostsfile=LMHOSTSFILE
- Path to lmhosts file
- --libdir=LIBDIR
- Path to shared library directory
- --shlibext=SHLIBEXT
- Shared library extension
- --lockdir=LOCKDIR
- Path to lock file directory
- --piddir=PIDDIR
- Path to PID file directory
- --smb-passwd-file=SMB_PASSWD_FILE
- Path to smbpasswd file
- --private-dir=PRIVATE_DIR
- Path to private data directory
winbind
- wmbd -D
mount.cifs
Usage: mount.cifs <remotetarget> <dir> -o <options>
Mount the remote target, specified as a UNC name, to a local directory.
- Options:
- user=<arg>
- pass=<arg>
- dom=<arg>
- Less commonly used options:
- credentials=<filename>,guest,perm,noperm,setuids,nosetuids,rw,ro,
- sep=<char>,iocharset=<codepage>,suid,nosuid,exec,noexec,serverino,
- mapchars,nomapchars,nolock,servernetbiosname=<SRV_RFC1001NAME>
- directio,nounix,cifsacl,sec=<authentication mechanism>,sign
Options not needed for servers supporting CIFS Unix extensions
(e.g. unneeded for mounts to most Samba versions):
uid=<uid>,gid=<gid>,dir_mode=<mode>,file_mode=<mode>,sfu
- Rarely used options:
- port=<tcpport>,rsize=<size>,wsize=<size>,unc=<unc_name>,ip=<ip_address>,
- dev,nodev,nouser_xattr,netbiosname=<OUR_RFC1001NAME>,hard,soft,intr,
- nointr,ignorecase,noposixpaths,noacl,prefixpath=<path>,nobrl
- in6_addr
Options are described in more detail in the manual page
man 8 mount.cifs
To display the version number of the mount helper:
mount.cifs -V
補足
参考サイト
Today: -
Yesterday: -
Total: -
最終更新:2012年10月30日 13:31