Hi Tony,
Despite trying a few changes, I am still where I was.
Still facing the Invalid Credentials issue.
ldaplist showing object not found error.
I too feel that it is an issue with bind and I am not sure whether the highlighted entry is right.
Can you help me to modify it.
# cat ldapclient-mssfu.sh
ldapclient -v manual \
-a credentialLevel=proxy \
-a authenticationMethod=simple \
-a proxyDN=cn=fis,cn=Users,dc=lxdc-india,dc=com \
-a proxyPassword=efunds_15 \
-a defaultSearchBase=dc=lxdc-india,dc=com \
-a domainName=lxdc-india.com \
-a "defaultServerList=10.0.0.3" \
-a attributeMap=group:userpassword=msSFU30Password \
-a attributeMap=group:memberuid=msSFU30MemberUid \
-a attributeMap=group:gidnumber=msSFU30GidNumber \
-a attributeMap=passwd:gecos=msSFU30Gecos \
-a attributeMap=passwd:gidnumber=msSFU30GidNumber \
-a attributeMap=passwd:uidnumber=msSFU30UidNumber \
-a attributeMap=passwd:uid=msSFU30Name \
-a attributeMap=passwd:homedirectory=msSFU30HomeDirectory \
-a attributeMap=passwd:loginshell=msSFU30LoginShell \
-a attributeMap=shadow:shadowflag=msSFU30ShadowFlag \
-a attributeMap=shadow:userpassword=msSFU30Password \
-a objectClassMap=group
osixGroup=group \
-a objectClassMap=passwd
osixAccount=user \
-a objectClassMap=shadow:shadowAccount=user \
-a serviceSearchDescriptor=passwd:dc=lxdc-india,dc=com?sub \
-a serviceSearchDescriptor=group:dc=lxdc-india,dc=com?sub
In ADSI EDIT, I see this entry:
CN=User CN=User,CN=schema,CN=configuration,DC=lxdc-india,DC=com
So should I change the proxyDN entry to:
-a proxyDN=cn=fis,cn=User,cn=schema,cn=configuration,dc=lxdc-india,dc=com \
If an entry for ou is required,how and where should I add it
Also,please let me know whether the attribute mappings are fine. If it has to be checked somewhere in ADSI edit,please let me know where to check it.
I am trying hard to understand LDAP and ur inputs will be a big helping hand.
Thanks-in-advance
HG