[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: ud and mixed case attributes



At 01:41 PM 12/6/99 -0500, Paul Turgyan wrote:
>We are running OpenLDAP release 1.2 on Solaris 5.6.
>
>Using ud,  if you create a new mail group, and then try 
>to edit it,  ud fails to detect that it's a group as opposed 
>to a person.  In util.c, "isgroup" looks for the objectclass
>"rfc822MailGroup" using a case sensitive strcmp.  When creating 
>a new group, slapd adds this objectclass as "rfc822mailgroup".  
>I changed my version of isgroup (util.c line:247) to a strcasecmp, 
>and it seems to work ok.

Likely most of the strcmp() in ud(1) should be strcasecmp()...
Feel free to submit a patch, preferably against devel code.

	Kurt

----
Kurt D. Zeilenga		<kurt@boolean.net>
Net Boolean Incorporated	<http://www.boolean.net/>