Chat now with support
Chat with Support

We are currently experiencing issues on our phone support and are working diligently to restore services. For support, please sign in and create a case or email supportadmin@quest.com for assistance

Privilege Manager for Unix 7.1 - Administration Guide

Introducing Privilege Manager for Unix Planning Deployment Installation and Configuration Upgrade Privilege Manager for Unix System Administration Managing Security Policy The Privilege Manager for Unix Security Policy Advanced Privilege Manager for Unix Configuration Administering Log and Keystroke Files InTrust Plug-in for Privilege Manager for Unix Troubleshooting Privilege Manager for Unix Policy File Components Privilege Manager for Unix Variables
Variable names Variable scope Global input variables Global output variables Global event log variables PM settings variables
Privilege Manager for Unix Flow Control Statements Privilege Manager for Unix Built-in Functions and Procedures
Environment functions Hash table functions Input and output functions LDAP functions LDAP API example List functions Miscellaneous functions Password functions Remote access functions String functions User information functions Authentication Services functions
Privilege Manager for Unix programs Installation Packages

ldap_get_dn

Syntax
string ldap_get_dn(int ldapid, ldapentry entry[, boolean trace])
Description

ldap_get_dn returns the DN of the specified entry, as a string. ldapentry is a valid entry returned by a previous call to ldap_first_entry or ldap_next_entry.

If the optional trace parameter is set to true, any errors or warnings from the LDAP function are written to stdout.

Example
dnstr=ldap_get_dn(ldapid,entry;
Related Topics

ldap_get_values

ldap_get_values

Syntax
list ldap_get_values(int ldapid, ldapentry entry, string attr[, boolean trace] )
Description

ldap_get_values returns a list of values for the specified attribute from the given LDAP entry.

If the optional trace parameter is set to true, any errors or warnings from the LDAP function are written to stdout.

Example
values=ldap_get_values(ldapid, entry, "uid"); 
if (user !in values) { 
   reject "You are not authorized"; 
} 
Related Topics

ldap_next_attribute

ldap_next_attribute

Syntax
string ldap_next_attribute(int ldapid, ldapentry entry[, boolean trace])
Description

ldap_next_attribute returns the next attribute name in the ldapentry returned by a previous call to ldap_first_entry or ldap_next_entry.

If the optional trace parameter is set to true, any errors or warnings from the LDAP function are written to stdout.

Example
str=ldap_first_attribute(ldapid, entry); 
while (length(str) > 0) { 
   #process attribute 
   … 
   str=ldap_next_attribute(ldapid, entry); 
}
Related Topics

ldap_next_entry

ldap_next_entry

Syntax
int ldap_next_entry(int ldapid, ldapentry entry[, boolean trace] )
Description

ldap_next_entry returns the next entry from the series of results returned by ldap_search, if present; otherwise it returns a NULL or empty entry.

If the optional trace parameter is set to true, any errors or warnings from the LDAP function are written to stdout.

Example
entry=ldap_first_entry(ldapid, searchresults); 
while( entry) { 
   func_process_entry(entry); 
   entry=ldap_next_entry(ldapid, entry); 
}
Related Topics

ldap_open

Related Documents

The document was helpful.

Select Rating

I easily found the information I needed.

Select Rating