Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
how to fetch the data from LDAP.
I have to fetch all the users from LDAP and import recipient from LDAP to send mail using N printing
You do have a valid connection as you tested that. But it seems that the wizard is unable to retrieve the right entities in LDAP and show them as table-like entities.
That doesn't mean that you can't retrieve the information you want. But you will have to use SQL syntax according to the documentation that Microsoft provides:
SQL
SELECT ADsPath, cn FROM 'LDAP://DC=Fabrikam,DC=COM' WHERE objectCategory='group';
Should give you all groups...
'LDAP://DC=.....' must be replaced by your specific LDAP path.
SQL
To search for all the users whose Last Name starts with letter H.
SELECT ADsPath, cn FROM 'LDAP://OU=Sales,DC=Fabrikam,DC=COM' WHERE objectCategory='person' AND objectClass='user' AND sn = 'H*' ORDER BY sn
;
what should be enter in data source name and location