Problem Note 18554: Active Directory Bulk-Load sample program, IMPORTAD.SAS inconsistently
refers to keyidvar
The bulk–load sample program for Active Directory, importAD.sas, defines the keyidvar macro variable to identify an attribute of the Active Directory Server Information to use as a unique identifier for Persons. ImportAD.sas is inconsistent in its use of keyidvar, resulting in persons not being added as members to groups (i.e. the grpmems table has 0 observations).
The default value of keyidvar is distinguishedName. Other common values are employeeID and sAMAccountName, though any attribute which uniquely identifies a Person should be valid.
To correct the keyidvar reference problem, modify the code as demonstrated here.
The current code block reads:
/*********************************************************************************/
/* If we were using the employeeid as the keyid for persons, then we need to */
/* re-code the person group memberkeys from DN to employeeIDs so that they match.*/
/*********************************************************************************/
%macro transmemkeyid;
%if %upcase(&keyidvar)=EMPLOYEEID %then %do;
proc sql;
Change the current line:
%if %upcase(&keyidvar)=EMPLOYEEID %then %do;
to:
%if %upcase(&keyidvar)^=DISTINGUISHEDNAME %then %do;
Operating System and Release Information
SAS System | SAS Integration Technologies | Microsoft Windows XP Professional | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
Microsoft Windows NT Workstation | 9.1 TS1M3 SP3 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
Microsoft Windows 2000 Professional | 9.1 TS1M3 SP3 | |
Microsoft Windows 2000 Server | 9.1 TS1M3 SP3 | |
Microsoft Windows 2000 Advanced Server | 9.1 TS1M3 SP3 | |
Microsoft Windows 2000 Datacenter Server | 9.1 TS1M3 SP3 | |
64-bit Enabled Solaris | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
z/OS | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
HP-UX IPF | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
Linux | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
Linux on Itanium | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
OpenVMS Alpha | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
Tru64 UNIX | 9.1 TS1M3 SP3 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | low |
Topic: | System Administration ==> Security
|
Date Modified: | 2008-11-18 11:39:02 |
Date Created: | 2006-09-19 13:46:42 |