Automount segfaults if it can't parse an LDAP entry.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs5 (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
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://
100 /var/lib/
Program output:
# automount -vdf
Starting automounter version 5.0.6, master map /etc/auto.master
using kernel protocol version 5.02
lookup_
parse_init: parse(sun): init gathered global options: (null)
lookup_read_master: lookup(file): read entry +auto.master
lookup_
parse_init: parse(sun): init gathered global options: (null)
lookup_
parse_init: parse(sun): init gathered global options: (null)
syntax error in map near [ home ldap:ou=
Segmentation fault (core dumped)
Changed in autofs5 (Ubuntu): | |
importance: | Undecided → Low |