Hi, I'm using Samba 3.2.5 on Debian Lenny, and I need to set the password for a certain user to expire on a specific date (not "now", it's a date in the future). When I was on Debian Etch I could use this: pdbedit -r -u user --time-format=%d-%m-%Y --pwd-must-change-time=<date> But it seems this option for pdbedit is not available anymore in the Samba version included in Lenny. I've read elsewhere about using this as a replacement: net sam set pwdmustchangenow <user> yes ...but this sets the expiration date to NOW, which is not what I want. How can I achieve what I need? Using a cron job for planning a "net sam" command would give a different result, because the user would not be warned in advance about her password going to expire. Thank you. -- Ciao, Marco.
Hi Marco, Freitag, 27. August 2010 15:29:27 Marco De Vitis wrote:> I'm using Samba 3.2.5 on Debian Lenny, and I need to set the password > for a certain user to expire on a specific date (not "now", it's a date > in the future). > > When I was on Debian Etch I could use this: > > pdbedit -r -u user --time-format=%d-%m-%Y --pwd-must-change-time=<date> > > But it seems this option for pdbedit is not available anymore in the > Samba version included in Lenny.Sounds like a more debian related packaging question: http://packages.debian.org/lenny/i386/samba/filelist says /usr/bin/pdbedit is shipped in 2:3.2.5-4lenny12. Arvid -- **** Besuchen Sie unsere Praxis-Vortr?ge zu UCS at School auf der FIT-?V am 23.09.2010 im Haus der Wissenschaft in Bremen **** Arvid Requate Open Source Software Engineer Univention GmbH Linux for your business Mary-Somerville-Str.1 28359 Bremen Tel. : +49 421 22232-0 Fax : +49 421 22232-99 requate at univention.de http://www.univention.de Gesch?ftsf?hrer: Peter H. Ganten HRB 20755 Amtsgericht Bremen Steuer-Nr.: 71-597-02876