I would like to enable an SMB share on Solaris 11.1 x64
My steps:
pkg install service/filesystem/smb
svcadm enable -r smb/server
echo "other password required pam_smb_passwd.so.1 nowarn" >> /etc/pam.conf
useradd public
smbadm enable-user public
zfs set share=name=fs1,path=/rpool/fs1,prot=smb rpool/fs1
zfs set sharesmb=on rpool/fs1
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.
Best Answer
Hit the same problem myself, reading the docs the PAM configuration has been split off into a directory and sub-files, like linux if your familiar with that?
To resolve the problem remove the line from the /etc/pam.conf file and add to the /etc/pam.d/other file as follows...
You should then be able to set the password for 'public'
IMHO the Oracle documentation for Solaris 11 is way better than Sun ever produced, I found the answer on this page...
http://docs.oracle.com/cd/E26502_01/html/E29004/configuringoperationmodetm.html#configureworkgroupmodetask