Solaris 11.1 smb share pam.conf

Posted by websta on Server Fault See other posts from Server Fault or by websta
Published on 2012-12-09T12:45:45Z Indexed on 2012/12/11 23:05 UTC
Read the original article Hit count: 283

Filed under:
|
|

I would like to enable an SMB share on Solaris 11.1 x64 My steps:

  1. pkg install service/filesystem/smb
  2. svcadm enable -r smb/server
  3. echo "other password required pam_smb_passwd.so.1 nowarn" >> /etc/pam.conf
  4. useradd public
  5. smbadm enable-user public
  6. zfs set share=name=fs1,path=/rpool/fs1,prot=smb rpool/fs1
  7. zfs set sharesmb=on rpool/fs1
  8. passwd -r files public

Step 8 failes: It is not possible to enter a password, output is:

solaris> passwd -r files public

Please try again

Please try again
Permission denied

If I uncomment the new line in pam.conf, it is possible to change the password. Nevertheless, it is not possible to access the share from Windows 7. The Solaris machine is reachable with ping.

Access with another SMB enabled user is denied too.

© Server Fault or respective owner

Related posts about network-share

Related posts about SMB