Hi! I'm a newbie on this. This system had been setup by a guy before me. Doing a testparm gives me one of these messages: ---cut---- ERROR: the 'unix password sync' parameter is set and the 'passwd program' (/bin/ passwd) cannot be executed (error was No such file or directory). ---cut--- This might be the reason why I get logs such as this: ............ Nov 25 10:26:58 server PAM_pwdb[7980]: authentication failure; (uid=0) -> myuser for samba service ........... Can anyone tell me how to solve this? Thanks in advance!!! -- Jun Tanamal
On Thu, 29 Nov 2001, Jun Tanamal wrote:> Can anyone tell me how to solve this? > Thanks in advance!!!Can we see the relivant smb.conf lines. Yours Tony. /* * "The significant problems we face cannot be solved at the * same level of thinking we were at when we created them." * --Albert Einstein */
From: "Jun Tanamal" <jtanamal@ssd.org>> Hi! > I'm a newbie on this. This system had been setup by a guy before me. > Doing a testparm gives me one of these messages: > ---cut---- > ERROR: the 'unix password sync' parameter is set and the 'passwd > program' (/bin/ > passwd) cannot be executed (error was No such file or directory). > ---cut--- >It usually comes up because your passwd program is not in /bin. afaik in RH, it is in /usr/bin, so it will be 'passwd program /usr/bin/passwd' in smb.conf.> This might be the reason why I get logs such as this: > ............ > Nov 25 10:26:58 server PAM_pwdb[7980]: authentication failure; (uid=0) > -> myuser for samba service > ........... > > Can anyone tell me how to solve this? > Thanks in advance!!! > > -- > Jun TanamalAhmad "Yaya" Yahya
From: "Jun Tanamal" <jtanamal@ssd.org>> I tried to change the path /bin/passwd to /usr/bin/passwd (it exists). > I restarted samba (and my phone keeps ringing!--I should've done this at > another time)...anyway I still get the authentication failure in the logs. > Is it because of PAM incompatibility (I read this before)?Should this be solved by ./configure --with-pam? Anyone has better idea?> Doing a testparm will display the same messages (see previous post).See below> My smb.conf is attached below. > > Thanks... > > Jun > -------------------------------- > --# Global parameters > [global] > workgroup = SSDOFFICE > server string = Nazgull file and print services > update encrypted = Yes > passwd program = usr/bin/passwdThis should be 'passwd program = /usr/bin/passwd'> unix password sync = Yes > log level = 0 > log file = /var/log/samba/log.%m > time server = Yes > socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 > domain logons = Yes > os level = 300afaik, the high value is 65.> preferred master = Yes > domain master = Yes > wins support = Yes > unix realname = Yes > hosts allow = 10.224.0. > printing = lprng > print command = /usr/bin/lpr -P%p -r %s > lpq command = /usr/bin/lpq -P%p > lprm command = /usr/bin/lprm -P%p %j > lppause command = /usr/sbin/lpc hold %p %j > lpresume command = /usr/sbin/lpc release %p %j > queuepause command = /usr/sbin/lpc -P%p stop > queueresume command = /usr/sbin/lpc -P%p start > > [homes] > comment = Home Directories > read only = No > browseable = No > > [printers] > path = /var/spool/samba > print ok = Yes > > ....some shares not necessary... >Yaya
Hi, I have installed Samba 2.2.3a on a AIX 4.3.3 server which also act as a NIS master. Samba is configured as a PDC and I would like to sync the password between Samba and NIS. Ofcource this doesn't work as expected and I need help. Have anyone ever tested the 'unix password sync' together with AIX 4.3.3? When I try to change the password with smbpasswd I get an error message: machine 127.0.0.1 rejected the password change: Error was: RAP86: The specified password is invalid. For sure, the password I type in is correct, but when I look in the log for smb it seems like /usr/bin/passwd is not executed at all. The chat responce from /usr/bin/passwd is totally empty. My smb.conf looks like this: [global] workgroup = CAT.DOM encrypt passwords = Yes passwd program = /usr/bin/passwd %u passwd chat = *password* %n\n *password* %n\n passwd chat debug = Yes unix password sync = Yes Please help Per - ------------------------------------------------------------------- * Please notice our new e-mail domain name toyota-f1.com - -------------------------------------------------------------------- DISCLAIMER * This email and any attachment may contain confidential information. If you are not the intended recipient you are not authorised to copy or disclose all or any part of it without the prior written consent of Toyota Motorsport GmbH. * Please scan this email and any attachment for viruses. Toyota Motorsport GmbH does not accept any responsibility for problems caused by viruses whether it is the fault of Toyota Motorsport GmbH or not. - --------------------------------------------------------------------