[python-win32] getting TerminalServicesProfilePath

Michael Kesper mkesper at fsfe.org
Tue Sep 16 16:23:30 CEST 2008


Hi,

* Etienne Pouliot <etiennepouliot at gmail.com> [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 always found it easiest to use Tim Golden's active_directory module [1]
for accessing ADS. There you have the possibility to search for your
object and do a dump() on it to see all attributes it provides.

Best wishes
Michael

[1] http://tgolden.sc.sabren.com/python/active_directory.html
-- 
Free Software Foundation Europe (FSFE) []         (http://fsfeurope.org)
Join the Fellowship!                 [][][]       (http://fsfe.org/join)
Your donation powers our work!         ||  (http://fsfeurope.org/donate)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: Digital signature
URL: <http://mail.python.org/pipermail/python-win32/attachments/20080916/505c5379/attachment-0001.pgp>


More information about the python-win32 mailing list