Odd ldap problem after changing domain
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Odd ldap problem after changing domain
Do not change this file, just use this file to make your ldap request and check if it fits.
ldapsearch -LLL ldap_server ....
ldapsearch -LLL ldap_server ....
Re: Odd ldap problem after changing domain
$ ldapsearch -x -h mx.domain.com -b 'cn=config' -D cn=config -w exxxxxxxi
This returns nothing. I have not used ldap in many years.
This returns nothing. I have not used ldap in many years.
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Odd ldap problem after changing domain
Code: Select all
ldapsearch -LLL -H ldap://your_server:389 -b uid=zmpostfix,cn=appaccts,cn=zimbra -w "ldap_postfix_password" "(&(|(zimbraMailDeliveryAddress=%s)(zimbraMailAlias=%s)(zimbraMailCatchAllAddress=%s))(zimbraMailStatus=enabled))" zimbraMailCanonicalAddress zimbraMailCatchAllCanonicalAddress
Hope I did not forget anything.
Re: Odd ldap problem after changing domain
"ldap_postfix_password"
Assuming changing the two %s to the email address and changing the above to the ldap password, then I get this error.
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
Assuming changing the two %s to the email address and changing the above to the ldap password, then I get this error.
ldap_sasl_interactive_bind_s: Can't contact LDAP server (-1)
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Odd ldap problem after changing domain
man ldapsearch
=> -Z option should do the trick.
=> -Z option should do the trick.
Re: Odd ldap problem after changing domain
There is no man for this tool on the system. I'm looking on the net and cannot find that option either.
Not really sure what you are suggesting, can you post the complete command to save time and I'll run it as requested.
Not really sure what you are suggesting, can you post the complete command to save time and I'll run it as requested.
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Odd ldap problem after changing domain
As zimbra user man ldapsearch works.
if not... maybe your server is not a Zimbra MTA or Zimbra packages are missing.
if not... maybe your server is not a Zimbra MTA or Zimbra packages are missing.
Re: Odd ldap problem after changing domain
Something is missing then because this server was dedicated to zimbra and nothing else.
I am installing a new server so I can have another server to also check. If I can fix this one, I'll use it, if not, I'll have another as a backup.
One weird thing and I don't know if zimbra knows about this but during the install, there are always these errors.
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269
Starting servers...Attempting to create directory /opt/zimbra/perl5
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269.
BEGIN failed--compilation aborted.
After install;
# su zimbra
Attempting to create directory /opt/zimbra/perl5
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269.
BEGIN failed--compilation aborted.
I think I have to start a new post.
I am installing a new server so I can have another server to also check. If I can fix this one, I'll use it, if not, I'll have another as a backup.
One weird thing and I don't know if zimbra knows about this but during the install, there are always these errors.
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269
Starting servers...Attempting to create directory /opt/zimbra/perl5
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269.
BEGIN failed--compilation aborted.
After install;
# su zimbra
Attempting to create directory /opt/zimbra/perl5
mkdir /opt/zimbra/perl5: Permission denied at /usr/share/perl5/vendor_perl/local/lib.pm line 269.
BEGIN failed--compilation aborted.
I think I have to start a new post.
- DualBoot
- Elite member
- Posts: 1326
- Joined: Mon Apr 18, 2016 8:18 pm
- Location: France - Earth
- ZCS/ZD Version: ZCS FLOSS - 8.8.15 Mutli servers
- Contact:
Re: Odd ldap problem after changing domain
Which user do you use to install Zimbra ?
Re: Odd ldap problem after changing domain
Root... I think I should have been sudo?
Following this; https://wiki.zimbra.com/wiki/Zimbra_Rel ... stallation
But, no mention of needing to be anything but root.
Following this; https://wiki.zimbra.com/wiki/Zimbra_Rel ... stallation
But, no mention of needing to be anything but root.