[Bug 962348] [NEW] Automount segfaults if it can't parse an LDAP entry.
darqchild
darqchild at darqchild.com
Thu Mar 22 17:05:11 UTC 2012
Public bug reported:
When autofs is configured to use LDAP it segfaults upon failing to parse
an entry in our LDAP directory.
See attachment for valgrind log, backtrace, configuration files and
.ldif file.
$ lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04
$ apt-cache policy autofs5-ldap
autofs5-ldap:
Installed: 5.0.6-0ubuntu3
Candidate: 5.0.6-0ubuntu3
Version table:
*** 5.0.6-0ubuntu3 0
500 http://10.1.4.185/ubuntu/ precise/universe i386 Packages
100 /var/lib/dpkg/status
Program output:
# automount -vdf
Starting automounter version 5.0.6, master map /etc/auto.master
using kernel protocol version 5.02
lookup_nss_read_master: reading master file /etc/auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry +auto.master
lookup_nss_read_master: reading master files auto.master
parse_init: parse(sun): init gathered global options: (null)
lookup_nss_read_master: reading master ldap auto.master
parse_init: parse(sun): init gathered global options: (null)
syntax error in map near [ home ldap:ou=auto.home,ou=automount,ou=admin,dc=xxxxxxx,dc=xxxxx,dc=com ]
Segmentation fault (core dumped)
** Affects: autofs5 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to autofs5 in Ubuntu.
https://bugs.launchpad.net/bugs/962348
Title:
Automount segfaults if it can't parse an LDAP entry.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autofs5/+bug/962348/+subscriptions
More information about the Ubuntu-server-bugs
mailing list