Hi, I'm facing the following problem. I'm a user of the autodir project (http://www.intraperson.com/autodir). This project allows the automatic creation of users homedirs. The first time a process enters its homedir (let's say under the directory /home), the autodir daemon (in the same way autofs daemon would be triggered) checks if the user is a legal one (using libnss, and a LDAP directory in my case). If the user is valid and the homedir does not exists it is created under another directory (let's say /realhome) and automatically mounts it under /home (mount --bind). It heavily relies on the autofs4 kernel module to realize this.
I would like to export the entire /home directory (which is in fact an autodir filesystem, i.e. its superblock is managed by autofs4) using NFS, as I would be able to do it, if /home was a regular filesystem. This is unfortunately impossible since autofs4 is not an exportable filesystem. The reason is that in the autofs superblock the s_export_op field is left equal to NULL. I would like to know if there already exists a patch that makes autofs4 exportable somewhere around there ? If not, does it makes sense to develop such a patch (read am I the only one who want to export a whole autofs filesystem ?). Cheers, Frederic _______________________________________________ autofs mailing list [email protected] http://linux.kernel.org/mailman/listinfo/autofs
