LDAP eDirectory output is random numbers











up vote
0
down vote

favorite












Using Netiq's eDirectory system we have numerous roles that contain AD Groups.
I do not know how this is set up exactly, but the raw input value for the role (nrfEntitlementRef) looks like this:



cn=C10_AD_GroupMembership,cn=C10_AD2008,cn=DriverSet,ou=RESOURCES,o=SYSTEM#0#<ref>
<id/>
<param>GG_PROJECT_MBX_IAM_PROJECT</param>
</ref>


Now when I use Apache Directory Studio (software used to browse the eDirectory) and export this into an XML to import it later it converts it to base64, that's fine I can work with that.
Recently I've been trying to connect to the eDirectory with Powershell, trying to get the same output resulted in the following:



PS: $ldapquery.properties.nrfentitlementref
99
110
61
67
49
48
95
65
68
95
71
114
111
117
112
77
101
109
98
101
114
115
104
105
112
44
99
110
61
67
49
48
95
65
68
50
48
48
56
44
99
110
61
68
114
105
118
101
114
83
101
116
44
111
117
61
82
69
83
79
85
82
67
69
83
44
111
61
83
89
83
84
69
77
35
48
35
60
114
101
102
62
10
9
60
105
100
47
62
10
9
60
112
97
114
97
109
62
71
71
95
80
82
79
74
69
67
84
95
77
66
88
95
73
65
77
95
80
82
79
74
69
67
84
60
47
112
97
114
97
109
62
9
10
60
47
114
101
102
62
10


When I use a .getType() on the parameter it returns:



ResultPropertyValueCollection


It has a length of 141 and looks to be some sort of ASCII-esque encoding but I don't know how I would be able to properly decode it for automation.










