Inscribete en Publidinero y gana por leer correos!


Built-in Samba Settings on Solaris

The latest Samba at present is 3.0.5, though if you don't wanna build and install from Source code, you can use built-in Samba on Solaris. Samba 2.2.8a is provided by the following 3 packages : SUNWsmbac SUNWsmbar SUNWsmbau At first check these packages are installed on your Solaris systems. % pkginfo | grep SUNWsmba Then, if you want to use SWAT, you need to 1. add the following line to /etc/inetd.conf swat stream tcp nowait.400 root /usr/sfw/sbin/swat swat 2. add the following line to /etc/services swat 901/tcp 3. then use your favorite browser and access to the host like http://yourhost:901/ The default root password is same as UNIX root password. And using SWAT or manually editing /etc/sfw/smb.conf like below example, You should create smb.conf to start Samba server. [global] coding system = EUC client code page = 932 # for Japanese code page workgroup = WORKGROUP netbios name = SAMPLEHOST interfaces = x.x.x.x # your Samba server IP address encrypt passwords = Yes hosts allow = y.y.y.y # permitted host to access [product] comment = share directory path = /share read only = No After that, setting Samba user password by # /usr/sfw/bin/smbpasswd -a username You can access share directory from Windows box.