[Fedora-directory-users] nsaccountlock compare error

Rich Megginson rmeggins at redhat.com
Fri Dec 12 19:05:44 UTC 2008


DANIEL CRISTIAN CRUZ wrote:
> "Rich Megginson" <rmeggins at redhat.com> escreveu:
>   
>> I would say, based on this data, that there is a bug in the server 
>> compare processing.  Does compare work with regular attributes (e.g. in 
>> the schema of the user)?  Note that nsAccountLock is an operational 
>> attribute.
>>     
>
> Unfortunatelly, yes, it works:
>   
Please file a bug.  In the meantime, you'll have to just use search 
instead of compare.
>   
>>>> server.compare_s('uid=zaza.zozo.zozo,ou=UnitA,o=MyOrg', 'uid',
>>>>         
> 'zaza.zozo.zozo')
> 1
>   
>>>> server.compare_s('uid=zaza.zozo.zozo,ou=UnitA,o=MyOrg', 'uid',
>>>>         
> 'zaza.zozo.zuzu')
> 0
>
> Regards,
> --
> <span style="color: #000080">Daniel Cristian Cruz
> </span>Administrador de Banco de Dados
> Direção Regional - Núcleo de Tecnologia da Informação
> SENAI - SC
> Telefone: 48-3239-1422 (ramal 1422)
>
>
>
>   


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3258 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-users/attachments/20081212/7558bc4d/attachment.bin>


More information about the Fedora-directory-users mailing list