Error in LdapClient configuration


 
Thread Tools Search this Thread
Operating Systems Solaris Error in LdapClient configuration
# 1  
Old 09-25-2010
Data Error in LdapClient configuration

Hi all,

My code for configuring ldapclient is as follows:

Code:
ldapclient 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

While executing the code I am getting the following error:
Code:
"Error parsing command line"

Please help me in resolving this....

Warm regards,
Sathya

Last edited by Scott; 09-25-2010 at 03:35 PM.. Reason: Please use code tags
# 2  
Old 09-25-2010
There are extra spaces in the arguments you pass:
Code:
-a objectClassMap=group: posixGroup=group \
                        ^
-a objectClassMap=passwd: posixAccount=user \
                         ^

This User Gave Thanks to jlliagre For This Post:
# 3  
Old 09-26-2010
Removed the extra space but after that also getting the same error.

Kindly help me in resolving this as I have to finish it by the end of this day.

---------- Post updated at 03:39 AM ---------- Previous update was at 02:27 AM ----------

Sry i forget to mention this..
I am getting this msg also after
Error parsing command line

"Set up a server or workstation as a client of an LDAP namespace"

What does this mean? Is it LDAP directory service setup was not successful?
# 4  
Old 09-26-2010
Error Unable to setup LDAP directory service

Hi all,

When i enter the lpadclient i am getting the error

"Set up a server or workstation as a client of an LDAP namespace"

What does this mean? Do i missed out any installation?
# 5  
Old 09-26-2010
This isn't an error message. Please don't start a new thread while you have one alive on the same topic.
# 6  
Old 09-26-2010
Please post the whole command you run and the whole message you get. When the two bugs in the command you posted in your first thread are fixed, ldapclient should complete correctly.
# 7  
Old 09-26-2010
The code i executed is:

ldapclient 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=groupSmilieosixGroup=group \
-a objectClassMap=passwdSmilieosixAccount=user \
-a objectClassMap=shadow:shadowAccount=user \
-a serviceSearchDescriptor=passwd:dc=sema,dc=com?sub \
-a serviceSearchDescriptor=group:dc=sema,dc=com?sub

And I am getting the msg:

Error parsing command line
Usage: ldapclient [-v ....
....
Set up a server or workstation as a client of an LDAP namespace.
<args> take from the form of '-a attrName=attrVal' as described in
man page ldapclient(1M)
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