Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
added 2 characters in body
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67

Update:3 I

I compromised just moving(usermod -m -d /local-home/admin admin) the already existing local user accounts to different home directory and then I setup automount for home on client. Again I fell into problem, once the client is authenticated by ldap, it's not fetching the home documents from server but works only if I manually mount it(mount ldapserver:/ldaphome/test /home/test) on the client. The client is karmic...

Update:3 I compromised just moving(usermod -m -d /local-home/admin admin) the already existing local user accounts to different home directory and then I setup automount for home on client. Again I fell into problem, once the client is authenticated by ldap, it's not fetching the home documents from server but works only if I manually mount it(mount ldapserver:/ldaphome/test /home/test) on the client. The client is karmic...

Update:3

I compromised just moving(usermod -m -d /local-home/admin admin) the already existing local user accounts to different home directory and then I setup automount for home on client. Again I fell into problem, once the client is authenticated by ldap, it's not fetching the home documents from server but works only if I manually mount it(mount ldapserver:/ldaphome/test /home/test) on the client. The client is karmic...

Notice removed Authoritative reference needed by user53864
Bounty Ended with rthomson's answer chosen by user53864
added 155 characters in body
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67
 Creating directory '/home/user3'.  Unable to create and initialize directory '/home/user3'.  No directory, logging in with HOME=/ vim /var/log/auth.log: lucid mkhomedir_helper: PAM unable to create directory /home/user3: No such file or directory 
Creating directory '/home/user3'. Unable to create and initialize directory '/home/user3'. No directory, logging in with HOME=/ 
 Creating directory '/home/user3'.  Unable to create and initialize directory '/home/user3'.  No directory, logging in with HOME=/ vim /var/log/auth.log: lucid mkhomedir_helper: PAM unable to create directory /home/user3: No such file or directory 
added 247 characters in body
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67

I have recently setup Ubuntu ldap client authentication on karmic and lucid desktop clients and the ldap server is running on an 10.04 LTS server and [this][1]this is the link I followed for client setup and probably this also works for 11.04. I could able to login to clients with the ldap user accounts and also, on the clients I used an entry session required pam_mkhomedir.so umask=0022 skel=/etc/skel in pam.d/common-session to automatically create the home directory on client computers when the user logs in for the first time. I guess there would be a way to synchronize the home directory from Client to Server and vice-versa so that users have their documents on which ever the client they login to.

I shared ldaphome at the server(192.168.1.2). Now the problem is I have /home as a separate partition on client and I unmounted it in fstab and mounted it with ldaphome which you could see in autofs config. When I try to login with ldap, after successful authentication, it again takes to the login screen. When I stop autofs service, it normally logs in creating the home directory as I used session required pam_mkhomedir.so umask=0022 in pam.d/common-session. [1]

When I try to login for the first time with any new ldap account it gives the following error: http://tuxnetworks.blogspot.com/2010/04/ldap-client-lucid-lynx.html

Creating directory '/home/user3'. Unable to create and initialize directory '/home/user3'. No directory, logging in with HOME=/ 

I have recently setup Ubuntu ldap client authentication on karmic and lucid desktop clients and the ldap server is running on an 10.04 LTS server and [this][1] is the link I followed for client setup and probably this also works for 11.04. I could able to login to clients with the ldap user accounts and also, on the clients I used an entry session required pam_mkhomedir.so umask=0022 skel=/etc/skel in pam.d/common-session to automatically create the home directory on client computers when the user logs in for the first time. I guess there would be a way to synchronize the home directory from Client to Server and vice-versa so that users have their documents on which ever the client they login to.

I shared ldaphome at the server(192.168.1.2). Now the problem is I have /home as a separate partition on client and I unmounted it in fstab and mounted it with ldaphome which you could see in autofs config. When I try to login with ldap, after successful authentication, it again takes to the login screen. When I stop autofs service, it normally logs in creating the home directory as I used session required pam_mkhomedir.so umask=0022 in pam.d/common-session. [1]: http://tuxnetworks.blogspot.com/2010/04/ldap-client-lucid-lynx.html

I have recently setup Ubuntu ldap client authentication on karmic and lucid desktop clients and the ldap server is running on an 10.04 LTS server and this is the link I followed for client setup and probably this also works for 11.04. I could able to login to clients with the ldap user accounts and also, on the clients I used an entry session required pam_mkhomedir.so umask=0022 skel=/etc/skel in pam.d/common-session to automatically create the home directory on client computers when the user logs in for the first time. I guess there would be a way to synchronize the home directory from Client to Server and vice-versa so that users have their documents on which ever the client they login to.

I shared ldaphome at the server(192.168.1.2). Now the problem is I have /home as a separate partition on client and I unmounted it in fstab and mounted it with ldaphome which you could see in autofs config. When I try to login with ldap, after successful authentication, it again takes to the login screen. When I stop autofs service, it normally logs in creating the home directory as I used session required pam_mkhomedir.so umask=0022 in pam.d/common-session.

When I try to login for the first time with any new ldap account it gives the following error:

Creating directory '/home/user3'. Unable to create and initialize directory '/home/user3'. No directory, logging in with HOME=/ 
added 1384 characters in body
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67
Loading
added 1384 characters in body
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67
Loading
added 5 characters in body
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67
Loading
Tweeted twitter.com/#!/ServerFault/status/127366760239337472
Notice added Authoritative reference needed by user53864
Bounty Started worth 50 reputation by user53864
added 447 characters in body
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67
Loading
added 280 characters in body
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67
Loading
added 18 characters in body
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67
Loading
added 551 characters in body
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67
Loading
Source Link
user53864
  • 1.7k
  • 12
  • 38
  • 67
Loading