Giter VIP home page Giter VIP logo

Comments (8)

kspearrin avatar kspearrin commented on May 23, 2024

Could you share what settings you are using?

from directory-connector.

darkyat avatar darkyat commented on May 23, 2024

Could you share what settings you are using?

Sure!

{
  "installedVersion": "2.6.0",
  "environmentUrls": {
    "base": "REDACTED",
    "api": null,
    "identity": null,
    "webVault": null,
    "icons": null,
    "notifications": null
  },
  "appId": "REDACTED",
  "accessToken": "REDACTED",
  "refreshToken": "REDACTED",
  "userEmail": "REDACTED",
  "userId": "REDACTED",
  "kdf": 0,
  "kdfIterations": 100000,
  "directoryType": 2,
  "directoryConfig_0": {
    "ssl": false,
    "sslAllowUnauthorized": false,
    "port": 389,
    "currentUser": false,
    "ad": true,
    "password": null
  },
  "directoryConfig_2": {
    "privateKey": "[STORED SECURELY]",
    "domain": "REDACTED",
    "adminUser": "REDACTED",
    "clientEmail": "REDACTED"
  },
  "directoryConfig_1": {
    "key": null
  },
  "directoryConfig_3": {
    "token": null
  },
  "syncConfig": {
    "users": true,
    "groups": false,
    "interval": 5,
    "removeDisabled": false,
    "overwriteExisting": false,
    "useEmailPrefixSuffix": false,
    "creationDateAttribute": "whenCreated",
    "revisionDateAttribute": "whenChanged",
    "emailPrefixAttribute": "sAMAccountName",
    "memberAttribute": "member",
    "userObjectClass": "person",
    "groupObjectClass": "group",
    "userEmailAttribute": "mail",
    "groupNameAttribute": "name",
    "groupPath": "CN=Users",
    "userPath": "CN=Users",
    "userFilter": "exclude:REDACTED"
  },
  "organizationId": "REDACTED"
}

The only thing I realized, looking at your latest commits is that I keep the Customer Id empty but retrieving users from G Suite works just fine, just storing them to bitwarden seems to fail?

from directory-connector.

kspearrin avatar kspearrin commented on May 23, 2024

So a test succeeds in returning a list of users, but the sync with the server fails?

from directory-connector.

darkyat avatar darkyat commented on May 23, 2024

Yup, exactly. The server is running Version 2.10.1 in case that matters.

from directory-connector.

kspearrin avatar kspearrin commented on May 23, 2024

Does the network tab under dev tools show the call to the server?

from directory-connector.

darkyat avatar darkyat commented on May 23, 2024

I think you got me on the right track here. I just checked the logs on the server side of things, and it seems the culprit is on the receiving end rather than the connector:

[2019-06-11 14:11:25][rocket::rocket][INFO] POST /api/organizations/<REDACTED>/import application/json; charset=utf-8:
[2019-06-11 14:11:25][_][ERROR] No matching routes for POST /api/organizations/<REDACTED>/import application/json; charset=utf-8.
[2019-06-11 14:11:25][_][WARN] Responding with 404 Not Found catcher.
[2019-06-11 14:11:25][_][WARN] Data left unread. Force closing network stream.
[2019-06-11 14:11:25][_][INFO] Response succeeded.

from directory-connector.

kspearrin avatar kspearrin commented on May 23, 2024

Does the org id you configured exist?

  "organizationId": "REDACTED"

from directory-connector.

bitwarden-bot avatar bitwarden-bot commented on May 23, 2024

Hi @darkyat,
We're cleaning up our repositories in preparation for a major reorganization. Issues from last year will be marked as stale and closed after two weeks. If you still need help, simply clear the label and we'll look into it.
Thanks!

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.