Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have successfully joined computer to the SAMBA4 DC and successfully logging in!

Now the question is...how Linux users now can change their own passwords?

I guess it's to use "passwd" command. But it's not changing the password.

It's complaining that the password doesn't meet to requirements (trust me, I tried hard and very hard password as well as medium hard and simple, short, long...).

I think this must be done in some other way right?

This is really important...

I tried to force user to change his password on next login. The Linux (Ubuntu 11.04) is really asking for current password and asking for a new password twice. but the password, again, is not changing anyways.

Can you give me a hint?

share|improve this question

closed as too broad by Ward, Nathan C, dawud, Scott Pack, 84104 Apr 18 at 2:13

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs. If this question can be reworded to fit the rules in the help center, please edit the question.

    
There's a number of methods that can be used to authenticate a Linux system against Active Directory; which are you using? –  Shane Madden Aug 2 '11 at 21:27
    
I'm using through Likewise open, if I got the question right. –  bakytn Aug 2 '11 at 21:32
    
@Shane, sorry I should have noticed that it's actually a SAMBA4 and not Microsoft XXXX Server's AD, this is a major notice. But may be answering to the initial question about Active Directory would help in my case too. –  bakytn Aug 2 '11 at 21:33

1 Answer 1

up vote 1 down vote accepted

It was due to password minimum age restriction.

You have to set this: samba-tool pwsettings set --min-pwd-age=0

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.