Babs n00b
Joined: 10 May 2004 Posts: 1
|
Posted: Mon May 10, 2004 8:41 pm Post subject: autofs --> no active mount points |
|
|
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: | 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 |
|