DevReview.net

More development notices …

Install samba on freebsd

leave a comment

How to install samba on freebsd if its intsalled on vmware from host machine where installed windows

1. Install samba via ports, make install clean
Lets assume that username is “hockey”

2. put in rc.conf

nmbd_enable="YES"
smbd_enable="YES"


3. edit smb.conf

mcedit /usr/local/etc/smb.conf

with

[global]

 workgroup = samba
 server string = SambaServer
 security = user
 hosts allow = 192.168. 192.168.2. 127.

[hockey]

 comment = hockey stuff
 path = /home/hockey
 valid users = hockey
 public = no
 writable = yes
 printable = no
 create mask = 0644

4.

hockey# smbpasswd -a hockey
New SMB password:
Retype new SMB password:
Added user hockey.

5. start samba daemon

/usr/local/etc/rc.d/samba start

7. check ifconfig ip address

open from windows

\\192.168.81.130\hockey\share
username: hockey (without: HOCKEY/)
pass:[password]

done

Written by admin

April 16th, 2011 at 4:24 pm

Posted in Other

Tagged with ,