Uploaded image for project: 'OpenICF'
  1. OpenICF
  2. OPENICF-683

AD Powershell: postOfficeBox attribute is defined twice in the schema

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • powershell-connector-1.4.3.0
    • PowerShell Connector
    • None
    • Windows 2008R2,
      5.5.0-SNAPSHOT (revision: 82ffb8f)
      .NET Server 1.5.2.0 2d9a16d96...
      PS connector 1.4.3.0 rev. dd5fd12df...

    Description

      The postOfficeBox attribute is defined twice in the [ ADSchema.ps1 | https://stash.forgerock.org/projects/OPENICF/repos/powershell-connector/browse/Samples/AD/ADSchema.ps1#135,144 ]. Once as single valued attribute, second as multivalued. Documentation suggests it should be multivalued.

      The fact that it is defined twice prevents from generation of the schema. Attempt to generate the generates following exception.

      ConnectorServerService.exe Information: 0 : POWERSHELL: Exception calling "AddAttributeInfo" with "1" argument(s): "ConnectorAttributeInfo of name ''postOfficeBox'' already exists!"
      

      Removing the attr from single valued fixes the problem

      Attachments

        Issue Links

          Activity

            People

              gael Gael Allioux
              Ladislav.Folta Ladislav Folta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: