Comments (4)
Correction: ldap2pg is installed with pip3 from the git master.
from ldap2pg.
Hi @jrjsmrtn . Thanks for reporting !
Can you run ldap2pg -v
? Beware, the output is very verbose. You'll see ldapsearch
commands. Can you report it ?
Also, can you adapt it, run it and report the LDIF output ?
from ldap2pg.
OK, I found the issue: as there was no filter on the sAMAccountName or userPrincipalName attribute, the LDAP search was returning some entries with no such attributes. Hence the error message make sense.
I tested successfully with sAMAccountName and userPrincipalName:
- ldap:
base: cn=Users,dc=cxptc,dc=org
filter: '(userPrincipalName=*)'
role:
name_attribute: userPrincipalName
options: LOGIN
Thanks :-)
from ldap2pg.
@jrjsmrtn you're welcome. :-)
from ldap2pg.
Related Issues (20)
- Database exclude HOT 3
- Has anyone tried ldap2pg on CockroachDB? HOT 10
- ldap2pg 5.9 not available on Pypi HOT 2
- FATAL: sorry, too many clients already HOT 10
- Error of ldap2pg.script on postgreSQL 15 HOT 4
- ensure SASL_MECH is none HOT 3
- Documentation: ToC of Well-Known privileges not showing well HOT 1
- Access to different database groups for different LDAP groups in same cluster HOT 4
- ldap2pg 5.4 to 5.5 getting empty list errors HOT 4
- ldap2pg config on multiple databases cluster with kubernetes HOT 6
- How to grant privilege per LDAP User HOT 3
- Request an Active Directory server where groups "member" does not exist but users have a "memberOf" attribute HOT 4
- ldap2pg.script: Unknown parent role pg_read_all_data HOT 2
- ldap2pg.script: Failed to connect to LDAP: {'result': 49, 'desc': 'Invalid credentials', 'ctrls': [], 'info': 'SASL(-13): user not found: no secret in database'}
- bad ticket, ignore this HOT 1
- FAILED tests/func/test_sample.py::test_real_mode - AssertionError: assert 'daniel' in ['owners'] HOT 7
- PermissionError: [Errno 13] Permission denied: 'tests-func-ldap2pg.yml' HOT 2
- It doesn't exist。I have tried creating it manually, but the same problem exists.
- About the Method of Performing Func Testing HOT 1
- Setting configuration_parameters via ldap2pg HOT 5
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 ldap2pg.