Announcement

Collapse
No announcement yet.

issues with Hebrew lang in AD and ldifde command

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • issues with Hebrew lang in AD and ldifde command

    Hi,

    I am trying to locate a delegate that was already deleted from the domain.

    I am using teh following command:

    ldifde -f nameofoutputfile.rtf -d "cn=users,dc=xxxx,dc=xxxx" -l name,publicDelegates,publicDelegatesBL -r "(|(publicDelegates=*)(publicDelegatesBL=*))"

    My problem is that we use Hebrew names in our AD and I get gibberish results. I can't seem to find a way to translate the gibberish back to Hebrew.

    Here's an example of what I get:

    dn:: Q04915fXmdeUINeh15XXmdeh15QsQ049VXNlcnMsREM9cGFpcy xEQz1jb3Jw
    changetype: add
    publicDelegatesBL::
    Q04916TXoNeZ15XXqiDXlNem15nXkdeV16gsQ049VXNlcnMsRE M9cGFpcyxEQz1jb3Jw
    name:: 15fXmdeUINeh15XXmdeh15Q=


    Can anybody help with this?

    Thanks,

    Vered

  • #2
    Re: issues with Hebrew lang in AD and ldifde command

    Hi,

    Add -u in the last of command, it should look as follows:

    ldifde -f nameofoutputfile.rtf -d "cn=users,dc=xxxx,dc=xxxx" -l name,publicDelegates,publicDelegatesBL -r "(|(publicDelegates=*)(publicDelegatesBL=*))" -u

    Hope it will resolve the issue.

    Regards,
    Kapil Sharma
    ~~~~~~~~~~~~~
    Life is too short, Enjoy It.

    Comment


    • #3
      Re: issues with Hebrew lang in AD and ldifde command

      Wow! Brilliant! Thank YOU!

      Comment


      • #4
        Re: issues with Hebrew lang in AD and ldifde command

        Thanks to the moderator "Guyt".

        I learnt this from him.

        Regards,
        Kapil Sharma
        ~~~~~~~~~~~~~
        Life is too short, Enjoy It.

        Comment


        • #5
          Re: issues with Hebrew lang in AD and ldifde command

          Yep... Hebrew is using double-byte characters and you need to use the unicode mode (-u switch) to import anything that has Hebrew in it's names. LDIFDE defaults to ASCII unless passed the "-u" switch
          Guy Teverovsky
          "Smith & Wesson - the original point and click interface"

          Comment


          • #6
            Re: issues with Hebrew lang in AD and ldifde command

            btw, I have notices that you are exporting both publicDelegates and publicDelegatesBL. The second attribute is a backlink. If you plan to import the data later, you do not need the backlink - it will be created automatically.
            This is just like the member and memberOf attributes - when you add someone to a group, you write to group's "member" attribute and user's "memberOf" attribute is updated automatically.
            If this is for reporting or similar, that's another case...
            Guy Teverovsky
            "Smith & Wesson - the original point and click interface"

            Comment

            Working...
            X