Samba 4: share filesystems between Linux and Windows

Classic Samba uses its own password database containing encrypted passwords but, as file permissions relate to Unix users and groups, these are directly related to the users on the server. Active Directory users are not related to Unix users (more on this later). To add a user to classic Samba:

# smbpasswd -a myuser
New SMB password: Retype new SMB password:
Forcing Primary Group to 'Domain Users' for myuser
Forcing Primary Group to 'Domain Users' for myuser
Added user myuser.

The easiest way to upload a printer driver is by an administrator user logged in to a Windows client. On Windows 7, browse to the server (eg, \\MYHOST) and then click on View Remote Printers. Press Tab to display the menu bar and then select File>Server Properties. Go to the Drivers tab and click on Add. This will start the Add Printer Driver wizard for the server.

After uploading a driver, you need to associate it with the printer: browse to the printer and open its Properties page. On its Advanced tab, select the uploaded driver from the drop-down list. A windows client can add a printer (eg, on Windows 7 go to Start > Devices and Printers > Add Printer to add a networked printer). If a driver is installed on [print$] it will install automatically, otherwise the user will need to locate and install the correct driver themselves.

TOPICS