Project

General

Profile

Actions

Bug #3493

closed

Users created from LDAP even if auto creation is not checked

Added by Chuck Schweizer about 11 years ago. Updated over 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 almost 11 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 almost 11 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 almost 11 years ago

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

Updated by Anonymous almost 11 years ago

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

Also available in: Atom PDF