запрос в AD

Ответить
Аватара пользователя
Sidelong

запрос в AD

Сообщение Sidelong »

Привет всем!

Подскажите в чем ошибка, при таком запросе у меня в файл не больше 100 записей только вноситься, а в AD раза в 2-3 больше их???



Код:

Код: Выделить всё

dsquery user "ou=имя подразделения, где лежат все мои юзеры,dc=имя домена" -name * | dsget user -display -office - tel >c:\text.cvs

обишку выдает такую:



Код:

Код: Выделить всё

Dsquery has reached the default limit of 100 results to display; use the -limit option to 
display more results.

если добавить параметр -qlimit, перед >c:text.cvs то выдается следующая ошибка:



Код:

Код: Выделить всё

Параметр задан неверно.:The directory partition does not exist on the specified server or 
domain. Verify that you have entertype dsget /? for help.
Аватара пользователя
xoxmodav

Re: запрос в AD

Сообщение xoxmodav »

Читай помощь к команде dsquery:




Цитата:



-limit



Specifies the number of objects matching the given criteria to be returned, where is the number of objects to be returned. If the value of is 0, all matching objects are returned. If this parameter is not specified, by default the first 100 results are displayed.
Ответить

Вернуться в «Microsoft Windows NT/2000/2003»