Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. LDAP auto filling user data

LDAP auto filling user data

Added by K T about 9 years ago

I’ve configure LDAP authentication on my OpenProject server.

When I try to add a new user with LDAP check I have to type whole information about one - 4 fields.

What and how should I do to enable autofill ?

P.S.
Server: Ubuntu 14.04.3 server x64
OP ver: 5.0.15 (Mysql2)
LDAP: Windows Server 2008 R2
on-the-fly option is enabled


Replies (9)

RE: LDAP auto filling user data - Added by Oliver Jakobi about 9 years ago

Hi K T,

not quite sure, if I can follow your information, so please accept my apologies for asking.

Do you add the Users to LDAP and then add them to OpenProject as well?

Usually it would be enough to just add a new user to LDAP. Once the user logs in the first time, all fields for the user should be filled on the fly, hence the “on-the-fly”-option.

Regards,
Oliver

RE: LDAP auto filling user data - Added by K T about 9 years ago

Hi Oliver,

We have a Active Directory.

When I try to add new user from AD I have to fill all of fields (email, first name etc.) because they are required and system prevents me add new one with empty fields.

I don’t know how I can to change the behavior of system to fill just a login field.

RE: LDAP auto filling user data - Added by Oliver Jakobi about 9 years ago

Hi K T,

could you be more precise? At the moment I still don’t really understand, what you are trying to do and what you expect to happen.

What do you refer to by “system”? OpenProject, or your AD?

Best
Oliver

RE: LDAP auto filling user data - Added by Oliver Günther about 9 years ago

Hey,

OpenProject allows you to map specific attributes from LDAP to OpenProject user attributes. This set of attributes is unfortunately strictly limited, but is definitely sufficient to create users on the fly without any manual interaction.

Best,
Oliver

RE: LDAP auto filling user data - Added by K T about 9 years ago

Hi Oliver,

Ok, I’ll try to describe the situation more detailed. The order of my actions is below:

  1. Press the button “Create new user”
  2. Choose the name of LDAP connection in the list of authentication type
  3. Need to fill four fields like “First name”, “Last name”, “Email”, “Login”. The order of filling doesn’t matter.

If I leave at least one field blank - doesn’t matter which one - my browser tells about needing to fill all of ones.

But I wanna fill just a login.

So, my question is ‘What could I do incorrectly?’

RE: LDAP auto filling user data - Added by Oliver Jakobi about 9 years ago

Thank you for providing more detail, K T!

Actually, you don’t really have to manually add a new user to OpenProject.

Once your LDAP-/AD-connection is properly set up, whenever a user logs in, OpenProject will check for the users account.
If it is created, AND the auth method is LDAP/AD, OpenProject will only ask for permission, not check any internal password.
If it’s not created, LDAP/AD will be checked.
If the user is already member of LDAP/AD users, then OpenProject will only ask LDAP/AD for permission, create the user account (that’s what the one-the-fly option is for!) and log the user in.

Although this description of the process is not 100% correct, I hope it’s detailed enough to understand what I mean.
In essence: You do not need to enter user accounts manually, as long as they are already created within your ad.

Hope to be of help.
Best
Oliver

RE: LDAP auto filling user data - Added by K T about 9 years ago

Hi,
Thank you all for your answers.

Oliver, if I understand you correct, for any users who has AD records and try signing in to my OpenProject server there will be created user record. In case, if on the OP server are set following options up ‘LDAP-connection’ and ‘on-the-fly’ .

Please, correct me if I don’t.

RE: LDAP auto filling user data - Added by Oliver Jakobi about 9 years ago

Hi K T,

that’s pretty much, how it is supposed to work.

Best
Oliver

RE: LDAP auto filling user data - Added by K T about 9 years ago

Hi Oliver,

I’m glad to head that.
But what kind of roles and projects will be accessed for those users? And how administrator can know that new user was logged in?

  • (1 - 9/9)
Loading...