在「Server端」使用的命令程序
samba
is a server to provide AD and SMB/CIFS services to clients.
samba_dnsupdate
is used to update our DNS names using TSIG-GSS.
samba_spnupdate
is a script to update the servicePrincipalName names from spn_update_list.
samba_upgradedns
is a Unix SMB/CIFS implementation.
nmbd
is the Samba NetBIOS name server.
smbd
is the main Samba daemon which provides SMB/CIFS services to clients.
smbstatus
reports current Samba connections.
smbcontrol
is used to control running smbd, nmbd and winbindd daemons.
sharesec
manipulates share ACL permissions on SMB file shares.
oLschema2ldif
converts LDAP schema’s to LDB-compatible LDIF.
pdbedit
is a tool used to manage the SAM database.
eventlogadm
is used to write records to eventlogs from STDIN, add the specified source and DLL eventlog registry entries and display the active eventlog names (from smb.conf).
mvxattr
is used to recursively rename extended attributes.
profiles
is a utility that reports and changes SIDs in Windows registry files. It currently only supports Windows NT.
软件包「smbclient」中包含的命令;有关「SMB」/「CIFS」的客户端命令;
smbclient
SMB/CIFS的访问工具,类似于ftp命令。
在CentOS 6.9中,属于samba4-client-4.2.10-9.el6软件包(软件包的具体版本信息视情况而定)。
cifsdd
is the dd command for SMB.
findsmb
is used to list info about machines that respond to SMB name queries on a subnet.
rpcclient
is used to execute MS-RPC client side functions.
smbcacls
is used to manipulate Windows NT access control lists.
smbcquotas
is used to manipulate Windows NT quotas on SMB file shares.
smbtree
is a text-based SMB network browser.
smbtar
is a shell script used for backing up SMB/CIFS shares directly to Linux tape drives or a file.
smbspool
sends a print job to an SMB printer.
smbget
is a simple utility with wget-like semantics, that can download files from SMB servers. You can specify the files you would like to download on the command-line.
用于解析Windows NT Server的用户和组信息的服务
wbinfo
queries a running winbindd daemon.
winbindd
resolves names from Windows NT servers.
ntlm_auth
is a tool to allow external access to Winbind’s NTLM authentication function.
有关「registry」查看操作工具
regdiff
is a Diff program for Windows registry files.
regpatch
applies registry patches to registry files.
regshell
is a Windows registry file browser using readline.
regtree
is a text-mode registry viewer.
软件包「samba-common-bin」中包含的命令;「Server」与「Client」共有部分;
dbwrap_tool
用于使用dbwrap接口读取和操作TDB / CTDB数据库。
net
是用于管理Samba和远程CIFS Server的工具,类似于DOS/Windows的net命令。
nmblookup
用于查询NetBIOS Name并将其映射到IP地址。
samba-regedit
基于ncurses的Samba注册表管理工具。
samba-tool
主要的Samba管理工具。
smbpasswd
修改用户的Samba的密码。因为「Samba用户」是系统中的用户,但是用户的密码是与系统密码无关的。
testparm
检查smb.conf文件的配置是否正确。
samba_kcc
is a script used to compute your KCC (Knowledge Consistency Checker) topology.
与「LDB」有关的命令
ldbadd
is a command-line utility for adding records to an LDB database.
ldbdel
is a command-line program for deleting LDB database records.
ldbedit
allows you to edit LDB databases using your preferred editor.
ldbmodify
allows you to modify records in an LDB database.
ldbrename
allows you to edit LDB databases using your preferred editor.
ldbsearch
searches an LDB database for records matching a specified expression.
与「TDB」及「CTDB」有关的命令
tdbbackup
is a tool for backing up or validating the integrity of Samba .tdb files.
tdbdump
is a tool used to print the contents of a Samba .tdb file.
tdbrestore
is a tool for creating a Samba .tdb file out of a ntdbdump.
tdbtool
is a tool which allows simple database manipulation from the command line.
测试相关的工具
gentest
is used to run random generic SMB operations against two SMB servers and show the differences in behavior.
locktest
is used to find differences in locking between two SMB servers.
masktest
is used to find differences in wildcard matching between Samba’s implementation and that of a remote server.
ndrdump
is a DCE/RPC Packet Parser and Dumper.
smbtorture
is a testsuite that runs several tests against a SMB server.
「IDL」编译器
pidl
is an IDL (Interface Definition Language) compiler written in Perl.
参考文献