I have been tasked to create a web-based account creation tool for one of our customers. I have been provided w/ a Win2k box with an IBM HTTPServer version of Apache and ActiveState Perl installed. My question pertains to user authentication. The CGI script will need to run external commands (Tivoli CLI - for the curious) to create the user account. The external commands require appropriate permissions themselves to be executed, based on who the command is being run as. I need to be able to do the following:
  1. Authenticate the user as being a valid user in the NT domain
  2. Run all subsquent commands as that authenticated user
I've looked around the monastery and found information on setuid, suidperl, etc., but that these won't work properly on a NT box. Does anyone have experience along these lines? Any help or guidance would be appreciated.

In reply to NT Authentication - CGI as valid NT domain account by emilford

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.