AgentlessAttribute
Gets or sets the Active Directory attribute used for storing the user’s password hash if a zone supports agentless NIS client requests.
Syntax
string AgentlessAttribute {get; set;}
Property value
The Active Directory attribute used for storing the user’s password hash.
Discussion
If you have any computers configured to respond to NIS client requests using information stored in Active Directory, this property must be set to enable password synchronization for the zone. Only the following values are valid:
-
altSecurityIdentities
-
msSFU30Password
-
unixUserPassword
Setting this property to an invalid value disables password synchronization.
Exceptions
AgentlessAttribute
throws an ApplicationException
if the selected attribute
cannot store a password hash.
Example
The following code sample illustrates setting this property in a script:
...
'Specify the zone you want to work with
set zone = cims.GetZone("zap.org/Program Data/Acme/Zones/default")
'Change the attribute used for the password hash
zone.AgentlessAttribute = "unixUserPassword"
zone.Commit()
...