bitwarden / directory-connector

A tool for syncing a directory (AD, LDAP, Azure, G Suite, Okta) to an organization.
https://bitwarden.com
GNU General Public License v3.0
251 stars 82 forks source link

Default configuration is invalid #275

Closed RealOrangeOne closed 1 year ago

RealOrangeOne commented 2 years ago

When running for the first time, the default configuration is invalid, and doesn't allow modification.

$ /usr/local/bin/bwdc config directory 2
Could not find data file, "/home/xxxxxxxxxxxxx/.config/Bitwarden Directory Connector/data.json"; creating it instead.
Cannot read properties of null (reading 'directorySettings')

Config created:

{
  "tempAccountSettings": {
    "biometricLocked": null,
    "environmentUrls": {
      "base": null,
      "api": null,
      "identity": null,
      "icons": null,
      "notifications": null,
      "events": null,
      "webVault": null,
      "keyConnector": null
    },
    "pinProtected": {
      "decrypted": null,
      "encrypted": null
    },
    "protectedPin": null,
    "settings": null,
    "vaultTimeoutAction": "lock"
  },
  "global": {
    "locale": "en",
    "theme": "system",
    "window": {},
    "stateVersion": 3,
    "environmentUrls": {
      "base": null,
      "api": null,
      "identity": null,
      "icons": null,
      "notifications": null,
      "events": null,
      "webVault": null,
      "keyConnector": null
    },
    "installedVersion": "2022.6.0"
  },
  "authenticatedAccounts": [],
  "tempDirectoryConfigs": {
    "ldap": null,
    "gsuite": null,
    "azure": null,
    "okta": null,
    "oneLogin": null
  },
  "tempDirectorySettings": {
    "directoryType": null,
    "organizationId": null,
    "lastUserSync": null,
    "lastGroupSync": null,
    "lastSyncHash": null,
    "syncingDir": null,
    "sync": null,
    "userDelta": null,
    "groupDelta": null
  }
}

Running version 2022.6.0

Larry-Sussman commented 1 year ago

Hi @RealOrangeOne, are you still running into this issue?

We use GitHub issues as a place to track bugs and other development related issues. Your issue appears to be a support request, or would otherwise be better handled by our dedicated Customer Success team.

Please contact us using our Contact page. You can include a link to this issue in the message content, they should be able to help you out!

The issue here will be closed for now, thanks!