hello all
i'm new to linux and i want to build a network that support a central authentication. i've already install and configure my debian etch as ldap server and kubuntu feisty as ldap client using simple ldap authentication and it's work. next, i want my ldap client use ldap server home directory instead of using local home directory and the client just can access his home directory on the server, so i install autofs-ldap for automounting the user home directory from the server. this is the ldif file that i've already enter on my ldap server:
dn: ou=people, dc=insys,dc=local
objectClass: organizationalUnit
ou: people
dn: ou=groups,dc=insys,dc=local
objectClass: organizationalUnit
ou: groups
dn: uid=tes01,ou=people,dc=insys,dc=local
objectClass: inetOrgPerson
objectClass: posixAccount
objectClass: shadowAccount
uid: tes01
sn: joe
givenName: tes01
cn: tes01 Joe
displayName: tes01 Joe
uidNumber: 1001
gidNumber: 10000
userPassword: {MD5}4galTpdpDM5QzIct1w7olg==
gecos: tes01 Joe
loginShell: /bin/bash
homeDirectory: /home/tes01
shadowExpire: -1
shadowFlag: 0
shadowWarning: 7
shadowMin: 8
shadowMax: 999999
shadowLastChange: 10877
mail:
tes01.Joe@insys.local
postalCode: 31000
l: Toulouse
o: Example
mobile: +33 (0)6 xx xx xx xx
homePhone: +33 (0)5 xx xx xx xx
title: System Administrator
postalAddress:
initials: TJ
dn: cn=example,ou=groups,dc=insys,dc=local
objectClass: posixGroup
cn: example
gidNumber: 10000
dn: ou=admin,dc=insys,dc=local
ou: admin
objectClass: top
objectClass: organizationalUnit
dn: ou=automount,ou=admin,dc=insys,dc=local
ou: automount
objectClass: top
objectClass: organizationalUnit
dn: ou=auto.master,ou=automount,ou=admin,dc=insys,dc=local
ou: auto.master
objectClass: top
objectClass: automountMap
dn: ou=auto_home,ou=automount,ou=admin,dc=insys,dc=local
ou: auto_home
objectClass: top
objectClass: automountMap
dn: cn=/home,ou=auto.master,ou=automount,ou=admin,dc=insys,dc=local
cn: /home
objectClass: top
objectClass: automount
automountInformation: ldap://192.168.2.5

u=auto_home,ou=automount,ou=admin,dc=insys,dc=local --timeout=600 --ghost
dn: cn=tes01,ou=auto_home,ou=automount,ou=admin,dc=insys,dc=local
cn: tes01
objectClass: top
objectClass: automount
automountInformation: -fstype=nfs,rw,hard,intr,nodev,exec,nosuid,rsize=8192,wsize=8192 192.168.2.5:/export/home/tes01
on the server i configured:
/etc/exports
/home 192.168.2.0/24(rw,sync)
on the client i configured:
/etc/nsswitch.conf
automount files ldap
and i restart the autofs with sudo invoke-rc.d autofs restart
then i want to see if the automount work or not with :
sudo invoke-rc.d autofs status
and it show a result like this:
Configured Mount Points:
------------------------
/usr/sbin/automount --timeout=600 --ghost /home ldap //192.168.2.5

u=auto_home,ou=automount,ou=admin,dc=insys,dc=local
Active Mount Points:
--------------------
my question is why there is not active mount points, do i miss something there?
sorry for my bad english language