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-30-2010, 11:47 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,461
Blog Entries: 6

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


Guys,

I tried collecting steps for LDAP Client setup.

#!/bin/bash
authconfig --enableldap --enableldapauth --disablenis --enablecache --ldapserver=389-supplier.sap.com --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://389-supplier.sap.com/
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, 12:07 PM   #2
worm5252
Member
 
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.

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

Original Poster
Rep: Reputation: 51
Guys,

Anyone who can correct my script?
 
Old 01-31-2010, 05:59 PM   #4
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
What do you believe to be "the correct way"?

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


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
Automatic Script for LDAP Client? your_shadow03 Linux - Newbie 6 01-11-2010 11:46 AM
how to setup open ldap server and solaris 10 as ldap client maheshlad Linux - Software 1 10-10-2009 01:55 AM
LDAP client setup not working fully twinkers Linux - Server 0 07-01-2009 05: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 08:02 PM
Error during LDAP Client Setup ??? ajeetraina Linux - Server 0 11-29-2007 12:21 AM


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