标签:rand users ddr set mini sse 试验 person 导出
Microsoft Windows [版本 5.2.3790]C:\Documents and Settings\Administrator.SUHANGCIRCUIT>ldifde -j c:\ -f users2.ld
f -s BDCSUHANG07.suhangcircuit.com -d "dc=suhangcircuit,dc=com" -r objectClass=u
ser -l objectClass,displayname,name
连接到“BDCSUHANG07.suhangcircuit.com”
用 SSPI 作为当前用户登录
将目录导出到文件 users2.ldf
搜索项目...
写出项目........................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.....
导出了 637 个项目
命令成功完成
C:\Documents and Settings\Administrator.SUHANGCIRCUIT>ldifde -l name,memberof -r
"(objectclass=user)" -f c:/userandgroup.ldf
连接到“BDCSUHANG07.suhangcircuit.com”
用 SSPI 作为当前用户登录
将目录导出到文件 c:/userandgroup.ldf
搜索项目...
写出项目........................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.....
导出了 637 个项目
命令成功完成
C:\Documents and Settings\Administrator.SUHANGCIRCUIT>ldifde -j c:\ -f users2.ld
f -s BDCSUYHANG07.suhangcircuit.com -d "ou=苏杭电子,dc=suhangcircuit,dc=com" -r
objectClass=user -l objectClass,displayname,name
连接到“BDCSUYHANG07.suhangcircuit.com”
无法建立连接
错误代码是 8224
C:\Documents and Settings\Administrator.SUHANGCIRCUIT>ldifde -j c:\ -f users.ldf
-s BDCSUHANG07.suhangcircuit.com -d "dc=suhangcircuit,dc=com" -r "(&(objectCate
gory=person)(objectClass=User))"
连接到“BDCSUHANG07.suhangcircuit.com”
用 SSPI 作为当前用户登录
将目录导出到文件 users.ldf
搜索项目...
写出项目........................................................................
................................................................................
................................................................................
................................................
导出了 280 个项目
命令成功完成
C:\Documents and Settings\Administrator.SUHANGCIRCUIT>ldifde -j c:\ -f users.ldf
连接到“BDCSUHANG07.suhangcircuit.com”
用 SSPI 作为当前用户登录
将目录导出到文件 users.ldf
搜索项目...
写出项目........................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
.............................................
导出了 1317 个项目
命令成功完成
C:\Documents and Settings\Administrator.SUHANGCIRCUIT> -s BDCSUHANG07.suhangcirc
uit.com -d "dc=suhangcircuit,dc=com" -r "(&(objectCate
‘-s‘ 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Documents and Settings\Administrator.SUHANGCIRCUIT>gory=person)(objectClass=U
ser))" -l objectClass,displayname,name
‘gory‘ 不是内部或外部命令,也不是可运行的程序
或批处理文件。
C:\Documents and Settings\Administrator.SUHANGCIRCUIT>ldifde -j c:\ -f users.ldf
-s BDCSUHANG07.suhangcircuit.com -d "dc=suhangcircuit,dc=com" -r "(&(objectCat
egory=person)(objectClass=User))" -l objectClass,displayname,name
连接到“BDCSUHANG07.suhangcircuit.com”
用 SSPI 作为当前用户登录
将目录导出到文件 users.ldf
搜索项目...
写出项目........................................................................
................................................................................
................................................................................
................................................
导出了 280 个项目
命令成功完成
C:\Documents and Settings\Administrator.SUHANGCIRCUIT>ldifde -j c:\ -f users.ldf
-s BDCSUHANG07.suhangcircuit.com -d "dc=suhangcircuit,dc=com" -r "(&(objectCat
egory=person)(objectClass=User))" -l objectClass,displayname,name,proxyAddresses
,mailNickname,sAMAccountName,legacyExchangeDN,mail
连接到“BDCSUHANG07.suhangcircuit.com”
用 SSPI 作为当前用户登录
将目录导出到文件 users.ldf
搜索项目...
写出项目........................................................................
................................................................................
................................................................................
................................................
导出了 280 个项目
命令成功完成
C:\Documents and Settings\Administrator.SUHANGCIRCUIT>
标签:rand users ddr set mini sse 试验 person 导出
原文地址:https://blog.51cto.com/215363/2436850