Re: [opensuse-factory] Automount with LDAP maps
The bit that puzzles me is the error If you look at the attachment, where has the first 'c' gone from the ldap servers name it should be core1.whsg.info M lynn <lynn@steve-ss.com> , 5/11/2013 7:30 PM: On Tue, 2013-11-05 at 17:50 +0000, Malcolm Moore wrote:
It's described in the bug
Which is here: http://lists.opensuse.org/archive/opensuse-bugs/2013-10/msg03608.html Someone may now ask how you are obtaining autofs stuff from ldap. Then they'll ask you to post the config for it etc etc. HTH L x -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Tue, 2013-11-05 at 19:59 +0000, Malcolm Moore wrote:
The bit that puzzles me is the error If you look at the attachment, where has the first 'c' gone from the ldap servers name it should be core1.whsg.info
M
Hi Can you tell us how you are extracting the info from ldap? The .conf file for whatever it is? Maybe that would give us more of a clue. Escape the c in the config file perhaps? Quote the uri? Does host resolve correctly from DNS? Use ldap://ccore1.whsg.info maybe. Dunno. Loadsa stuff to try. Anything to narrow to narrow us down a little. L x -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
I set the logging on a machine that works ( 12.3 ) and on one that doesn't ( 13.1 RC2 ) to debug and the auto mounter progresses thus 12.3:- .... 2013-11-06T09:02:32.085424+00:00 itsupport01 automount[2309]: automount_path_to_fifo: fifo name /run/autofs.fifo-home 2013-11-06T09:02:32.085564+00:00 itsupport01 automount[2309]: lookup_nss_read_map: reading map ldap ldap:core1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info 2013-11-06T09:02:32.086731+00:00 itsupport01 automount[2309]: parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "ldap:core1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info". 2013-11-06T09:02:32.086904+00:00 itsupport01 automount[2309]: parse_server_string: lookup(ldap): server "ldap://core1.whsg.info/", base dn "nisMapName=auto.home,ou=autofs,dc=whsg,dc=info" 2013-11-06T09:02:32.087042+00:00 itsupport01 automount[2309]: parse_ldap_config: lookup(ldap): ldap authentication configured with the following options: 2013-11-06T09:02:32.087242+00:00 itsupport01 automount[2309]: parse_ldap_config: lookup(ldap): use_tls: 0, tls_required: 0, auth_required: 1, sasl_mech: (null) 2013-11-06T09:02:32.087489+00:00 itsupport01 automount[2309]: parse_ldap_config: lookup(ldap): user: (null), secret: unspecified, client principal: (null) credential cache: (null) 2013-11-06T09:02:32.088274+00:00 itsupport01 automount[2309]: parse_init: parse(sun): init gathered global options: (null) 2013-11-06T09:02:32.088282+00:00 itsupport01 automount[2309]: spawn_mount: mtab link detected, passing -n to mount 2013-11-06T09:02:32.089888+00:00 itsupport01 automount[2309]: spawn_umount: mtab link detected, passing -n to mount 2013-11-06T09:02:32.091255+00:00 itsupport01 automount[2309]: do_bind: lookup(ldap): auth_required: 1, sasl_mech (null) 2013-11-06T09:02:32.092115+00:00 itsupport01 automount[2309]: do_bind: lookup(ldap): ldap simple bind returned 0 2013-11-06T09:02:32.092463+00:00 itsupport01 automount[2309]: get_query_dn: lookup(ldap): found query dn nisMapName=auto.home,ou=autofs,dc=whsg,dc=info 2013-11-06T09:02:32.092662+00:00 itsupport01 automount[2309]: read_one_map: lookup(ldap): searching for "(objectclass=nisObject)" under "nisMapName=auto.home,ou=autofs,dc=whsg,dc=info" 2013-11-06T09:02:32.110106+00:00 itsupport01 automount[2309]: do_get_entries: lookup(ldap): examining entries 2013-11-06T09:02:32.110356+00:00 itsupport01 automount[2309]: validate_string_len: lookup(ldap): string st-malcolm.moore encoded as st-malcolm.moore ... However 13.1 RC2 ... 2013-11-06T10:12:39.150802+00:00 linux-ate8 automount[2955]: automount_path_to_fifo: fifo name /run/autofs.fifo-home 2013-11-06T10:12:39.154007+00:00 linux-ate8 automount[2955]: lookup_nss_read_map: reading map ldap ldap:core1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info 2013-11-06T10:12:39.154225+00:00 linux-ate8 automount[2955]: parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "ldap:core1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info". 2013-11-06T10:12:39.154436+00:00 linux-ate8 automount[2955]: parse_server_string: lookup(ldap): invalid LDAP map syntax ore1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info 2013-11-06T10:12:39.154643+00:00 linux-ate8 automount[2955]: lookup_init: lookup(ldap): cannot parse server string 2013-11-06T10:12:39.155837+00:00 linux-ate8 automount[2955]: do_read_map: lookup module ldap failed 2013-11-06T10:12:39.156170+00:00 linux-ate8 automount[2955]: mount_autofs_indirect: failed to read map for /home 2013-11-06T10:12:39.156654+00:00 linux-ate8 automount[2955]: handle_mounts: mount of /home failed! 2013-11-06T10:12:39.157187+00:00 linux-ate8 automount[2955]: master_do_mount: failed to startup mount 2013-11-06T10:12:39.157740+00:00 linux-ate8 automount[2955]: no mounts in table 2013-11-06T10:12:39.158590+00:00 linux-ate8 systemd[1]: Started Automounts filesystems on demand. ... Any help to anypne ?? Thanks M _____ From: lynn [mailto:lynn@steve-ss.com] To: opensuse-factory@opensuse.org Sent: Tue, 05 Nov 2013 22:01:19 +0000 Subject: Re: [opensuse-factory] Automount with LDAP maps On Tue, 2013-11-05 at 19:59 +0000, Malcolm Moore wrote:
The bit that puzzles me is the error If you look at the attachment, where has the first 'c' gone from the ldap servers name it should be core1.whsg.info
M
Hi Can you tell us how you are extracting the info from ldap? The .conf file for whatever it is? Maybe that would give us more of a clue. Escape the c in the config file perhaps? Quote the uri? Does host resolve correctly from DNS? Use ldap://ccore1.whsg.info maybe. Dunno. Loadsa stuff to try. Anything to narrow to narrow us down a little. L x -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Wed, 06 Nov 2013 09:25:20 +0000 "Malcolm Moore" <st-malcolm.moore@whsg.info> пишет:
2013-11-06T10:12:39.154007+00:00 linux-ate8 automount[2955]: lookup_nss_read_map: reading map ldap ldap:core1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info 2013-11-06T10:12:39.154225+00:00 linux-ate8 automount[2955]: parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "ldap:core1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info". 2013-11-06T10:12:39.154436+00:00 linux-ate8 automount[2955]: parse_server_string: lookup(ldap): invalid LDAP map syntax ore1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info
Even on 12.3 this is marked as obsolete. May be autofs in 13.1 dropped support completely. Try ldap://core1.whsg.info/ou=auto.home,ou=autofs,dc=whsg,dc=info -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
В Wed, 6 Nov 2013 19:54:55 +0400 Andrey Borzenkov <arvidjaar@gmail.com> пишет:
В Wed, 06 Nov 2013 09:25:20 +0000 "Malcolm Moore" <st-malcolm.moore@whsg.info> пишет:
2013-11-06T10:12:39.154007+00:00 linux-ate8 automount[2955]: lookup_nss_read_map: reading map ldap ldap:core1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info 2013-11-06T10:12:39.154225+00:00 linux-ate8 automount[2955]: parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "ldap:core1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info". 2013-11-06T10:12:39.154436+00:00 linux-ate8 automount[2955]: parse_server_string: lookup(ldap): invalid LDAP map syntax ore1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info
Even on 12.3 this is marked as obsolete. May be autofs in 13.1 dropped support completely. Try ldap://core1.whsg.info/ou=auto.home,ou=autofs,dc=whsg,dc=info
Hmm ... it sounds like it is fixed with this commit commit 02ffcfbbf15abd58489d7840f71f91b825307abc Author: Ian Kent <raven@themaw.net> Date: Fri Jun 28 13:22:06 2013 +0800 autofs-5.0.7 - fix add null check in parse_server_string() In a recent patch that added an error check for the case there's no ':' serv er name delimiter parse_server_string() braces were not added which lead to an incorrect parse error. Could you open bug report? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
There is one ( bug 847494 ) regards M _____ From: Andrey Borzenkov [mailto:arvidjaar@gmail.com] To: opensuse-factory@opensuse.org Sent: Wed, 06 Nov 2013 16:26:15 +0000 Subject: Re: [opensuse-factory] Automount with LDAP maps В Wed, 6 Nov 2013 19:54:55 +0400 Andrey Borzenkov <arvidjaar@gmail.com> пишет:
В Wed, 06 Nov 2013 09:25:20 +0000 "Malcolm Moore" <st-malcolm.moore@whsg.info> пишет:
2013-11-06T10:12:39.154007+00:00 linux-ate8 automount[2955]: lookup_nss_read_map: reading map ldap ldap:core1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info 2013-11-06T10:12:39.154225+00:00 linux-ate8 automount[2955]: parse_server_string: lookup(ldap): Attempting to parse LDAP information from string "ldap:core1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info". 2013-11-06T10:12:39.154436+00:00 linux-ate8 automount[2955]: parse_server_string: lookup(ldap): invalid LDAP map syntax ore1.whsg.info:nisMapName=auto.home,ou=autofs,dc=whsg,dc=info
Even on 12.3 this is marked as obsolete. May be autofs in 13.1 dropped support completely. Try ldap://core1.whsg.info/ou=auto.home,ou=autofs,dc=whsg,dc=info
Hmm ... it sounds like it is fixed with this commit commit 02ffcfbbf15abd58489d7840f71f91b825307abc Author: Ian Kent <raven@themaw.net> Date: Fri Jun 28 13:22:06 2013 +0800 autofs-5.0.7 - fix add null check in parse_server_string() In a recent patch that added an error check for the case there's no ':' serv er name delimiter parse_server_string() braces were not added which lead to an incorrect parse error. Could you open bug report? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (3)
-
Andrey Borzenkov
-
lynn
-
Malcolm Moore