[cifs-discuss] Issue configuring SMB
Mark Shellenbaum
Mark.Shellenbaum at Sun.COM
Fri May 16 07:08:31 PDT 2008
Cuyler Dingwell wrote:
> I've tried to go step by step through the instructions online for OpenSolari 08.05 however for the life of me I can't seem to get SMB shares to work.
>
> -bash-3.2# zfs set sharesmb=on tank
> cannot share 'tank': smb add share failed
>
Do you have any error messages in /var/adm/syslog?
is the smbsrv kernel module loaded? You can verify that with the
following command
$ modinfo | grep smbsrv
> I tried creating a group for smb and adding the shares there however I still can't connect from any other machine (or locally through the file browser).
>
You shouldn't need to do that.
> -bash-3.2# sharemgr show -vp
> default nfs=()
> notamac smb=()
> backup=/backup
> Videos=/tank/Videos
> zfs
> zfs/tank nfs=(nosuid="true" anon="501") smb=() nfs:sys=(rw="*")
> tank=/tank
>
> A pretty standard installation (did it twice) with the smb packages installed.
> -bash-3.2# pkginfo | grep smb
> system SUNWsmbau samba - A Windows SMB/CIFS fileserver for UNIX (Usr)
> system SUNWsmbfskr SMB/CIFS File System client support (Kernel)
> system SUNWsmbfsr SMB/CIFS File System client support (Root)
> system SUNWsmbfsu SMB/CIFS File System client support (Usr)
> system SUNWsmbskr SMB Server (Kernel)
> system SUNWsmbsr SMB Server (Root)
> system SUNWsmbsu SMB Server (Usr)
>
> Also, pam.d has been updated accordingly.
> -bash-3.2# cat /etc/pam.conf | grep smb
> other password required pam_smb_passwd.so.1 nowarn
>
> The service is there...
> -bash-3.2# svcs | grep smb
> online 22:04:06 svc:/network/smb/server:default
>
> Ideas?
>
> Right now I have nfs working but it's fairly slow (12->16 mb/s) I've heard in some cases smb shares can be faster so I'd like to give it a shot.
>
> Thanks!
> --
> This messages posted from opensolaris.org
> _______________________________________________
> cifs-discuss mailing list
> cifs-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/cifs-discuss
More information about the cifs-discuss
mailing list