LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 12:11 PM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
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, 12:37 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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 12:39 PM.
 
Old 01-10-2010, 09:49 PM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

Original Poster
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, 03:15 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
why??
 
Old 01-11-2010, 03:16 AM   #5
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

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

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
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, 11:46 AM   #7
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

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


All times are GMT -5. The time now is 10:33 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration