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

Re: Seach Object



Am Fri, 19 May 2017 17:59:18 -0300
schrieb Bruno de Oliveira Bastos <brunopsitech@gmail.com>:

> Someone know how to search a object DN and return a CN ? I have this
> object DN
> ( Q049c3Vwb3J0ZTNkYiBzdXBvcnRlIGRhIDNkYixPVT1Vc3XDoXJpb3MsREM9Y2hlc3BhZ
> ) and i need the CN of object.


use the dn in question as search base with scope base. But your DN seems
to be base64 encoded, so just decode this string.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E