winbind: проблемы с настройкой idmap ldap backend

Обсуждение настройки и работы сервисов, резервирования, сетевых настроек и вопросов безопасности ОС.

Модераторы: SLEDopit, Модераторы разделов

ALexhha
Сообщения: 109

winbind: проблемы с настройкой idmap ldap backend

Сообщение ALexhha »

Избитая тема, но вот пришлось и мне столкнуться. Имеем samba-3.4.5. CentOS-5.4. Самба настроена как PDC с хранением учеток в ldap. Проблема возникает с winbind. Запускаю так

# winbindd -D -d 3

Выполняю команду

Код: Выделить всё

# wbinfo -i test
test:*:50001:513:test:/home/W3/test:/bin/false


Смотрю лог файл

Код: Выделить всё

[2010/02/02 17:16:55, 3] winbindd/idmap.c:302(idmap_init_domain)
idmap backend passdb not found
[2010/02/02 17:16:55, 5] lib/module.c:111(smb_probe_module)
Probing module 'passdb'
[2010/02/02 17:16:55, 5] lib/module.c:130(smb_probe_module)
Probing module 'passdb': Trying to load from /usr/lib/samba/idmap/passdb.so
[2010/02/02 17:16:55, 3] lib/module.c:48(do_smb_load_module)
Error loading module '/usr/lib/samba/idmap/passdb.so': /usr/lib/samba/idmap/passdb.so: cannot open shared object file: No such file or directory
[2010/02/02 17:16:55, 3] winbindd/idmap.c:307(idmap_init_domain)
Could not probe idmap module passdb
[2010/02/02 17:16:55, 1] winbindd/idmap.c:438(idmap_init_passdb_domain)
Could not init passdb idmap domain


Не пойму, почему он пытается загрузить so модуль, если при сборке он был указан как статический?

checking how to build idmap_ldap... shared
checking how to build idmap_tdb... shared
checking how to build idmap_tdb2... not
checking how to build idmap_passdb... static
checking how to build idmap_nss... static
checking how to build idmap_rid... not
checking how to build idmap_ad... not
checking how to build idmap_hash... not
checking how to build idmap_adex... not

Настройки самой самбы такие

Код: Выделить всё

passdb backend = ldapsam

encrypt passwords = yes

ldapsam:trusted=yes
ldapsam:editposix=yes

winbind enum users = yes
winbind enum groups = yes
winbind use default domain = yes
winbind nested groups = yes

ldap idmap suffix = ou=idmap
idmap uid = 50000-500000
idmap gid = 50000-500000

idmap config W3 : backend = ldap
idmap config W3 : readonly = no
idmap config W3 : ldap_base_dn = ou=idmap,dc=w3,dc=lan
idmap config W3 : ldap_user_dn = cn=root,dc=w3,dc=lan
idmap config W3 : ldap_url=ldap://127.0.0.1/

idmap config BUILTIN : backend = ldap
idmap config BUILTIN : readonly = no
idmap config BUILTIN : ldap_base_dn = ou=idmap,dc=w3,dc=lan
idmap config BUILTIN : ldap_user_dn = cn=root,dc=w3,dc=lan
idmap config BUILTIN : ldap_url=ldap://127.0.0.1/

idmap alloc backend = ldap
idmap alloc config : readonly = no
idmap alloc config : ldap_base_dn = ou=idmap,dc=w3,dc=lan
idmap alloc config : ldap_user_dn = cn=root,dc=w3,dc=lan
idmap alloc config : ldap_url=ldap://127.0.0.1/
idmap alloc config : range = 50000-500000

ldap suffix = dc=w3,dc=lan
ldap user suffix = ou=users
ldap group suffix = ou=groups
ldap machine suffix = ou=computers
ldap admin dn = "cn=root,dc=w3,dc=lan"
ldap ssl = no
Спасибо сказали:
smaharbA
Сообщения: 229
ОС: Windows Vista

Re: winbind: проблемы с настройкой idmap ldap backend

Сообщение smaharbA »

обслуживает два домена ?
Я конечно далек от мысли...(с)
Спасибо сказали:
ALexhha
Сообщения: 109

Re: winbind: проблемы с настройкой idmap ldap backend

Сообщение ALexhha »

Пока один
Спасибо сказали:
ALexhha
Сообщения: 109

Re: winbind: проблемы с настройкой idmap ldap backend

Сообщение ALexhha »

Никто не сталкивался?
Спасибо сказали: