PDA

View Full Version : user account expiration



flecciso
05-22-2003, 04:39 AM
Hi all,
I have a problem with a user creation under solaris and HP.
I want to create a user with the expiration turned off,so I have used
the method provided by ISMP setAccountExpirationDate(-1) but it does
not work well infact the user is created but it is Locked.

I try (as a work around) to set the expiration date to an Hard Coded value 20/05/2004
corresponding to the value (10850555506395L).
But if I use setAccountExpirationDate(10850555506395L) the user creation fails.

Thanks in advance

Francesco