AutoFS problem
I configure my sun java desktop to authenticate with ldap server ( Sun Java System Directory server 5.1 Sp3) and I configure autofs to mount user home directory at logon and it works .
My problem is that the clients don't mount other file systems that aren't home directory.
All file systems that the workstation must mount are configured on ldap server.
When I connect from my workstation with my user giovanni , I view my home directory but the autofs doesn't mount the disk /u and /prova.
The nfs server is ok because i can mount all share from my workstation manually. My /etc/exports:/tmp/tmp (rw,sync,no_root_squash)/tmp/u (rw,sync,no_root_squash)/var/prova (rw,sync,no_root_squash)
/etc/init.d/autofs status:
Configured Mount Points:
------------------------/usr/sbin/automount /u ldap ldap.:.it:ou=auto.u,o=test.it,dc=test,dc=it /usr/sbin/automount /home ldap ldap.test.it:ou=auto.home,o=test.it,dc=test,dc=it /usr/sbin/automount /prova ldap ldap.test.it:ou=auto.prova,o=test.it,dc=test,dc=it
Active Mount Points:
--------------------/usr/sbin/automount /u ldap ldap.test.it:ou=auto.u,o=test.it,dc=test,dc=it /usr/sbin/automount /home ldap ldap.test.it:ou=auto.home,o=test.it,dc=test,dc=it /usr/sbin/automount /prova ldap ldap.test.it:ou=auto.prova,o=test.it,dc=test,dc=it
This is my df -k:/dev/hda1 10490084 5951992 4538092 57% //dev/hda4 5694860 4495668 1199192 79% /backup
shmfs 127868 0 127868 0% /dev/shm/tmp/tmp/giovanni 10490084 5951992 4538092 57% /home/giovanni
I install this version of autofs:
autofs-3.1.7-731
Any Ideas?
TIA
Giovanni
P.S. I attach the export of LDAP.
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
Ian Kent
maintainerQuoted 35 lines · Giovanni Romanenghi
I configure my sun java desktop to authenticate with ldap server ( Sun Java System Directory server 5.1 Sp3) and I configure autofs to mount user home directory at logon and it works .
My problem is that the clients don't mount other file systems that aren't home directory.
All file systems that the workstation must mount are configured on ldap server.
When I connect from my workstation with my user giovanni , I view my home directory but the autofs doesn't mount the disk /u and /prova.
The nfs server is ok because i can mount all share from my workstation manually. My
/etc/exports:/tmp/tmp(rw,sync,no_root_squash)/tmp/u(rw,sync,no_root_squash)/var/prova(rw,sync,no_root_squash)
/etc/init.d/autofsstatus:
Configured Mount Points:
------------------------/usr/sbin/automount/u ldap ldap.:.it:ou=auto.u,o=test.it,dc=test,dc=it/usr/sbin/automount/home ldap ldap.test.it:ou=auto.home,o=test.it,dc=test,dc=it/usr/sbin/automount/prova ldap ldap.test.it:ou=auto.prova,o=test.it,dc=test,dc=itActive Mount Points:
--------------------/usr/sbin/automount/u ldap ldap.test.it:ou=auto.u,o=test.it,dc=test,dc=it/usr/sbin/automount/home ldap ldap.test.it:ou=auto.home,o=test.it,dc=test,dc=it/usr/sbin/automount/prova ldap ldap.test.it:ou=auto.prova,o=test.it,dc=test,dc=itThis is my df -k:
/dev/hda110490084 5951992 4538092 57% //dev/hda45694860 4495668 1199192 79% /backup
shmfs 127868 0 127868 0%/dev/shm/tmp/tmp/giovanni10490084 5951992 4538092 57%/home/giovanni
Quoted 4 lines
I install this version of autofs:
autofs-3.1.7-731Any Ideas?
What does one of your LDAP entries look like please.
Ian
[email protected]
maintainerQuoted 2 lines · Giovanni Romanenghi
When I connect from my workstation with my user giovanni , I view my home directory but the autofs doesn't mount the disk /u and /prova.
OK I've looked at your LDAP entries and I still don't know what you expect to happen.
So what is it you are trying to achieve?
What do you expect to be mounted?
and what do you expect to cause it to mount?
Ian