Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 01-30-2010, 10:47 AM   #1
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Rep: Reputation: 51
A Script for LDAP Client setup?


I tried collecting steps for LDAP Client setup.

authconfig --enableldap --enableldapauth --disablenis --enablecache --ldapbasedn=dc=isst,dc=sapient,dc=com --enablemkhomedir --updateall
cd /etc
cat >> /etc/ldap.conf
base dc=im,dc=sap,dc=com
nss_base_passwd ou=People,dc=im,dc=sap,dc=com
nss_base_shadow ou=People,dc=im,dc=sap,dc=com
nss_base_group ou=Group,dc=im,dc=sap,dc=com
ssl start_tls
tls_cacertdir /etc/openldap/cacerts
uri ldap://
cat >> /etc/security/access.conf
+ : root : LOCAL
+ : @EnOD@@EnODSystems : 10.
+ : @SYS@@SYSSystems : 10.
+ : @DBA@@DBASystems : 10.
- : ALL : ALL

Can anyone help me writing it in correct way?
Old 01-30-2010, 11:07 AM   #2
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57
Excellent topic. I have been interested in Learning LDAP for a while now. Following a script like this will help me out. I kind of get it anyways from my Active Directory experience but I have dove into LDAP itself.

Old 01-30-2010, 09:12 PM   #3
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,462
Blog Entries: 6

Original Poster
Rep: Reputation: 51

Anyone who can correct my script?
Old 01-31-2010, 04:59 PM   #4
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What do you believe to be "the correct way"?

And how does what you're doing not deliver what you're expecting?


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
Automatic Script for LDAP Client? your_shadow03 Linux - Newbie 6 01-11-2010 10:46 AM
how to setup open ldap server and solaris 10 as ldap client maheshlad Linux - Software 1 10-10-2009 12:55 AM
LDAP client setup not working fully twinkers Linux - Server 0 07-01-2009 04:24 PM
how to setup thin client just for telnet or ssh client use using boot diskless PXE. hocheetiong Linux - Newbie 3 05-21-2008 07:02 PM
Error during LDAP Client Setup ??? ajeetraina Linux - Server 0 11-28-2007 11:21 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 PM.

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