Home

Results 1 to 7 of 7

Thread: EXIT command in container login script still running user login script

Hybrid View

  1. #1
    JJB NNTP User

    EXIT command in container login script still running user login script

    Hi, running NW65SP7. According to
    http://www.novell.com/documentation/.../hb7jx215.html
    which talks about the NO_DEFAULT command, it mentions there if you use the
    EXIT command in a container login script, that it will prevent the execution
    of all user login scripts, is this true? They don't mention this in the
    EXIT command section in that same manual...

    What I'm doing is actually for NETSTORAGE, I've added:

    IF <WEBACCESS> = "1" THEN
    IF NOT MEMBER OF "NETSTORAGE_USERS" THEN
    EXIT
    END
    END

    to the beginning of my container login script, so that users logging into
    http://ip/netstorage, but that haven't been approved for remote access,
    don't get any drive mappings, so effectively they can't use NetStorage
    unless they're part of the above group. It seems to work, however I've
    noticed if that same user has any mappings in their user login script (which
    is pretty rare but...) that it will still run those.

    Am I misunderstanding the user of the EXIT command, or is this a NetStorage
    quirk and I need to post there?

    If EXIT is the not the right command, then how in a container login script
    can I tell it to NOT run the user login script?

    Thanks
    James



  2. #2
    Craig Wilson NNTP User

    Re: EXIT command in container login script still running user login script

    You are using EXIT correctly, but I wager that One of the Two "IF/THEN" are
    failing.
    For starters, you may want to fully qualify the Group name for reliability.

    --
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Support Forums Volunteer Sysop

    Novell does not officially monitor these forums.

    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

    "JJB" <103REMOVE-THIS267.1555@compuserve.com> wrote in message
    news:9BA4k.1804$5H4.421@kovat.provo.novell.com...
    > Hi, running NW65SP7. According to
    > http://www.novell.com/documentation/.../hb7jx215.html
    > which talks about the NO_DEFAULT command, it mentions there if you use the
    > EXIT command in a container login script, that it will prevent the
    > execution of all user login scripts, is this true? They don't mention
    > this in the EXIT command section in that same manual...
    >
    > What I'm doing is actually for NETSTORAGE, I've added:
    >
    > IF <WEBACCESS> = "1" THEN
    > IF NOT MEMBER OF "NETSTORAGE_USERS" THEN
    > EXIT
    > END
    > END
    >
    > to the beginning of my container login script, so that users logging into
    > http://ip/netstorage, but that haven't been approved for remote access,
    > don't get any drive mappings, so effectively they can't use NetStorage
    > unless they're part of the above group. It seems to work, however I've
    > noticed if that same user has any mappings in their user login script
    > (which is pretty rare but...) that it will still run those.
    >
    > Am I misunderstanding the user of the EXIT command, or is this a
    > NetStorage quirk and I need to post there?
    >
    > If EXIT is the not the right command, then how in a container login script
    > can I tell it to NOT run the user login script?
    >
    > Thanks
    > James
    >




  3. #3
    JJB NNTP User

    Re: EXIT command in container login script still running user login script

    Hi Craig, the thing is that it does exit the container login script, that is
    it doesn't execute any of the MAP commands that follow it in the container
    login script, so it must be running the IF/THEN and group name properly?
    However it still runs the user login script MAP commands...??

    Cheers
    James

    "Craig Wilson" <craig_d_wilson@yahoo.com> wrote in message
    news:k7G4k.1881$5H4.894@kovat.provo.novell.com...
    > You are using EXIT correctly, but I wager that One of the Two "IF/THEN"
    > are failing.
    > For starters, you may want to fully qualify the Group name for
    > reliability.
    >
    > --
    > Craig Wilson - MCNE, MCSE, CCNA
    > Novell Support Forums Volunteer Sysop
    >
    > Novell does not officially monitor these forums.
    >
    > Suggestions/Opinions/Statements made by me are solely my own.
    > These thoughts may not be shared by either Novell or any rational human.
    >
    > "JJB" <103REMOVE-THIS267.1555@compuserve.com> wrote in message
    > news:9BA4k.1804$5H4.421@kovat.provo.novell.com...
    >> Hi, running NW65SP7. According to
    >> http://www.novell.com/documentation/.../hb7jx215.html
    >> which talks about the NO_DEFAULT command, it mentions there if you use
    >> the EXIT command in a container login script, that it will prevent the
    >> execution of all user login scripts, is this true? They don't mention
    >> this in the EXIT command section in that same manual...
    >>
    >> What I'm doing is actually for NETSTORAGE, I've added:
    >>
    >> IF <WEBACCESS> = "1" THEN
    >> IF NOT MEMBER OF "NETSTORAGE_USERS" THEN
    >> EXIT
    >> END
    >> END
    >>
    >> to the beginning of my container login script, so that users logging into
    >> http://ip/netstorage, but that haven't been approved for remote access,
    >> don't get any drive mappings, so effectively they can't use NetStorage
    >> unless they're part of the above group. It seems to work, however I've
    >> noticed if that same user has any mappings in their user login script
    >> (which is pretty rare but...) that it will still run those.
    >>
    >> Am I misunderstanding the user of the EXIT command, or is this a
    >> NetStorage quirk and I need to post there?
    >>
    >> If EXIT is the not the right command, then how in a container login
    >> script can I tell it to NOT run the user login script?
    >>
    >> Thanks
    >> James
    >>

    >
    >




  4. #4
    Craig Wilson NNTP User

    Re: EXIT command in container login script still running user login script

    I don't know.
    I've always had the "Exit" command in my Login scripts because I detest
    troubleshooting "User Logon" scripts and never had them run.

    Perhaps check to make sure the Client is up to date.
    Not a very useful suggestion I know, but that is all that I have.

    As a test, could you may call at "DOS SET" command right before the EXIT
    command.
    If this gets set, it would help confirm you are getting where u think you
    are getting inside the IF THEN tests.

    --
    Craig Wilson - MCNE, MCSE, CCNA
    Novell Support Forums Volunteer Sysop

    Novell does not officially monitor these forums.

    Suggestions/Opinions/Statements made by me are solely my own.
    These thoughts may not be shared by either Novell or any rational human.

    "JJB" <103REMOVE-THIS267.1555@compuserve.com> wrote in message
    news:iOz5k.2462$5H4.1298@kovat.provo.novell.com...
    > Hi Craig, the thing is that it does exit the container login script, that
    > is it doesn't execute any of the MAP commands that follow it in the
    > container login script, so it must be running the IF/THEN and group name
    > properly? However it still runs the user login script MAP commands...??
    >
    > Cheers
    > James
    >
    > "Craig Wilson" <craig_d_wilson@yahoo.com> wrote in message
    > news:k7G4k.1881$5H4.894@kovat.provo.novell.com...
    >> You are using EXIT correctly, but I wager that One of the Two "IF/THEN"
    >> are failing.
    >> For starters, you may want to fully qualify the Group name for
    >> reliability.
    >>
    >> --
    >> Craig Wilson - MCNE, MCSE, CCNA
    >> Novell Support Forums Volunteer Sysop
    >>
    >> Novell does not officially monitor these forums.
    >>
    >> Suggestions/Opinions/Statements made by me are solely my own.
    >> These thoughts may not be shared by either Novell or any rational human.
    >>
    >> "JJB" <103REMOVE-THIS267.1555@compuserve.com> wrote in message
    >> news:9BA4k.1804$5H4.421@kovat.provo.novell.com...
    >>> Hi, running NW65SP7. According to
    >>> http://www.novell.com/documentation/.../hb7jx215.html
    >>> which talks about the NO_DEFAULT command, it mentions there if you use
    >>> the EXIT command in a container login script, that it will prevent the
    >>> execution of all user login scripts, is this true? They don't mention
    >>> this in the EXIT command section in that same manual...
    >>>
    >>> What I'm doing is actually for NETSTORAGE, I've added:
    >>>
    >>> IF <WEBACCESS> = "1" THEN
    >>> IF NOT MEMBER OF "NETSTORAGE_USERS" THEN
    >>> EXIT
    >>> END
    >>> END
    >>>
    >>> to the beginning of my container login script, so that users logging
    >>> into http://ip/netstorage, but that haven't been approved for remote
    >>> access, don't get any drive mappings, so effectively they can't use
    >>> NetStorage unless they're part of the above group. It seems to work,
    >>> however I've noticed if that same user has any mappings in their user
    >>> login script (which is pretty rare but...) that it will still run those.
    >>>
    >>> Am I misunderstanding the user of the EXIT command, or is this a
    >>> NetStorage quirk and I need to post there?
    >>>
    >>> If EXIT is the not the right command, then how in a container login
    >>> script can I tell it to NOT run the user login script?
    >>>
    >>> Thanks
    >>> James
    >>>

    >>
    >>

    >
    >




  5. #5
    JJB NNTP User

    Re: EXIT command in container login script still running user login script

    Hi Craig, I tested with a regular Windows XP PRO running Novell Client 4.91
    SP4 for Windows, and indeed the EXIT command caused it to not process
    anything further in the container login script, and it also skipped the user
    login script (the 2 MAP commands found there didn't run) - so I had no
    network drives mapped....

    The problem must then be with how NetStorage interprets the login scripts,
    it skips the container login script, but not the user one... I'll test
    further and if need be report it to the bug page.

    It'd be better if they simply had a control in NetStorage to say which users
    can login with it and which ones can't, it's odd to believe that Novell
    would set it up so that a temporary employee given a code for a week to use
    a computer within the office can (if they know where it is) login to their
    files from the outside and download whatever they want outside of the visual
    security that exists in the office. I realize there's other security for
    this, but it seems an obvious security hole. I'll probably post this to the
    enhancement page too...

    Cheers
    James

    "Craig Wilson" <craig_d_wilson@yahoo.com> wrote in message
    news:xsA5k.2475$5H4.413@kovat.provo.novell.com...
    >I don't know.
    > I've always had the "Exit" command in my Login scripts because I detest
    > troubleshooting "User Logon" scripts and never had them run.
    >
    > Perhaps check to make sure the Client is up to date.
    > Not a very useful suggestion I know, but that is all that I have.
    >
    > As a test, could you may call at "DOS SET" command right before the EXIT
    > command.
    > If this gets set, it would help confirm you are getting where u think you
    > are getting inside the IF THEN tests.
    >
    > --
    > Craig Wilson - MCNE, MCSE, CCNA
    > Novell Support Forums Volunteer Sysop
    >
    > Novell does not officially monitor these forums.
    >
    > Suggestions/Opinions/Statements made by me are solely my own.
    > These thoughts may not be shared by either Novell or any rational human.
    >
    > "JJB" <103REMOVE-THIS267.1555@compuserve.com> wrote in message
    > news:iOz5k.2462$5H4.1298@kovat.provo.novell.com...
    >> Hi Craig, the thing is that it does exit the container login script, that
    >> is it doesn't execute any of the MAP commands that follow it in the
    >> container login script, so it must be running the IF/THEN and group name
    >> properly? However it still runs the user login script MAP commands...??
    >>
    >> Cheers
    >> James
    >>
    >> "Craig Wilson" <craig_d_wilson@yahoo.com> wrote in message
    >> news:k7G4k.1881$5H4.894@kovat.provo.novell.com...
    >>> You are using EXIT correctly, but I wager that One of the Two "IF/THEN"
    >>> are failing.
    >>> For starters, you may want to fully qualify the Group name for
    >>> reliability.
    >>>
    >>> --
    >>> Craig Wilson - MCNE, MCSE, CCNA
    >>> Novell Support Forums Volunteer Sysop
    >>>
    >>> Novell does not officially monitor these forums.
    >>>
    >>> Suggestions/Opinions/Statements made by me are solely my own.
    >>> These thoughts may not be shared by either Novell or any rational human.
    >>>
    >>> "JJB" <103REMOVE-THIS267.1555@compuserve.com> wrote in message
    >>> news:9BA4k.1804$5H4.421@kovat.provo.novell.com...
    >>>> Hi, running NW65SP7. According to
    >>>> http://www.novell.com/documentation/.../hb7jx215.html
    >>>> which talks about the NO_DEFAULT command, it mentions there if you use
    >>>> the EXIT command in a container login script, that it will prevent the
    >>>> execution of all user login scripts, is this true? They don't mention
    >>>> this in the EXIT command section in that same manual...
    >>>>
    >>>> What I'm doing is actually for NETSTORAGE, I've added:
    >>>>
    >>>> IF <WEBACCESS> = "1" THEN
    >>>> IF NOT MEMBER OF "NETSTORAGE_USERS" THEN
    >>>> EXIT
    >>>> END
    >>>> END
    >>>>
    >>>> to the beginning of my container login script, so that users logging
    >>>> into http://ip/netstorage, but that haven't been approved for remote
    >>>> access, don't get any drive mappings, so effectively they can't use
    >>>> NetStorage unless they're part of the above group. It seems to work,
    >>>> however I've noticed if that same user has any mappings in their user
    >>>> login script (which is pretty rare but...) that it will still run
    >>>> those.
    >>>>
    >>>> Am I misunderstanding the user of the EXIT command, or is this a
    >>>> NetStorage quirk and I need to post there?
    >>>>
    >>>> If EXIT is the not the right command, then how in a container login
    >>>> script can I tell it to NOT run the user login script?
    >>>>
    >>>> Thanks
    >>>> James
    >>>>
    >>>
    >>>

    >>
    >>

    >
    >




  6. #6
    ataubman's Avatar
    ataubman is offline Micro Focus Employee - Ultra Contributor
    Join Date
    Sep 2007
    Location
    Sydney, Australia
    Posts
    3,124

    Re: EXIT command in container login script still running user loginscript

    On 14/06/08 JJB wrote:
    > Hi, running NW65SP7. According to
    > http://www.novell.com/documentation/.../hb7jx215.html
    >
    > which talks about the NO_DEFAULT command, it mentions there if you
    > use the EXIT command in a container login script, that it will prevent the
    > execution of all user login scripts, is this true?


    Without testing it, no, I don't believe that is true.
    --
    Andrew C Taubman
    Novell Support Forums Volunteer SysOp
    http://forums.novell.com/
    (Sorry, support is not provided via e-mail)

    Opinions expressed above are not
    necessarily those of Novell Inc.

  7. #7
    JJB NNTP User

    Re: EXIT command in container login script still running user login script

    I tested with a regular Windows XP PRO running Novell Client 4.91 SP4 for
    Windows, and indeed the EXIT command caused it to not process anything
    further in the container login script, and it also skipped the user login
    script (the 2 MAP commands found there didn't run) - so I had no network
    drives mapped....

    See my other reply to Craig for more info.

    Cheers

    "Andrew C Taubman" <ataubman@no-mx.forums.novell.com> wrote in message
    news:mpY5k.2913$5H4.1679@kovat.provo.novell.com...
    > On 14/06/08 JJB wrote:
    >> Hi, running NW65SP7. According to
    >> http://www.novell.com/documentation/.../hb7jx215.html
    >>
    >> which talks about the NO_DEFAULT command, it mentions there if you
    >> use the EXIT command in a container login script, that it will prevent
    >> the
    >> execution of all user login scripts, is this true?

    >
    > Without testing it, no, I don't believe that is true.
    > --
    > Andrew C Taubman
    > Novell Support Forums Volunteer SysOp
    > http://forums.novell.com/
    > (Sorry, support is not provided via e-mail)
    >
    > Opinions expressed above are not
    > necessarily those of Novell Inc.




Posting Permissions

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