[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: id returns no such user

Stelios A. wrote:
I have 2 servers, one act as master and other as slave syncing data
with syncrepl user without a problem.
Suddenly and after adding an index to the slapd.conf (the problem is
probably somewhere else but just mentioning the last thing that I did)
on the slave server where email is running I'm getting a:
id: shipsec: No such user
wherever I'm trying to see a users details.
Then webmail, pop etc are not working because machine is not able to
resolve the users from ldap.
Howver, the getent passwd command return with all users from ldap like
been local without a problem.
All users under /home are like 1700:users insteed of username:users.

I recently experienced an identical issue when I added indexes on existing records but did not run slapindex after the fact. I would recommend running slapindex and trying it again.

It seems that when you add an index and that index does not exist in the index data files, no records are returned.

Josh Miller, RHCE/VCP
Seattle, WA
Linux Solutions Provider