Har*_*vey 22
从终端:
$ smbpasswd -U username -r DOMAIN_CONTROLLER_IP
$ smbpasswd -h
When run by root:
smbpasswd [options] [username]
otherwise:
smbpasswd [options]
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
Run Code Online (Sandbox Code Playgroud)
另一个建议是登录到您公司的电子邮件门户网站。许多公司正在使用 MS Exchange,它支持通过您的网络电子邮件会话更改您的密码。对于不在 Mac 上的用户,我遇到了这个确切的问题,而是永远不会接触属于 Active Directory 的机器。网络邮件/密码更改界面使这成为可能,并且适用于数百个用户。我必须承认失败消息非常神秘且毫无用处。如果密码更改失败,因为您的新密码缺乏复杂性,它可能无法告诉您。所以请注意这一限制。
| 归档时间: |
|
| 查看次数: |
47753 次 |
| 最近记录: |