Skip to content

Instantly share code, notes, and snippets.

@psy0rz
Created September 14, 2012 13:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psy0rz/3721796 to your computer and use it in GitHub Desktop.
Save psy0rz/3721796 to your computer and use it in GitHub Desktop.
[Syn-3] root@syn3test.blaat1299170507.nl ~# LC_ALL=en_US.utf8 ./usersync4 ; cat /tmp/e; file /tmp/o
UTF-8
('en_US', 'UTF-8')
('en_US', 'UTF-8')
aap
/tmp/o: UTF-8 Unicode text
[Syn-3] root@syn3test.blaat1299170507.nl ~# cat /tmp/o
Renée Claus
[Syn-3] root@syn3test.blaat1299170507.nl ~# ./usersync4 ; cat /tmp/e; cat /tmp/o
UTF-8
('en_US', 'UTF-8')
('en_US', 'UTF-8')
aap
failed to modify entry: cn: value #0 invalid per syntax at /usr/sbin/smbldap-usermod line 519.
Ren�e Claus
[Syn-3] root@syn3test.blaat1299170507.nl ~# file /tmp/o
/tmp/o: ISO-8859 text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment