[Samba] Can't reset password from windows 2000, or from the samba pdc. Error from samba pdc: machine127.0.0.1 rejected the password change: Error was : RAP86:The specified password is invalid.

big toe bigtoeage21 at yahoo.com
Thu May 20 14:03:13 GMT 2004


Salim,

Yes I do have permission to run the passwd command as
a local user, I can change the unix password just
fine.  It is when I do the smbpasswd command that that
error comes up.  Thanks for looking at this!

Tony


--- Salim Zakharia <Salim at mdsuae.ae> wrote:
> Try to check if users have permission to run:
> /usr/bin/passwd  let user
> try to change his password locally on system and
> check if it works.
> 
> Regards
> --
> Salim Zakharia
> Sr. Systems Engineer, BE computer Engineer
> MDS Systems Integration
> Mobile : +971 50 4453631
> Office  : +971 2 6262900
> Fax     :+971 2 6262455
> 
> 
> -----Original Message-----
> From: samba-bounces+salim=mdsuae.ae at lists.samba.org
>
[mailto:samba-bounces+salim=mdsuae.ae at lists.samba.org]
> On Behalf Of big
> toe
> Sent: Wednesday, May 19, 2004 11:34 PM
> To: samba at lists.samba.org
> Subject: [Samba] Can't reset password from windows
> 2000,or from the
> samba pdc. Error from samba pdc: machine127.0.0.1
> rejected the password
> change: Error was : RAP86:The specified password is
> invalid.
> 
> I have a samba pdc running 3.0.4.  I have users
> logging into the profile server and wanting to
> change
> there password.  However when they try to change the
> password it asks them for the old and new password
> but
> says they do not have permission to change the
> password.  I can change the password for them when I
> log into the pdc as root but when I try to do it as
> user it gives the error:
> 
> machine 127.0.0.1 rejected the password change:
> Error
> was : RAP86: The specified password is invalid.
> 
> Looking at the log file for that machine the error
> messages are as follows:
> 
> [2004/05/19 08:46:36, 0]
> auth/pampass.c:smb_pam_chauthtok(692)
>   PAM: UNKNOWN PAM ERROR (19) for User: tony
> [2004/05/19 08:46:36, 2]
> auth/pampass.c:smb_pam_error_handler(73)
>   smb_pam_error_handler: PAM: Password Change Failed
> :
> Conversation error
> [2004/05/19 08:46:36, 0]
> auth/pampass.c:smb_pam_passchange(848)
>   smb_pam_passchange: PAM: Password Change Failed
> for
> user tony!
> 
> 
> 
> My redhat 9.0 box is running samba 3.0.4 and the
> workstations are all windows 2000 pro boxes.  I have
> looked in google and no one seems to know the cause
> or
> solution to this problem.  Here is my smb.conf file:
> 
> [global]
> 
>    ;basic server settings
>    workgroup = workgroup
>    netbios name = name
>    server string = Samba PDC running %v
>    socket options = TCP_NODELAY SO_RCVBUF=8192
> SO_SNDBUF=8192
> 
>    ;PDC and master browser settings
>    os level = 64
>    preferred master = yes
>    local master = yes
>    domain master = yes
>    wins support = yes
>    domain logons = yes
> 
>    ;security and logging settings
>    security = user
>    encrypt passwords = yes
>    log file = /var/log/samba/log.%m
>    log level = 2
>    max log size = 50
>    hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0
> 
>    add user script = /usr/sbin/useradd -d /dev/null
> -g
> machines -s /bin/false -M %u
> 
>    ;sync UNIX passwords
>    smb passwd file = /etc/samba/smbpasswd
> #   pam password change = yes
>    unix password sync = yes
>    passwd program = /usr/bin/passwd %u
>    passwd chat = *New*UNIX*password* %n\n
> *ReType*new*UNIX*password* %n\n
>
*passwd:*all*authentication*tokens*updated*successfully*
>    passwd chat debug = yes
> 
> Any help on this would be very appreciative!!! 
> Thanks
> in advance.
> 
> Regards,
> 
> Tony
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! - Internet access at a great low price.
> http://promo.yahoo.com/sbc/
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
> http://lists.samba.org/mailman/listinfo/samba
>
#####################################################################################
> This e-mail message has been scanned for Viruses and
> Content and cleared 
> by NetIQ MailMarshal
>
#####################################################################################



	
		
__________________________________
Do you Yahoo!?
Yahoo! Domains – Claim yours for only $14.70/year
http://smallbusiness.promotions.yahoo.com/offer 


More information about the samba mailing list