Hi, i have samba 3.0.10 installed with LDAP. I noticed few days ago that my adminsitrator account has expired. I think it's because of the sambaPwdMustChange field of LDAP. I changed the passwd now i have the value 1108741705 in it. What does it mean (when will i be prompted again to change my passwd) and do i have to put in this field so that the password will never expire ? Thanks for any help
Patrick, This number is a timestamp. To figure out what day it means paste it in this url http://www.4webhelp.net/us/timestamp.php?action=stamp&stamp=&timezone=0 To set an account to never expire it?s password you have to set sambaacctflags to [UX] Regards, Gustavo ----- Original Message ----- From: "Patrick DUBAU" <patrick.dubau@alsace.iufm.fr> To: <samba@lists.samba.org> Sent: Monday, January 17, 2005 1:14 PM Subject: [Samba] sambaPwdMustChange> Hi, > > i have samba 3.0.10 installed with LDAP. > I noticed few days ago that my adminsitrator account has expired. I think > it's because of the sambaPwdMustChange field of LDAP. I changed the passwd > now i have the value 1108741705 in it. What does it mean (when will i be > prompted again to change my passwd) and do i have to put in this field so > that the password will never expire ? > > Thanks for any help > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >
The number (1108741705) is a unix time stamp (number of seconds since 1st jan 1970) use this webs ite to convert it to a readable date (http://www.4webhelp.net/us/timestamp.php), the number you have provided tells me that your password will expire on (1108741705 translates to *Friday, February 18^th 2005, 15:48:25 (GMT)) if you dont want it to expire create a date for 30 years time or so? bash# perl -e 'print time+946080000;' this should always give you a unixtime stamp in 30 years time! This will make your password expire in 2035 !! * Patrick DUBAU wrote:> Hi, > > i have samba 3.0.10 installed with LDAP. > I noticed few days ago that my adminsitrator account has expired. I > think it's because of the sambaPwdMustChange field of LDAP. I changed > the passwd now i have the value 1108741705 in it. What does it mean > (when will i be prompted again to change my passwd) and do i have to > put in this field so that the password will never expire ? > > Thanks for any help >-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Daniel Wilson Systems Administrator IT & Communications Service University of Sunderland Unit1 Technology Park Chester Road Sunderland SR2 7PT Tel: 0191 515 2695 This e-mail contains information which is confidential and may be privileged and is for the exclusive use of the recipient. It is the responsibility of the recipient to ensure that this message and its attachments are virus free. Any views or opinions presented are solely those of the author and do not necessarily represent those of the University, unless otherwise specifically stated.