วันศุกร์ที่ 8 พฤศจิกายน พ.ศ. 2556

Solaris : Config samba on solaris 10

Standard

  1. ตรวจสอบ package ว่ามีในเครื่องหรือไม่ 
  2. #pkginfo -x | grep -i samba
    SUNWsmbac samba - A Windows SMB/CIFS fileserver for UNIX (client)
    SUNWsmbar samba - A Windows SMB/CIFS fileserver for UNIX (Root)
    SUNWsmbau samba - A Windows SMB/CIFS fileserver for UNIX (Usr)
  3. หา path ของไฟล์ config
  4. #pkgchk -l SUNWsmbar | grep conf-example 
    Pathname: /etc/samba/smb.conf-example
  5. ตรวจสอบว่า service ของ samba ทำงานหรือไม่
  6. #svcs -a | grep samba
    disabled  22:56:55 svc:/network/samba:default
  7. เปิด service samba ด้วยคำสั่ง
  8. #svcadm enable samba




ปล1. add user เข้า samba ด้วย
#smbpasswd -a user
ปล2.disable service
#svcadm disable samba


Ref : http://nasir-zeeshan.blogspot.com/2013/03/how-to-configure-samba-in-oracle.html