Re: PHP LDAP Question




mike wrote:

Hi, I'm new to Google Groups, so sorry if this is a not so good place
to pos tthis, but...

I'm trying to make it so I can automate adding of a user to my Active
Directory Server, using PHP of course, but I'm having some problems...
I found a few scripts for this, but I have the same problem with all of
them...
I get a LDAP Error Code 10 (Referrals) when the Script tries to add the
user. I am somewhat limited in my knowledge of LDAP, and I can't find
any information on how to fix this, so I'm asking...
well, anyways, a link to the script is:
Http://216.161.7.14/php/ldap/pct.php if you need to see the code,
http://216.161.7.14/php/ldap/pct.htm
thanks in advance for any and all help...

and if you want to say that I have no idea what I'm doing, I wont argue
with you...

An issue could be that you need a domain admin account to run queries
on ldap, you should check what user php is running as and then try and
alter its privileges in AD and see if that makes any difference.
Probably not.. but worth the 2mins of trying it.

Flamer.

.



Relevant Pages

  • error connecting to Active Directory via LDAP from ASP/VBScript pg
    ... script I'm trying to implement to authenticate a user against AD. ... Dim username, password, ldapserver, ldap_path ... ' Get the ldap server name into local variable by replacing the special ... I recently put together a PHP script to connect to AD via LDAP. ...
    (microsoft.public.scripting.vbscript)
  • Re: PHP LDAP Question
    ... Directory Server, using PHP of course, but I'm having some problems... ... I get a LDAP Error Code 10 when the Script tries to add the ...
    (php.general)
  • Re: [PHP] PHP console script vs C/C++/C#
    ... My script is taking a longer time to execute than I want. ... I prefer to write in PHP because that is what I know best. ... This is why I am thinking about rewriting my whole script in a C language. ... Perhaps there are different methods I could be using to speed up execution. ...
    (php.general)
  • Re: How to Add a Feeback Form
    ... I saw nothing in that script that indicates where the form is e-mailed to so ... Greg Maxey/Word MVP ... PHP or not. ... have the support available yet. ...
    (microsoft.public.frontpage.programming)
  • How best to show PHP source? (was: One page, multiple submit buttons)
    ... script to add to the top of a PHP script to enable showing its ... Maybe anybody submitting their own PHP code for critique here ... Anything posted to a newsgroup is a "snapshot" of what the ... there ought to be a FAQ for this ...
    (comp.lang.php)