Solaris 11 Full - smb

ldoodle

Limp Gawd
Joined
Jun 29, 2011
Messages
172
Hiya,

I have the notes I used to build my Solaris 11 Express NAS box, but some of the commands/services seem to be missing in Solaris 11 Full;

root@server01:~# svcadm enable -r smb/server
svcadm: Pattern 'smb/server' doesn't match any instances

root@server01:~# sharemgr show -vp
bash: sharemgr: command not found

root@server01:~# zfs set sharesmb=name=Documents,GuestOK=true dpool/Documents
cannot set property for 'dpool/Documents': 'sharesmb' cannot be set: must be 'on' or 'off'

root@server01:~# smbadm join -w WORKGROUP
After joining WORKGROUP the smb service will be restarted automatically.
Would you like to continue? [no]: y
failed to join WORKGROUP
failed to contact smbd - Bad file number

This is a clean install of Solaris 11 Full, not upgraded from Express.
 
It doesn't look like you installed the samba server. You only have the client installed IMO. The client is used to connect to Windows shares. To create shares on the Solaris server, you need to have the Samba server installed.

I don't use Solaris, so, I don't know which packages you need. Try Googling samba or your package manager should give you some useful messages.
 
To simplify your setup just get Napp-It It will allow you to configure cifs/samba sharing and allow control over 100's of settings with a GUI.
See this extensive thread for more info.
 
Back
Top