Hi !

I have a prob with the combination devfsd daemon and LDAP.

I have configured LDAP (server = 127.0.0.1) and all works well, if i start linux with 
boot 
parameter "devfs=nomount".

But as soon as i start linux with "devfs=mount", the devfsd daemon fails to load and 
therefor all daemons fails to load which try to access files in /dev that normally 
generated 
by the devfsd daemon (like /dev/tty?, /dev/hda?, etc).

Ok, i can reconfigure/recompile these daemons to work with the new /dev structure, but 
i 
hope there is an easier way.

Any ideas or infos to solv that problem ?

relevant rpm packages:

devfsd-1.3.25-22mdk

libldap2-2.0.27-1mdk
libldap2-devel-2.0.27-1mdk
nss_ldap-194-3mdk
openldap-2.0.27-1mdk
openldap-clients-2.0.27-1mdk
openldap-guide-2.0.27-1mdk
openldap-migration-2.0.27-1mdk
openldap-servers-2.0.27-1mdk
pam_ldap-148-3mdk
perl-ldap-0.26-2mdk
php-ldap-4.2.3-1mdk
samba-common-ldap-2.2.7-2mdk
samba-server-ldap-2.2.7-2mdk
samba-swat-ldap-2.2.7-2mdk

/etc/nsswitch.conf =============================
passwd:     files ldap
shadow:     files ldap
group:      files ldap

#hosts:     db files nisplus nis dns
hosts:      files dns ldap

bootparams: nisplus [NOTFOUND=return] files

ethers:     files
netmasks:   files
networks:   files
protocols:  files
rpc:        files
services:   files

netgroup:   nisplus
publickey:  nisplus

automount:  files nisplus
aliases:    files nisplus
============================================

/etc/pam.d/passwd =============================
#%PAM-1.0
auth       sufficient   /lib/security/pam_ldap.so
auth       required     /lib/security/pam_stack.so service=system-auth

account    sufficient   /lib/security/pam_ldap.so
account    required     /lib/security/pam_stack.so service=system-auth

password   sufficient   /lib/security/pam_ldap.so use_authtok
password   required     /lib/security/pam_stack.so service=system-auth
============================================

/etc/pam.d/system-auth =========================
#%PAM-1.0

auth        required      /lib/security/pam_env.so
auth        sufficient    /lib/security/pam_unix.so likeauth nullok
auth        sufficient    /lib/security/pam_ldap.so use_first_pass
auth        required      /lib/security/pam_deny.so

account     required      /lib/security/pam_unix.so
account     [default=bad success=ok user_unknown=ignore service_err=ignore 
system_err=ignore] /lib/security/pam_ldap.so

password    required      /lib/security/pam_cracklib.so retry=3 minlen=2  dcredit=0  
ucredit=0
password    sufficient    /lib/security/pam_unix.so nullok use_authtok md5 shadow
password    sufficient    /lib/security/pam_ldap.so use_authtok
password    required      /lib/security/pam_deny.so

session     required      /lib/security/pam_limits.so
session     required      /lib/security/pam_unix.so
session     optional      /lib/security/pam_ldap.so
============================================

Regards,
Juergen Krause



Reply via email to