Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-11-13 Thread Jeffrey Chan
Hi all, Today one of my users was asked to changed her password @ login again. I already commented out defaultMaxPasswordAge in /etc/smbldap-tools/smbldap.conf and ran smbldap-populate Any other ideas would be appreciated. Thanks, - Jeff On Thu, Oct 20, 2011 at 5:28 PM, Jeffrey Chan

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-20 Thread Jeffrey Chan
Thanks for your response Aaron. I actually checked LDAP too already along with pdbedit. For the domain record, sambaMaxPwdAge is shown to be -1 as it should. For each user, sambaPasswordCanChange is 0, sambaPasswordLastSet is the correct password last changed time in epoch. There's no

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-17 Thread Willy Offermans
Hello Aaron, To my knowledge, sambaPwdMustChange is obsolete and is simply ignored by Samba. Please correct me if I'm wrong. On Fri, Oct 14, 2011 at 08:30:26AM -0400, Aaron E. wrote: Sounds like you've checked mostly all except your ldap backend... Check your LDAP DB for... (they will be in

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-14 Thread Aaron E.
Sounds like you've checked mostly all except your ldap backend... Check your LDAP DB for... (they will be in nix timestamp) sambaPasswordCanChange sambaPasswordLastSet sambaPasswordMustChange setup smbldap-tools package On 10/13/2011 11:00 PM, Jeffrey Chan wrote: I'm using OpenLDAP as

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-14 Thread upen
On Fri, Oct 14, 2011 at 12:31 AM, Jeffrey Chan goofri...@gmail.com wrote: I've commented out #defaultMaxPasswordAge months ago. I also used pdbedit and net sam policy to set Maximum Password Age to -1. When I run pdbedit -Lv on each user, it all says Password Must Change: never. Okay. Did you

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-13 Thread Marco Ciampa
On Wed, Oct 12, 2011 at 11:16:42AM -0400, Aaron E. wrote: Just cuirous are you using pam or ldap backend? On 10/12/2011 09:22 AM, Marco Ciampa wrote: [...] If the you is me, I'm using ldap. -- Marco Ciampa ++ | Linux User #78271 | | FSFE fellow #364 |

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-13 Thread Jeffrey Chan
I'm using OpenLDAP as backend. On Wed, Oct 12, 2011 at 11:16 PM, Aaron E. ssures...@gmail.com wrote: Just cuirous are you using pam or ldap backend? On 10/12/2011 09:22 AM, Marco Ciampa wrote: On Wed, Oct 12, 2011 at 12:15:16PM +0800, Jeffrey Chan wrote: Hi all, I've posted this a

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-13 Thread Jeffrey Chan
I've commented out #defaultMaxPasswordAge months ago. I also used pdbedit and net sam policy to set Maximum Password Age to -1. When I run pdbedit -Lv on each user, it all says Password Must Change: never. - Jeff On Wed, Oct 12, 2011 at 11:39 PM, upen upendra.gan...@gmail.com wrote: I also

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-12 Thread Marco Ciampa
On Wed, Oct 12, 2011 at 12:15:16PM +0800, Jeffrey Chan wrote: Hi all, I've posted this a month ago but haven't gotten a reply. Can anyone please help? - Jeff On Mon, Aug 29, 2011 at 5:14 PM, Jeffrey Chan goofri...@gmail.com wrote: Hi all, Since a few months ago Samba ask

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-12 Thread Aaron E.
Just cuirous are you using pam or ldap backend? On 10/12/2011 09:22 AM, Marco Ciampa wrote: On Wed, Oct 12, 2011 at 12:15:16PM +0800, Jeffrey Chan wrote: Hi all, I've posted this a month ago but haven't gotten a reply. Can anyone please help? - Jeff On Mon, Aug 29, 2011 at 5:14 PM,

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-12 Thread Christopher Whitehead
Was having similar issues with enforce password complexity. Setting just doesn't seem to stick. Will have to do some research to figure out what is going on. On Wed, Oct 12, 2011 at 10:16 AM, Aaron E. ssures...@gmail.com wrote: Just cuirous are you using pam or ldap backend? On 10/12/2011

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-12 Thread upen
I also had similar issues. I remember if you change those settings in configuration files, the new users will get the settings right but the users created before that configuration change willl not be affected. One more thing to check is defaultMaxPasswordAge setting in

Re: [Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-10-11 Thread Jeffrey Chan
Hi all, I've posted this a month ago but haven't gotten a reply. Can anyone please help? - Jeff On Mon, Aug 29, 2011 at 5:14 PM, Jeffrey Chan goofri...@gmail.com wrote: Hi all, Since a few months ago Samba ask each of our users to change password at log on every month and I have not been

[Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-08-30 Thread Jeffrey Chan
Hi all, Since a few months ago Samba ask each of our users to change password at log on every month and I have not been able to disable it. I found this page and follow the instructions: http://playingwithsid.blogspot.com/2010/12/change-samba-password-expiry-setting.html The default 'Password

[Samba] Password expires every month even though 'Password Must Change' is set to 'never' (Samba+LDAP)

2011-08-29 Thread Jeffrey Chan
Hi all, Since a few months ago Samba ask each of our users to change password at log on every month and I have not been able to disable it. I found this page and follow the instructions: http://playingwithsid.blogspot.com/2010/12/change-samba-password-expiry-setting.html The default ‘Password