Error in LdapClient configuration


 
Thread Tools Search this Thread
Operating Systems Solaris Error in LdapClient configuration
# 8  
Old 09-26-2010
I didnt get any reply for that. Thats why created new. Sorry..
# 9  
Old 09-26-2010
Please use code tags to avoid smileys:

-a objectClassMap=groupSmilieosixGroup=group \
-a objectClassMap=passwdSmilieosixAccount=user \

Otherwise, I just ran you command with verbose enabled and it worked correctly:
Code:
# ldapclient -v manual \
-a credentialLevel=proxy \
-a authenticationMethod=simple \
-a proxyDN=cn=proxyagent,cn=user1,dc=sema,dc=com \
-a proxyPassword=user1 \
-a defaultSearchBase=dc=sema,dc=com \
-a domainName=sema.com \
-a "defaultServerList=192.168.1.1" \
-a attributeMap=group:userpassword=userPassword \
-a attributeMap=group:memberuid=memberUid \
-a attributeMap=group:gidnumber=gidNumber \
-a attributeMap=passwd:gecos=cn \
-a attributeMap=passwd:gidnumber=gidNumber \
-a attributeMap=passwd:uidnumber=uidNumber \
-a attributeMap=passwd:homedirectory=unixHomeDirectory \
-a attributeMap=passwd:loginshell=loginShell \
-a attributeMap=shadow:shadowflag=shadowFlag \
-a attributeMap=shadow:userpassword=userPassword \
-a objectClassMap=group:posixGroup=group \
-a objectClassMap=passwd:posixAccount=user \
-a objectClassMap=shadow:shadowAccount=user \
-a serviceSearchDescriptor=passwd:dc=sema,dc=com?sub \
-a serviceSearchDescriptor=group:dc=sema,dc=com?sub

Parsing credentialLevel=proxy
Parsing authenticationMethod=simple
Parsing proxyDN=cn=proxyagent,cn=user1,dc=sema,dc=com
Parsing proxyPassword=user1
Parsing defaultSearchBase=dc=sema,dc=com
Parsing domainName=sema.com
Parsing defaultServerList=192.168.1.1
Parsing attributeMap=group:userpassword=userPassword
Parsing attributeMap=group:memberuid=memberUid
Parsing attributeMap=group:gidnumber=gidNumber
Parsing attributeMap=passwd:gecos=cn
Parsing attributeMap=passwd:gidnumber=gidNumber
Parsing attributeMap=passwd:uidnumber=uidNumber
Parsing attributeMap=passwd:homedirectory=unixHomeDirectory
Parsing attributeMap=passwd:loginshell=loginShell
Parsing attributeMap=shadow:shadowflag=shadowFlag
Parsing attributeMap=shadow:userpassword=userPassword
Parsing objectClassMap=group:posixGroup=group
Parsing objectClassMap=passwd:posixAccount=user
Parsing objectClassMap=shadow:shadowAccount=user
Parsing serviceSearchDescriptor=passwd:dc=sema,dc=com?sub
Parsing serviceSearchDescriptor=group:dc=sema,dc=com?sub
Arguments parsed:
        authenticationMethod: simple
        defaultSearchBase: dc=sema,dc=com
        credentialLevel: proxy
        domainName: sema.com
        proxyDN: cn=proxyagent,cn=user1,dc=sema,dc=com
        objectclassMap: 
                arg[0]: group:posixGroup=group
                arg[1]: passwd:posixAccount=user
                arg[2]: shadow:shadowAccount=user
        attributeMap: 
                arg[0]: group:userpassword=userPassword
                arg[1]: group:memberuid=memberUid
                arg[2]: group:gidnumber=gidNumber
                arg[3]: passwd:gecos=cn
                arg[4]: passwd:gidnumber=gidNumber
                arg[5]: passwd:uidnumber=uidNumber
                arg[6]: passwd:homedirectory=unixHomeDirectory
                arg[7]: passwd:loginshell=loginShell
                arg[8]: shadow:shadowflag=shadowFlag
                arg[9]: shadow:userpassword=userPassword
        serviceSearchDescriptor: 
                arg[0]: passwd:dc=sema,dc=com?sub
                arg[1]: group:dc=sema,dc=com?sub
        proxyPassword: user1
        defaultServerList: 192.168.1.1
Handling manual option
Proxy DN: cn=proxyagent,cn=user1,dc=sema,dc=com
Proxy password: {NS1}8a494587c0
Credential level: 1
Authentication method: 1
Shadow Update is not enabled, no adminDN/adminPassword is required.
About to modify this machines configuration by writing the files
Stopping network services
Stopping sendmail
stop: network/smtp:sendmail... failed: entity not found
Stopping sendmail failed with (1). You may need to restart it manually for changes to take effect.
Stopping nscd
stop: sleep 100000 microseconds
stop: system/name-service-cache:default... success
Stopping autofs
stop: sleep 100000 microseconds
stop: system/filesystem/autofs:default... success
ldap not running
nis(yp) not running
file_backup: stat(/etc/nsswitch.conf)=0
file_backup: (/etc/nsswitch.conf -> /var/ldap/restore/nsswitch.conf)
file_backup: stat(/etc/defaultdomain)=0
file_backup: (/etc/defaultdomain -> /var/ldap/restore/defaultdomain)
file_backup: nis domain is "sema.com"
file_backup: stat(/var/yp/binding/sema.com)=-1
file_backup: No /var/yp/binding/sema.com directory.
file_backup: stat(/var/ldap/ldap_client_file)=-1
file_backup: No /var/ldap/ldap_client_file file.
Starting network services
start: /usr/bin/domainname sema.com... success
...

