You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f2b97db
Browse filesBrowse the repository at this point in the historyBrowse files
@Parameter(name=ApiConstants.HOST_NAME, type=CommandType.STRING, required=true, description="Hostname or ip address of the ldap server eg: my.ldap.com")
47
+
@Parameter(name=ApiConstants.LIST_ALL, type=CommandType.STRING, description="Hostname or ip address of the ldap server eg: my.ldap.com")
48
+
privateStringlistall;
49
+
50
+
@Parameter(name=ApiConstants.HOST_NAME, type=CommandType.STRING, description="Hostname or ip address of the ldap server eg: my.ldap.com")
47
51
privateStringhostname;
48
52
49
53
@Parameter(name=ApiConstants.PORT, type=CommandType.INTEGER, description="Specify the LDAP port if required, default is 389.")
@@ -52,10 +56,10 @@ public class LDAPConfigCmd extends BaseCmd {
52
56
@Parameter(name=ApiConstants.USE_SSL, type=CommandType.BOOLEAN, description="Check Use SSL if the external LDAP server is configured for LDAP over SSL.")
53
57
privateBooleanuseSSL;
54
58
55
-
@Parameter(name=ApiConstants.SEARCH_BASE, type=CommandType.STRING, required=true,description="The search base defines the starting point for the search in the directory tree Example: dc=cloud,dc=com.")
59
+
@Parameter(name=ApiConstants.SEARCH_BASE, type=CommandType.STRING, description="The search base defines the starting point for the search in the directory tree Example: dc=cloud,dc=com.")
56
60
privateStringsearchBase;
57
61
58
-
@Parameter(name=ApiConstants.QUERY_FILTER, type=CommandType.STRING, required=true,description="You specify a query filter here, which narrows down the users, who can be part of this domain.")
62
+
@Parameter(name=ApiConstants.QUERY_FILTER, type=CommandType.STRING, description="You specify a query filter here, which narrows down the users, who can be part of this domain.")
59
63
privateStringqueryFilter;
60
64
61
65
@Parameter(name=ApiConstants.BIND_DN, type=CommandType.STRING, description="Specify the distinguished name of a user with the search permission on the directory.")
@@ -74,6 +78,10 @@ public class LDAPConfigCmd extends BaseCmd {
Copy file name to clipboardExpand all lines: api/src/org/apache/cloudstack/api/response/LDAPConfigResponse.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ public class LDAPConfigResponse extends BaseResponse {
30
30
@SerializedName(ApiConstants.PORT) @Param(description="Specify the LDAP port if required, default is 389")
31
31
privateStringport;
32
32
33
-
@SerializedName(ApiConstants.PORT) @Param(description="Check Use SSL if the external LDAP server is configured for LDAP over SSL")
33
+
@SerializedName(ApiConstants.USE_SSL) @Param(description="Check Use SSL if the external LDAP server is configured for LDAP over SSL")
34
34
privateStringuseSSL;
35
35
36
36
@SerializedName(ApiConstants.SEARCH_BASE) @Param(description="The search base defines the starting point for the search in the directory tree Example: dc=cloud,dc=com")
cvo = newConfigurationVO("Hidden", "DEFAULT", "management-server", LDAPParams.hostname.toString(), null, "Hostname or ip address of the ldap server eg: my.ldap.com");
@@ -1356,8 +1382,7 @@ public boolean updateLDAP(LDAPConfigCmd cmd) {
1356
1382
1357
1383
s_logger.debug("The ldap server is configured: " + hostname);
0 commit comments