diff --git a/lisp/net/ldap.el b/lisp/net/ldap.el index 4275b45e6f5..8897c3b6d54 100644 --- a/lisp/net/ldap.el +++ b/lisp/net/ldap.el @@ -710,7 +710,7 @@ an alist of attribute/value pairs." ;; otherwise `ldap-decode-attribute' would throw a much less ;; comprehensible error later. (cond ((not withdn)) - ((looking-at "^dn[=:\t ]+\\(.*\\)$") + ((looking-at "dn[=:\t ]+\\(.*\\)$") (setq dn (list "dn" (match-string 1)))) (t (error "Incorrect dn line \"%s\" in ldapsearch result" (buffer-substring (point) (line-end-position)))))