Kolab Service Does not Start/No Emails Can be Sent/Received
Skale, Franz
i.bin at dah.am
Sun May 2 15:43:18 CEST 2021
Hi Bob,
ommit the -Z parameter and try the commandline:
ldapsearch -H ldap://<host>:<port> -D 'uid=kolab-service,ou=Special
Users,dc=abc,dc=com' -b 'dc=abc,dc=com' -x -W ObjectClass=*
If you get no result back, you will have to restore from a backup
because there are no entries in your LDAP tree.
Also check the instance backup ldif files:
/etc/dirsrv/slapd-[instance]/schema directory !
Best regards
Franz
On 2021-05-02 00:37, Bob Jones wrote:
> After changing your command line to what runs without dumping help (i
> had to change -w to -W, also the server is not configured for
> starttls),
> below is what I get:
>
> ldapsearch -H ldap://<host>:<port> -D 'uid=kolab-service,ou=Special
> Users,dc=abc,dc=com' -Z -b 'dc=abc,dc=com' -x -W
>
> ldap_start_tls: Protocol error (2)
> additional info: unsupported extended operation
> Enter LDAP Password:
> ldap_bind: No such object (32)
>
> On Saturday, May 1, 2021, 12:24:59 PM PDT, Jochen Kellner
> <jochen at jochen.org> wrote:
>
>
>
>
>
> Bob Jones <sckalleon at yahoo.com> writes:
>
>>> That seems fine, Can you connect with that name and password to your
>>> LDAP server? The log said that name or password was wrong. If the
>>> service user can't connect to LDAP nothing really can work. So
>>> that's
>>> what you need to check first and get working. Try connecting with
>>> ldapsearch or some other LDAP tool you might use.
>>
>> Using the host and port from ldap_uri under ldap section in
>> kolab.conf, this is what I get:
>>
>> ldapwhoami -vvv -h <host> -p <port> -D
>> 'uid=kolab-service,ou=Special Users,dc=abc,dc=com' -x -w <password>
>> ldap_initialize( ldap://host:port )
>> ldap_bind: No such object (32)
>>
>> It seems the path is incorrect, and this does not even get to
>> validating the password. My attempts at getting ldapsearch
>> to return any objects seems to not yield anything. I have to say I am
>> not terribly familiar with ldapsearch. Perhaps I have
>> not given the right commands to it just yet.
>>
>> What could be making these paths invalid?
>
> I have no idea - but ldapwhoami an my kolab gives (another) error.
> I've just tried:
>
> ldapsearch -H ldap://<host>:389 -D 'uid=kolab-service,ou=Special
> Users,dc=abc,dc=com' -Z -b 'dc=abc,dc=com' -x -w
>
> That works for me and lists all users and groups and Special Users...
>
>
> Jochen
More information about the users
mailing list