Platform Receiver Scripts

Linux/Unix Platform Receiver Scripts#

From IDM 3.01.

Be sure to read the Script writers README

addgroup.sh#

adduser.sh#

addusertogroup.sh #

Available Environment Variables#

In order to facilitate writing scripts in diverse environments, all the following environment variables are available:

delgroup.sh #

deluser.sh#

disableuser.sh#

does_group.exist.sh#

does_user_exist.sh#

enableuser.sh#

modgroup.sh#

moduser.sh#

pendelgroup.sh#

pendeluser.sh#

platformgetgrnam.sh#

platformgetpwnam.sh#

1platformgroupaff.sh#

   gname1,gnum1 
   gname2,gnum2 
   gname3,gnum3 
 ...
   gnameN,gnumN
   EOFMARKER

platformgroupmem.sh#

Last line should be EOFMARKER. The Receiver uses this script to assure that the driver and the platform agree on the uids of the users who are members of TARGETGROUP. UID = -1 causes the Receiver to bypass this check.

platformverifyandmapname.sh#

characters to lowercase, except on Linux. Output PlatformAssociation to PARMFILE.

PlatformAssociation#

PlatformAssociation is a mapping of EnterpriseUsername (or EnterpriseGroupname).

PlatformAssociation is very important, and is controlled in this script.

Examples:
  |   PlatformAssociation
  |    
   eDir User|    Solaris    Linux   AIX 
   ________ |    _______    _____  _____
  |
    joe|joe   joe    joe
    Bob|bob   Bob    bob
    7sam    |  (Rejected) (Rejected)7sam
    LongUserName |  (Rejected)LongUserName  (Rejected)   
  |
You have the ability in this script to create algorithms to map names that would otherwise be rejected, if you need to support them, but there are many caveats. If you choose to map the user LongUserName to LongUser, then you would not be able to use the driver to authenticate LongUser. There would also be collision issues to consider.

populategroup.sh#

TARGETULIST and DELETEULIST are calulated by populategroup.sh.

TARGETULIST list of users who should ultimately be in TARGETGROUP.

DELETEULIST list of platform users who need to be deleted from TARGETGROUP.

The methodology varies from platform to platform, depending on the native UNIX commands available. Here's one example:

is PULIST in MANAGED?
   no ----> TARGETULIST
   yes ---> in ASAMULIST?
  no ----> DELETEULIST

is ASAMULIST in MANAGED?
   yes ---> TARGETULIST

removeuserfromgroup.sh#

renamegroup.sh#

renameuser.sh#

Writing UNIX Platform Receiver Scripts#

If desired, you can modify the Platform Receiver Scripts

More Information#

There might be more information for this subject on one of the following: