ldap Questions

4

Solved

WebSecurityConfigurerAdapter: @Component @EnableWebSecurity public class SecurityConfiguration extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity httpSecurity)...
Elspeth asked 2/8, 2022 at 5:29

4

Solved

While fetching users from group, giving exception message as "While trying to resolve a cross-store reference, the SID of the target principal could not be resolved. The error code is 1332." Prin...
Westonwestover asked 10/3, 2016 at 10:36

4

Solved

I'm using java ldap to access active directory, more specifically spring ldap. a group search by objectGUID yields no results when the filter is encoded as specified in rfc2254. this is the guid in...

5

For instances when Active Directory takes too long to replicate data between sites, I need to ensure that the local AD replica contains the most up to date information. How can I get a list of Do...

4

Solved

I have Apache/SVN running on Windows Server 2003 with authentication via LDAP/Active Directory and a flat-file. It's working great except that any LDAP user can access everything. I'd like to be a...
Kaine asked 27/1, 2009 at 18:1

4

Solved

I want to display the account expiry date—either as something readable, or in ticks—it doesn't matter: DirectorySearcher searcher = new DirectorySearcher(); searcher.Filter = String.Format( "(...
Parkland asked 13/1, 2009 at 22:31

4

This is my /etc/hosts file: This is my ldap.conf file: I am getting "ldap_sasl_bind(SIMPLE): Can't contact LDAP server(-1)" when I run this command: ldapsearch -x -H "ldap://ldap.techv...
Mullis asked 30/1, 2016 at 7:15

3

Solved

The ldapsearch(1) command retrieves objects from an LDAP server, and prints them out as an LDIF structure, like this (not real data): dn: [email protected],dc=domain,dc=com objectclass: top ob...
Weird asked 2/8, 2016 at 1:32

2

Solved

What would the correct syntax be, using ldapsearch, to return all Groups\OU's and their nested Groups\OU's in an AD domain? I am trying to query a Windows AD DC from a Linux Box and need to h...
Laboy asked 16/9, 2013 at 0:57

12

Solved

How do I authenticate against AD using Python + LDAP. I'm currently using the python-ldap library and all it is producing is tears. I can't even bind to perform a simple query: import sys import ...
Overpowering asked 26/9, 2008 at 16:8

18

I know that LDAP is used to provide some information and to help facilitate authorization. But what are the other usages of LDAP?
Globuliferous asked 27/10, 2008 at 9:13

1

In the ApacheDS documentation about embedding an ApacheDS server in Junit test they only mentions example for Junit4 using @RunWith(FrameworkRunner.class) or @ClassRule public static CreateLdapSer...
Wiggins asked 20/11, 2020 at 16:48

3

Solved

I am using the great ldap3 package and I am trying to connect with a active directory server but without requiring to provide actual credentials in plain text. Following SASL mechanisms are suppor...
Cello asked 11/9, 2018 at 15:32

7

Solved

I have searched on this topic, but all I find are filters that return entries where a certain attribute is not present, like: (!(manager=*)) However, I want to find entries where the attribute i...
Tomlinson asked 21/1, 2013 at 15:10

4

Is there any way to perform a LDAP search and save the results into a table format (e.g. csv)? Cheers Jorge
Frightened asked 6/2, 2018 at 14:4

4

Solved

My application searches an LDAP server for people. return ldapTemplate.search("", "(objectclass=person)", new AttributesMapper() { public Object mapFromAttributes(Attributes attrs) throws Namin...
Inconvenient asked 13/12, 2011 at 10:23

1

Solved

I am running a C# .NET 6 App in a Linux Ubuntu 22.04 container. I need the app to connect to an Active Directory Domain Controller in order to authenticate users of the app. I can get non-secure LD...
Cyclic asked 15/9, 2023 at 3:42

0

For testing purposes I started to use in-memory ldap server val config = InMemoryDirectoryServerConfig(baseDn) config.addAdditionalBindCredentials("cn=$LOGIN", PASSWORD) config.schema = n...
Marquardt asked 27/7, 2023 at 11:11

3

Solved

PowerShell is capable of pulling list of 1492 records. When I using Python with ldap3 module I'm bumping into 1000 records limit. Please help me change Python code to exceed the limit. PowerShell ...
Avenue asked 27/11, 2017 at 6:56

5

Solved

I want to make a query against a LDAP directory of how employees are distributed in departments and groups... Something like: "Give me the department name of all the members of a group" and then u...
Braswell asked 1/4, 2014 at 18:23

0

Based on this I use following code to start in memory ldap server // Create the configuration to use for the server. InMemoryDirectoryServerConfig config = new InMemoryDirectoryServerConfig("...
Agribusiness asked 21/7, 2023 at 14:59

27

Solved

When I run the following command: sudo pip install python-ldap I get this error: In file included from Modules/LDAPObject.c:9: Modules/errors.h:8: fatal error: lber.h: No such file or directory ...
Bazemore asked 22/1, 2011 at 14:44

2

Solved

I've successfully connected to Active Directory through LDAP to authenticate, and with the following in my ldap.xml I've called my custom authorities populator: <bean id="ldapAuthenticationPro...
Kain asked 19/4, 2013 at 20:37

2

Solved

I am making a portal for my organization in which I want the user to login to that portal with their organization acoount's ID and password. For this purpose I am using LDAP authentication with Jav...
Desiderata asked 27/8, 2014 at 5:39

5

Solved

i am using openldap with phpldapadmin, and i'm trying to check what are the groups of a certain user. this is my scheme ... this is what i tried, but it didn't work docker-compose exec openld...
Sixfooter asked 14/7, 2018 at 17:47

© 2022 - 2024 — McMap. All rights reserved.