Samba server



  • is the pfsense has a samba server



  • I'm sure you could install it with```
    pkg_add -r



  • the security is not very important for me
    but in a simple way how can i install it with yhis code
    is it from shell – iam sorry iam a beginner in pf sense



  • pkg_add -r samba
    

    That should work. I know right now that pfsense 1.2.2 has outdated repository sources. You may have to runpkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/samba-3.2.8.tbzand install all dependencies the same way like```
    pkg_add ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/All/samba-smbclient-3.0.34.tbz

    Or you can update the repositories sources so that```
    pkg_add -r samba
    ```will install everything you need.
    
    EDIT: Just upgrade to 1.2.3 RC1 and run pkg_add -r samba


  • I have some conflicts with stable version so i use hk.

    
    setenv PACKAGEROOT "ftp://ftp.hk.freebsd.org"
    pkg_add -r samba3
    
    

    a working configuration /usr/local/etc/smb.conf

    
    [global]
    netbios name = pfsense
    workgroup = workgroup
    server string = pfsense
    ;use your own interface mine is em0
    interfaces = em0
    security = user
    os level = 39
    preferred master = Yes
    domain master = Yes
    dns proxy = No
    local master = Yes
    wins support = yes
    encrypt passwords = yes
    
    [pfsense]
    comment = Entire Drive
    path = /
    read only = no
    browseable = yes
    valid users = @wheel
    
    

    then run

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

    auto run /etc/rc.conf.local

    samba_enable="YES"
    

Locked