Windows connectivity

Windows connectivity

Works as:

  • File server
  • Printer server (including PDF)
  • Domain controller in Windows networks
  • Authentication

for Windows clients

Samba installation

For Windows XP and later clients, there is nothing to install.

For the Linux server:

Install Samba:

sudo apt-get install samba






Samba configuration

To define a share (in this example, the home folders), edit the /etc/samba/smb.cnf file:

Make home directories shared, browsable, read-write:

comment = Home Directories
browseable = yes
read only =no
create mask = 0775
directory mask = 0775
valid users = %S

Define the password for a share user:

Reload Samba configuration:

sudo /etc/init.d/samba reload

Other Samba capabilities

We just saw the most basic capability of Samba.

Other things you can do:

  • Sharing CUPS printers
  • Various security issues
  • Active Directory integration, including Kerberos authentication
  • Database integration for user information
  • LDAP integration
  • Domain controller or client
  • WINS
  • Remote and local management

Previous: Software management
Next: Scheduling

Follow us on Facebook and Twitter for latest update.