Changes

From SME Server
Jump to navigationJump to search
1,307 bytes added ,  08:48, 29 November 2010
Line 38: Line 38:  
  Jan 5 21:18:40  lena logged into mdo027pc (WinXP) - 192.168.10.27
 
  Jan 5 21:18:40  lena logged into mdo027pc (WinXP) - 192.168.10.27
   −
== Setup ==
+
=== Setup ===
    
After the installation you will find that there is a new item on the server-manager panel called I-bay letters.
 
After the installation you will find that there is a new item on the server-manager panel called I-bay letters.
Line 51: Line 51:  
In some situations it is required that a custom command is run for a particular user, in that case a file called 'username.bat' should be created under /home/e-smith/files/samba/netlogon/custom and it will be executed when that user logs in.
 
In some situations it is required that a custom command is run for a particular user, in that case a file called 'username.bat' should be created under /home/e-smith/files/samba/netlogon/custom and it will be executed when that user logs in.
   −
In parallel with the Windows batch file generation a custom .pam_mount.conf.xml is also generated on the server. That is a part of a (currently) Ubuntu integration with SME Server (automatic home and shares mounting) akin to what Windows currently does. It uses a combination of pam_mount, pam_winbind and optionally NFS (roaming profiles-like functionality).
+
=== Linux client integration ===
A document explaining the procedure will be added as part of this document.  
+
 
 +
In parallel with the Windows batch file generation, every time a user logs on, a custom .pam_mount.conf.xml is also freshly generated on the server. That is part of a (currently) Ubuntu client integration with SME Server (automatic home and shares mounting) to be similar to what Windows currently does for desktop domain membership. It uses a combination of pam_mount, pam_winbind and optionally NFS (roaming profiles-like functionality) on the client site.
 +
 
 +
The (per user) generated .pam_mount.conf.xml files are located in /home/e-smith/files/samba/netlogon/users/<username>
 +
 
 +
An example contents (the server name is crossed out):
 +
 
 +
<?xml version="1.0" encoding="utf-8" ?>
 +
<!DOCTYPE pam_mount SYSTEM "pam_mount.conf.xml.dtd">
 +
<pam_mount>
 +
<volume user="*" fstype="cifs" server="XXXXX" path="%(DOMAIN_USER)" mountpoint="~/win_home" options="nodev,nosuid"></volume>
 +
<volume user="*" fstype="cifs" server="XXXXX" path="all-rooms" mountpoint="~/all-rooms" options="nodev,nosuid"></volume>
 +
<volume user="*" fstype="cifs" server="XXXXX" path="encarta" mountpoint="~/encarta" options="nodev,nosuid"></volume>
 +
<volume user="*" fstype="cifs" server="XXXXX" path="hyperstudio" mountpoint="~/hyperstudio" options="nodev,nosuid"></volume>
 +
</pam_mount>
 +
 
 +
The first <volume user> directive will mount the user's (Windows) home drive on the local Linux workstation under a folder "win_home". The others will mount just those server shares only that the user, due to his group memberships does have access to.
 +
 
 +
Because this file is created on the fly with each user logon, a change in membership will have the same, immediate impact on the client site as it has for the user when he logs on to a Windows machine.  
     
77

edits

Navigation menu