share|improve this question


























    up vote
    0
    down vote

    favorite












    Using Netiq's eDirectory system we have numerous roles that contain AD Groups.
    I do not know how this is set up exactly, but the raw input value for the role (nrfEntitlementRef) looks like this:



    cn=C10_AD_GroupMembership,cn=C10_AD2008,cn=DriverSet,ou=RESOURCES,o=SYSTEM#0#<ref>
    <id/>
    <param>GG_PROJECT_MBX_IAM_PROJECT</param>
    </ref>


    Now when I use Apache Directory Studio (software used to browse the eDirectory) and export this into an XML to import it later it converts it to base64, that's fine I can work with that.
    Recently I've been trying to connect to the eDirectory with Powershell, trying to get the same output resulted in the following:



    PS: $ldapquery.properties.nrfentitlementref
    99
    110
    61
    67
    49
    48
    95
    65
    68
    95
    71
    114
    111
    117
    112
    77
    101
    109
    98
    101
    114
    115
    104
    105
    112
    44
    99
    110
    61
    67
    49
    48
    95
    65
    68
    50
    48
    48
    56
    44
    99
    110
    61
    68
    114
    105
    118
    101
    114
    83
    101
    116
    44
    111
    117
    61
    82
    69
    83
    79
    85
    82
    67
    69
    83
    44
    111
    61
    83
    89
    83
    84
    69
    77
    35
    48
    35
    60
    114
    101
    102
    62
    10
    9
    60
    105
    100
    47
    62
    10
    9
    60
    112
    97
    114
    97
    109
    62
    71
    71
    95
    80
    82
    79
    74
    69
    67
    84
    95
    77
    66
    88
    95
    73
    65
    77
    95
    80
    82
    79
    74
    69
    67
    84
    60
    47
    112
    97
    114
    97
    109
    62
    9
    10
    60
    47
    114
    101
    102
    62
    10


    When I use a .getType() on the parameter it returns:



    ResultPropertyValueCollection


    It has a length of 141 and looks to be some sort of ASCII-esque encoding but I don't know how I would be able to properly decode it for automation.










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Using Netiq's eDirectory system we have numerous roles that contain AD Groups.
      I do not know how this is set up exactly, but the raw input value for the role (nrfEntitlementRef) looks like this:



      cn=C10_AD_GroupMembership,cn=C10_AD2008,cn=DriverSet,ou=RESOURCES,o=SYSTEM#0#<ref>
      <id/>
      <param>GG_PROJECT_MBX_IAM_PROJECT</param>
      </ref>


      Now when I use Apache Directory Studio (software used to browse the eDirectory) and export this into an XML to import it later it converts it to base64, that's fine I can work with that.
      Recently I've been trying to connect to the eDirectory with Powershell, trying to get the same output resulted in the following:



      PS: $ldapquery.properties.nrfentitlementref
      99
      110
      61
      67
      49
      48
      95
      65
      68
      95
      71
      114
      111
      117
      112
      77
      101
      109
      98
      101
      114
      115
      104
      105
      112
      44
      99
      110
      61
      67
      49
      48
      95
      65
      68
      50
      48
      48
      56
      44
      99
      110
      61
      68
      114
      105
      118
      101
      114
      83
      101
      116
      44
      111
      117
      61
      82
      69
      83
      79
      85
      82
      67
      69
      83
      44
      111
      61
      83
      89
      83
      84
      69
      77
      35
      48
      35
      60
      114
      101
      102
      62
      10
      9
      60
      105
      100
      47
      62
      10
      9
      60
      112
      97
      114
      97
      109
      62
      71
      71
      95
      80
      82
      79
      74
      69
      67
      84
      95
      77
      66
      88
      95
      73
      65
      77
      95
      80
      82
      79
      74
      69
      67
      84
      60
      47
      112
      97
      114
      97
      109
      62
      9
      10
      60
      47
      114
      101
      102
      62
      10


      When I use a .getType() on the parameter it returns:



      ResultPropertyValueCollection


      It has a length of 141 and looks to be some sort of ASCII-esque encoding but I don't know how I would be able to properly decode it for automation.










      share|improve this question













      Using Netiq's eDirectory system we have numerous roles that contain AD Groups.
      I do not know how this is set up exactly, but the raw input value for the role (nrfEntitlementRef) looks like this:



      cn=C10_AD_GroupMembership,cn=C10_AD2008,cn=DriverSet,ou=RESOURCES,o=SYSTEM#0#<ref>
      <id/>
      <param>GG_PROJECT_MBX_IAM_PROJECT</param>
      </ref>


      Now when I use Apache Directory Studio (software used to browse the eDirectory) and export this into an XML to import it later it converts it to base64, that's fine I can work with that.
      Recently I've been trying to connect to the eDirectory with Powershell, trying to get the same output resulted in the following:



      PS: $ldapquery.properties.nrfentitlementref
      99
      110
      61
      67
      49
      48
      95
      65
      68
      95
      71
      114
      111
      117
      112
      77
      101
      109
      98
      101
      114
      115
      104
      105
      112
      44
      99
      110
      61
      67
      49
      48
      95
      65
      68
      50
      48
      48
      56
      44
      99
      110
      61
      68
      114
      105
      118
      101
      114
      83
      101
      116
      44
      111
      117
      61
      82
      69
      83
      79
      85
      82
      67
      69
      83
      44
      111
      61
      83
      89
      83
      84
      69
      77
      35
      48
      35
      60
      114
      101
      102
      62
      10
      9
      60
      105
      100
      47
      62
      10
      9
      60
      112
      97
      114
      97
      109
      62
      71
      71
      95
      80
      82
      79
      74
      69
      67
      84
      95
      77
      66
      88
      95
      73
      65
      77
      95
      80
      82
      79
      74
      69
      67
      84
      60
      47
      112
      97
      114
      97
      109
      62
      9
      10
      60
      47
      114
      101
      102
      62
      10


      When I use a .getType() on the parameter it returns:



      ResultPropertyValueCollection


      It has a length of 141 and looks to be some sort of ASCII-esque encoding but I don't know how I would be able to properly decode it for automation.







      powershell character-encoding edirectory






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked yesterday









      Thom Ernst

      4419




      4419
























          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          It was actually ASCII, the program I was using to convert it had an error in it which produced unknown characters.






          share|improve this answer





















            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














             

            draft saved


            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53204272%2fldap-edirectory-output-is-random-numbers%23new-answer', 'question_page');
            }
            );

            Post as a guest
































            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            It was actually ASCII, the program I was using to convert it had an error in it which produced unknown characters.






            share|improve this answer

























              up vote
              0
              down vote













              It was actually ASCII, the program I was using to convert it had an error in it which produced unknown characters.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                It was actually ASCII, the program I was using to convert it had an error in it which produced unknown characters.






                share|improve this answer












                It was actually ASCII, the program I was using to convert it had an error in it which produced unknown characters.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered yesterday









                Thom Ernst

                4419




                4419






























                     

                    draft saved


                    draft discarded



















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53204272%2fldap-edirectory-output-is-random-numbers%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest




















































































                    Popular posts from this blog

                    How to pass form data using jquery Ajax to insert data in database?

                    National Museum of Racing and Hall of Fame

                    Guess what letter conforming each word