[Date Prev][Date Next] [Chronological] [Thread] [Top]

autofs and ldap



Hi!
I run SLES 10.0 with openldap-stable-20071118.

Could anyone offer me some advice, or point me in the right direction?

Thanks,

Luciana



Follows the settings:


1- /etc/nsswitch.conf:
automount: ldap

2- ldif:

dn: ou=automount,dc=cp,dc=br
ou: automount
objectClass: top
objectClass: organizationalUnit

dn: ou=auto.master,ou=automount,dc=cp,dc=br
ou: auto.master
objectClass: top
objectClass: automountMap

dn: cn=/home, ou=auto.master,ou=automount,dc=cp,dc=br
objectClass: top
objectClass: automount
automountInformation: ldap: server-ldap.cp.br:ou=auto.home,ou=automount,dc=
cp,dc=br
cn: /home

dn: ou=auto.home, ou=automount,dc=cp,dc=br
ou: auto.home
objectClass: top
objectClass: automountMap


Users:

dn: uid=lu,ou=auto.home,ou=automount,dc=cp,dc=br
uid: lu
cn: teste
objectClass: automount
automountInformation: -rw,soft,retrans=10,intr  nfsserver.cp.br:/extra/home/lu

3- /etc/ldap.conf

host    127.0.0.1 
base    dc=cp,dc=br


4-

tembiru:/home # service autofs status

Checking for service autofs:                                         unused

Configured Mount Points:

------------------------

/usr/sbin/automount  /home ldap: "server-ldap.cp.br:ou=auto.home,ou=automount,dc=cp,dc=br"

Active Mount Points:

 

5- su - lu
 warning: cannot change directory to /home/lu: No such file or directory









-- 
========================================================
Luciana F.Romeiro Rodrigues
Analista de Suporte
Fone: 3186-8513 - 

Novo Email: luciana.romeiro@cptec.inpe.br
========================================================