Hello all, I'm just new in this list looking for some help! :) I'm trying to have my automount read the auto.master, auto.home, etc... from my ldap database (I'm trying to replace NIS). The ldap database is working without SASL (I haven't configured kerberos and SASL yet..).
I added in the /etc/nsswitch.conf the following line: automount: ldap And when I try to start the automount (using redhat 7.3), I got the following result: [root@pulsar root]# /etc/init.d/autofs start Starting automount: No Mountpoints Defined [ OK ] Ok, nothing happened, ?then, editing the /etc/init.d/autofs file, I figured out that this scripts start something called /usr/lib/autofs/autofs-ldap-auto-master, and when I try to start this I got nothing in response. Then I tried to specificate an auto.master file and in that file, I can say that the rest of the maps are in the LDAP, I added the following lines in the /etc/auto.master: /home ldap:my-ldap-hostname:ou=auto.home,dc=gip,dc=las,dc=ic,dc=unicamp,dc=br /net ldap:my-ldap-hostname:ou=auto.net,dc=gip,dc=las,dc=ic,dc=unicamp,dc=br /spool ldap:my-ldap-hostname:ou=auto.spool,dc=gip,dc=las,dc=ic,dc=unicamp,dc=br And then started the /etc/init.d/autofs script: [root@pulsar root]# /etc/init.d/autofs restart Starting automount: [ OK ] Okay, automount recognized my maps, BUT: [root@pulsar root]# cd /net/iso bash: cd: /net/iso: No such file or directory and in the /var/log/messages I got the following error (It's the ONLY time I got something to help in the /var/log/messages): Aug 15 23:34:00 pulsar automount[3930]: attempting to mount entry /net/iso Aug 15 23:34:00 pulsar automount[3964]: lookup(ldap): query failed for (&(objectclass=nisObject)(cn=iso)) Aug 15 23:34:00 pulsar automount[3964]: lookup(ldap): query failed for (&(objectclass=automount)(cn=iso)) But with I try to do a query by myself: [root@pulsar root]# ldapsearch -x "(&(objectclass=automount)(cn=iso))" version: 2 # # filter: (&(objectclass=automount)(cn=iso)) # requesting: ALL # # iso, auto.net, gip, las, ic, unicamp, br dn: cn=iso,ou=auto.net,dc=my,dc=ldap,dc=host,dc=name objectClass: automount automountInformation: -rw,nosuid,intr 10.1.2.14:/l/arquivos/home/nomade/iso cn: iso # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 Does anyone knows what the autofs is trying to do? I have /etc/ldap.conf configurated (whe I try to do ldapsearch, I don't say the hostname of my ldap server). Is there some way I can turn on more debugging messages to help me? I'm pretty lost! If this isn't the correct list to post such a problem, please tell me where I can get some solution to that, since this was the mailing list I saw in the Autofs automounter HOWTO, in the section autofs related mailing list. Thanks for listening to me, and sorry for my poor english. See you Eduardo Piva -- Eduardo Fernandes Piva [EMAIL PROTECTED]
