Page 1 of 1

User DN View

Posted: Fri Aug 10, 2018 8:36 am
by SebekW
Hi
In the Windows 2012 server, I do that:

Code: Select all

C:\Users\Administrator.INT>DSQUERY USER -name mailer*
"CN=mailer,OU=Special Users,OU=MyBusiness,DC=int,DC=cbkk,DC=com,DC=pl"
How to the same make in linux in zimbra ldap.
To view the configuration of your current mailer account, I change the ID of the new one to old and unwilling to be wrong.

Command:

Code: Select all

ldapsearch -x -LLL "uid=mailer"
show me

Code: Select all

Cant contact LDAP server (-1)
Command:

Code: Select all

ldapsearch -h 192.168.1.X -X -LLL "uid=mailer"
show me nothing

Code: Select all

[Zimbra@poczta root]$
best regards
SW

ps. this command help me fully :)

Code: Select all

ldapsearch -x -H $ldap_master_url -D $zimbra_ldap_userdn -w $zimbra_ldap_password -LLL '(&(objectClass=zimbraAccount)(ou:dn:=people))'
It's hard to count on yours help
I regret this very much because you either have people in the ass or you are hypocrites bye