LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-10-2010, 11:11 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
Automatic Script for LDAP Client?


Hello Guys,

I have 389 fedora Directory Server which is nothing but LDAP Server running on 389 Server.Its working fine on CentOS. Now I am in search of script which can be put on boot time so that the new Machine can automatically come under LDAP Client.Generally the machines are RHEL 4/5.
Anyone who have any idea how can it be achieved?
 
Old 01-10-2010, 11:37 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
This isnt't how you use ldap. I suggest you read up on what ldap actually gives you, and hope there isn't a real user base at your mercy. under redhat / centos, use system-config-authentication and personalise /etc/ldap.conf if necessary.

Last edited by acid_kewpie; 01-10-2010 at 11:39 AM.
 
Old 01-10-2010, 08:49 PM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
What I can think of something like this:
Code:
cat/etc/init.d/rc.local
authconfig >> Select LDAP >> Base DN & LDAP Server
IS it enough?
 
Old 01-11-2010, 02:15 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
why??
 
Old 01-11-2010, 02:16 AM   #5
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Pardon..May I know what are yu asking?
 
Old 01-11-2010, 10:40 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
Not that I know acid's motivation for asking, but to me
cat'ing rc.local seems completely unrelated to LDAP ...
 
Old 01-11-2010, 10:46 AM   #7
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
Quote:
Originally Posted by your_shadow03 View Post
Hello Guys,

I have 389 fedora Directory Server which is nothing but LDAP Server running on 389 Server.Its working fine on CentOS. Now I am in search of script which can be put on boot time so that the new Machine can automatically come under LDAP Client.Generally the machines are RHEL 4/5.
Anyone who have any idea how can it be achieved?
no idea myself about client or server, because I hang. No idea how.

Could you post a tar.gz of hte configuration files for the server?

here a link howto:
http://ubuntuforums.org/showthread.php?t=640760
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
how to setup open ldap server and solaris 10 as ldap client maheshlad Linux - Software 1 10-10-2009 12:55 AM
ldap client where is it finsh Linux - Software 2 10-28-2008 04:04 AM
ldap client configuration sp149 Linux - Server 7 01-14-2008 04:06 PM
LDAP client configuration help omart Linux - Software 1 11-22-2004 02:06 AM
send automatic input to a script called by another script in bash programming jorgecab Programming 2 04-01-2004 12:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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