Here is the scenario:
I have several CIFS
partitions which AD-based users can mount and use to access their files etc.
Now we have a requirement to expose this to users via Java-based Web application. So ideally when the users log in; he/she should be able to see which all CIFS
partitions he has access to. This would mean that that Java application should be able to query Active Directory server via LDAP
or such to identify which all CIFS
partitions are available and the respective ACLs
.
So the question is:
- Can we use
LDAP(Java-based library)
to query AD to find out which users can access whichCIFS
shares? - Is there any other way to do so from a Java application?