Hello,
I have problems seting up SMB server in Solaris 11.3.
I had SMB working previously on Solaris 11 (updated to 11.3), but a bad harddisk crash forced me to install Solaris again from scratch and I cannot get it working properly.
I have imported the previous zfs pool with share.smb set to on for the applicable file systems.
I have tried following the instructions in the Oracle documentation "Managing SMB File Sharing and Windows Interoperability in Oracle Solaris 11.3" to setup the SMB server service (not SAMBA).
This is a home server so I do not use a AD or LDAP server and have tried setting it up using workgroups.
The steps I have taken are:
Enabled mapping by using Identity Management
# svccfg -s svc:/system/idmap setprop config/directory_based_mapping = astring: idmu
Enabled the SMB service
# svcadm enable -r smb/server
Added " password required pam_smb_passwd.so.1 nowarn
" to /etc/pam.d/other
Reset password to populate /var/smb/smbpasswd
# passwd username
# smbadm join -w myworkgroup
The server shows up in the "Network places" and at one point I could log in to it using root, but I have not been able to open any shares using my normal user or root.
I have tried setting winnames in idmap aswell without success. Restarted the service and computer a couple of times but to no use.
At the moment the server shows up but I cannot log in to it in any way via SMB.
I have tried looking in /var/adm/messages and the most helpful error message I have seen is "access denied: guest disabled".
Enabling guest for the shares in zfs enabled me to open one of the shares but no files where then visible, so I turned the guest option off again.
Please help me get to the bottom of this. I feel like I have missed some mundane detail but I cannot figure out what.
Added/Changed CODE tags.