Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Import and export of account information in domain

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Export

Csvde-f users.csv-d "ou= Southwest Company user, dc=wzxtech,dc=cn"-r "(& (objectcategory=person) (objectclass=user))"-l DN,objectClass,samaccountname

Import OU

For / f "tokens=1 delims=,"% an in (c:\ ou.csv) do dsadd ou "ou=%a,ou= headquarters user, ou= Southwest Company user, dc=wzxtech,dc=cn"

Import account

For / f "skip=1 eol=; tokens=1-9 delims=,"% an in (c:\ import format .csv) do dsadd user cn=%a,ou= department OU,ou= Southwest Company user, dc=wzxtech,dc=cn-upn% b@cpeswa.cnpc-samid% d-pwd% c-ln% a-mustchpwd no-disabled no

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report