URL: https://www.opennet.me/cgi-bin/openforum/vsluhboard.cgi
Форум: vsluhforumID14
Нить номер: 1518
[ Назад ]

Исходное сообщение
"ошибка при заселении OpenLDAP при помощи smbldap-tools"

Отправлено Buzdack , 20-Окт-07 22:14 
Делаю по этому мануалу http://www.islandlinux.org/HOWTO/openldap_samba.html#configu...
при попытке "заселения" новой базы такое =( :

root@buzdack-desktop:/# smbldap-populate -u 30000 -g 30000
Populating LDAP directory for domain LEO_UMBRELLA (S-1-5-21-4247264366-4266813404-2376421805)
(using builtin directory structure)

adding new entry: dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 2.
adding new entry: ou=Users,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 3.
adding new entry: ou=Groups,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 4.
adding new entry: ou=Computers,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 5.
adding new entry: ou=Idmap,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 6.
adding new entry: uid=root,ou=Users,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 7.
adding new entry: uid=nobody,ou=Users,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 8.
adding new entry: cn=Domain Admins,ou=Groups,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 9.
adding new entry: cn=Domain Users,ou=Groups,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 10.
adding new entry: cn=Domain Guests,ou=Groups,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 11.
adding new entry: cn=Domain Computers,ou=Groups,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 12.
adding new entry: cn=Administrators,ou=Groups,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 16.
adding new entry: cn=Account Operators,ou=Groups,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 18.
adding new entry: cn=Print Operators,ou=Groups,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 19.
adding new entry: cn=Backup Operators,ou=Groups,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 20.
adding new entry: cn=Replicators,ou=Groups,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 21.
adding new entry: sambaDomainName=LEO_UMBRELLA,dc=umbrella,dc=group
failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 21.

Please provide a password for the domain root:
No such object at /usr/share/perl5/smbldap_tools.pm line 353.


Содержание

Сообщения в этом обсуждении
"ошибка при заселении OpenLDAP при помощи smbldap-tools"
Отправлено Yam , 25-Окт-07 11:59 
>failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 2.

проверяйте еще раз smbldap.conf на предмет корректного binddn и bindpw, с теми что вы указали скрипт соединиться с каталогом не может.


"ошибка при заселении OpenLDAP при помощи smbldap-tools"
Отправлено Buzdack , 25-Окт-07 21:06 
>>failed to add entry: modifications require authentication at /usr/sbin/smbldap-populate line 495, <GEN1> line 2.
>
>проверяйте еще раз smbldap.conf на предмет корректного binddn и bindpw, с теми
>что вы указали скрипт соединиться с каталогом не может.

надо проверить ... вот тока думаю не smbldap.conf , а smbldap_bind.conf
я тут ещё нашёл тут мануал, как базой управляться phpldapadmin.... может лучшее решение чем то что я делаю сейчас ?


"ошибка при заселении OpenLDAP при помощи smbldap-tools"
Отправлено Yam , 25-Окт-07 22:54 
>надо проверить ... вот тока думаю не smbldap.conf , а smbldap_bind.conf
>я тут ещё нашёл тут мануал, как базой управляться phpldapadmin.... может лучшее
>решение чем то что я делаю сейчас ?

да, верно smbldap_bind.conf phpldapadmin это более общий инструмент для работы с каталогом, а пользователями\группами гораздо проще управлять используя smbldap-tools