Bug in samldb_description_check?

Andrew Bartlett abartlet at samba.org
Sun Feb 13 15:53:40 MST 2011


On Sun, 2011-02-13 at 21:14 +0100, Matthias Dieter Wallnöfer wrote:
> Hi Volker,
> 
> I believe that the attached patch fixes the issue for your particular 
> issue. But say if have unnormalised requests (multiple adds, replaces, 
> deletes in an arbitrary order) always on the same attribute it won't do 
> it's job.

Matthias,

perhaps use ldb_msg_normalize(), apply your checks, and then if they
pass then continue with the original request?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.



More information about the samba-technical mailing list