1. Store
  2. Apps
  3. Hardware
  4. Support
  5. Solutions

ClearFoundation

Forums
Welcome, Guest
Domain users can't change passwords
(1 viewing) 1 Guest
Go to bottomPage: 123456
TOPIC: Domain users can't change passwords
#17581
Re:Domain users can't change passwords 3 Years, 11 Months ago  
Hi everyone!

Maybe if Peter explain us what the rmp does, we can contribute some help too.

Anyway I sill waiting anxious and thank you so much Peter for the support.
MaxMouse
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#17599
Re:Domain users can't change passwords 3 Years, 11 Months ago  
Ah yes. You should also add the following line to the /etc/samba/smb.conf file:

passwd chat timeout = 10

By default, the password change request will only wait 2 seconds. That's not enough time for some systems (notably, our old file server). You may need to reload the Samba server after making this change:

service smb restart

Maybe if Peter explain us what the rmp does, we can contribute some help too.

Sure! The password request from a Windows desktop is handled by the /usr/sbin/userpasswd script. The first bug was just a typo... that was fixed. The second issue involves some magic that happens when Samba runs this script. If the passwords in LDAP are changed when Samba is running the script, you will get the warning message. By adding a workaround specifically for Samba, the password changes succeed.

In case you are wondering, the bug crept into 5.2 because of the changes required by the password policy system. Unfortunately, running a test using the /usr/sbin/userpasswd script directly doesn't catch the problem.
Peter Baldwin
Developer
Posts: 2086
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#17602
Re:Domain users can't change passwords 3 Years, 11 Months ago  
Confirmed!!!

I already changed a password using Ctrl + Alt + Del method!

Again Peter, thank you so much for the solution, and my humble congratulation to all the team to make ClearOS what it is right now.


PD.
Amazing that something as a few seconds can make.
MaxMouse
Junior Boarder
Posts: 22
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/09/20 16:57 By MaxMouse.
The administrator has disabled public write access.
 
#17620
Re:Domain users can't change passwords 3 Years, 11 Months ago  
Peter

I am very pleased to announce that mine is also working fine now thank you.

Not sure if this is worth mentioning, but since most people will have a password policy of "No Expire" or a long time, due to this problem having existed, it might. I changed the password policy while my desktop was logged on and on logging off, it came up with an error message about being unable to save my roaming profile. Starting again, I shutdown all computers and had no issues with the rest. In other words, it might be best to log off all computers before changing the "password policy" settings.

One possible issue I have come across in connection with this is that logging on or changing password on my Windows Vista Business Edition Desktop takes an absolute age, despite the fact that it is by far the fastest computer on our network (all the rest run XP Pro).

The first time I tried to change my password, it hung for 5 minutes saying it was changing the password. It is not unusual for it to take that long to log on as well. All of the xp machines log on in seconds as you would expect.

It's not a major issue to me as I really hate Vista and wanted an excuse to get rid of it.

Alex
Alex
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#17621
Re:Domain users can't change passwords 3 Years, 11 Months ago  
The Windows Event for the logon and logoff is Winlogon 6005 "The winlogon notification subscriber <Profiles> is taking long time to handle the notification event (Logon)."
Alex
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#17626
Re:Domain users can't change passwords 3 Years, 11 Months ago  
Peter

OK, ignore my last 2 messages please. I am feeling very dumb right now.

I set up my server with roaming profiles for 1 good reason. I couldn't trust the people in my office to make sensible use of the U: drive so that they would have access to their files from any computer. I should have taken my own advice. The reason my computer was taking so long to log on and off is that it was synchronizing my user profile, which had become rather large due to my use of the documents and downloads folders. A quick bit of housekeeping onto the U: drive and suddenly my computer logs on and off in a fraction of the time.

I can understand why Roaming Profiles are not entirely recommended, though in our office, unfortunately necessary.


Alex
Alex
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#17709
Re:Domain users can't change passwords 3 Years, 11 Months ago  
Hi all,

i have also the problem.


when i want to change password user form pc (win7) in the domain, in my log i have this:

[2010/09/22 21:52:23.039871, 0] ../libcli/auth/smbencrypt.c:589(decode_pw_buffer)
decode_pw_buffer: incorrect password length (-1480333090).
[2010/09/22 21:52:23.039939, 0] ../libcli/auth/smbencrypt.c:590(decode_pw_buffer)
decode_pw_buffer: check that 'encrypt passwords = yes'

i've aded to smb.conf : encrypt passwords = yes

but it not resolved .

thanks,
chilonnb
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#17730
Re:Domain users can't change passwords 3 Years, 11 Months ago  
chilonnb

According to the first error message, the password is the wrong length. Have you tried with a longer password?

Alex
Alex
Fresh Boarder
Posts: 16
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#17732
Re:Domain users can't change passwords 3 Years, 11 Months ago  
hi Alex,

I've tested short and long password !!! but the problem does not resolved .

thanks,
chilonnb
Fresh Boarder
Posts: 6
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#17760
Re:Domain users can't change passwords 3 Years, 11 Months ago  
Have you applied the "passwd chat timeout = 10" change and installed the new RPM?
Peter Baldwin
Developer
Posts: 2086
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 123456
  get the latest posts directly to your desktop