all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Patch for ldap.el
@ 2005-02-04 10:45 Arne Jørgensen
  0 siblings, 0 replies; only message in thread
From: Arne Jørgensen @ 2005-02-04 10:45 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

Hi,

This patch for ldap.el will allow you to do a `ldap-search' for
attributes that are returned with descriptions like
"userCertificate;binary". (The ";binary" is difference from without
the patch.)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: ldap.patch --]
[-- Type: text/x-patch, Size: 818 bytes --]

Index: lisp/net/ldap.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/net/ldap.el,v
retrieving revision 1.15
diff -u -r1.15 ldap.el
--- lisp/net/ldap.el	19 May 2004 19:06:54 -0000	1.15
+++ lisp/net/ldap.el	4 Feb 2005 10:42:00 -0000
@@ -579,9 +579,9 @@
 					       (end-of-line)
 					       (point))))
 	  (forward-line 1)
-	  (while (looking-at "^\\(\\w*\\)[=:\t ]+\\(<[\t ]*file://\\)?\\(.*\\)$")
+	  (while (looking-at "^\\(\\w*\\)\\(;\\w*\\)?[=:\t ]+\\(<[\t ]*file://\\)?\\(.*\\)$")
 	    (setq name (match-string 1)
-		  value (match-string 3))
+		  value (match-string 4))
             ;; Need to handle file:///D:/... as generated by OpenLDAP
             ;; on DOS/Windows as local files.
             (if (and (memq system-type '(windows-nt ms-dos))

[-- Attachment #3: Type: text/plain, Size: 165 bytes --]


I did mail to Pavel who is the maintainer according to ldap.el but he
says he is no longer the maintainer.

Kind regards,
-- 
Arne Jørgensen <http://arnested.dk/>

[-- Attachment #4: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-02-04 10:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-04 10:45 Patch for ldap.el Arne Jørgensen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.