Re: [python-win32] getting TerminalServicesProfilePath

2008-09-16 Thread Michael Kesper
Hi, * Etienne Pouliot <[EMAIL PROTECTED]> [2008-09-09 11:13:27 -0400]:   > Hi, > > I'm trying to get TerminalServicesProfilePath property on user account in > my Active Directory. ... > If I use another properties instead, like DisplayName, it works. > > Any idea what I am doing wrong ? I alw

[python-win32] getting TerminalServicesProfilePath

2008-09-09 Thread Etienne Pouliot
Hi, I'm trying to get TerminalServicesProfilePath property on user account in my Active Directory. adsi = win32com.client.Dispatch('ADsNameSpaces') ldap = adsi.getobject("","LDAP:") logon_ex='cn=Admin,dc=.' password='mypassword' ex_path="LDAP://myserver/cn=test123,..." obj = ldap.OpenDSObje