Changes

From SME Server
Jump to navigationJump to search
no edit summary
Line 84: Line 84:  
===Authentication Modifications===
 
===Authentication Modifications===
 
{{Warning box| Altering the pam system authentication files can seriously effect your ability to login in to the system. Take a backup of the /etc/pam.d directory and /etc/nsswitch.conf. Have a live CD available to give access and re-apply the backup files if you make a mistake and/or get locked out}}
 
{{Warning box| Altering the pam system authentication files can seriously effect your ability to login in to the system. Take a backup of the /etc/pam.d directory and /etc/nsswitch.conf. Have a live CD available to give access and re-apply the backup files if you make a mistake and/or get locked out}}
*Open, check and edit as necessary /etc/nsswitch.conf  
+
*Open, check and edit as necessary /etc/nsswitch.conf . Close and Save
 
  hosts: files wins dns
 
  hosts: files wins dns
 
  group:  files winbind
 
  group:  files winbind
 
  passwd: files winbind
 
  passwd: files winbind
 
  shadow: files winbind
 
  shadow: files winbind
:Save and close
   
*Open and edit the /etc/pam.d/system-auth file, and amend as below
 
*Open and edit the /etc/pam.d/system-auth file, and amend as below
 
  #%PAM-1.0
 
  #%PAM-1.0
Line 151: Line 150:     
=== Automount User Home Directories at Login===
 
=== Automount User Home Directories at Login===
Open and edit /etc/security/pam_mount.conf.xml file. Find the 'Volume Definitions' section. Add a volume line below the header
+
*Open and edit /etc/security/pam_mount.conf.xml file. Find the 'Volume Definitions' section. Add a volume line below the header
 
  <nowiki><!-- Volume Definitions --> </nowiki>
 
  <nowiki><!-- Volume Definitions --> </nowiki>
 
  <volume fstype="cifs" server="<SMESERVER>" path="homes" mountpoint="~/nethome" options="nosuid,nodev" />
 
  <volume fstype="cifs" server="<SMESERVER>" path="homes" mountpoint="~/nethome" options="nosuid,nodev" />
 
+
*Replace <SMESERVER> above with the samba name of your SME server. This will mount the users 'home' directory from SME into a directory called 'nethome' in their local home directory.
Replace <SMESERVER> above with the samba name of your SME server. This will mount the users 'home' directory from SME into a directory called 'nethome' in their local home directory.
      
===Login and Test===
 
===Login and Test===
Exit the Terminal cli
+
*Exit the Terminal cli
 
+
*Logout of Fedora.  
Logout of Fedora.  
+
*Login as a valid SME server user on your system, just giving username and password. No need for DOMAIN\user as samba configured above to use the default Windows Workgroup
 
+
*Authentication against SME should proceed and the user log in. A home directory on the local machine should be created as /home/DOMAIN/user, and a sub directory to that called 'nethome' mounted to the users home directory on the SME server. The mount point should also appear on the users gui desktop.
Login as a valid SME server user on your system, just giving username and password. No need for DOMAIN\user as samba configured above to use the default Windows Workgroup
  −
 
  −
Authentication against SME should proceed and the user log in. A home directory on the local machine should be created as /home/DOMAIN/user, and a sub directory to that called 'nethome' mounted to the users home directory on the SME server. The mount point should also appear on the users gui desktop.
      
===VirtualBox Guest Additions Installation===
 
===VirtualBox Guest Additions Installation===
 
{{Note box| This section is only applicable if you have installed Fedora in a VirtualBox Virtual Machine. It should be carried out immediately after installation and before setting up the rest of the authentication features}}
 
{{Note box| This section is only applicable if you have installed Fedora in a VirtualBox Virtual Machine. It should be carried out immediately after installation and before setting up the rest of the authentication features}}
The autorun.sh script on the VirtualBox Guest Additions media does not run on Fedora as it requires gksu which doesn't appear to be available as a standard RedHat package. You will need to add the following packages therefore either through the 'System - Adminsitration - Add/Remove Software' or with yum at a Terminal cli command prompt
+
*The autorun.sh script on the VirtualBox Guest Additions media does not run on Fedora as it requires gksu which doesn't appear to be available as a standard RedHat package. You will need to add the following packages therefore either through the 'System - Adminsitration - Add/Remove Software' or with yum at a Terminal cli command prompt
 
  gcc
 
  gcc
 
  kernel-headers
 
  kernel-headers
 
  kernel-devel
 
  kernel-devel
Change to the mounted Virtual Box Guest Additions CDROM, eg
+
*Change to the mounted Virtual Box Guest Additions CDROM, eg
 
  cd /media/VBOXADDITIONS_3.0.10_54097
 
  cd /media/VBOXADDITIONS_3.0.10_54097
Run the relevant script for your processor type, eg for i386 processors
+
*Run the relevant script for your processor type, eg for i386 processors
 
  sh ./VBoxLinuxAdditions-x86.run
 
  sh ./VBoxLinuxAdditions-x86.run
The script should run, build and install the guest additions.
+
*The script should run, build and install the guest additions.
    
===Issues / ToDo===
 
===Issues / ToDo===

Navigation menu