LDAP query for Terminal Services Profile Path
Posted on 2007-07-28
Has anyone come across issue with running LDAP query for terminal profiles profile path?
I can query for specific profile path from ADUC, but the same does not work for TS profile path
(&(objectclass=user)(ProfilePath=*<STRING_1>*)) works fine
(&(objectclass=user)(TerminalServicesProfilePath=*<STRING_2>*)) will not give you any results&.
TerminalServicesProfilePath attribute does not seem to be accepted when put that way. There must be some easy way to run this query other then scripting it or/and using tscmd from sysinternals.