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

(ITS#4971) patch for OpenLDAP 2-3-32



Full_Name: Petrov Dmitry
Version: 2-3-32
OS: Red Hat 9
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.195.208.66)


Hi, guys!
I had noticed, that the patch, used for 'schema-map.c' doesn't work  
correct. I hope, You also had checked it up. So what had I found in  
the function 'backsql_ad2at':
The attribute name is stored in 'struct berval' structure, so if  
You change '.bv_val' from 'userCertificate;binary' to  
'userCertificate', You should change '.bv_len' in accordance to  
strlen(aaa.bv_val) without strlen(";binary").

And by the way I want to store 'userCertificate' attribute type in PostrgreSQL. 

What type of the field in the table should I use?

Just another question to the developers:
I've heared that OpenLDAP is sensible to DOS attacks, so, how can I avoid this
trouble? And I want to know more about this problem, if possible.

With best wishes, Dmitry...