All of lore.kernel.org
 help / color / mirror / Atom feed
* AutoFS and LDAP
@ 2007-07-20 18:36 Jim Summers
  2007-07-20 20:34 ` Possible BUG! " Jim Summers
  2007-07-23 15:07 ` Ian Kent
  0 siblings, 2 replies; 9+ messages in thread
From: Jim Summers @ 2007-07-20 18:36 UTC (permalink / raw)
  To: autofs

Hello All,

I have been attempting to get autofs5 to work with my ldap config.  The way I 
am set up is:

FC6 / FC7 clients and redhat servers.
auto.home info for each user is stored in ldap
auto.master is stored locally on each client

The mounts do not happen.  Here is what I see when starting autofs:
======
Jul 20 13:22:53 lch automount[3427]: Starting automounter version 5.0.1-11, 
master map auto.master
Jul 20 13:22:53 lch automount[3427]: using kernel protocol version 5.00
Jul 20 13:22:53 lch automount[3427]: master_error: syntax error while parsing map.
Jul 20 13:22:53 lch automount[3427]: mounted indirect mount on /misc with 
timeout 300, freq 75 seconds
Jul 20 13:22:53 lch automount[3427]: mounted indirect mount on /net with 
timeout 300, freq 75 seconds
======
Here is the auto.master:
======
/home    ldap://129.15.1.203/ou=auto.home,dc=it,dc=ou,dc=edu
======
nsswitch:
======
automount:  files
======

While monitoring traffic on the ldap server.  I never see any traffic from the 
client when the daemon is started.  So I am thinking that it is not able to 
read the "/home" entry.

I have tried the old style colon syntax for an ldap entry.  No joy.  I 
purposely made syntax errors and then it will say syntax error near "xxxxx" as 
it should.

Ideas / Suggestions?

TIA


-- 
Jim Summers
School of Computer Science-University of Oklahoma
-------------------------------------------------

^ permalink raw reply	[flat|nested] 9+ messages in thread
* autofs and ldap
@ 2008-05-06 13:14 Luciana Romeiro Rodrigues
  2008-05-13  3:15 ` Ian Kent
  0 siblings, 1 reply; 9+ messages in thread
From: Luciana Romeiro Rodrigues @ 2008-05-06 13:14 UTC (permalink / raw)
  To: autofs


[-- Attachment #1.1: Type: text/plain, Size: 1555 bytes --]

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
========================================================


[-- Attachment #1.2: Type: text/html, Size: 3674 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2008-05-13  3:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-20 18:36 AutoFS and LDAP Jim Summers
2007-07-20 20:34 ` Possible BUG! " Jim Summers
2007-07-23 14:33   ` Jim Summers
2007-07-23 14:59   ` Ian Kent
2007-07-23 15:07 ` Ian Kent
2007-07-23 18:26   ` Jim Summers
2007-07-24  3:31     ` Ian Kent
  -- strict thread matches above, loose matches on Subject: below --
2008-05-06 13:14 autofs and ldap Luciana Romeiro Rodrigues
2008-05-13  3:15 ` Ian Kent

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.