Change: strpath = "LDAP://213.217.60.30/DC=ramezanafzar,DC=net" Set ode = GetObject(strpath)
To: strpath = "LDAP://dc=ramezanafzar,dc=net" Set ode = GetObject(strpath) Eliminate the explicit call to the server and let the LDAP client figure out which system to talk to, -------------------------------------------------------------- Roger D. Seielstad - MTS MCSE MS-MVP Sr. Systems Administrator Inovis Inc. -----Original Message----- From: roseta [mailto:[EMAIL PROTECTED] Sent: Sunday, November 02, 2003 7:51 AM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] why working with ADSI gives me this erro Can you explain more ? I do not know how to do serverless binding? Can you give me a resource to learn more about this field. Thanks in advance. Best Regards, Roseta. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Kingslan Sent: Saturday, November 01, 2003 10:26 PM To: [EMAIL PROTECTED] Subject: RE: [ActiveDir] why working with ADSI gives me this erro Can you use serverless binding? Or, is it a requirement to connect to the server that you have cited? The act of binding to a server does add some specific complexity (bcause the binding must occur, otherwise the operation will fail). I'd try to change it to serverless, if at all possible. Rick Kingslan MCSE, MCSA, MCT Microsoft MVP - Active Directory Associate Expert Expert Zone - www.microsoft.com/windowsxp/expertzone From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of roseta Sent: Saturday, November 01, 2003 6:42 AM To: [EMAIL PROTECTED] Subject: [ActiveDir] why working with ADSI gives me this erro Hi, I have been using this code and I will get several error, some times it gives server not operational. Some times it passes this and when gets to change password method of the code it gives the error : The Active Directory data type can not be converted to/from a native DS data type. If you think more information is needed for helping please tell me. strpath = "LDAP://213.217.60.30/DC=ramezanafzar,DC=net" Set ode = GetObject(strpath) Thanks for any help in advance. Roseta. List info : http://www.activedir.org/mail_list.htm List FAQ : http://www.activedir.org/list_faq.htm List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
