Home > Unable To > Mkhomedir_helper: Pam Unable To Create Directory

Mkhomedir_helper: Pam Unable To Create Directory

Contents

The public keys are correctly inserted in the //LDAP_SERVER/home/user/.ssh/authorized_keys or else login wouldn't have been possible on CLIENT1. `getent passwd` on CLIENT2 shows all LDAP users. permalinkembedsaveparentgive gold[–]ang-p 0 points1 point2 points 1 year ago*(0 children)Will Reddit beat Linuxquestions.Org to a solution? If nsswitch is defined to go to nis, you would need to run ypcat -k auto.master; if it's defined to go to ldap, you would need to run ldapsearch with the For details and our forum data attribution, retention and privacy policy, see here current community chat Unix & Linux Unix & Linux Meta your communities Sign up or log in to navigate here

I suspect something with LDAP has gotten fubared, and that's preventing the directory creation. I suspect the Unable to create and initialize directory and Input/output error point to a failed hard disk drive, a powered off external USB drive or, if you use NIS/NIS+ to You need to ask your sysadmins to investigate why the folder creation fails. The other option is to create the home directory yourself.

Mkhomedir_helper: Pam Unable To Create Directory

Go to http://yahoo.shaadi.com >> >> >> > Could u post smb.conf file ? > um... Once I'd renamed /home on the client, all was well. asked 3 years ago viewed 15338 times active 3 years ago Blog Stack Overflow Gives Back 2016 Developers, Webmasters, and Ninjas: What’s in a Job Title?

when I login locally I get id: cannot find name for group with id 10000 But it then has created the homedirectory. This is simply because there is no error checking if the directory creation was successful. Snowman Bowling Is a Windows XP virtual machine with no network connection safe from hacking? In the /etc/pam.d/system-auth file there is a command that says: session optional pam_mkhomedir.so umask=0077I changed the "optional" to "required" but no change.

When you "ls" on /home, that's when the automounter kicks in and the home user subdirectory becomes available. Selinux Pam_mkhomedir Thanks!-- Abhinav Prev by Date: Re: Search on whole tree gives result, search on subtree not Next by Date: Re: Help on ACL Index(es): Chronological Thread [Date Prev][Date Next] [Thread Switch into the user account using su - "sudo su - " Creating directory Additional InformationContents of nsswitch.conf: # # /etc/nsswitch.conf # # An example Name Service Switch config Adv Reply December 3rd, 2009 #5 serge.fonville View Profile View Forum Posts Private Message First Cup of Ubuntu Join Date Dec 2009 Beans 6 Re: automatically create home directories on

What am I missing here? EDIT: otherhost:/etc/fstab contains the following line, which defines the mount point for /home: /dev/mapper/vg_otherhost-lv_home /home ext4 defaults 1 2 EDIT: vgdiplay output [[email protected] ~]# vgdisplay -v Finding all volume groups Finding current community blog chat Server Fault Meta Server Fault your communities Sign up or log in to customize your list. permalinkembedsaveparentgive gold[–]anatacj 1 point2 points3 points 1 year ago(0 children)You have a couple options here, 1) Get rid of all the mkdir shit.

Selinux Pam_mkhomedir

Tango Icons Tango Desktop Project. Got there eventually :) Thanks all. Mkhomedir_helper: Pam Unable To Create Directory Welcome to Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-58-virtual x86_64) bastion1 is a Wikimedia Labs bastion host (with mosh enabled) (role::labs::bastion). Not the answer you're looking for?

Validate Random Die Tippers What are these boxes mounted inline on each of the 3 phase wires of a high voltage power line in Miami? http://popupjammer.com/unable-to/setup-was-unable-to-create-the-directory-error-5-access-is-denied.html man mount and looking at the -t option will show what filesystems are supported. Unix & Linux Stack Exchange works best with JavaScript enabled In then uses the automount map to create the keys underneath it.

You can also filter mount by file system types mount -t nfs shows all nfs drives mount -t ext3 will show all ext3fs mount points and so on. share|improve this answer answered Aug 8 '13 at 0:33 Gilles 384k747041153 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign Configure Winbind using authconfig 2. his comment is here Output the sign Holidays for Christmas How do I respond when players stray from my prepared material?

drwxrwx---. 2 ldapuser1 ldapuser1 4.0K Mar 16 16:14 ldapuser1 But the files that the user has in /home/ldapuser1 on the NFS/OpenLDAP server aren't there, although present on the server's /home/ldapuser1 directory. Although, both have the same configuration files. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Now when I login over ssh.

I cannot create any sub-directory under /home. [[email protected] home]# mkdir ldapuser1 mkdir: cannot create directory `ldapuser1': Permission denied Yet... [[email protected] ~]# whoami root ...and... [[email protected] home]# ls -lah / | grep High Jump Champion What is a real-world metaphor for irrational numbers? The home folder wasn't created.After testing and digging for a few days I believe that the problem is PAM. sssd sends the authentication request to PAM.

Nov 2 17:28:16 eventstream nslcd[13712]: [134022] error writing to client: Broken pipe Nov 2 17:28:16 eventstream nslcd[13712]: [82e1aa] error writing to client: Broken pipe Nov 2 17:28:50 eventstream dhclient: Since the folder isn't created your shell cannot chdir to that path since it doesn't exist. permalinkembedsaveparentgive gold[–]arashi256[S] 0 points1 point2 points 1 year ago*(6 children)Weird, if I turn off autofs and login, it works and creates the home directory. [[email protected] ~]# ssh [email protected] [email protected]'s password: Last login: Wed weblink I then get disconnected.

Are you exporting groups out via LDAP as well? Adv Reply December 3rd, 2009 #4 KiLaHuRtZ View Profile View Forum Posts Private Message Visit Homepage Frothy Coffee! What is the purpose of the AT-ACT? vBulletin 2000 - 2016, Jelsoft Enterprises Ltd.

Nov 2 17:29:37 eventstream dhclient: DHCPREQUEST of 10.4.1.27 on eth0 to 10.4.0.1 port 67 Nov 2 17:29:37 eventstream dhclient: DHCPACK of 10.4.1.27 from 10.4.0.1 Nov 2 17:29:37 eventstream dhclient: bound to Aaron -----Original Message----- From: Ryan Golhar [mailto:golharam umdnj edu] Sent: Sunday, October 16, 2005 10:11 AM To: 'General Red Hat Linux discussion list' Subject: RE: LDAP not creating home directories LDAP