Author Topic: Cyrillic names and samba4  (Read 1815 times)

EGO

  • Zen Apprentice
  • *
  • Posts: 10
  • Karma: +2/-0
    • View Profile
Cyrillic names and samba4
« on: March 12, 2014, 01:13:10 pm »
Hi all!
I have Zentyal 3.3.5 Community Edition server. it works in conjunction with Win2k3 R2 server.
Win2k3 is a PDC, Zentyal is a Gateway role and Additional domain controller.

And Zentyal synchronizes only latin users and groups!

In zentyal.log I see this:
Quote
ego@zen:~$ tail /var/log/zentyal/zentyal.log
EBox::Exceptions::Base::log('EBox::Exceptions::InvalidData=HASH(0x58654a0)') called at /usr/share/perl5/EBox/Exceptions/External.pm line 43
EBox::Exceptions::External::new('EBox::Exceptions::InvalidData', 'Неправильное значение имя группы: Операторы учета.^JTo avoid problems, the group name should consist only of letters, digits, underscores, spaces, periods, dashs and not start with a dash. They could not contain only number, spaces and dots.', 'data', 'имя группы', 'value', 'Операторы учета', 'advice', 'To avoid problems, the group name should consist only of letters, digits, underscores, spaces, periods, dashs and not start with a dash. They could not contain only number, spaces and dots.') called at /usr/share/perl5/EBox/Exceptions/InvalidData.pm line 48
EBox::Exceptions::InvalidData::new('EBox::Exceptions::InvalidData', 'data', 'имя группы', 'value', 'Операторы учета', 'advice', 'To avoid problems, the group name should consist only of letters, digits, underscores, spaces, periods, dashs and not start with a dash. They could not contain only number, spaces and dots.') called at /usr/share/perl5/EBox/Exceptions/Base.pm line 91
EBox::Exceptions::Base::throw('EBox::Exceptions::InvalidData', 'data', 'имя группы', 'value', 'Операторы учета', 'advice', 'To avoid problems, the group name should consist only of letters, digits, underscores, spaces, periods, dashs and not start with a dash. They could not contain only number, spaces and dots.') called at /usr/share/perl5/EBox/Users/Group.pm line 516
EBox::Users::Group::create('EBox::Users::Group', 'name', 'Операторы учета', 'parent', 'EBox::Users::OU=HASH(0x5a1c848)', 'isSecurityGroup', 1, 'ignoreMods', 'ARRAY(0x56e2008)', 'description', 'Члены группы имеют права на администрирование учетных записей пользователей и групп', 'gidNumber', 3000088, 'isSystemGroup', '', 'isInternal', 1) called at /usr/share/perl5/EBox/Samba/Group.pm line 216
eval {...} at /usr/share/perl5/EBox/Samba/Group.pm line 189
EBox::Samba::Group::addToZentyal('EBox::Samba::Group=HASH(0x599f548)') called at /usr/share/zentyal-samba/s4sync line 240
eval {...} at /usr/share/zentyal-samba/s4sync line 239
2014/03/12 16:08:43 ERROR> Group.pm:225 EBox::Samba::Group::addToZentyal - Error loading group 'Операторы учета': Неправильное значение имя группы: Операторы учета.
To avoid problems, the group name should consist only of letters, digits, underscores, spaces, periods, dashs and not start with a dash. They could not contain only number, spaces and dots.

murz

  • Zen Apprentice
  • *
  • Posts: 37
  • Karma: +1/-0
    • View Profile
Re: Cyrillic names and samba4
« Reply #1 on: October 08, 2015, 10:15:36 am »
EGO, did you solve this issue? I also have problems with cyrillic (russian) letters when working with Zentyal 4.1 ans Samba, but not in group names, in file names:
Quote
2015/10/08 10:51:21 ERROR> Samba.pm:1045 EBox::Samba::_postServiceHook - Error setting security descriptor on file caramba/exchange/РазобÑаÑÑ Ð±Ð¾ÑвÑ/share/ÐÐ»Ñ ÐаÑи 14 ÑевÑалÑ/55182123_cupid01_as.jpg: Failed to open: NT_STATUS_ACCESS_DENIED at /usr/share/perl5/EBox/Samba.pm line 1043, <GEN0> line 940.
Seems that Samba accepts wrong encoding of non-latin symbols.