加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

active-directory – dsadd给出“提供的名称不是正确形成的帐户

发布时间:2020-12-13 23:10:11 所属栏目:Windows 来源:网络整理
导读:这个命令: dsadd user "cn=testing dummy2,cn=Users,dc=domain,dc=local" -display "testing dummy2" -samid testing.dummy2@domain.local -pwd password76 -fn testing -ln dummy2 -disabled no -upn testing.dummy2@domain.local -desc testing -acctexpi
这个命令:
dsadd user "cn=testing dummy2,cn=Users,dc=domain,dc=local" -display "testing dummy2" -samid testing.dummy2@domain.local -pwd password76 -fn testing -ln dummy2 -disabled no -upn testing.dummy2@domain.local -desc testing -acctexpires 61 -mustchpwd yes

回来了:

The name provided is not a properly formed account name. type dsadd /? for help

有什么我想念的吗?

您似乎使用-samid开关将UPN传递给SAMAccountName属性.摆脱@及其后的所有内容.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读