Active Directory - Defining DN
I am new to use LDAP. I have a Distinguished Name defined in my application with some Organization Name ('O' attribute). Now lets suppose I want to change a password of some user abcxyz. I want my code to search it in all organizations, instead of just defined in DN. Is there anyway to exclude O or OU from DN? Should I exclude this attribute from my DN or do something like O=* etc?