[Unattended] Problems creating user

2005-05-22 Thread Niels S. Richthof
Hi!

I am trying to create a user with this command:

todo.pl net user itcampus password /add /expires:never /active:yes 
/fullname:\itCampus GmbH\ /comment:\Account fuer Fernzugriff\

(on windows 2000 servers installed by Unattended)

The net user command is valid according to the documentation output 
of net help user.

The command creates the user with the password, and sets fullname and 
comment correctly. But - the password never expires flag is NOT 
set. Any ideas what is wrong?


Thanks!

cu
Niels
-- 
A: Weil es die Lesbarkeit des Textes verschlechtert.
F: Warum ist TOFU so schlimm?
A: TOFU
F: Was ist eins der groesste Aergernisse in E-Mails?



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info


Re: [Unattended] Problems creating user

2005-05-22 Thread Niels S. Richthof
Hi Matt!

 What is wrong is that you are unable to set the password expiration
 flag from the net command (even though you can set just about
 everything else...don't get me started). The expires option is for
 account expiration, not password expiration.

Ouch. Thanks for that correction.

 The good news? I wrote a perl script that will set the never expires

Great! I added it to the faq page. Thank you very much!

cu
Niels
-- 
A: Weil es die Lesbarkeit des Textes verschlechtert.
F: Warum ist TOFU so schlimm?
A: TOFU
F: Was ist eins der groesste Aergernisse in E-Mails?



---
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7412alloc_id=16344op=click
___
unattended-info mailing list
unattended-info@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-info