[Samba] Accentuated characters issue when receiving attributes from "samba user syncpasswords"
fabien.toune at lapin-blanc.com
Wed Mar 28 15:10:23 UTC 2018
What I would like to know is how it comes that the DN looks like it's not
and the attribute is.
I would be happy to have any kind of information about that.
Btw, Reindl Harald, I apologize for my "private" answer. Just hit the reply
had this kind of problem before. I'll **never** make this mistake again !
2018-03-28 16:06 GMT+02:00 Reindl Harald via samba <samba at lists.samba.org>:
> Am 28.03.2018 um 15:52 schrieb Lapin Blanc via samba:
> > I receive stdin input from "samba user syncpasswords" in my python
> > The user is created with ' Active Directory Users and Computers', and
> > some accentuated characters in their givenName and/or familyName (sn)
> > When parsing the diff, the CN reads of, but weird characters appears in
> > attributes instead of the right name :
> > INFO:root:DN found: CN=Arsène Lupin,CN=Users,DC=educonsult,DC=intra
> > INFO:root:Attribute found: cn: = QXJzw6huZSBMdXBpbg==
> > INFO:root:Attribute found: sn = Lupin
> > INFO:root:Attribute found: givenName: = QXJzw6huZQ==
> > INFO:root:Attribute found: displayName: = QXJzw6huZSBMdXBpbg==
> > INFO:root:Attribute found: name: = QXJzw6huZSBMdXBpbg==
> > INFO:root:Attribute found: objectGUID = c20847ee-963b-4d70-9c5c-
> > INFO:root:Attribute found: objectSid =
> > S-1-5-21-1504766521-268068577-265870750-1120
> > INFO:root:Attribute found: sAMAccountName = arsene.lupin
> > When using regular characters, everything is fine
> there is nothing weird
> php > echo base64_decode('QXJzw6huZSBMdXBpbg==');
> Arsène Lupin
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
More information about the samba