Comments (11)
@AdamVB Can you try debugging the LDAP quries that are generated?
You can debug the LDAP queries from the output in the console under View > Developer Tools. Or, if using the CLI, you can set environment variable BWCLI_DEBUG=true to see the LDAP query debug output in terminal.
from directory-connector.
@kspearrin using the CLI, the only message we get is this:
missing paged control
However, with the GUI tool we get this in the developer console:
internal/process/warning.js:23 (node:32205) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
from directory-connector.
@kareemshayeb I am having trouble reproducing the issue. Here is what I am using:
"directoryConfig_0": {
"ssl": true,
"startTls": false,
"sslAllowUnauthorized": true,
"port": "636",
"currentUser": false,
"ad": false,
"password": "Secret123",
"hostname": "ipa.demo1.freeipa.org",
"username": "uid=admin,cn=users,cn=accounts,dc=demo1,dc=freeipa,dc=org",
"rootPath": "dc=demo1,dc=freeipa,dc=org"
},
"syncConfig": {
"users": true,
"groups": true,
"interval": 5,
"removeDisabled": true,
"overwriteExisting": true,
"useEmailPrefixSuffix": true,
"creationDateAttribute": "whenCreated",
"revisionDateAttribute": "whenChanged",
"emailPrefixAttribute": "sAMAccountName",
"memberAttribute": "member",
"userObjectClass": "person",
"groupObjectClass": "posixGroup",
"userEmailAttribute": "mail",
"groupNameAttribute": "cn",
"groupPath": "ou=group",
"userPath": "ou=people",
"userFilter": "",
"emailSuffix": "@company.com"
},
from directory-connector.
@kspearrin I've noticed from your configs two new options comparing to that what I'm using..
First is "startTls": false,
which didn't make any difference.
Although, this one did "emailSuffix": "@company.com"
. The moment I test the LDAP connection with this option, I get logged out and the content of "data.json" get wiped out.
Anyhow, the same issue still there!
$ bwdc test
User search: ou=people,dc=otc,dc=app => (&(objectClass=person))
missing paged control
from directory-connector.
@kareemshayeb I am using the latest dev build, which has some new unreleased options. Could you try the latest dev build from here and see if the issue persists?
from directory-connector.
This didn't solve the issue, and the same error message still shows up.
from directory-connector.
@kareemshayeb Are you able to give us access to your environment in some way? I don't know what else to do if I cannot reproduce the issue.
from directory-connector.
@kspearrin We can set up a Webex Meeting if you like.
from directory-connector.
@kareemshayeb I could join a video call, but I would still probably need to be able to query the environment in some way to reproduce the problem while debugging.
from directory-connector.
I can grant you access during the meeting, this would be the fastest way.
Otherwise, we need to figure out how to grant you access on our environment. This needs to be discussed then within our team.
from directory-connector.
@kareemshayeb @AdamVB This is fixed in #45
You can now control from the client settings if your server supports paging or not.
This will be available next release. You can try the latest dev builds here:
- https://ci.appveyor.com/project/bitwarden/directory-connector/builds/32983159/job/cuhnnrdmu7poo0gr/artifacts
- https://ci.appveyor.com/project/bitwarden/directory-connector/builds/32983159/job/dotsslp27yhy0ndn/artifacts
from directory-connector.
Related Issues (20)
- CLI Linux "invalid_client (401): AADSTS7000215: Invalid client secret is provided." HOT 2
- Sync fails if the domain contains circular groups
- Missing paren(thesis ?) in directory connector HOT 4
- Connection issues for sync groups with Microsoft Azure AD HOT 1
- LDAP sync doesn't work with on-prem server HOT 1
- bwdc sync failed HOT 3
- Local LAN IP as LDAP server host? HOT 2
- Default configuration is invalid HOT 1
- TEST
- Unable to run bwdc HOT 1
- Directory-Connector Sync Error and Not Working with OKTA HOT 2
- GUI App Updates Fail HOT 2
- An unhandled server error has occurred. HOT 1
- Dependency Dashboard
- Release tags do not belong to any branch HOT 2
- test
- Renamed user deleted and created as new, instead of renamed, losing data HOT 1
- [AC-1743] Operation Upgrade Directory Connector's Dependencies
- Please add keycloak support HOT 1
- Unable to sync when using either directory connector or CLI HOT 1
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 directory-connector.