search for: change_oem_password

Displaying 9 results from an estimated 9 matches for "change_oem_password".

2009 Jan 08
0
Wrong behaviour in pdb_get_set.c: pdb_get_pass_can_change_time?
...e then tried to set the smabaPwdCanChange time somewhere in the future, but had to see, that samba didn't honored the given value. I then got the source, looked at the logs with an high log level and searched my way though it to two important functions, when it comes to changing passwords: 1) change_oem_password (smbd/chgpasswd.c): It seems this is the function that is called upon a user changes it's password from a windows box. And it's there that some strange things start to happen: It calls pdb_gat_pass_can_change_time to get the time, but before this time is checked, pdb_get_pass_can_change (p...
2008 Sep 09
1
shadowLastChange problem with Samba+OpenLDAP
...is fine except the shadowLastChange field is never updated when shadowMax is nonzero. So the password age feature is not functioning as expected. 2. Later I found shadowLastChange could be updated by smbldap-passwd, so I changed 'unix password sync' from no to yes. In this case, change_oem_password() will return NT_STATUS_ACCESS_DENIED when the passwords are actually good. I did a little trace and found that smbldap-passwd exited when getting the new password when invoked as 'passwd program' by samba. How can I make shadowLastChange updated correctly? Anybody with any...
1998 Mar 28
4
unix password sync problems!
I have been trying for hours to get the unix password sync going properly with Samba 1.9.18p4 running on FreeBSD 2.2.5 I have compiled Samba with the ALLOW_CHANGE_PASSWORD option enabled. I created the smbpasswd file as ENCRYPTION.txt states, and can set passwords as root. However, when a user tries changing their password, it doesn't work. The error reported is:
2009 Sep 05
1
Windows Users cannot change password on PDC Samba Server
...# Sincronizacion de cuentas LDAP, NT y LM # unix password sync = Yes ldap passwd sync = Yes passwd program = /usr/sbin/smbldap-passwd -u "%u" passwd chat = "Changing *\nNew password*" %n\n "*Retype new password*" %n\n" [2009/09/03 14:05:16, 1] smbd/chgpasswd.c:change_oem_password(1057) Sep 3 14:05:16 eisaIII smbd[4801]: user test1 cannot change password now, must wait until vie, 04 sep 2009 17:29:06 ART I don't find what is the problem. Someone help me please? Here it's: [root at SRVDC01 ~]# testparm Load smb config files from /etc/samba/smb.conf Processing s...
1998 Jun 16
0
debugging 'unix password sync'
...no problem, probably a bad chat script (it's Solarisx86 2.5.1). I looked in my log files (log.<machine>, log.smb, log.nmb), and there was no chat script debug information. I did try and put a zero-length 'old' password on Win95 to see what it would do, and all I saw was a 'change_oem_password: incorrect password length' message in log.<machine>. Are there other steps required to get chat logging to work? Thanks in advance, eh? Corey M. Wirun satcan19 - simulated air traffic control organization (canada)
2004 Jan 22
1
min password length
...stparm -v|grep "min pass" min passwd length = 3 j'ai fait recharger sa configuration ? samba (killall -HUP smbd) j'ai relancer samba (/etc/init.d/smb restart) Rien n'y fait, j'obtiens dans les logs le message suivant : [2004/01/22 16:12:22, 1] smbd/chgpasswd.c:change_oem_password(917) user f-roth cannot change password - password too short account policy min password len = 5 J'ai essay? d'utiliser le synonyme min password length = 3 mais le resultat est identique. J'ai essay? "min password len = 3" mais cette option n'est pas reconnue par t...
2004 Jun 01
2
changing smbpasswd password rules
Where does smbpasswd get its password rules from? I need to change them! I need to allow for passwords as short as 3 characters. I've changed my unix rules to allow users using passwd to change their password correctly but samba will not. I'm using encrypted passwords so min password length = 3 doesn't do anything, right? I keep getting RAP86 errors and the log says password too
2012 Mar 26
0
A very strange SWAT: unix and samba password
...ast password change: Mar 26, 2012. I try to change password from SWAT again today (Mar 26), and surely SWAT says: machine 127.0.0.1 rejected the password change: Error was : Account restriction. The passwd has NOT been changed. In /var/log/log.smbd: [2012/03/26 15:33:30, 1] smbd/chgpasswd.c:1124(change_oem_password) user fajar cannot change password now, must wait until Tue, 27 Mar 2012 15:33:30 SGT This is the funny thing begins: - Unix account is changed by SWAT. But the Last password change is still Mar 25. - Samba account not changed. But after 1 minute (I think), samba password is changed too. Match t...
2007 Jan 31
1
Cannot change expired password
I have a samba PDC set up and configured. I have been doing tests and everything was working fine. I was able to set "User must change password" to today's date and it would prompt the user that their password has expired when logging into windows xp. I could then enter a new password and be on my way. Now when I set the password to "User must change password", when I