DSMOD

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to remove the password never expires flag from all users within
specific OU's.

I have run the DSQUERY to obtain all the users within the specific OU then
tried to user the DSMOD command and -pwdneverexpires no command.

However, the only OU I seem to be able to use the DSMOD command on is the
Users Container is this right?


Thanks

Pauline
 
You might show the command you use and the OU
hierarchy it tries to traverse.
 
Hi Herb

This is the command I am using:

Dsquery user ou=gpo,dc=htb,dc=tote,dc=co,dc=uk | dsmod user
“ou=gpo,dc=htb,dc=tote,dc=co,dc=uk†–pwdneverexpires no

I have three OU's in which I will be wanting to remove the 'password never
expires flag' the above is my test out.

Thanks

Pauline
 
ITLush,

There is really no need to start a second post on this topic!

Cary
 
I posted a second query as one referes to dsmod and the other batches, given
that different professionals have different skill sets!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top