Hi
Sounds like a permission problem. You don't mention which HTTP server
you're using, but I know with Apache (and likely so with IIS also) PHP
can't run with 'Everyone' permissions as that is not the same as 'Anyone
at all'. If memory serves, Everyone is authenticated users + anonymous
users +
> But now, does anyone now how to retrieve the username and password that
> the user uses to logon to their PC so as to now authenticate for the
> application against Active Directory?
You got me interested, so I checked it again and there is an apache
module that lets you authenticate against AD
Well the password will be encrypted I'd think in AD, are you sure you want to
retrieve the password, or just authenticate the login? The code I sent should
do that just fine, not sure about with the LDAP library you're using.
Matt
From: [EMAIL PROTECTED] [m
The easiest way I've found, if you just want to verify their username &
password, you can do this:
$ds=ldap_connect("ldap://yourdc.yourdomain.com";);
// Fix for Windows 2003 AD
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3);
ldap_set_option($ds, LDAP_OPT_REFERRALS, 0);
if ($ds) {
[EMAIL PR
On 2/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> Does anyone know or got an idea of how to access the user accounts of
> Active Directory using PHP?
You can use adLDAP:
http://adldap.sourceforge.net/
..."adLDAP is a PHP class that provides LDAP authentication with
Active Dire
February 11, 2005 1:51 AM
.To: Jason Beaver; php-windows@lists.php.net
.Subject: Re: [PHP-WIN] system() on Windows 2003
.
.You shoud type system('cmd /c 'copy /b prnfile lpt4:', $result);
.in order to work.
..I have a script that calls:
.. system('c
You shoud type system('cmd /c 'copy /b prnfile lpt4:', $result);
in order to work.
.I have a script that calls:
. system('copy /b prnfile lpt4:', $result);
.or:
. system('type prnfile > lpt4', $result);
.the result is '1' and it doesn't send it to lpt4.
.I have tried:
.
OK it's not so important now, I've rewritten the C program to take the input
as an argument and handle all the file opening.
system("parser filename.xyz");
now works fine.
If anyone knows why
system("parser filename.xyz");
doesn't work though I'd be interested to hear. anyone?
Ross
-Orig
> > system("e:\\tmp\file.bat")
> > but it gives me "Access is denied
try please:
> > system("e:\\tmp\\file.bat")
furthermore:
if you call the script from the server way..
"http://localhost/executeme.php";
you have to either
1. Login to the machine as a user with "execute" Permission
on th
I'm afraid you can't reach files on network mapped disks. They're impossible
to reach also with commands like fopen and similars, so probably you cannot
use system() or exec() and so on.
I'm wrong?
Alessio.
"jong jong" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL
Running jobs from the command line usally uses another userid, with different rights
than when run fram the web server.
the web server normaly installs an uses IUSER_ to execute scripts.
Further more a mapping made from a command line will not be available to other users
on the same maschine.
alain samoun wrote:
>
> Hey! if you start talking german here, I will start talking french ;)
I think I will loose this game. (:-)
Sorry that I took the wrong language.
--
Markus Wagner
email: [EMAIL PROTECTED]
Hobby: 747 Jumbo-Jet, Pontiac
--
PHP Windows Mailing List (http://www.php.net/)
Hey! if you start talking german here, I will start talking french ;)
Alain
Message from Alain Samoun
[EMAIL PROTECTED]
-Original Message-
From: Oliver Charlet [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 24, 2001 1:15 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-WIN] system
Hi,
wir haben das gleiche Problem und sind damit soweit:
läuft nur unter Windows/PHP4/DLL nicht.
Als CGI läuft es (wir sind dabei, das CGI als Work Around parallel zur DLL
zu betreiben)
Falls Dir da was besseres einfällt, lass es uns wissen.
Olli
p.m.: Dieser BUG ist eine absolute Frechheit!
14 matches
Mail list logo