All of lore.kernel.org
 help / color / mirror / Atom feed
* autofs+LDAP
@ 2008-09-21 21:40 Mikel Jimenez
  2008-09-22  4:35 ` autofs+LDAP Ian Kent
  0 siblings, 1 reply; 7+ messages in thread
From: Mikel Jimenez @ 2008-09-21 21:40 UTC (permalink / raw)
  To: autofs

Hello Guys

I have a OpenLDAP server with user accounts. Actually, i autheticate my 
LAN machines to LDAP server and ALL OK.

I want that:

EXAMPLE:
day 1:
user1 login in machine1 and I want to mount via NFS, the home of this 
user, that is in another storage server

day 2: user 1 login in machine6 and I want to mount via NFS, the home of 
this user, that is in another storage server


I want to have all users homes, in a centralized storage server, and 
give the posibility to users to login in any machine of the LAN, and 
have they home directory mounted automaticaly.

Is that posible with autofs+LDAP?

THANKS

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Autofs & LDAP
@ 2004-02-17 18:13 Jeff Largent
  2004-02-23 21:53 ` Jeff Largent
  0 siblings, 1 reply; 7+ messages in thread
From: Jeff Largent @ 2004-02-17 18:13 UTC (permalink / raw)
  To: linux-admin

On Redhat 7.3 with openldap-servers-2.0.27-2.7.3, and autofs-3.1.7-28. I have a
working autofs/ldap configuration.

dn: ou=auto.master,dc=il,dc=com
ou: auto.master
objectClass: top
objectClass: automountMap

dn: cn=/opt,ou=auto.master,dc=il,dc=com
objectClass: automount
cn: /opt
automountInformation: ldap:ldap.il.com:ou=auto.opt,dc=imagelinks,dc=com

dn: cn=bin,ou=auto.opt,dc=il,dc=com
objectClass: automount
cn: bin
automountInformation: -ro bserv.il.com:/export/Linux-2/opt/bin

The same maps on Fedora core 1 with openldap-servers-2.1.22-8, and 
autofs-3.1.7-42 refuse to work.

This is what I see in the logs:
automount[13734]: starting automounter version 3.1.7, path = /cm, maptype = 
ldap, mapname = ldap.il.com:ou=auto.cm,dc=il,dc=com

if I put a space between the : after the ldap hostname and the dn auto fs 
reconizes the automount but then fails on the lookup.
automount[8400]: lookup(ldap): query failed for (&(objectclass=automount)(cn=opt))

a ldapsearch -x "(&(objectclass=automount)(cn=opt))" returns the proper map.

Any suggestions??
In slapd.conf I have "allow bind_v2"



-- 
Jeff Largent                   ImageLinks, Inc.


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

end of thread, other threads:[~2008-09-22 16:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-21 21:40 autofs+LDAP Mikel Jimenez
2008-09-22  4:35 ` autofs+LDAP Ian Kent
2008-09-22  7:36   ` autofs+LDAP Mikel Jimenez
2008-09-22 11:12     ` autofs+LDAP Ian Kent
2008-09-22 16:33   ` autofs+LDAP Douglas E. Engert
  -- strict thread matches above, loose matches on Subject: below --
2004-02-17 18:13 Autofs & LDAP Jeff Largent
2004-02-23 21:53 ` Jeff Largent

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.