Comments (3)
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.
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.
@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)
- Encrypt LAPS credentials with ansible-vault HOT 4
- New Release of microsoft.ad HOT 1
- microsoft.ad.group module : Set members to an empty list HOT 3
- microsoft.ad.group module : Set members list HOT 3
- microsoft.ad.user - New-ADUser failed: A parameter cannot be found that matches parameter name 'LockedOut' HOT 1
- microsoft.ad.user - Created user not found while deleting by ad-hoc command HOT 1
- Error: The term 'Get-ADRootDSE' is not recognized as the name of a cmdlet HOT 5
- Error: Skip computer 'x' with new name 'x' because the new name is the same as the current name. HOT 1
- Getting an error while running the microsoft.ad module HOT 1
- microsoft.ad.domain fails with 'InstallDNS' not recognized error HOT 3
- microsoft.ad.user groups documentation should detail which formats it accepts
- How do you actually execute modules in this collection (requires powershell)? HOT 7
- Adding members to a group requires an explicit path to be set HOT 3
- The system cannot find the file specified. HOT 4
- Ansible Semaphore compatibility HOT 1
- Unable to parse microsoft.ad.ldap.yaml HOT 3
- Add action_groups HOT 3
- Using microsoft.ad.group to set members of a group does not work when both groups are in different OUs HOT 2
- microsoft.ad.object can't assign attribute PrincipalsAllowedToRetrieveManagedPassword HOT 2
- Not able to run module, giving an error AnsibleADObject not found HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsoft.ad.