Coder Social home page Coder Social logo

Comments (3)

jborean93 avatar jborean93 commented on September 3, 2024 1

The PR #60 adds filter_without_computer as a new option that will avoid adding objectClass=computer to the final filter used.

from microsoft.ad.

jborean93 avatar jborean93 commented on September 3, 2024

It is not possible as you've pointed out in the code where the objectClass=computer is always used even if a custom one was specified. The logic at the time was you will only ever want to retrieve back computer objects as targets to connect to as that is how AD seems to categories those types. We could technically add a new option to have it ignore this filter altogether if a new one was provided but I would be hesitant to do that by default.

I am curious if your LDAP server a Microsoft AD server or something else?

from microsoft.ad.

tiagodcc avatar tiagodcc commented on September 3, 2024

@jborean93 My LDAP server isn't a Microsoft AD server. It uses a custom scheme that doesn't include the objectClass computer.
In Microsoft AD and other LDAP servers it is possible to change the default scheme and remove the objectClass computer. Therefore, I suggest to do this change with another option (e.g. a boolean custom_filter) to omit the default filter objectClass=computer. What do you think about this?

from microsoft.ad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.