Prev: exception throw from __autoload could not be catchedon php 5.3.1
Next: [PHP-WIN] A way available to test PHP CGI builds.
From: Pierre Joye on 5 Feb 2010 16:30 which webserver do you use? On Fri, Feb 5, 2010 at 10:27 PM, Keith Davis <keithdavis(a)pridedallas.com> wrote: > How is that user specified? > > > > Keith Davis (214) 906-5183 > > -----Original Message----- > From: Pierre Joye [mailto:pierre.php(a)gmail.com] > Sent: Friday, February 05, 2010 3:26 PM > To: Keith Davis > Cc: Robert; php-windows(a)lists.php.net > Subject: Re: [PHP-WIN] What about php 5.3 and printers or > PHP_PRINTER.DLL ? > > On Fri, Feb 5, 2010 at 10:16 PM, Keith Davis > <keithdavis(a)pridedallas.com> wrote: >> I found a post that said to set fastcgi.impersonate = 0 to fix this >> problem. It did. >> >> Can someone clarify what that setting does? > > It allows a server to run php-cgi under a given user. But that should > not affect printer at all, except if the user does not have the > permission to use this printer. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. > > www.pridedallas.com > > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
From: "Keith Davis" on 5 Feb 2010 16:31 IIS 7 on my dev machine, which is what I am testing on. The prod server is IIS 6. Keith Davis (214) 906-5183 -----Original Message----- From: Pierre Joye [mailto:pierre.php(a)gmail.com] Sent: Friday, February 05, 2010 3:30 PM To: Keith Davis Cc: Robert; php-windows(a)lists.php.net Subject: Re: [PHP-WIN] What about php 5.3 and printers or PHP_PRINTER.DLL ? which webserver do you use? On Fri, Feb 5, 2010 at 10:27 PM, Keith Davis <keithdavis(a)pridedallas.com> wrote: > How is that user specified? > > > > Keith Davis (214) 906-5183 > > -----Original Message----- > From: Pierre Joye [mailto:pierre.php(a)gmail.com] > Sent: Friday, February 05, 2010 3:26 PM > To: Keith Davis > Cc: Robert; php-windows(a)lists.php.net > Subject: Re: [PHP-WIN] What about php 5.3 and printers or > PHP_PRINTER.DLL ? > > On Fri, Feb 5, 2010 at 10:16 PM, Keith Davis > <keithdavis(a)pridedallas.com> wrote: >> I found a post that said to set fastcgi.impersonate = 0 to fix this >> problem. It did. >> >> Can someone clarify what that setting does? > > It allows a server to run php-cgi under a given user. But that should > not affect printer at all, except if the user does not have the > permission to use this printer. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. > > www.pridedallas.com > > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
From: Ruslan Yakushev on 5 Feb 2010 16:38 The PHP docs has information on how impersonation is configured on IIS6: http://www.php.net/manual/en/install.windows.iis6.php and on IIS7 : http://www.php.net/manual/en/install.windows.iis7.php . Look for the section called "Impersonation and File System Access". > -----Original Message----- > From: Keith Davis [mailto:keithdavis(a)pridedallas.com] > Sent: Friday, February 05, 2010 1:32 PM > To: Pierre Joye > Cc: Robert; php-windows(a)lists.php.net > Subject: RE: [PHP-WIN] What about php 5.3 and printers or > PHP_PRINTER.DLL ? > > IIS 7 on my dev machine, which is what I am testing on. The prod server > is IIS 6. > > > Keith Davis (214) 906-5183 > > -----Original Message----- > From: Pierre Joye [mailto:pierre.php(a)gmail.com] > Sent: Friday, February 05, 2010 3:30 PM > To: Keith Davis > Cc: Robert; php-windows(a)lists.php.net > Subject: Re: [PHP-WIN] What about php 5.3 and printers or > PHP_PRINTER.DLL ? > > which webserver do you use? > > On Fri, Feb 5, 2010 at 10:27 PM, Keith Davis > <keithdavis(a)pridedallas.com> wrote: > > How is that user specified? > > > > > > > > Keith Davis (214) 906-5183 > > > > -----Original Message----- > > From: Pierre Joye [mailto:pierre.php(a)gmail.com] > > Sent: Friday, February 05, 2010 3:26 PM > > To: Keith Davis > > Cc: Robert; php-windows(a)lists.php.net > > Subject: Re: [PHP-WIN] What about php 5.3 and printers or > > PHP_PRINTER.DLL ? > > > > On Fri, Feb 5, 2010 at 10:16 PM, Keith Davis > > <keithdavis(a)pridedallas.com> wrote: > >> I found a post that said to set fastcgi.impersonate = 0 to fix this > >> problem. It did. > >> > >> Can someone clarify what that setting does? > > > > It allows a server to run php-cgi under a given user. But that should > > not affect printer at all, except if the user does not have the > > permission to use this printer. > > > > Cheers, > > -- > > Pierre > > > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > > > This message (including any attachments) may contain confidential or > otherwise privileged information and is intended only for the > individual(s) to which it is addressed. If you are not the named > addressee you should not disseminate, distribute or copy this e-mail. > Please notify the sender immediately by e-mail if you have received > this > e-mail by mistake and delete this e-mail from your system. E-mail > transmission cannot be guaranteed to be secured or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive > late or incomplete, or contain viruses. The sender therefore does not > accept liability for any errors or omissions in the contents of this > message or that arise as a result of e-mail transmission. If > verification is required please request a hard-copy version from the > sender. > > > > www.pridedallas.com > > > > > > > > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >
From: "Keith Davis" on 5 Feb 2010 16:39 Oh, I get it. Well, that is a problem. We need that enabled. We are writing to files across the network in some cases. So, what's the solution. I know my user account has access to that printer. Keith Davis (214) 906-5183 -----Original Message----- From: Pierre Joye [mailto:pierre.php(a)gmail.com] Sent: Friday, February 05, 2010 3:30 PM To: Keith Davis Cc: Robert; php-windows(a)lists.php.net Subject: Re: [PHP-WIN] What about php 5.3 and printers or PHP_PRINTER.DLL ? which webserver do you use? On Fri, Feb 5, 2010 at 10:27 PM, Keith Davis <keithdavis(a)pridedallas.com> wrote: > How is that user specified? > > > > Keith Davis (214) 906-5183 > > -----Original Message----- > From: Pierre Joye [mailto:pierre.php(a)gmail.com] > Sent: Friday, February 05, 2010 3:26 PM > To: Keith Davis > Cc: Robert; php-windows(a)lists.php.net > Subject: Re: [PHP-WIN] What about php 5.3 and printers or > PHP_PRINTER.DLL ? > > On Fri, Feb 5, 2010 at 10:16 PM, Keith Davis > <keithdavis(a)pridedallas.com> wrote: >> I found a post that said to set fastcgi.impersonate = 0 to fix this >> problem. It did. >> >> Can someone clarify what that setting does? > > It allows a server to run php-cgi under a given user. But that should > not affect printer at all, except if the user does not have the > permission to use this printer. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. > > www.pridedallas.com > > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
From: Venkat Raman Don on 5 Feb 2010 16:42
When you have fastcgi.impersonate set to 1, IIS tries to impersonate the security token of the calling client. This means, for example if an IIS site has 'Anonymous' authentication off and let's say Windows authentication on, 'Windows' authenticated user will be impersonated by PHP main thread and all the files and other system resource will be accessed using the authenticated Windows user security tokens. So if that user/credential doesn't have permission to access a resource it will fail. In your case it seems after fastcgi.imersonate is set, the credential/secutrity token impersonated of the user has credential to access the printer. Hope this helps. Thanks, Don. -----Original Message----- From: Keith Davis [mailto:keithdavis(a)pridedallas.com] Sent: Friday, February 05, 2010 1:32 PM To: Pierre Joye Cc: Robert; php-windows(a)lists.php.net Subject: RE: [PHP-WIN] What about php 5.3 and printers or PHP_PRINTER.DLL ? IIS 7 on my dev machine, which is what I am testing on. The prod server is IIS 6. Keith Davis (214) 906-5183 -----Original Message----- From: Pierre Joye [mailto:pierre.php(a)gmail.com] Sent: Friday, February 05, 2010 3:30 PM To: Keith Davis Cc: Robert; php-windows(a)lists.php.net Subject: Re: [PHP-WIN] What about php 5.3 and printers or PHP_PRINTER.DLL ? which webserver do you use? On Fri, Feb 5, 2010 at 10:27 PM, Keith Davis <keithdavis(a)pridedallas.com> wrote: > How is that user specified? > > > > Keith Davis (214) 906-5183 > > -----Original Message----- > From: Pierre Joye [mailto:pierre.php(a)gmail.com] > Sent: Friday, February 05, 2010 3:26 PM > To: Keith Davis > Cc: Robert; php-windows(a)lists.php.net > Subject: Re: [PHP-WIN] What about php 5.3 and printers or > PHP_PRINTER.DLL ? > > On Fri, Feb 5, 2010 at 10:16 PM, Keith Davis > <keithdavis(a)pridedallas.com> wrote: >> I found a post that said to set fastcgi.impersonate = 0 to fix this >> problem. It did. >> >> Can someone clarify what that setting does? > > It allows a server to run php-cgi under a given user. But that should > not affect printer at all, except if the user does not have the > permission to use this printer. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. > > www.pridedallas.com > > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |