autofs and ldap

From: Sabsi (barbara.schachner_at_fh-hagenberg.at)
Date: 05/06/04

  • Next message: Michael Flanagan: "Re: ftruncate reserve space, or just set limits?"
    Date: Thu, 6 May 2004 18:59:02 +0200
    
    

    Hy!

    Could anybody perhaps help me to get autofs (Linux automount version 3.1.7)
    working with openldap-2.1.26 on a RedHat-Client machine(RH9)?

    ldif-file:

    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:

    [root@PC02 proc]# service autofs status
    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:
    automount: ldap

    [root@PC02 proc]# /usr/lib/autofs/autofs-ldap-auto-master
    /home ldap:nisMapName=auto.home,dc=usermanagement,dc=at

    [root@PC02 proc]# /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? Everything works well, when I configure it locally in
    /etc/auto.master and /etc/auto.home

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

    Thanks very much!

    Barbara


  • Next message: Michael Flanagan: "Re: ftruncate reserve space, or just set limits?"

    Relevant Pages

    • linux + openldap + automount
      ... what i despair of is ldap and automount. ... objectClass: organizationalUnit ... nisMapName: auto.master ...
      (comp.os.linux.networking)
    • RH 9 + openldap + automount
      ... what i despair of is ldap and automount. ... objectClass: organizationalUnit ... nisMapName: auto.master ...
      (linux.redhat)
    • Re: autofs and ldap
      ... > Could anybody perhaps help me to get autofs (Linux automount version ... > objectClass: nisMap ... > nisMapName: auto.master ... > Konfigurierte Mount Points: ...
      (linux.redhat)
    • [opensuse] Automount a home directory using LDAP/Kerberos/NFS4
      ... but unfortunately I cant get the aoutomount running. ... Whenever automunt runs, ... objectClass: organizationalUnit ... nisMapName: auto.master ...
      (SuSE)
    • Help with ldap + autofs please
      ... Can anyone help me with migrating autofs to ldap? ... Here is the corresponding ldif: ... objectClass: nisMap ... nisMapName: auto.test ...
      (Fedora)