This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
ubuntu:desktop_ad_intergration [2013/12/11 12:43] tschulz [Automatic Home Directory creation and skeleton Directory setup] |
ubuntu:desktop_ad_intergration [2013/12/11 14:19] tschulz [Setup share mounting (Pam Mount)] |
||
---|---|---|---|
Line 17: | Line 17: | ||
===== Active Directory Authentication ===== | ===== Active Directory Authentication ===== | ||
We will be using Samba or more specifically winbind to authenticate/lookup user via pam | We will be using Samba or more specifically winbind to authenticate/lookup user via pam | ||
- | First we need to make a /etc/samba/smb/conf | + | First we need to make a /etc/samba/smb/conf. This is a example smb.conf be sure to change **workgroup** and **realm** |
<file config smb.conf> | <file config smb.conf> | ||
[global] | [global] | ||
Line 75: | Line 75: | ||
===== Setup share mounting (Pam Mount) ===== | ===== Setup share mounting (Pam Mount) ===== | ||
- | Here is a complete pam_mount config the most important statements are the four volume line that mount the various shares for each user | + | Here is a complete pam_mount config the most important statements are these four lines that mount the various shares for each user<file> |
+ | <volume options="uid=%(USER),gid=100" user="*" mountpoint="~/.mnt/public" path="public" server="cfs.sebekaschools.net" fstype="cifs" /> | ||
+ | <volume options="uid=%(USER),gid=100" user="*" mountpoint="~/.mnt/wpkg" path="wpkg" server="cfs.sebekaschools.net" fstype="cifs" /> | ||
+ | <volume options="uid=%(USER),gid=100" user="*" mountpoint="~/.mnt/%(USER)-ffs" path="User Data/%(USER)" server="ffs.sebekaschools.net" fstype="cifs" /> | ||
+ | <volume options="uid=%(USER),gid=100" user="*" mountpoint="~/.mnt/%(USER)-sfs" path="User Data/%(USER)" server="sfs.sebekaschools.net" fstype="cifs" /> | ||
+ | </file> | ||
<file xml /etc/security/pam_mount.conf.xml> | <file xml /etc/security/pam_mount.conf.xml> | ||
<?xml version="1.0" encoding="utf-8" ?> | <?xml version="1.0" encoding="utf-8" ?> | ||
Line 89: | Line 94: | ||
from top-to-bottom --> | from top-to-bottom --> | ||
- | <debug enable="1" /> | + | <debug enable="0" /> |
<!-- Volume definitions --> | <!-- Volume definitions --> | ||
Line 124: | Line 129: | ||
</file> | </file> | ||
==== Link Home Dir Script ==== | ==== Link Home Dir Script ==== | ||
- | This is a script that links a users network home directory to a bookmark and nautilus or nemo. It is designed to be run at login | + | This is a script that links a users network home directory to a bookmark and nautilus or nemo. It is designed to be run at login. |
+ | * Save script to **/scripts** and **chmod 755 /scripts/link_h.sh** | ||
<file bash /scripts/link_h.sh> | <file bash /scripts/link_h.sh> | ||
#!/bin/sh | #!/bin/sh | ||
Line 232: | Line 238: | ||
</file> | </file> | ||
===== Configure Lightdm for Network logins ===== | ===== Configure Lightdm for Network logins ===== | ||
+ | This is a full lightdm.conf. I made two changes. | ||
+ | - I changed **user-session to ubuntu-2d** because it's a lot nicer on older hardware. | ||
+ | - I added **greeter-show-manual-login=true** to allow login of network users. | ||
+ | <file config /etc/lightdm/lightdm.conf> | ||
+ | [SeatDefaults] | ||
+ | greeter-session=unity-greeter | ||
+ | user-session=ubuntu-2d | ||
+ | greeter-show-manual-login=true | ||
+ | greeter-hide-users=true | ||
+ | </file> |