LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 01-19-2009, 08:53 AM   #1
sasibagavathsingh
LQ Newbie
 
Registered: Jan 2009
Location: chennai,India
Posts: 4
Blog Entries: 1

Rep: Reputation: 0
openldap in solaris 8 boxes how to.


Hi,

I have configured openldap in EL4 and configured clients on redhat 6.2, EL4 servers. it is working fine.

I am new to solaris OS. I do not know how to configure solaris as a client of openldap server.

I tried some links from net but helpless.:-(

Please help me on this /refer a good article to configure solaris as ldap client.



thanks in advance.
 
Old 01-19-2009, 10:03 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Hi and welcome to LQ

You might take a look at this, or this howto (written for Solaris 10).

Regards
 
Old 01-20-2009, 05:37 AM   #3
sasibagavathsingh
LQ Newbie
 
Registered: Jan 2009
Location: chennai,India
Posts: 4
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Thanks dude...

i have looked into this wiki page.
here, they have described for solaris 10 mine solaris 8.

when i run a command
"ldapclient -v -P Solaris -D cn=proxyagent,ou=Profile,dc=example,dc=com -d paypal.com -w secret 192.168.1.142:389"

getting following error message. Please help me on this.

Arguments parsed:
domainName: example.com
proxyDN: cn=proxyagent,ou=Profile,dc=example,dc=com
profileName: Solaris
proxyPassword: secret
defaultServerList: 192.168.1.142:389
Handling init option
About to configure machine by downloading a profile
findBaseDN: begins
findBaseDN: ldap not running
findBaseDN: calling __ns_ldap_default_config()
__ns_ldap_list return NULL resultp
findBaseDN: Err exit
Failed to find defaultSearchBase for domain example.com


it would be good if there is any document for solaris 8. i can feel lots of diff between 10 and 8 configuration like ldif format and ldapclient command syntax.

regards
 
Old 01-20-2009, 06:57 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

Rep: Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343Reputation: 1343
Quote:
findBaseDN: ldap not running
It seems that somehow the client cannot find the server, or the server is not running. Check to see what is wrong.
The ldapclient command is indeed different from Sol8 to Sol10. Try the first link I gave you from the beginning, or use this blueprint to configure your system from scratch to use (open)ldap.
 
Old 01-22-2009, 06:14 AM   #5
sasibagavathsingh
LQ Newbie
 
Registered: Jan 2009
Location: chennai,India
Posts: 4
Blog Entries: 1

Original Poster
Rep: Reputation: 0
Thanks buddy,

i ran a command in my solaris 8 box
ldapclient -i -w secret -D cn=Manager,dc=example,dc=com -d example.com -r true -b defaultSearchBase=dc=example,dc=com -S "passwdu=People,dc=example,dc=com" -S "shadowu=People,dc=example,dc=com" -S "groupu=Group,dc=example,dc=com" -s one 192.168.1.142:389

command did not give any error msg and got msg as "System successfully configured" once i disabled the ACL in my ldap server ( openldap ) which is in Linux EL 4.

Now i can able to get list by command getent passwd, ldaplist passwd , ldaplist passwd < U.name >, id < U.Name >, su <U.Name >.

where, my problem is
1.getent passwd command gives only few entry amoung around 800 entries.
but id command shows rest of the user's list.
2.i can not ssh to this machine by ldap user.
3.from root i can able to su to another user who is located in ldap database.
4.From one ldap user to another ldap does not allow to login. which means when i give password, it says "password: Sorry".
Its mean user name resolving from ldap database but password does not allow?

can you help me on this please?

thanks in advance .....
 
Old 02-19-2009, 12:59 AM   #6
sasibagavathsingh
LQ Newbie
 
Registered: Jan 2009
Location: chennai,India
Posts: 4
Blog Entries: 1

Original Poster
Rep: Reputation: 0
It is working fine. My problem was in my rootdn password at my slapd.conf file.

My password was containing "$" symbols so it could not resolve by solaris boxes.


thanks whoever helped on this.
 
  


Reply

Tags
configuration, ldap, solaris


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
Solaris 10 with DSEE 6.2 as ldap server and RHEL 5.1 as Openldap client al.lmco Linux - Newbie 1 07-04-2008 06:28 AM
If desktops are refered to as boxes do you also refer to laptops as boxes? dr_zayus69 General 14 12-24-2005 04:46 PM
Solaris 9 client -->Openldap Red hat 9 server unix-o-matic Linux - Networking 2 05-03-2004 01:20 PM
win2000 boxes cannot map but winnt boxes can - same user! starbeetlechick Linux - Networking 0 07-24-2003 08:24 AM


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