Computer Preferences - LDAP Query
i have gpp targeting based on ldap query. problem catches , not defined query.
filter: (&(objectclass=computer)(cn=disalt*))
binding: ldap://ou=test,ou=workstations,dc=xxxx,dc=internal
attribute: n/a
i want policy run agains computer names starting disalt; policy runs against computers in ou.
am missing something?
thanks,
richard
the filter posted orginally looks fine me. don't understand why you need add clause current user in other filter. if need to add similar clause local computer in filter, guess be:
(samaccountname=%computername%$)
computername environment variable netbios name of local computer. samaccountname attribute of corresponding ad computer object netbios name trailing "$" character appended. of course, if policy is applied before there user, i don't know if environment variable available.
richard mueller - mvp directory services
Windows Server > Group Policy
Comments
Post a Comment