Hello, autofsers. I've sat down and written a lookup_* module to deal mount queries to an LDAP server. This is first-generation code now, but it works pretty well. I'm looking for feedback from people who wrote and who grok autofs. I had to work out the internals by reading the source, and alhtough it wasn't too bad, second opinions are always good. So, for your inspection: http://www.imsa.edu/~gene/work/lookup_ldap.c This map takes a bunch of command-line style arguments which meant a little more legwork then most of the other modules do for options processing. Usage would be something like this (what I used for testing): automount /mnt/home ldap zeus -b <searchbase> -h host -k keyfield -v valuefield The "zeus" (ie mapname) is a placeholder at the moment and means nothing. It's the options that are important. Comments and thoughts much appreciated. Gene
