Line 43: |
Line 43: |
| # If your workgroup is called DOMAIN, type ''mkdir /home/DOMAIN'' in the terminal. | | # If your workgroup is called DOMAIN, type ''mkdir /home/DOMAIN'' in the terminal. |
| | | |
− | '''Section C''' | + | '''Section C - Prep the SME Server''' |
| | | |
− | Log in as root on the SME Server and type ... | + | #Log in as root on the SME Server and type ''signal-event machine-account-create host$'' and ''smbpasswd -a -m ''host''$'' where ''host'' is the hostname of your Fedora 7 workstation, minus the ''example.com'' - i.e. it should be a single word with no fullstops. |
| | | |
− | signal-event machine-account-create host$
| + | '''Section D - Joining the Domain''' |
− | | |
− | smbpasswd -a -m ''host''$
| |
− | | |
− | where ''host'' is the hostname of your Fedora 7 workstation, minus the ''example.com'' - i.e. it should be a single word with no fullstops.
| |
− | | |
− | '''Section D''' | |
| | | |
| Back on the Fedora 7 Workstation: | | Back on the Fedora 7 Workstation: |
| | | |
− | In the terminal type ''net rpc join -D DOMAIN -U admin'' where ''DOMAIN'' is your workgroup in capitals. | + | # In the terminal type ''net rpc join -D DOMAIN -U admin'' where ''DOMAIN'' is your workgroup in capitals. |
− | | + | # Give the SME Server admin password when requested. |
− | Give the SME Server admin password when requested. | + | # You will see a message to the effect that you have joined the domain. |
− | | |
− | You will see a message to the effect that you have joined the domain. | |
− | | |
− | '''Section E'''
| |
− | | |
− | In the terminal type ''gedit /etc/pam.d/system-auth'' and at the '''bottom''' add this line ...
| |
− | | |
− | ''session required pam_mkhomedir.so skel=/etc/skel umask=0077''
| |
− | | |
− | add an extra blank line after that for luck. Save it and exit from gedit.
| |
− | | |
− | In the terminal type ''gedit /etc/samba/smb.conf''
| |
− | | |
− | 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''
| |
− | | |
− | Then type ''yum install xdm''
| |
− | | |
− | Then type ''gedit /etc/pam.d/login''
| |
− | | |
− | A. add an extra line under %PAM-1.0
| |
− | | |
− | B. Type ''auth required pam_mount.so'' so that it lines up with the other entries.
| |
− | | |
− | C. Then on the last line (add a line if necessary) type ''session optional pam_mount.so'' so that it lines up.
| |
− | | |
− | D. Then add an extra line just for luck
| |
− | | |
− | E. Save and exit from gedit.
| |
| | | |
− | Then repeat A - E for ''/etc/pam.d/gdm'' and ''/etc/pam.d/xdm''
| + | '''Section E - Setting up Fedora to Authenticate''' |
| | | |
− | If you installed KDE, you should probably modify the kdm entry the same way, but I did not try this. | + | # In the terminal type ''gedit /etc/pam.d/system-auth'' and at the '''bottom''' add this line ... |
| + | # ''session required pam_mkhomedir.so skel=/etc/skel umask=0077'' |
| + | # add an extra blank line after that for luck. Save it and exit from gedit. |
| + | # In the terminal type ''gedit /etc/samba/smb.conf'' |
| + | # 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'' |
| + | # Then type ''yum install xdm'' |
| + | # Then type ''gedit /etc/pam.d/login'' |
| + | # A. add an extra line under %PAM-1.0 |
| + | # B. Type ''auth required pam_mount.so'' so that it lines up with the other entries. |
| + | # C. Then on the last line (add a line if necessary) type ''session optional pam_mount.so'' so that it lines up. |
| + | # D. Then add an extra line just for luck |
| + | # 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''' | + | '''Section F - Setting Up Automount''' |
| | | |
| In the terminal type ''gedit /etc/security/pam_mount.conf'' | | In the terminal type ''gedit /etc/security/pam_mount.conf'' |