Hello,
I am trying to add OpenProject to Nethserver.
Unfortunately there is at least one LDAP atttrubute missing inside Netherver: givenName. The LDAP access from OpenProject works, but it cant find the givenName. (It asks to input Name and Surname but the notification field is blocking the UI; different problem…
Is there an easy way to add this parameter to Nethserver GUI?
I already modified /etc/e-smith/events/actions/nethserver-directory-user-create
/etc/e-smith/events/actions/nethserver-directory-user-modify
with this information:
…
my $userGivenName = shift;
# Now create the user account. --surname
triggers inetOrgPerson
# schema in ldapEntry and is required for nethserver-directory to
# work.
system(
“/usr/sbin/luseradd”,
‘-g’, ‘locals’,
‘-n’,
‘-M’,
‘–surname’, $userName,
’–givenname’, $userGivenName,
‘-d’, $homeDirPrefix . $userName,
“-k”, “/etc/skel/”,
“-s”, $shell,
‘–commonname=’ . $name ,
‘–gecos=’ . $gecos,
$userName
) == 0 or die “Failed to create user account $userName
.\n”;
Can anyone advice on how to get the input field for givenName into account creation and modify parts of the GUI?
Best,
Andy