1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

novell login script

Discussion in 'Networking' started by Toddles18, Aug 7, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. Toddles18

    Toddles18 Thread Starter

    Joined:
    Jul 18, 2001
    Messages:
    2,910
    Trying to write a script that maps a drive if they are a member of a group. The group is not in the container that they are in. This is what I have


    If Member of "evscalendar.Diet.st_marys" then begin
    Map M:=SAG1HIS2\NUTR\calendar:
    end


    I thought if I put the full path name in there it would map, but it doesn't work. How can I make this work.
     
  2. Rikku

    Rikku

    Joined:
    Dec 11, 2001
    Messages:
    743
    Hey Toddles,

    maybe you want to try using the fully qualified format of:

    If Member of ".cn=evscalendar.ou=Diet.o=st_marys" then begin

    (assuming evscalendar is the groupname, Diet is the context (organizational unit), and st_marys is the Organization)

    Sometimes Netware is wierd like that! :D
     
  3. Squashman

    Squashman Trusted Advisor

    Joined:
    Apr 4, 2003
    Messages:
    19,783
    Not sure why you are using the begin. We just us IF, THEN, END. I believe you are missing a period at the beginning of you context. This is how we do it.

    ; IERECP mapping
    IF MEMBER OF ".GRP_IERECP.man.gb.rms.mcl" THEN
    MAP ROOT D:=GBMAN/DOS:DATA/IECEPT
    END
     
  4. Toddles18

    Toddles18 Thread Starter

    Joined:
    Jul 18, 2001
    Messages:
    2,910
    final solution


    IF MEMBER OF ".cn=evscalendar.ou=Diet.o=st_marys" THEN
    Map M:=SAG1HIS2\NUTR\calendar:
    END


    That worked, thanks for your help :)
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/153303

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice