You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have many users in my active directory which dont have a first name or dont have a last name.
Since both fields are required in redmine, the sync doesnt allow me to add them to redmine.
Errors:
-- Could not create user 'XYZ': "First name cannot be blank"
-- Could not create user 'XYZ': "Last name cannot be blank"
But now to my questions. would it be possible that someone tells me how I am able to add some kind of fallback to this plugin? the fallback would be: if there is no first name, use the last name as first name as well. AND if there is no last name, use the first name as las name.
this should be 1-2 lines only in the code right? i dont know anything about ruby but i hope someone can help. i guess the validation must be tricked and the user creation too.
one example:
i have a user called "max" with mail address "[email protected]". I can not import this user becaue he has no last name. the workaround would transform "max" to "max max". looks stupid, but i will be able to use the user....
The text was updated successfully, but these errors were encountered:
This restriction is set by Redmine itself.
And for this case, it's better you should refine your LDAP server account setting, because the sAMAccountName, givenName, sn are most important items for LDAP.
Hey there,
I have many users in my active directory which dont have a first name or dont have a last name.
Since both fields are required in redmine, the sync doesnt allow me to add them to redmine.
Errors:
this is not really an issue of this plugin its more likely a problem of redmine: https://www.redmine.org/issues/29757
But now to my questions. would it be possible that someone tells me how I am able to add some kind of fallback to this plugin? the fallback would be: if there is no first name, use the last name as first name as well. AND if there is no last name, use the first name as las name.
this should be 1-2 lines only in the code right? i dont know anything about ruby but i hope someone can help. i guess the validation must be tricked and the user creation too.
one example:
i have a user called "max" with mail address "[email protected]". I can not import this user becaue he has no last name. the workaround would transform "max" to "max max". looks stupid, but i will be able to use the user....
The text was updated successfully, but these errors were encountered: