Доброго время суток...
Столкнулся с проблемами по установке PDC Samba + LDAP. На русском сообществе Ubuntu никто уже 2ой день ничего ответить не может, у Вас я знаю всегда отвечают...
Проблема номер 1:
После того как пытаюсь рестартануть slapd пишет вот что:
root@smb:/# /etc/init.d/slapd restart
Stopping OpenLDAP: slapd.
Starting OpenLDAP: slapd - failed.
The operation failed but no output was produced. For hints on what went
wrong please refer to the system's logfiles (e.g. /var/log/syslog) or
try running the daemon in Debug mode like via "slapd -d 16383" (warning:
this will create copious output).
Below, you can find the command line options used by this script to
run slapd and slurpd. Do not forget to specify those options if you
want to look to debugging output:
slapd -h 'ldap://87.240.16.118:389/ ldaps://87.240.16.118/' -g openldap -u openldap
Причем пробовал всякие IP прописывать в конфигах, 127.0.0.1 и локальный 192.168.1.3 и даже доменом localhost... Эффект одинаковый...
Проблема номер 2:
После того как делаю запрос на SID системы... Вот что выдает:
root@smb:/# net getlocalsid
[2007/10/03 23:48:05, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:05, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:06, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:06, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:07, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:07, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:08, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:08, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:09, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:09, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:10, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:10, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:11, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:11, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:12, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:12, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:13, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:13, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:14, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:14, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:15, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:15, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:16, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:16, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:17, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:17, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:18, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:18, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:19, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:19, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
[2007/10/03 23:48:20, 0] passdb/secrets.c:fetch_ldap_pw(635)
fetch_ldap_pw: neither ldap secret retrieved!
[2007/10/03 23:48:20, 0] lib/smbldap.c:smbldap_connect_system(936)
ldap_connect_system: Failed to retrieve password from secrets.tdb
SID for domain RIFTER is: S-1-5-21-2235416219-3840152603-3372004457
...
Проблема номер 3:
Пытаюсь заполнить базу LDAP. Выдает следущее:
root@192:/# smbldap-populate -u 30000 -g 30000
Populating LDAP directory for domain DOMAIN (S-1-5-21-991977023-1722219853-4243453096)
(using builtin directory structure)
erreur LDAP: Can't contact master ldap server (IO::Socket::INET: connect: Connection refused) at /usr/share/perl5/smbldap_tools.pm line 282.
...
Проблема номер 4:
По фейку пишут результат команды getent passwd | grep 0:0 должен быть:
root:x:0:0:root:/root:/bin/bash
root:x:0:0:Netbios Domain Administrator:/home/root:/bin/false
...
А у меня всеголишь:
root:x:0:0:root:/root:/bin/bash
...
В итоге не работает самба :(...
В лакалке сам сервер видно, но ни пользователя, ни шары, ничего сделать не могу :(...
В Линуксе еще нубик :)...
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум samba NT-domain (2006)
- Форум Samba онтроллер домена (2005)
- Форум Samba + openLDAP не синхронизируются изменения (2024)
- Форум Samba не вытягивает пароль пользователя из ldap (2021)
- Форум samba (netbios имя не видится) (2010)
- Форум LDAP + Samba: modifications require authentication at /usr/sbin/smbldap-populate line 500. (2012)
- Форум [AD + samba] Не могу подключиться к домену (2010)
- Форум samba (2007)
- Форум Не запускается samba с ldap (2015)
- Форум Samba3 + OpenLDAP + LAM:Кругом ошибки. HELP! :-/ (2005)