[Bug 445377] New: autofs via ldap doesn't work
https://bugzilla.novell.com/show_bug.cgi?id=445377 Summary: autofs via ldap doesn't work Product: openSUSE 11.1 Version: Factory Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: teheo@novell.com QAContact: qa@suse.de Found By: --- When automount via ldap is enabled from ldap yast configuration, autofs complains about not being able to access ldap mount maps. Log attached. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c1 --- Comment #1 from Tejun Heo <teheo@novell.com> 2008-11-14 19:43:39 MST --- Created an attachment (id=252433) --> (https://bugzilla.novell.com/attachment.cgi?id=252433) automount.log Automount log. LDAP server is accessible via yast2 LDAP browser && SL110 worked fine under the same configuration. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c2 --- Comment #2 from Tejun Heo <teheo@novell.com> 2008-11-14 19:45:07 MST --- FWIW, yast autofs fails complaning that ldap must be configured first but ldap is already configured. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User aorlovskyy@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c3 Alexander Orlovskyy <aorlovskyy@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aorlovskyy@novell.com --- Comment #3 from Alexander Orlovskyy <aorlovskyy@novell.com> 2008-11-17 06:08:01 MST --- Tejun, please provide y2logs -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c4 --- Comment #4 from Tejun Heo <teheo@novell.com> 2008-11-17 22:42:32 MST --- Created an attachment (id=252800) --> (https://bugzilla.novell.com/attachment.cgi?id=252800) y2logs.tar.gz Okay, here's the y2log. The last actions I took before saving the logs. 1. Opened ldap configuration and turned on automount directories. 2. Opened nfs client and closed it (got confused with the autofs one) 3. Tried autofs configuration but it failed. /var/log/messages contains the same automount warning message. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User aorlovskyy@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c5 Alexander Orlovskyy <aorlovskyy@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |yast2-maintainers@suse.de --- Comment #5 from Alexander Orlovskyy <aorlovskyy@novell.com> 2008-11-18 01:39:15 MST --- Reassign to yast2-maintainers -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 Ján Kupec <jkupec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |varkoly@novell.com AssignedTo|yast2-maintainers@suse.de |jsuchome@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com AssignedTo|jsuchome@novell.com |mkoenig@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c6 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |teheo@novell.com --- Comment #6 from Matthias Koenig <mkoenig@novell.com> 2008-11-18 04:32:46 MST --- Tejun, what is the content of your /etc/openldap/ldap.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c7 Tejun Heo <teheo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|teheo@novell.com | --- Comment #7 from Tejun Heo <teheo@novell.com> 2008-11-18 09:07:42 MST ---
cat /etc/openldap/ldap.conf # # LDAP Defaults #
# See ldap.conf(5) for details # This file should be world readable but not world writable. #BASE dc=example,dc=com #URI ldap://ldap.example.com ldap://ldap-master.example.com:666 #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never TLS_REQCERT allow host 10.7.7.1 base dc=htj,dc=dyndns,dc=org -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c8 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |teheo@novell.com --- Comment #8 from Matthias Koenig <mkoenig@novell.com> 2008-11-18 09:25:36 MST --- Hmm, yast ldap, seems to create /etc/ldap.conf. But openldap expects its configuration in /etc/openldap/ldap.conf Also, it does not matter if ldap has already been configured with yast ldap, the yast autofs module *always* complains that ldap has not been configured. This seems to be a yast problem. After copying /etc/ldap.conf to /etc/openldap/ldap.conf and a rcautofs restart automounter is working here for me. Tejun can you please try this? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c9 Tejun Heo <teheo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|teheo@novell.com | --- Comment #9 from Tejun Heo <teheo@novell.com> 2008-11-18 09:32:16 MST --- Copying the file and restarting autofs doesn't work here. It fails with the same error message. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c10 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |teheo@novell.com --- Comment #10 from Matthias Koenig <mkoenig@novell.com> 2008-11-18 09:46:30 MST --- What's the content of /etc/openldap/ldap.conf (or /etc/ldap.conf) now? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c11 --- Comment #11 from Tejun Heo <teheo@novell.com> 2008-11-19 09:44:56 MST --- Created an attachment (id=253533) --> (https://bugzilla.novell.com/attachment.cgi?id=253533) /etc/ldap.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c12 Tejun Heo <teheo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|teheo@novell.com | --- Comment #12 from Tejun Heo <teheo@novell.com> 2008-11-19 09:45:35 MST --- Created an attachment (id=253534) --> (https://bugzilla.novell.com/attachment.cgi?id=253534) /etc/openldap/ldap.conf -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c13 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |teheo@novell.com --- Comment #13 from Matthias Koenig <mkoenig@novell.com> 2008-11-21 03:42:40 MST --- Does ldapsearch -x -b 'dc=htj,dc=dyndns,dc=org' produce any results with your configuration from comment #11 and #12? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c14 Tejun Heo <teheo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|teheo@novell.com | --- Comment #14 from Tejun Heo <teheo@novell.com> 2008-11-21 07:42:03 MST --- Created an attachment (id=254377) --> (https://bugzilla.novell.com/attachment.cgi?id=254377) ldap search output -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User mkoenig@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c15 Matthias Koenig <mkoenig@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |teheo@novell.com --- Comment #15 from Matthias Koenig <mkoenig@novell.com> 2008-11-25 08:40:34 MST --- Are the logs from comment #1 done with setting DEFAULT_LOGGING="debug" in /etc/sysconfig/autofs? If not please set this and post /var/log/messages again (after restarting the automounter). -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c16 Tejun Heo <teheo@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|teheo@novell.com | --- Comment #16 from Tejun Heo <teheo@novell.com> 2008-12-08 03:25:55 MST --- Created an attachment (id=258557) --> (https://bugzilla.novell.com/attachment.cgi?id=258557) autofs.log Sorry about the long delay. Here's the requested log. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 User teheo@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=445377#c17 --- Comment #17 from Tejun Heo <teheo@novell.com> 2008-12-13 16:41:34 MST --- Adding "10.7.7.1 htj.dyndns.org" to hosts.conf works around the problem. Looks like somehow automounts now tries to access the server with the base dn directly instead of accessing the host specified in ldap.conf. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 Hendrik Vogelsang <hvogel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=445377 Hendrik Vogelsang <hvogel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com