Skip to content

Commit

Permalink
Change LDAP domain config param user_pass_attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Treetreewu committed Mar 4, 2022
1 parent fd83343 commit b427aaa
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion keystone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2538,7 +2538,7 @@ components:
example: mail
default: mail
description: The LDAP attribute mapped to user emails in keystone.
user_password_attribute:
user_pass_attribute:
type: string
example: userPassword
default: userPassword
Expand Down
26 changes: 13 additions & 13 deletions openapi/docs/DomainConfigLDAP.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Name | Type | Description | Notes
**UserIdAttribute** | Pointer to **string** | The LDAP attribute mapped to user IDs in keystone. This must NOT be a multivalued attribute. User IDs are expected to be globally unique across keystone domains and URL-safe. | [optional] [default to "cn"]
**UserNameAttribute** | Pointer to **string** | The LDAP attribute mapped to user names in keystone. User names are expected to be unique only within a keystone domain and are not expected to be URL-safe. | [optional] [default to "sn"]
**UserMailAttribute** | Pointer to **string** | The LDAP attribute mapped to user emails in keystone. | [optional] [default to "mail"]
**UserPasswordAttribute** | Pointer to **string** | The LDAP attribute mapped to user passwords in keystone. | [optional] [default to "userPassword"]
**UserPassAttribute** | Pointer to **string** | The LDAP attribute mapped to user passwords in keystone. | [optional] [default to "userPassword"]
**UserEnabledMask** | Pointer to **string** | Bitmask integer to select which bit indicates the enabled value if the LDAP server represents \"enabled\" as a bit on an integer rather than as a discrete boolean. A value of `0` indicates that the mask is not used. If this is not set to `0` the typical value is `2`. This is typically used when `[ldap] user_enabled_attribute = userAccountControl`. Setting this option causes keystone to ignore the value of `[ldap] user_enabled_invert`. | [optional] [default to "2"]
**UserEnabledDefault** | Pointer to **string** | The default value to enable users. This should match an appropriate integer value if the LDAP server uses non-boolean (bitmask) values to indicate if a user is enabled or disabled. If this is not set to `True`, then the typical value is `512`. This is typically used when `[ldap] user_enabled_attribute = userAccountControl`. | [optional] [default to "true"]
**UserAllowCreate** | Pointer to **string** | If enabled, keystone is allowed to create users in the LDAP server. | [optional] [default to "true"]
Expand Down Expand Up @@ -292,30 +292,30 @@ SetUserMailAttribute sets UserMailAttribute field to given value.

HasUserMailAttribute returns a boolean if a field has been set.

### GetUserPasswordAttribute
### GetUserPassAttribute

`func (o *DomainConfigLdap) GetUserPasswordAttribute() string`
`func (o *DomainConfigLdap) GetUserPassAttribute() string`

GetUserPasswordAttribute returns the UserPasswordAttribute field if non-nil, zero value otherwise.
GetUserPassAttribute returns the UserPassAttribute field if non-nil, zero value otherwise.

### GetUserPasswordAttributeOk
### GetUserPassAttributeOk

`func (o *DomainConfigLdap) GetUserPasswordAttributeOk() (*string, bool)`
`func (o *DomainConfigLdap) GetUserPassAttributeOk() (*string, bool)`

GetUserPasswordAttributeOk returns a tuple with the UserPasswordAttribute field if it's non-nil, zero value otherwise
GetUserPassAttributeOk returns a tuple with the UserPassAttribute field if it's non-nil, zero value otherwise
and a boolean to check if the value has been set.

### SetUserPasswordAttribute
### SetUserPassAttribute

`func (o *DomainConfigLdap) SetUserPasswordAttribute(v string)`
`func (o *DomainConfigLdap) SetUserPassAttribute(v string)`

SetUserPasswordAttribute sets UserPasswordAttribute field to given value.
SetUserPassAttribute sets UserPassAttribute field to given value.

### HasUserPasswordAttribute
### HasUserPassAttribute

`func (o *DomainConfigLdap) HasUserPasswordAttribute() bool`
`func (o *DomainConfigLdap) HasUserPassAttribute() bool`

HasUserPasswordAttribute returns a boolean if a field has been set.
HasUserPassAttribute returns a boolean if a field has been set.

### GetUserEnabledMask

Expand Down
42 changes: 21 additions & 21 deletions openapi/model_domain_config_ldap.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b427aaa

Please sign in to comment.