We a common AD for local machine and production machine.
We are facing a problem with GetObject and OpenDSObject functions.These functions are used to interact with AD.
Error1:
OpenDSObject
is getting called as below in our application
inputs:
adsPath = LDAP://dc-usnjsea.asia.delphiauto.net/CN=Arunachalam\, M,OU=INHARGGN,OU=India,OU=People,DC=Asia,DC=DelphiAuto,DC=net
userID=northamerica\ADSearch
password=asdfghjk
Set o = dso.OpenDSObject( adsPath, userID, password, 1 )
In object "o" we are able to see all the details like name,title,mail etc.. in local machine but not in production machine.
Error2:
we are calling GetObject as below
adsPath = LDAP://dc-usnjsea.asia.delphiauto.net/CN=Arunachalam\, M,OU=INHARGGN,OU=India,OU=People,DC=Asia,DC=DelphiAuto,DC=net
GetObject(adsPath)
In our local machine these functions are working fine.But these are not working in production machine.
So we guess this problem is some thing to do with LDAP and the respective windows box.
Can anybody tell me what exactly the problem with production machine.
srinivas