Here is my working Samba config - I have changed my domain and server names.
*Update - here is some additional samba information, which I copied from this site.
You will need to substitute "YOURDOMAIN.DOM" with your Windows Active Directory domain name. You will also need to substitute "YOURDOMAIN" with your Windows netbios domain name (usually the first part of your active directory domain name.
Below is an example of a typical Samba config file (/etc/samba/smb.conf) with comments on key directives.
More information on setting up a PDF printer can be found at the bottom of this page.
And you need to modify /etc/krb5.conf as per the example below.
As in the smb.conf above, you will need to substitute "YOURDOMAIN.DOM" with your Windows Active Directory domain name. You will also need to substitute "YOURDOMAIN" with your Windows netbios domain name (usually the first part of your active directory domain name. Also not that it is important to add the domain name in both upper and lower case as per the example below.
Once you have completed the above modifications to your smb.conf and krb5.conf, you can then join your Windows AD domain, with the following command:
You will then be prompted for your Administrator password, and once entered, should receive a message stating that the join was successful.
In order to allow users to access the Samba system, I found it neccessary to create users on the local Samba system with the same usernames as the ADS system, but my understanding is that this can be circumvented by configuring Samba for LDAP authentication, using the ADS as an LDAP source, although this is beyond the scope of this document.
The next step is to setup a PDF printer than can be used by all your network users, and will output a PDF file to their home directory on the Samba server. Go to the CUPS PDF website and download the CUPS PDF utility.
Ghostscript is required for pdf printing, as well as a selection of fonts.
Packages required are:
This is the script called "pdfprint" which is called above:
This outputs to "pdfprinter" in the respective user's home directory.
Did you find this useful? Do you have any other feedback?
Please let me know.