Line 103: |
Line 103: |
| and change ''winbind use default domain'' from false to true. Save it and exit from gedit. | | and change ''winbind use default domain'' from false to true. Save it and exit from gedit. |
| | | |
− | In the terminal type ''/etc/init.d/smb restart''and ''/etc/init.d/winbind restart'' | + | In the terminal type ''/etc/init.d/smb restart'' and ''/etc/init.d/winbind restart'' |
− | The type
| + | |
− | yum install xdm | + | Then type ''yum install xdm'' |
− | gedit /etc/pam.d/login | + | |
− | A add an extra line under %PAM-1.0 | + | Then type ''gedit /etc/pam.d/login'' |
− | B auth required pam_mount.so | + | |
− | C then on the last line | + | A. add an extra line under %PAM-1.0 |
− | D session optional pam_mount.so
| + | |
− | E then add an extra line just for luck
| + | B. Type ''auth required pam_mount.so'' so that it lines up with the other entries. |
− | gedit /etc/pam.d/gdm | + | |
− | and repeat A-E
| + | C. Then on the last line (add a line if necessary) type ''session optional pam_mount.so'' so that it lines up. |
− | and repeat for /etc/pam.d/xdm | + | |
− | gedit /etc/security/pam_mount.conf | + | D. Then add an extra line just for luck |
− | comment out the line options_require nosuid, nodev by placing a # in front of it
| + | |
| + | E. Save and exit from gedit. |
| + | |
| + | 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. |
| + | |
| + | == Section F == |
| + | |
| + | In the terminal type ''gedit /etc/security/pam_mount.conf'' |
| + | |
| + | Comment out the line ''options_require nosuid, nodev'' by placing a # in front of it. |
| + | |
| Go to line 116 and press enter to start a new line without a # in front | | Go to line 116 and press enter to start a new line without a # in front |
− | volume * cifs server & /home/DOMAIN/& uid=& - - | + | |
− | where server is your SME Server and DOMAIN is your domain in capitals | + | Type ''volume * cifs server & /home/DOMAIN/& uid=& - -'' |
− | restart smb and restart winbind just for luck
| + | |
| + | where ''server'' is your SME Server's host name and ''DOMAIN'' is your workgroup in capitals. Save and exit from gedit. |
| + | |
| + | == Section G == |
| + | |
| + | Restart smb and restart winbind just for luck. |
| + | |
| Go to System...Administration...Login Screen...Local and choose a theme without a face browser. | | Go to System...Administration...Login Screen...Local and choose a theme without a face browser. |
| + | |
| Change to the Security tab and untick Deny TCP connections and Only allows logins if user owns their home directory. | | Change to the Security tab and untick Deny TCP connections and Only allows logins if user owns their home directory. |
| + | |
| From the three choices at the bottom, choose Allow login if all write permissions on user's home directory. | | From the three choices at the bottom, choose Allow login if all write permissions on user's home directory. |
| + | |
| Restart the computer and log in as an SME Server user. | | Restart the computer and log in as an SME Server user. |