Samba in Oracle Solaris 10
- check package
Docapps# 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)
- check samba config file
Docapps# pkgchk -l SUNWsmbar | grep conf-example
Pathname: /etc/sfw/smb.conf-example
- check stage samba
Docapps# svcs -a | grep samba
disable 10:31:59 svc:/network/samba:default
- edit share path on /etc/sfw/smb.conf
cp /etc/sfw/smb.conf-example /etc/sfw/smb.conf
exp:
[myshare]
comment = My Share
valid users = test
path = /u01/app/test
writeable = no
guest ok = yes
- chmod smb.conf file to read only
chmod 0444 /etc/sfw/smb.conf
- check state samba service and start service
Docapps# svcadm disable samba
svcs -a | grep samba
Docapps# svcadm enable samba
svcs -a | grep samba
online 10:42:04 svc:/network/samba:default
-set passwd for samba user
Docapps#/usr/sfw/bin/smbpasswd -a test
password : 123456
- test connect on MS windows
net use O: \\192.168.1.20\myshare
Subscribe to:
Post Comments (Atom)
ALCATEL 6900
write memory copy running certified reload from working no rollback-timeout
-
SET LLDP System NAME: system name ALL-Uplink system location SIAM-FL11 SHOW LLDP Configure: show lldp config or show lldp local-syste...
-
grant execute on utl_http to wc grant execute on dbms_lock to wc; BEGIN DBMS_NETWORK_ACL_ADMIN.create_acl ( acl => ...
-
:system view system-view or sys :show all config dis current-configuration :create vlan vlan vlan_number :show ip interface ...
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.