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=group
osixGroup=group \
-a objectClassMap=passwd
osixAccount=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)