Project

General

Profile

Actions

Bug #3493

closed

Users created from LDAP even if auto creation is not checked

Added by Chuck Schweizer over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Authentication
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I have verified "Automatically create accounts in Foreman" is not checked in my configuration.

Reproduce:
1) setup ldap authentication
2) make sure "Automatically create accounts in Foreman" is not checked
3) login to foreman with a user that is in LDAP but does not have a foreman account
4) Foreman will create a new account for the user and ask them to fill out their email and name.

Debug shows:

(2.3ms)  COMMIT
User 'testid1' auto-created from LDAP-Server1
Actions #1

Updated by Stephen Benjamin over 10 years ago

I can confirm this. source.onthefly_register isn't checked anywhere, so ldap users are always automatically registered.

PR for proposed fix:
https://github.com/theforeman/foreman/pull/1031

Actions #2

Updated by Dominic Cleal over 10 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Stephen Benjamin
  • Target version set to 1.10.0
Actions #3

Updated by Dominic Cleal over 10 years ago

  • translation missing: en.field_release set to 2
Actions #4

Updated by Anonymous over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF