Code Monkey home page Code Monkey logo

Comments (11)

kspearrin avatar kspearrin commented on July 3, 2024

@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.

kareemshayeb avatar kareemshayeb commented on July 3, 2024

@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.

kspearrin avatar kspearrin commented on July 3, 2024

@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.

kareemshayeb avatar kareemshayeb commented on July 3, 2024

@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.

kspearrin avatar kspearrin commented on July 3, 2024

@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?

https://ci.appveyor.com/project/bitwarden/directory-connector/builds/32756074/job/0bnbhinwvkvbmsbm/artifacts

from directory-connector.

kareemshayeb avatar kareemshayeb commented on July 3, 2024

This didn't solve the issue, and the same error message still shows up.

from directory-connector.

kspearrin avatar kspearrin commented on July 3, 2024

@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.

kareemshayeb avatar kareemshayeb commented on July 3, 2024

@kspearrin We can set up a Webex Meeting if you like.

from directory-connector.

kspearrin avatar kspearrin commented on July 3, 2024

@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.

kareemshayeb avatar kareemshayeb commented on July 3, 2024

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.

kspearrin avatar kspearrin commented on July 3, 2024

@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:

from directory-connector.

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.