LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-27-2010, 11:19 AM   #1
kosterbang
LQ Newbie
 
Registered: Jan 2010
Posts: 4

Rep: Reputation: 0
root mismatch between server and client in LDAP


I have a server and a few clients set up with LDAP and NFS. All user files and logins are on the server, and I can login as a normal user on any client and get to my files. However, if I log in as root on a client, I can't write in root-owned directories on the NFS. I suppose that client-root and server-root are different. ??

Question: is there some way to convince the LDAP or that client-root and server-root are the same?
 
Old 01-28-2010, 02:41 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
This will not be anything to do with ldap either you're not using ldap on one side of the system correctly, or NFS is blcoking access for another reason. Are the files you want to look at owned by the right uid's etc.??

Nothing to do with networking. Moved to Linux - General.
 
Old 01-28-2010, 08:42 AM   #3
Valery Reznic
ELF Statifier author
 
Registered: Oct 2007
Posts: 676

Rep: Reputation: 137Reputation: 137
Quote:
Originally Posted by kosterbang View Post
I have a server and a few clients set up with LDAP and NFS. All user files and logins are on the server, and I can login as a normal user on any client and get to my files. However, if I log in as root on a client, I can't write in root-owned directories on the NFS. I suppose that client-root and server-root are different. ??

Question: is there some way to convince the LDAP or that client-root and server-root are the same?
Probably your directory exported with root_squash parameter (for the loooong time it's default)
When directory exported like that, than nfs server remap all request from root to other uid.

If you want give remote root access to the local root-owned files you have to export with no_root_squash (see man exportfs)
 
Old 01-28-2010, 10:00 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Well if it's a root_squash issue then that's even further away from LDAP.
 
  


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
how to setup open ldap server and solaris 10 as ldap client maheshlad Linux - Software 1 10-10-2009 12:55 AM
Auth failure on Debian LDAP Server with CentOS 5.2 Client odcheck Linux - Server 2 10-24-2008 12:47 PM
request for ldap server/client configuration soumalya Linux - Server 1 01-29-2008 07:24 AM
window client authenticaton from linx ldap server om_juneja Linux - Server 1 05-03-2007 07:23 AM
samba client atenticate against LDAP server procfs Linux - Security 10 07-19-2006 02:45 AM

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

All times are GMT -5. The time now is 02:01 AM.

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