Re: TR: Authentification with Active Directory

Victor Boctor <[email protected]>
Newsgroups gmane.comp.bug-tracking.mantis.general
Message-ID <[email protected]>
On Wed, Jul 8, 2009 at 12:42 AM, EZZOUGARI Mostafa <[email protected]>wrote:

>  Hi Victor;
>
>
>
>    1. The version that i use is mantisbt 1.1.8
>    2. this is my first attempt to use LDAP
>    3. the parameters that I have setting in file
>    « config_defaults_inc.php” are:
>
>
>
>
>
> $g_login_method = LDAP;
>
>
>
> $g_ldap_server             = '172.20.1.14';
>
>             $g_ldap_port                = '389';
>
>             $g_ldap_root_dn          = 'DC=baridad,DC=bamnet,DC=ma';
>
>             $g_ldap_organization    = '';    # e.g.
> '(organizationname=*Traffic)'
>
>             $g_ldap_uid_field         = ''; # Use 'sAMAccountName' for
> Active Directory
>
You need to set this $g_ldap_uid_field.  This is what is used in the search
criteria.

>             $g_ldap_bind_dn          = '';
>
>             $g_ldap_bind_passwd  = '';
>
>             $g_use_ldap_email       = ON; # Should we send to the LDAP
> email address or what MySql tells us
>
Search the bug trackers for issues with type LDAP. These contains patches.
You might need to set the LDAP_PROTOCOL_VERSION and LDAP referrer.

>
>
> Regards,
>
> Mostafa
>  ------------------------------
>
> *De :* Victor Boctor [mailto:[email protected]]
> *Envoyé :* mardi 7 juillet 2009 19:21
> *À :* Help with Mantis
> *Objet :* Re: [mantisbt-help] TR: Authentification with Active Directory
>
>
>
> Hi Mostafa,
>
>
>
> On Tue, Jul 7, 2009 at 1:27 AM, EZZOUGARI Mostafa <[email protected]>
> wrote:
>
> I activate authentification with Active Directory in file
> « config_defaults_inc.php” on settings the parameters:
>
>
>
> $g_login_method = LDAP;
>
>
>
> I have encurred the problems:
>
> SYSTEM WARNING: ldap_search(): Search: Bad search filter
>
> SYSTEM WARNING: ldap_get_entries(): supplied argument is not a valid ldap
> result resource
>
> SYSTEM WARNING: ldap_free_result(): supplied argument is not a valid ldap
> result resource
>
> Can someone help me to resolve this problem ?
>
>
>
> 1. What version of MantisBT are you using?  If snapshot, then what date?
>
>
>
> 2. Did you have LDAP running before, or is this your first attempt?
>
>
>
> 3. What are all the LDAP related settings that you are using?
>
>
>
> See http://www.mantisbt.org/bugs/view.php?id=7432 for sample LDAP to
> Active Directory settings.
>
>
>
> Mostafa
>
>   Regards,
>
> Victor
>

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge

_______________________________________________
mantisbt-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mantisbt-help
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.