RE: [PHP-WIN] Re: permissions running dnscmd with exec

From: Date: Tue, 30 Oct 2001 18:21:41 +0000
Subject: RE: [PHP-WIN] Re: permissions running dnscmd with exec
Groups: php.windows 
Request: Send a blank email to php-windows+get-10115@lists.php.net to get a copy of this message
Hmmm.. I don't know. Are you using the php function exec()? I have had some problems with that before when using the ISAPI filter. I had to go to the cgi version to get that to work. I believe the errors I recieved when calling exec() or system() using the php ISAPI filter were permission errors, but that was a long time ago and I don't have the best of memories.. :) -----Original Message----- From: kmahan [mailto:kmahan@ithinc.net] Sent: Tuesday, October 30, 2001 1:03 PM To: php-windows@lists.php.net Subject: Re: [PHP-WIN] Re: permissions running dnscmd with exec I have allowed Iuser to execute dnscmd, so that should handle it, but it doesn't. Just to try your suggestion i added Iuser with full admin privlages for a bit. Still no luck. What else would cuase it to get an access denied. "Robert Mize" <Robert.Mize@COMPAQ.com> wrote in message news:B2C655578E4A00448461E2DFC1288D2507B94B@alfexc11.americas.cpqcorp.ne t... Never setup a Win2k DNS server, but my guess is only local Admin or someone specified in a "DNS Admin" group would be able to execute dnscmd. That might explain why you could do it from a command line. IIS executes php.exe using IUSER_<machine-name>. That acct would probably have to be added to the "DNS Admin" group. I just wonder what kind of hell that would play on any security you would want to maintain. hope that helps. rob. -----Original Message----- From: kmahan [mailto:kmahan@ithinc.net] Sent: Tuesday, October 30, 2001 9:52 AM To: php-windows@lists.php.net Subject: [PHP-WIN] Re: permissions running dnscmd with exec no luck with that one either. "Karen Siefken" <karens@lbmsys.com> wrote in message news:DCEAKGLAIKIMPGFBKNAMMENGCGAA.karens@lbmsys.com... > Try setting IWAM to full control > K > > "Kmahan" <kmahan@ithinc.net> wrote in message > news:<20011029231718.71450.qmail@pb1.pair.com>... > > System: Win2k Advanced server > > > > anyone else having trouble running this with php but no trouble with a > > command line. Also i can get back the command line usage information but > > when i try to make a change it says permission denied. Iuser is set for > full > > control. > > > > post any ideas or similar probs that you may be having. > > > > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net For additional commands, e-mail: php-windows-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.windows (#10115) next »