Virtual Services Howto: Virtual Samba

Next Previous Contents

## 10. Virtual Samba

## 10.1 Setup

Virtual SAMBA is very simple to install. Make sure that the following files are setup properly:

- /virtual/domain1.com/etc/smb.conf FILE
- /virtual/domain1.com/var/lock/samba DIRECTORY
- /virtual/domain1.com/var/log DIRECTORY
- /usr/local/bin/virtsmbstatus SYMLINK /usr/local/bin/virtexec

## 10.2 Inetd

Edit /etc/inetd.conf

    vi /etc/inetd.conf # Add this line
    netbios-ssn stream tcp nowait root /usr/local/bin/virtuald \
            virtuald /virtual/conf.smbd smbd

## 10.3 Smb.init

An smb.init file is not needed since the server is run through inetd.

Next Previous Contents