Skip to contentSkip to conversation

autofs and ldap

DISCUSSION Luciana Romeiro Rodrigues 2 participants 2 messages May 6, 2008 – May 13, 2008 Kernel automounter

lore
Share & tools
lore
#0 lore raw

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

Signature · 7 lines
========================================================
Luciana F.Romeiro Rodrigues
Analista de Suporte
Fone: 3186-8513 - 

Novo Email: [email protected]
========================================================

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

maintainer
#1 lore raw
Quoted 4 lines · Luciana Romeiro Rodrigues

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

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

Provide the information, not already included here, specified at
http://people.redhat.com/jmoyer.

Quoted 92 lines

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

Signature · 11 lines
========================================================
Luciana F.Romeiro Rodrigues
Analista de Suporte
Fone: 3186-8513 - 

Novo Email: [email protected]
========================================================
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs