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
Copy file name to clipboardExpand all lines: NetScaler/Public/New-NSLDAPAuthenticationServer.ps1
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -60,9 +60,15 @@ function New-NSLDAPAuthenticationServer {
60
60
.PARAMETERLoginAttributeName
61
61
LDAP login name attribute. The NetScaler appliance uses the LDAP login name to query external LDAP servers or Active Directories
62
62
63
+
.PARAMETERSearchFilter
64
+
String to be combined with the default LDAP user search string to form the search value.
65
+
63
66
.PARAMETERGroupAttributeName
64
67
LDAP group attribute name used for group extraction on the LDAP server.
65
68
69
+
.PARAMETERSubAttributeName
70
+
LDAP group sub-attribute name. Used for group extraction from the LDAP server.
71
+
66
72
.PARAMETERSSOAttributeName
67
73
LDAP single signon (SSO) attribute. The NetScaler appliance uses the SSO name attribute to query external LDAP servers or Active Directory for an alternate username.
68
74
@@ -106,8 +112,12 @@ function New-NSLDAPAuthenticationServer {
106
112
107
113
[string] $LoginAttributeName,
108
114
115
+
[string] $SearchFilter,
116
+
109
117
[string] $GroupAttributeName,
110
118
119
+
[string] $SubAttributeName,
120
+
111
121
[string] $SSOAttributeName,
112
122
113
123
[switch] $PassThru
@@ -142,9 +152,15 @@ function New-NSLDAPAuthenticationServer {
142
152
if ($PSBoundParameters.ContainsKey('LoginAttributeName')) {
143
153
$params.Add('ldaploginname',$LoginAttributeName)
144
154
}
155
+
if ($PSBoundParameters.ContainsKey('SearchFilter')) {
156
+
$params.Add('searchfilter',$SearchFilter)
157
+
}
145
158
if ($PSBoundParameters.ContainsKey('GroupAttributeName')) {
146
159
$params.Add('groupattrname',$GroupAttributeName)
147
160
}
161
+
if ($PSBoundParameters.ContainsKey('SubAttributeName')) {
162
+
$params.Add('subattributename',$SubAttributeName)
163
+
}
148
164
if ($PSBoundParameters.ContainsKey('SecurityType')) {
0 commit comments