[Samba] especify a DN by using ldbsearch

Harry Jede walk2sun at arcor.de
Wed Oct 5 07:35:51 UTC 2016


On 09:31:09 wrote Felipe_G0NZÁLEZ_SANTIAG0 via samba:
> Hi @ll:
> I need to get the objectClass of some objects by giving theirs
> DistinguishedNames. I've try with this: #ldbsearch -H 127.0.0.1
> dn='CN=nameTest,CN=Users,DC=example,DC=com' But:
> # returned 3 records
> # 0 entries
> # 3 referrals
> 
> Any idea?
> How Can I to specify a DN in ldbsearch command.
ldbsearch -H <URI> -s base -b <DN> objectclass


ldbsearch -H ldap://debby-3 -s base -b cn=admin,dc=kronprinz,dc=xx objectclass


> Thanks.
> 
> ___________________________________________
> Felipe_ González_Santiago
> 
> The University of Informatics Sciences invites you to participate in
> the Scientific Conference UCIENCIA 2016, [extended] deadline:
> september 30th. Conferencia Científica UCIENCIA 2016, plazo de envío
> de trabajos hasta el 30 de septiembre.
> http://uciencia.eventos.uci.cu/


-- 

Gruss
	Harry Jede


More information about the samba mailing list