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, 10:47 AM   #1
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
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, 11:07 AM   #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, 09:12 PM   #3
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466

Original Poster
Blog Entries: 6

Rep: Reputation: 51
Guys,

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

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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 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

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

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