User DN View

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
Post Reply
SebekW
Posts: 28
Joined: Wed Apr 05, 2017 6:04 am

User DN View

Post 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
Post Reply