TIP: You can type at any time to perform a new search.
Authentication via LDAP
auth_ldap · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 0.1.0
- Category
- Hidden/Tools
- Folder size
- 0.57 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-08 22:45:29
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Olivier Dony, Odoo Translation Bot, Denis Ledoux, Julien Castiaux, Tiffany Chang (tic), Gorash, William Braeckman, Mathieu Walravens, Louis Wicket (wil), Dylan Kiss (dyki), bram1000, djameltouati, Jeffrey Luo, Fasil | Python/Odoo Developer
- Odoo dependencies
- Python dependencies
- python-ldap
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (3)
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
res_company_ldap_view_tree |
res.company.ldap.list | res.company.ldap | list | New |
res_config_settings_view_form |
res.config.settings.view.form.inherit.auth.ldap | res.config.settings | form | Inherits base_setup.res_config_settings_view_form |
view_ldap_installer_form |
res.company.ldap.form | res.company.ldap | form | New |
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (4)
New fields (1)
-
ldapsOne2many → res.company.ldapcopy=Truegroups='base.group_system'string='LDAP Parameters' args: 'res.company.ldap', 'company'
No public methods.
New fields (11)
-
companyMany2one → res.companyondelete='cascade'required=Truestring='Company' args: 'res.company' -
create_userBooleandefault=Truehelp='Automatically create local user accounts for new users authenticating via LDAP' -
ldap_baseCharhelp='DN of the user search scope: all descendants of this base will be searched for users.'required=Truestring='LDAP base' -
ldap_binddnCharhelp='The user account on the LDAP server that is used to query the directory. Leave empty to connect anonymously.' args: 'LDAP binddn' -
ldap_filterCharhelp=' Filter used to look up user accounts in the LDAP database. It is an arbitrary LDAP filter in string representation. Any `%s` placeholder will be replaced by the login (identifier) provided by the user, the filter should contain at least one such placeholder.\n\n The filter must result in exactly one (1) result, otherwise the login will be considered invalid.\n\n Example (actual attributes depend on LDAP server and setup):\n\n (&(objectCategory=person)(objectClass=user)(sAMAccountName=%s))\n\n or\n\n (|(mail=%s)(uid=%s))\n 'required=Truestring='LDAP filter' -
ldap_passwordCharhelp='The password of the user account on the LDAP server that is used to query the directory.'string='LDAP password' -
ldap_serverChardefault='127.0.0.1'required=Truestring='LDAP Server address' -
ldap_server_portIntegerdefault=389required=Truestring='LDAP Server port' -
ldap_tlsBooleanhelp='Request secure TLS/SSL encryption when connecting to the LDAP server. This option requires a server with STARTTLS enabled, otherwise all authentication attempts will fail.'string='Use TLS' -
sequenceIntegerdefault=10 -
userMany2one → res.usershelp='User to copy when creating new users'string='Template User' args: 'res.users'
-
test_ldap_connection(self)Test the LDAP connection using the current configuration. Returns a dictionary with notification parameters indicating success or failure.
New fields (1)
-
ldapsOne2manyreadonly=Falserelated='company_id.ldaps'string='LDAP Parameters'
No public methods.
New fields (0)
No new fields.
Public methods (1)-
change_password(self, old_passwd, new_passwd)@api.model
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…