# Then repeat A - E for ''/etc/pam.d/gdm'' and ''/etc/pam.d/xdm''
# Then repeat A - E for ''/etc/pam.d/gdm'' and ''/etc/pam.d/xdm''
# If you installed KDE, you should probably modify the kdm entry the same way, but I did not try this.
# If you installed KDE, you should probably modify the kdm entry the same way, but I did not try this.
+
+
[[Image:system-auth.jpg]]
+
+
Above is my ''/etc/pam.d/system-auth'' file with additional line at the bottom followed by an empty line.
+
+
[[Image:smb-conf.jpg]]
+
+
Above is my ''/etc/samba/smb.conf'' file showing the important entries. The one you need to modify is shown in red! Don't forget to restart smb and winbind after you edit this file.
+
+
[[Image:login.jpg]]
+
+
Above is my ''/etc/pam.d/login'' file showing the added lines in red, plus an additional empty line at the bottom. You need to do the same for ''/etc/pam.d/gdm'' and ''/etc/pam.d/xdm'' and even the ''kdm'' one if you lean that way.