!!! Overview 
We show [how To] [{$pagename}] for any entry using [Ldapsearch command utility].

The [DirXML-Association Attribute|DirXML-Associations] determines the state of the entry's synchronization state for a given [DirXML Driver]. 

! Find disabled [DirXML Association] State 
The search to return all objects with a disabled association state for the specified driver set: 
{{{ 
ldapsearch -h server.ip.address -D cn=admin,o=baseorg -w mypassword -b o=adm "DirXML-Associations=cn=MyDriverName,cn=DriverSetName,ou=services,o=baseorg#0#" cn 
}}} 

! Find Associated (ie Processed) [DirXML Association] state 
The search to return all objects with a Associated (ie Processed) state for the specified driver set: 
{{{ 
ldapsearch -h server.ip.address -D cn=admin,o=baseorg -w mypassword -b o=adm "DirXML-Associations=cn=MyDriverName,cn=DriverSetName,ou=services,o=baseorg#1#*" cn 
}}} 

! Find Pending [DirXML Association] state 
The search to return all objects with a Pending state for the specified driver set: 
{{{ 
ldapsearch -h server.ip.address -D cn=admin,o=baseorg -w mypassword -b o=adm "DirXML-Associations=cn=MyDriverName,cn=DriverSetName,ou=services,o=baseorg#2#" cn 
}}} 

! Find Manual [DirXML Association] state 
The search to return all objects with a Manual state for the specified driver set: 
{{{ 
ldapsearch -h server.ip.address -D cn=admin,o=baseorg -w mypassword -b o=adm "DirXML-Associations=cn=MyDriverName,cn=DriverSetName,ou=services,o=baseorg#3#" cn 
}}} 

! Find Migrate [DirXML Association] state 
The search to return all objects with a Migrate state for the specified driver set: 
{{{ 
ldapsearch -h server.ip.address -D cn=admin,o=baseorg -w mypassword -b o=adm "DirXML-Associations=cn=MyDriverName,cn=DriverSetName,ou=services,o=baseorg#4#" cn 
}}} 


! Find ANY [DirXML Association] state 
The search to return all objects with a Migrate state for the specified driver set: 
{{{ 
ldapsearch -h server.ip.address -D cn=admin,o=baseorg -w mypassword -b o=adm "DirXML-Associations=cn=MyDriverName,cn=DriverSetName,ou=services,o=baseorg#4278190086#*" cn 
}}} 

! Find those entries with NO Association 
Now one would think that a query like: 
{{{ 
ldapsearch -h server.ip.address -D cn=admin,o=baseorg -w mypassword -b o=adm "(!(DirXML-Associations=cn=MyDriverName,cn=DriverSetName,ou=services,o=baseorg#4278190086#*))" cn 
}}} 
Would return only the entries with no value. This does not seem to work. The result set has values like: 
{{{ 
DirXML-Associations=cn=MyDriverName,cn=DriverSetName,ou=services,o=baseorg#4# 
))) 

So trying: 
{{{ 
ldapsearch -h server.ip.address -D cn=admin,o=baseorg -w mypassword -b o=adm "(&(!(DirXML-Associations=cn=MyDriverName,cn=DriverSetName,ou=services,o=baseorg#4278190086#*))(!(DirXML-Associations=cn=MyDriverName,cn=DriverSetName,ou=services,o=baseorg#4#)))" cn 
}}} 
Worked for us. 

Let us know if you find some other items about [{$pagename}] 

!! More Information 
There might be more information for this subject on one of the following: 
[{ReferringPagesPlugin before='*' after='\n' }] 
---- 
* [#1] - [http://www.novell.com/coolsolutions/tip/8549.htm|http://www.novell.com/coolsolutions/tip/8549.htm|target='_blank'] - based on information observed on 2013-04-10