]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/net/ldap.el (ldap-search-internal): Fix last change. (Bug#64089)
authorEli Zaretskii <eliz@gnu.org>
Sat, 17 Jun 2023 07:59:44 +0000 (10:59 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 17 Jun 2023 07:59:44 +0000 (10:59 +0300)
lisp/net/ldap.el

index 4275b45e6f5d59ee32d7f6e89bc632eee5657567..8897c3b6d54061fe1810ff230b3e61d69aea3893 100644 (file)
@@ -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)))))