[samba] ldap and smbldap-tools
Serge
=?iso-8859-1?q?skompan_=CE=C1_kspu=2Ekr=2Eua?=
Пн Дек 15 10:25:55 MSK 2008
Здравствуйте!
система на sisyphus.
rpm -qa|grep samba
samba-3.0.33-alt1
samba-client-control-1.2-alt2
samba-common-3.0.33-alt1
samba-client-3.0.33-alt1
rpm -qa|grep ldap
nss_ldap-259-alt1
openldap-2.3.43-alt2
libldap2.3-2.3.43-alt2
openldap-clients-2.3.43-alt2
perl-ldap-0.34-alt1
pam_ldap-184-alt1
openldap-servers-2.3.43-alt2
smbldap-tools-0.9.4-alt1
в чем может быть проблемма:
Настроена связка Samba PDC + Ldap. Пользователей администрирую через
smbldap-tools.
getenw passwd отрабатывает.
При попытке сделать команду:
smbldap-populate -u 30000 -g 30000
Populating LDAP directory for domain Hostel
(S-1-5-21-1714761349-489945637-2690153817)
(using builtin directory structure)
entry dc=mydomain,dc=ua already exist.
entry ou=Users,dc=mydomain,dc=ua already exist.
entry ou=Groups,dc=mydomain,dc=ua already exist.
entry ou=Computers,dc=mydomain,dc=ua already exist.
entry ou=Idmap,dc=mydomain,dc=ua already exist.
entry uid=root,ou=Users,dc=mydomain,dc=ua already exist.
entry uid=nobody,ou=Users,dc=mydomain,dc=ua already exist.
entry cn=Domain Admins,ou=Groups,dc=mydomain,dc=ua already exist.
entry cn=Domain Users,ou=Groups,dc=mydomain,dc=ua already exist.
entry cn=Domain Guests,ou=Groups,dc=mydomain,dc=ua already exist.
entry cn=Domain Computers,ou=Groups,dc=mydomain,dc=ua already exist.
entry cn=Administrators,ou=Groups,dc=mydomain,dc=ua already exist.
entry cn=Account Operators,ou=Groups,dc=mydomain,dc=ua already exist.
entry cn=Print Operators,ou=Groups,dc=mydomain,dc=ua already exist.
entry cn=Backup Operators,ou=Groups,dc=mydomain,dc=ua already exist.
entry cn=Replicators,ou=Groups,dc=mydomain,dc=ua already exist.
entry sambaDomainName=Hostel,dc=mydomain,dc=ua already exist. Updating it...
Please provide a password for the domain root:
Argument "" isn't numeric in addition (+)
at /usr/lib/perl5/vendor_perl/Net/LDAP.pm line 453.
/usr/sbin/smbldap-passwd: user root doesn't exist
Хотя пользователь root есть в лдапе
getent passwd|grep root
root:x:0:0::/root:/bin/bash
root:x:0:0:Netbios Domain Administrator:/home/root:/bin/false
Как решить данную проблемму?
Подробная информация о списке рассылки Samba