gitlab-ce-ldap-sync icon indicating copy to clipboard operation
gitlab-ce-ldap-sync copied to clipboard

Non-critical error after sync

Open frafra opened this issue 6 years ago • 5 comments

[error] Gitlab failure: "namespace.route" can't be blank, "notification_email" can't be blank, "notification_email" is invalid

frafra avatar Jun 24 '19 13:06 frafra

I guess this is for new users being created? Which version of Gitlab are you running? (I've not tried this tool on 12 yet.)

Adambean avatar Jun 24 '19 16:06 Adambean

Yes, it happens after users creation. I am testing it with GitLab 12.

frafra avatar Jun 25 '19 07:06 frafra

I just ran this against our updated Gitlab 12 instances today. A single new user needed to be created, and did so without any problems.

Are you certain there are valid email addresses assigned to your LDAP users, and that this tool is reading them? If it encounters a user with a non-empty but invalidly formatted email address that could cause it, so if it only happens with one user I'd inspect their object attributes to ensure they're valid.

Adambean avatar Jun 27 '19 21:06 Adambean

This error occurred to me as well. In my case it was the "ghost" user from gitlab that was causing it. Try adding userNamesToIgnore: ["ghost"]. If it is not that, check the API logs. I think, this tool should ignore the "ghost" user by default, just as it does with the "root" user.

beharbunjaku avatar Jul 31 '19 08:07 beharbunjaku

@beharbunjaku's change has been merged in if you'd like to try it out @frafra.

Adambean avatar Jul 31 '19 17:07 Adambean