Try again with verbose enabled to see where it fails.
This User Gave Thanks to jlliagre For This Post:
# 10  
Old 09-28-2010
Hi jlliagre,

Thanks for your try.
I tried verbose enabled also but got the same error.

Every time when I boot the Solaris machine I got lots of errors regarding LDAP. I thought some LDAP server configuration problem. So I uninstalled both LDAP server and client with the command
# directoryserver uninstall
# ldapclient uninit

After that I installed LDAP server using iPlant Directory Server using
# directoryserver setup

and prepared the directory server using
# cd /usr/lib/ldap
# ./idsconfig

Both was successful.
After that gave the ldapclient code with verbose enabled. Same error I am getting now.

To check the contents i gave:
#ldaplist
Got new error:

ldaplist: LDAP configuration problem (Unable to load configuration '/var/ldap/ldap_client_file' ('').)

#ls /var/ldap
cachemgr.log

There is only one file in /var/ldap folder.

Is there anything wrong with the LDAP setup? If so please help me how to do that as I am new to this..
# 11  
Old 09-28-2010
There are many things that you might have done wrong. I'm afraid that's too complex a problem to be solved in a forum ...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Yum client configuration error

Dear concern, I want to configure a yum client node. Yum configuration file (/etc/yum.repos.d/) is given below: # cat server.repo name=rhel6 baseurl=ftp://192.168.225.3/pub/Packages/ enabled=1 gpgcheck=0 We got following error message while executing yum list command. # yum clean... (1 Reply)
Discussion started by: makauser
1 Replies

2. Red Hat

OpenLDAP Server Configuration error

I followed the guide from the below link to set up a ldap server. After everything is finished, I configured a client for ldap authentication and I can search the entries in ldap using the command ldapsearch -x ZZ but when I am trying to login to the client using a ldap user, the prompt just keeps... (0 Replies)
Discussion started by: aninmuk
0 Replies

3. Solaris

ntp client configuration error

hi all ntp client side configuration file is done but in # ntpq -p remote refid st t when poll reach delay offset disp ============================================================================== ntpserver .INIT. 16 u - 64 0 0.00 0.000... (5 Replies)
Discussion started by: nikhil kasar
5 Replies

4. Solaris

Help with Solaris 10 and ldapclient authentication

Hello everyone! Currently, i have a RHEL6 server, with openLDAP server running. Most of our servers run on Rhel platform, but some of them run in Solaris 10, and I need to make them authenticate with ldap too. As the ldap server is running without encryption, the command I used for initialize... (13 Replies)
Discussion started by: Lilbighorn
13 Replies

5. Solaris

ldapclient can not modify attribute

Hello, We have one Solaris 10 machine which has three LDAP servers configured. We want to remove one of them. I tried below ldapclient command however no change is made. ---------------------------------------------------------------------- ldapclient mod -a "defaultServerList=10.149.9.20... (0 Replies)
Discussion started by: alfa_w
0 Replies

6. Emergency UNIX and Linux Support

Solaris LDAPCLIENT accept CA

Hey Guys, How can I make the Solaris native ldapclient trust a CA? I am trying to use a selfsigned cert and it is not working. WHen I use ssltap to monitor the ssl traffic it shows this for the last client communication: 0: 15 03 01 00 02 02 30 | ......0 (7... (1 Reply)
Discussion started by: s ladd
1 Replies

7. Solaris

Error in the configuration of printers

I'm trying to install printers with the shell below: #! /bin/bash -x lpadmin -p brmblack03 -v socket://172.30.0.14:9100/ lpadmin -p brmblack04 -v socket://172.30.0.10:9100/ lpadmin -p brmblack05 -v socket://172.30.0.13:9100/ lpadmin -p cscnshopping -v socket://192.168.0.250:9100/ lpadmin -p... (0 Replies)
Discussion started by: to.brunoaugusto
0 Replies

8. UNIX for Advanced & Expert Users

Old XFree86 configuration error

Hello experts, I installed an old linux distribution and i'm having troubles with the XFree86 server. The thing is, when i run XF86Setup, X server and windows actually works, because i can get the graphical configuration screen, but when i'm "done" and save the changes to the config file... (1 Reply)
Discussion started by: semash!
1 Replies

9. Solaris

configure ldapclient on solaris 10

Hi there, I am looking for a detailed step-by-step how to configure ldapclient on solaris 10. I used ldapclient manual, and edited nsswitch.conf and pam.conf, but it is not working. thank you (2 Replies)
Discussion started by: trtcom1
2 Replies

10. Linux

Evolution 1.4 error after configuration

After configuring Evolution 1.4, I get an error. I went through all the settings, and I dont have what it says in the error anywhere. I am posting an image so if anyone knows where to change this I would appreciate it. This pops up when sending email. The SMTP server is set correctly i.e.... (10 Replies)
Discussion started by: the_chameleon
10 Replies
Login or Register to Ask a Question