[Samba] ldap-query operating system attribute
ali.bendriss at gmail.com
Wed Mar 6 10:09:21 MST 2013
On Wednesday, March 06, 2013 06:50:46 PM Michael Wood wrote:
> On 6 March 2013 16:43, Ali Bendriss <ali.bendriss at gmail.com> wrote:
> > Hello,
> > I'm running samba 4.0.3.
> > when I query the operatingsystem attribute using
> > ldapsearch ... -P 3 "(objectCategory=computer)"
> > The operatingsystem value returned for "Windows 7 Professionnel N"
> > is operatingSystem:: V2luZG93c8KgNyBQcm9mZXNzaW9ubmVsIE4=
> > which translate to WindowsÂ 7 Professionnel N
> > But when I look at it using dsa.msc I can read "Windows 7 Professionnel N"
> Are you worried about the "Â"? That's actually a non-breaking space
> character (like in HTML).
my mistake in fact it return WindowsÂ + something not convertible to utf8.
I'm trying to get the computers info in a postgresql database and get in
postgresql log file
ERROR: invalid byte sequence for encoding "UTF8": 0xe2 0xa0 0x37
> > For other system, it's fine, I've got "Windows XP Professional", "Mac OS
> > X", "Windows 7 Professionnel"
> > I've got only the problem for the 'N' version.
> > Could someone let me know if he can see or not the same problem.
> > thanks
More information about the samba