Страница 1 из 1

FreeBSD 7.0-BETA3 + pam.d + ldap + kde вот такая каша! :)

Добавлено: 2007-11-28 13:27:48
s.romanov
установил фрюшку, обновился установил xorg, настроил; установил kde3.5.8, так по мелочи для себя.
Захожу ЛОКАЛЬНЫМ пользователем, все нормально пучком стартуют X-сы следом Kde.

следом настраиваю авторизацию через ldap, редактирую nsswitch.conf

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

group: files ldap
group_compat: nis
hosts: files dns
networks: files
passwd: files ldap
passwd_compat: nis
shells: files ldap
services: compat
services_compat: nis
protocols: files
rpc: files
и /etc/pam.d/system

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

auth            sufficient      pam_opie.so             no_warn no_fake_prompts
auth            requisite       pam_opieaccess.so       no_warn allow_localass
auth            sufficient      /usr/local/lib/pam_ldap.so no_warn try_first_pass
auth            required        pam_unix.so             no_warn try_first_pass nulloko
account         required        pam_login_access.so
account         sufficient      /usr/local/lib/pam_ldap.so
account         required        pam_unix.so
session         required        pam_lastlog.so          no_fail
password        sufficient      /usr/local/lib/pam_ldap.so
password        required        pam_unix.so             no_warn try_first_pass
говорим id пользователь видит говорит кто и в каких групах, пускает в консоль, позволяет запускать Xorg, а kde вот что говорит:

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

startkde: Starting up...
/usr/local/bin/iceauth:  error in locking authority file /home/w0442/.ICEauthori
ty
ICE Connection rejected!

DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None
 of the authentication protocols specified are supported and host-based authenti
cation failed
ICE Connection rejected!

DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None
 of the authentication protocols specified are supported and host-based authenti
cation failed
DCOPServer self-test failed.
iceauth:  error in locking authority file /home/w0442/.ICEauthority
kdeinit: DCOPServer could not be started, aborting.
Warning: connect() failed: : Connection refused
/usr/local/bin/iceauth:  error in locking authority file /home/w0442/.ICEauthori
ty
ICE Connection rejected!

DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None
 of the authentication protocols specified are supported and host-based authenti
cation failed
ICE Connection rejected!

DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None
 of the authentication protocols specified are supported and host-based authenti
cation failed
DCOPServer self-test failed.
iceauth:  error in locking authority file /home/w0442/.ICEauthority
kdeinit: DCOPServer could not be started, aborting.
Could not register with DCOPServer. Aborting.
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : Connection refused
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...
весь уже измучился, :twisted: 2 раза все с начала пересобирал
может кто-что подскажет?!

Re: FreeBSD 7.0-BETA3 + pam.d + ldap + kde вот такая каша! :)

Добавлено: 2007-11-28 13:35:12
Alex Keda
а кеды по другому авторизуются.
через другие файлики

Re: FreeBSD 7.0-BETA3 + pam.d + ldap + kde вот такая каша! :)

Добавлено: 2007-11-28 13:42:29
s.romanov
через какие, если не секрет?

/etc/pam.d/kde

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

auth            sufficient      /usr/local/lib/pam_ldap.so no_warn try_first_pass
auth            required        pam_unix.so             no_warn try_first_pass
account         required        pam_nologin.so
account         sufficient      /usr/local/lib/pam_ldap.so
account         required        pam_unix.so
password        sufficient      /usr/local/lib/pam_ldap.so
session         required        pam_permit.so
сейчас использую freebsd 6.2 c kde 3.5.6 теже настройки все нормально :?