The following table shows the SM_PolicyAPI_UserDir_t field that Sm_PolicyApi_CreateUserDir() uses for different types of user directories:
|
Field |
User Directory Type |
|||
|---|---|---|---|---|
|
ODBC |
LDAP |
WinNT |
Custom |
|
|
pszOid Object Identifier of the user directory being updated |
X |
X |
X |
X |
|
pszName Required field. |
X |
X |
X |
X |
|
pszDesc |
X |
X |
X |
X |
|
pszNamespace Required field. |
ODBC |
LDAP |
WinNT |
Custom |
|
pszServer Required field. |
ODBC data source |
IP address |
NT Domain name |
Name of shared library |
|
pszODBCQuerySchemeOid Required field. |
X |
|
|
|
|
pszSearchRoot |
|
X |
|
parameter string |
|
pszUserLookupStart |
|
X |
|
|
|
pszUserLookupEnd |
|
X |
|
|
|
bRequireCredentials |
X |
X |
X |
X |
|
pszUsername Required field if bRequireCredentials is true. |
X |
X |
X |
X |
|
pszPassword Required field if bRequireCredentials is true. |
X |
X |
X |
X |
|
nSearchResults |
|
X |
|
Max results |
|
nSearchScope |
|
X |
|
|
|
nSearchTimeout |
|
X |
|
Max time out |
|
bSecureConnection |
|
X |
|
X |
|
pszDisabledAttr |
X |
X |
|
(Varies) |
|
pszUniversalIDAttr |
X |
X |
X |
(Varies) |
|
pszAnonymousId |
|
X |
|
(Varies) |
|
pszPasswordData |
X |
X |
|
(Varies) |
|
pszPasswordAttribute |
X |
X |
|
(Varies) |
|
pszEmailAddressAttr |
|
|
|
|
|
pszChallengeRespAttr |
|
X |
|
(Varies) |
Note: With custom directories, fields indicated by the word varies may or may not apply to the user directory object being created.
Returns
| Copyright © 2010 CA. All rights reserved. | Email CA about this topic |