Home

Results 1 to 4 of 4

Thread: Adding a unique Alphanumeric number on creation of Identity

Hybrid View

  1. #1

    Adding a unique Alphanumeric number on creation of Identity


    Hi Guys

    I have a unique situation which i hope someone may help with some
    ideas.My client would like to generate a unique "employee"number on
    creation of a user identity into the vault.Currently the source of other
    attributes(database) that will formulate the full identity is not able
    to add the extra column to accommodate a unique number.Please note that
    the customer wants another unique number in the user identity apart from
    the primary key that the driver uses.
    Now my question is , is there a way in the driver that you can add this
    attribute to the user identity and add the number as well(counter of
    some sort) so that when the final identity appears in the directory it
    has a number.Is it possible for the driver to do a counter of these
    numbers so that they follow a pattern and are consistently unique.

    regards

    TM


    --
    TakaM
    ------------------------------------------------------------------------
    TakaM's Profile: http://forums.novell.com/member.php?userid=103757
    View this thread: http://forums.novell.com/showthread.php?t=449688


  2. #2
    Join Date
    Dec 2007
    Location
    Brooklyn, NY
    Posts
    6,213

    Re: Adding a unique Alphanumeric number on creation of Identity

    On 12/16/2011 3:36 AM, TakaM wrote:
    >
    > Hi Guys
    >
    > I have a unique situation which i hope someone may help with some
    > ideas.My client would like to generate a unique "employee"number on
    > creation of a user identity into the vault.Currently the source of other
    > attributes(database) that will formulate the full identity is not able
    > to add the extra column to accommodate a unique number.Please note that
    > the customer wants another unique number in the user identity apart from
    > the primary key that the driver uses.
    > Now my question is , is there a way in the driver that you can add this
    > attribute to the user identity and add the number as well(counter of
    > some sort) so that when the final identity appears in the directory it
    > has a number.Is it possible for the driver to do a counter of these
    > numbers so that they follow a pattern and are consistently unique.


    Use an attribute on the driver, anything that can hold a string or an
    integer and is not in use, or add an Aux class with a new attr.

    Store the current high water mark there. Then every time it needs to
    issue a new one, read the current high water, add one, write it back,
    use it on the user.

    LOts and lots of different ways to do this.

  3. #3

    Re: Adding a unique Alphanumeric number on creation of Identity


    Hi geoffc

    Thanks mate , but where can i get more documentation on exactly how to
    do this, sorry iam a newbie with Novel idm product so any documentation
    will be greatly appreciated.

    regards

    Tm


    --
    TakaM
    ------------------------------------------------------------------------
    TakaM's Profile: http://forums.novell.com/member.php?userid=103757
    View this thread: http://forums.novell.com/showthread.php?t=449688


  4. #4
    ab NNTP User

    Re: Adding a unique Alphanumeric number on creation of Identity

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    There is an example in an old driver config used for LUM on the
    UnixConfig object. Otherwise this is all customization though really
    pretty easy stuff.

    http://www.novell.com/coolsolutions/feature/17008.html

    I'll let Geoff talk to the details.

    Good luck.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJO7PddAAoJEF+XTK08PnB5bmoP/1YZOOirT7SjUCs5o3nAV0Ol
    CkfYMWX14TNQg0vMYk89oBj8AEmA09v3zSKUEyo68ziWklpoJl YUhAoaBtOXenMX
    ssxTjdPJJlVdmNh+qnM2BcWwFCFLdBk0ofL0XgefvCnEx2l53Q uLKysbr1SNE1oZ
    T/U4EwFqOFRp/KRb5tuyJo4XeIafltVpDSe+so1XwEN5EDoJxLxpuv3RC1zg/HfT
    r76O4/zBWMhUvl3O4soVFB5tcCKzABeJZK+VFe3rR3W5EFo5Ud3t8frI Qbz1nKb+
    6CADntBzYkQp1MW1P5R9SJNBlvKI0sCJkp7HIkvnadNBv+/WVHyRSoMJLr8oKXWR
    MlLWIs7l1kolBkVSW7tTKp3NkQIwltScmO0W29D1F6JPsUWDYn zdYbHJ9qdW7gHU
    kBJ0EZPtrzTHxCyee9gsu3LYvzZkxa1YgGfK45hSkOAyZ8YifQ Qkiy909g5ObZKg
    aX3R60fvfUiR/sclzM0d6QDRiq1xYDLz5PXjCPr3KUcy5Ies9ZabspaFQOybGi6 x
    ObUskS8X6v+q+BirIkgB3T197GGSec8Txc+p5HSqRI9AWUFU+B D9+vUu1ThpVF3H
    cRmEQdbRfF2ohwOYkxfjCjBMZlCwlfwx7E+UdBJzJuFiaZVRzq Kmr1jsbC0YSMaS
    b8DkV2u8qr7iW5Uqd5jO
    =DLGp
    -----END PGP SIGNATURE-----

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •