setup smb server

Posted by admin on April 12th, 2009 filed in Uncategorized

install :

SUNWsmbs

SUNWsmbskr

svcadm enable smb/server

svcs smb/server

should show online, if it doesn’t then try restarting

Step 3: Share the filesystem using CIFS.

# zfs set sharesmb=on mypool/myfs2

Step 5: Edit the file /etc/pam.conf to support creation of an encrypted version of the user’s password for CIFS.

Add the following line to the end of the file:

other password required pam_smb_passwd.so.1 nowarn

Step 6: Change the password using the passwd command.

# passwd username New Password: Re-enter new Password: passwd: password successfully changed for root

Setting permissions:

# /usr/bin/chmod A=owner@:full_set:fd:allow <your-root-dir>

====

login from the window’s client

use: tools > map data drive

use this format

//server/path

example

//192.168.1.140/datapool

Leave a Comment