Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8996395
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:44:57+00:00 2026-06-15T23:44:57+00:00

Here is the scenario: I have several CIFS partitions which AD-based users can mount

  • 0

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:

  1. Can we use LDAP(Java-based library) to query AD to find out which
    users can access which CIFS shares?
  2. Is there any other way to do so from a Java application?
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:44:57+00:00Added an answer on June 15, 2026 at 11:44 pm

    There’s no builtin way to publish CIFS partitions, or their respective ACLs, to AD. So you need to publish it yourself. There’s basically two options:

    1. Publish it in AD. This requires extending the schema, i.e. creating a cIFSPartition class with two attributes, path and users. You would then have to find a Java library that can perform LDAP queries (I see a lot of questions about Spring LDAP here). You would probably need to make a webpage to help create and manage these cIFSPartition objects.

    2. Store it on the webserver. You have lots of options here, like a text file or database. This way, you don’t have to worry about LDAP.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's the scenario... I have several float attributes in my data model which I
Here is the scenario: I have several .pfx files and I need to store
Here's the scenario: I have a multi threaded java web application which is running
Here's my scenario: I have an Android service ( CoreService ) I use ServiceTestCase<CoreService>
Here's my scenario: I have a page containing several links; each link is meant
Here is my scenario: I have three Windows VMs on Windows Azure (which is
Here is my scenario: I have two MySQL tables: Categories (columns: id, category) Items
Here's the scenario: I have a public repo A . Bob forks A ,
Here is my scenario: I have an Eclipse project in my desktop in a
Here is the scenario: I have a visual that displays some data The data

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.