分类: LINUX
2010-12-16 10:41:09
#smbpasswd -a username 添加用户(linux已有用户)。
#smbpasswd -e username 激活。 #smbpasswd -x username 删除。
options: -L local mode (must be first option) -h print this usage message -s use stdin for password prompt -c smb.conf file Use the given path to the smb.conf file -D LEVEL debug level -r MACHINE remote machine -U USER remote username extra options when run by root or in local mode: -a add user -d disable user -e enable user -i interdomain trust account -m machine trust account -n set no password -W use stdin ldap admin password -w PASSWORD ldap admin password -x delete user -R ORDER name resolve order