LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-12-2009, 06:48 PM   #1
Allie
LQ Newbie
 
Registered: Aug 2009
Posts: 11

Rep: Reputation: 0
chown on ldap server


Hello community, I have OpenLdap working on both server and client. Everything works correctly except when I do a chown on the ldap server it's not pulling the name from the ldap database but rather it's trying to pull from the passwd file and of course the user doesn't exist so I get error "invalid user". When I do a getent passwd on the server, I'm only seeing users from the passwd file instead of ldap. When I do a getent passwd on the client computer, it's listing the users from ldap so that's working fine. It seems the ldap server can't be a ldap client at the same time. Not sure if I overlook some configuration. Both server and client computers are CentOS 5.3. Thank you for your help.
 
Old 09-12-2009, 07:27 PM   #2
Allie
LQ Newbie
 
Registered: Aug 2009
Posts: 11

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Allie View Post
Hello community, I have OpenLdap working on both server and client. Everything works correctly except when I do a chown on the ldap server it's not pulling the name from the ldap database but rather it's trying to pull from the passwd file and of course the user doesn't exist so I get error "invalid user". When I do a getent passwd on the server, I'm only seeing users from the passwd file instead of ldap. When I do a getent passwd on the client computer, it's listing the users from ldap so that's working fine. It seems the ldap server can't be a ldap client at the same time. Not sure if I overlook some configuration. Both server and client computers are CentOS 5.3. Thank you for your help.
After playing around, I got it to work but I'm not sure what i did to fix it. All I did was to get Webmin openldap modules to work and now getent passwd is reading from ldap and doing chown someldapuser file1 now works.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LDAP: Can't contact master ldap server rulirahm Linux - Networking 2 07-14-2014 02:02 AM
Ubuntu Hardy (php-ldap):Can't contact LDAP server eantoranz Programming 7 12-02-2008 06:40 PM
authenticating through one ldap server that uses other ldap servers & active director dreamm Linux - Server 1 02-21-2007 08:22 AM
LDAP server not starting as user LDAP klnasveschuk Fedora 1 02-15-2007 04:49 AM
Chown fails in client login for user defined in ldap server jpsingh Linux - Server 2 12-19-2006 10:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:57 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