LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-13-2014, 02:19 PM   #1
rootaccess
Member
 
Registered: Mar 2012
Posts: 311

Rep: Reputation: Disabled
nfsv4 ldap nobody problem


Hello all-

Been working on this for 2 full days now. In the past I just added users to my system and migrated them to LDAP users. Those mount perfectly file on the client machines. However, if I create a strict-only LDAP user using an .ldif file and add it to the database using ldapadd, these users all come up as nobody nobody (and the directories are created with root but chowned to their uid.gid respectively as well as /etc/skel copied over via rysnc -a.)

All conf files are set up properly including the /etc/idmapd.conf on both the server and client machines. The folders for users strictly in LDAP are uid gid on the LDAP server. The folders for regular users that have been migrated of course do show their corresponding names as evident in /etc/passwd.

So how can I get these strictly-only LDAP users to propagate with their intended username groupname as they should?

Much help appreciated.

Last edited by rootaccess; 01-13-2014 at 02:22 PM.
 
Old 01-14-2014, 12:31 PM   #2
rootaccess
Member
 
Registered: Mar 2012
Posts: 311

Original Poster
Rep: Reputation: Disabled
bump
 
Old 01-15-2014, 01:11 AM   #3
rootaccess
Member
 
Registered: Mar 2012
Posts: 311

Original Poster
Rep: Reputation: Disabled
I went as far as adding a new schema into the LDAP database, adding an automounting ldif, editing sssd.conf and adding autofs entries, so basically mounting my home directory straight from the ldap database, but the users still do not map. I don't have DNS set up but I don't think it is the issue. It seems to be an nfsidmap issue as my only error in the log files persist with:

nfsidmap[1648]: nss_getpwnam: name 'nobody' does not map into domain <my-domain.net>
 
Old 01-20-2014, 09:01 PM   #4
rootaccess
Member
 
Registered: Mar 2012
Posts: 311

Original Poster
Rep: Reputation: Disabled
Don't we have any administrators here??
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
NFSv4+Kerberos+LDAP vs. NFS+NIS for a newbie admin in the year 2013 educateme Linux - Networking 4 11-25-2013 11:17 AM
General questions about Debian + LDAP + NFSv4 + Kerberos besson3c Linux - Server 0 01-02-2012 02:56 AM
Does NFSv4 serve only files which are at least readable? (was: NFSv4 and SUID mount) Reuti Linux - Server 1 08-05-2011 04:13 PM
NFSv4 and ACL xri Linux - Software 5 02-09-2011 10:55 PM
SMBLDAP-TOOLS SAMBA LDAP . Problem when filling ldap. jcdole Linux - Server 0 06-07-2008 11:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration