Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd May 2009, 13:51
awe awe is offline
Junior Member
 
Join Date: May 2009
Location: Tossa de Mar (Girona) Spain
Posts: 17
Thanks: 0
Thanked 3 Times in 3 Posts
Default OpenLDAP+Samba+Ubuntu; Skeleton problems?

Hello,

As i said on another post, I have configured successfully a few servers with this tutorial. All 8.04 server installs have come out well. It all was going well with Ubuntu 8.04 clients too, but I ran into a hiccup with Ubuntu 8.10 clients.

In Ubuntu 8.04 desktop, when an LDAP user logged in for the first time, the home directory was created, populated, and the right permissions given, all automatically.

In 8.10 this is no longer the case. Ubuntu desktop would start complaining about lots of stuff, and I had to create the home folder manually, and give it the right permissions. This was OK on the company that I installed it on, which had 5 workstations, but do you imagine me doing this on a company with 100+ workstations? Impossible.

Is there any way of specifying a skeleton (some "skel" file?) and have it run for new users automatically on 8.10? How does this work in 9.04?

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 3rd May 2009, 18:04
awe awe is offline
Junior Member
 
Join Date: May 2009
Location: Tossa de Mar (Girona) Spain
Posts: 17
Thanks: 0
Thanked 3 Times in 3 Posts
 
Default

Well, seems like I can auto-reply and auto-solve this question.

PAM will need to be instructed to create the homedir at first login. I have added the following to /etc/pam.d/common-account:

Code:
# This is required to create the HomeDir at first login
# automatically and without asking for confirmation
session required pam_mkhomedir.so umask=0022 skel=/etc/skel/ silent
Reply With Quote
The Following User Says Thank You to awe For This Useful Post:
falko (4th May 2009)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
Unbale to login to Postfix from webmail wasimriz HOWTO-Related Questions 5 6th April 2009 13:49
OpenLDAP + Samba Domain Controller On Ubuntu 7.10 darrylworley HOWTO-Related Questions 0 15th December 2008 18:31
OpenLDAP + Samba Domain Controller On Ubuntu 7.10 mperreault HOWTO-Related Questions 6 23rd August 2008 08:44
OpenLDAP + Samba Domain Controller On Ubuntu 7.10 E1sbaer HOWTO-Related Questions 3 7th May 2008 18:41


All times are GMT +2. The time now is 19:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.