Sum Thai Wong wrote:
> Hi,
> 
> I was trying to setup smb sharing on zfs by following the instructions at
> http://www.genunix.org/wiki/index.php/Getting_Started_With_the_Solaris_CIFS_Service
> 
> After inserting the following line into /etc/pam.conf:
> other password required pam_smb_passwd.so.1 nowarn
> 
> I tried to change password for one user 
> 
> # passwd *someuser*
> Permission denied
> 
> and got the follow error through dmesg
> 
> Mar  1 10:53:41 galaxy passwd[1025]: [ID 834567 auth.error] 
> open_module[0:/etc/pam.conf]: stat(/usr/lib/security//pam_smb_password.so.1) 
> failed: No such file or directory
> Mar  1 10:53:41 galaxy passwd[1025]: [ID 625676 auth.error] 
> load_modules[0:/etc/pam.conf]: can not open module 
> /usr/lib/security//pam_smb_password.so.1
> 
> I suspect it's probably due to the double slash in the path. Is this a bug? 
> Any way to get around it?

It isn't due to the // in the path and that wouldn't cause a problem 
anyway - if it did it would be a bug.

It is due to the fact that the modules name is pam_smb_passwd.so.1 not 
pam_smb_password.so.1

-- 
Darren J Moffat

Reply via email to