Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
autofs --> no active mount points
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Babs
n00b
n00b


Joined: 10 May 2004
Posts: 1

PostPosted: Mon May 10, 2004 8:41 pm    Post subject: autofs --> no active mount points Reply with quote

Hy!

Could anybody please help me to get autofs (Linux automount version 3.1.7) working with openldap-2.1.26 on a Gentoo Thin Client.

Server:

ldif-file:

Code:
dn: nisMapName=auto.master,dc=usermanagement,dc=at
objectClass: top
objectClass: nisMap
nisMapName: auto.master
 
dn: cn=/home,nisMapName=auto.master,dc=usermanagement,dc=at
objectClass: nisObject
cn: /home
nisMapEntry: ldap:nisMapName=auto.home,dc=usermanagement,dc=at
nisMapName: auto.master
 
dn: nisMapName=auto.home,dc=usermanagement,dc=at
objectClass: top
objectClass: nisMap
nisMapName: auto.home
 
dn: cn=testuser,nisMapName=auto.home,dc=usermanagement,dc=at
objectClass: nisObject
cn: testuser
nisMapEntry: -rw,intr 192.168.1.1:/clients/home_logv1/testuser
nisMapName: auto.home



Client:

At first I had problems to get configured mount points at all because of the autofs bug #16320 (missing /usr/lib/autofs/autofs-ldap-auto-master file). But then I could resolve this problem by copying this file from a red-hat machine which works quite well.

Unfortunaltely, I am not able to map my home directory via autofs and ldap. If i configure everything locally in auto.home and auto.master everything works without any problems.


Code:
thinny root # /etc/init.d/autofs stats
Konfigurierte Mount Points:
------------------------
/usr/sbin/automount /home ldap nisMapName=auto.home,dc=usermanagement,dc=at
 
Aktive Mount Points:
--------------------



Why do I have no active mount points?


nsswitch.conf:
Code:
automount:  ldap


Code:
thinny root # /usr/lib/autofs/autofs-ldap-auto-master
/home ldap:nisMapName=auto.home,dc=usermanagement,dc=at
 
thinny root # /usr/lib/autofs/autofs-ldap-auto-master auto.home
testuser -rw,intr 192.168.1.1:/clients/home_logv1/testUser



Doesn't he have all information necessary? Where else could I search for the problem?

Stopping autofs also always fails if I use ldap and there is no active autofs oder automount-process.

With my Red-Hat Client I had a similar problem with the compatibility of my bind version but I was able to solve it by adding
Code:
allow bind_anon_dn bind_v2
in my slapd.conf file. This does not help with the thin client problem.


Thanks very much!

Barbara
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum