Skip to content

Commit 87c2e34

Browse files
committed
fixed invalid LDAP values
1 parent 38d3ead commit 87c2e34

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

DOCUMENTATION.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1045,7 +1045,7 @@ Default return values
10451045
| alert_table_refresh | No | | | LDAP alert table refresh in hours (0 = never). |
10461046
| always_use_ssl | No | | | Always use SSL login. |
10471047
| append_base_to_user_dn | No | | | Append base DN to principal user DN. |
1048-
| auth_type | No | | Automatic<br/> Stored on iRMC<br/> Stored on LDAP<br/> | Authorization type. |
1048+
| auth_type | No | | ServerView LDAP<br/> Standard LDAP<br/> | Authorization type. |
10491049
| backup_port | No | | | Non-SL port of backup LDAP server. |
10501050
| backup_server | No | | | Backup LDAP server. |
10511051
| backup_ssl_port | No | | | SSL port of backup LDAP server. |
@@ -1111,7 +1111,7 @@ Default return values
11111111
| alert_table_refresh | LDAP alert table refresh in hours | always | string | 0 |
11121112
| always_use_ssl | always use SSL login | always | bool | False |
11131113
| append_base_to_user_dn | append base DN to principal user DN | always | bool | False |
1114-
| auth_type | authorization type | always | string | Automatic |
1114+
| auth_type | authorization type | always | string | ServerView LDAP |
11151115
| backup_port | non-SL port of backup LDAP server | always | string | 389 |
11161116
| backup_server | backup LDAP server | always | string | ldap_backup.local |
11171117
| backup_ssl_port | SSL port of backup LDAP server | always | string | 636 |

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ bare-metal-server provisioning tasks:
138138
## License
139139

140140
FUJITSU LIMITED
141-
Copyright 2018 FUJITSU LIMITED
141+
Copyright 2018-2019 FUJITSU LIMITED
142142

143143
GNU General Public License v3.0+ (see [LICENSE.md](LICENSE.md) or https://www.gnu.org/licenses/gpl-3.0.txt)
144144

library/irmc_ldap.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
auth_type:
7373
description: Authorization type.
7474
required: false
75-
choices: ['Stored on LDAP', 'Stored on iRMC']
75+
choices: ['ServerView LDAP', 'Standard LDAP']
7676
primary_server:
7777
description: Primary LDAP server.
7878
required: false
@@ -190,7 +190,7 @@
190190
description: authorization type
191191
returned: always
192192
type: string
193-
sample: Stored on LDAP
193+
sample: ServerView LDAP
194194
backup_port:
195195
description: non-SL port of backup LDAP server
196196
returned: always
@@ -300,7 +300,7 @@
300300

301301
ldap_dir = {"0": "MS Active Directory", "1": "Novell eDirectory", "2": "Sun ePlanet", "3": "OpenLDAP",
302302
"4": "OpenDS / OpenDJ"}
303-
ldap_auth = {"0": "Stored on LDAP", "1": "Stored on iRMC"}
303+
ldap_auth = {"0": "ServerView LDAP", "1": "Standard LDAP"}
304304
true_false = {"0": "False", "1": "True"}
305305
param_scci_map = [
306306
# Param, SCCI Name, SCCI Code, index, value dict
@@ -309,7 +309,7 @@
309309
["local_login_disabled", "ConfBMCLDAPLocalLoginDisabled", 0x197B, 0, true_false], # iRMC: Disable Local Login
310310
["always_use_ssl", "ConfBMCLDAPBrowserLoginDisabled", 0x197C, 0, true_false], # iRMC: always use SSL Login
311311
["directory_type", "ConfBMCLDAPDirectoryType", 0x1974, 0, ldap_dir], # iRMC: Directory Server Type
312-
["auth_type", "ConfLDAPAuthorizationType", 0x1AC0, 0, ldap_auth], # iRMC: Authorization Type
312+
["auth_type", "ConfLDAPAuthorizationType", 0x1AC0, 0, ldap_auth], # iRMC: Authorization Type
313313
["primary_server", "ConfBMCLDAPServerName", 0x1976, 0, None], # iRMC: Primary LDAP Server
314314
["primary_port", "ConfBmcLDAPNonSecurePort", 0x1996, 0, None], # iRMC: Primary LDAP Port
315315
["primary_ssl_port", "ConfBmcLDAPSecurePort", 0x1997, 0, None], # iRMC: Primary LDAP SSL Port
@@ -420,8 +420,7 @@ def main():
420420
directory_type=dict(required=False, type="str",
421421
choices=["MS Active Directory", "Novell eDirectory", "Sun ePlanet", "OpenLDAP",
422422
"OpenDS / OpenDJ"]),
423-
auth_type=dict(required=False, type="str",
424-
choices=["Stored on LDAP", "Stored on iRMC"]),
423+
auth_type=dict(required=False, type="str", choices=["ServerView LDAP", "Standard LDAP"]),
425424
primary_server=dict(required=False, type="str"),
426425
primary_port=dict(required=False, type="int"),
427426
primary_ssl_port=dict(required=False, type="int"),

0 commit comments

Comments
 (0)