You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Jawad Khalife <jk...@ul.edu.lb> on 2015/07/09 10:07:27 UTC
Problem with win AD 2008
Dear Sir,
I have a problem integrating OM with AD 2008.
Attached are the OM config file and the error log I'm obtaining "Not
Authenticated".
Using the same credentials through ldapsearch command, I'm able to
authenticate.
I appreciate if you can help me with this issue since I'm stuck with it
since one week.
Regards,
Jawad Khalife
Senior Network Security & Systems Engineer
______________________________
Lebanese University
RE: Problem with win AD 2008
Posted by Jawad Khalife <jk...@ul.edu.lb>.
Indeed, just after changing to ldap_auth_type=SEARCHANDBIND, authenticating OM users against Windows AD 2008 worked perfectly.
One more time: THANK YOU!
Regards for all…
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Thursday, July 09, 2015 11:59 AM
To: Openmeetings user-list
Subject: Re: Problem with win AD 2008
One more time:
until you have
ldap_auth_type=SIMPLEBIND
search query is not used
you need to set it to
ldap_auth_type=SEARCHANDBIND
then everything will work
On Thu, Jul 9, 2015 at 2:56 PM, Jawad Khalife <jk...@ul.edu.lb> wrote:
Thanks Mr.Antoine and Mr.Maxim for your replies…
First, I changed the ldap_search_query, however, I’m still obtaining the same error (“Not authenticated”) which probably validates that the search query may not be used in my case…
Second, using ldapsearch, I tested the query format (with %s substituted by userId ‘openmeeting’) but it generates the following error:
------------------------------------------
[root@tra red5306]# ldapsearch -H ldap://dc1.ul.edu.lb:389 -x -D "sAMAccountName=openmeeting,OU=ULusers,DC=ul,DC=edu,DC=lb" -w 'p@ssw0rd'
ldap_bind: Invalid credentials (49)
additional info: 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1
------------------------------------------
However, the ldapsearch works perfectly with "CN=openmeeting,OU=ULusers,DC=ul,DC=edu,DC=lb" instead…
Then, I tested “ldap_userdn_format=sAMAccountName=openmeeting,OU=ULusers,DC=ul,DC=edu,DC=lb” from within the om_ldap.cfg file, still same result.
Moreover, I’m not sure if I should include the domain suffix (@ul.edu.lb) or not when testing authentication, my OM configuration is attached…though both lead to the same result (“Not authenticated”).
Many Thanks for your help…
Regards…
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Thursday, July 09, 2015 11:28 AM
To: Openmeetings user-list
Subject: Re: Problem with win AD 2008
you are using
ldap_auth_type=SIMPLEBIND
in this case search query is not used
are you sure you can login with DN like this: "sAMAccountName=%s,OU=ULusers,DC=ul,DC=edu,DC=lb" (there '%s' need to be substituted with userId/login ?
On Thu, Jul 9, 2015 at 2:07 PM, Jawad Khalife <jk...@ul.edu.lb> wrote:
Dear Sir,
I have a problem integrating OM with AD 2008.
Attached are the OM config file and the error log I’m obtaining “Not Authenticated”.
Using the same credentials through ldapsearch command, I’m able to authenticate.
I appreciate if you can help me with this issue since I’m stuck with it since one week.
Regards,
Jawad Khalife
Senior Network Security & Systems Engineer
______________________________
Lebanese University
--
WBR
Maxim aka solomax
--
WBR
Maxim aka solomax
Re: Problem with win AD 2008
Posted by Maxim Solodovnik <so...@gmail.com>.
One more time:
until you have
ldap_auth_type=SIMPLEBIND
search query is not used
you need to set it to
ldap_auth_type=SEARCHANDBIND
then everything will work
On Thu, Jul 9, 2015 at 2:56 PM, Jawad Khalife <jk...@ul.edu.lb> wrote:
> Thanks Mr.Antoine and Mr.Maxim for your replies…
>
>
>
> First, I changed the ldap_search_query, however, I’m still obtaining the
> same error (“Not authenticated”) which probably validates that the search
> query may not be used in my case…
>
>
>
> Second, using ldapsearch, I tested the query format (with %s substituted
> by userId ‘openmeeting’) but it generates the following error:
>
>
>
> ------------------------------------------
>
> [root@tra red5306]# ldapsearch -H ldap://dc1.ul.edu.lb:389 -x -D
> "sAMAccountName=openmeeting,OU=ULusers,DC=ul,DC=edu,DC=lb" -w 'p@ssw0rd'
>
> ldap_bind: Invalid credentials (49)
>
> additional info: 80090308: LdapErr: DSID-0C0903A9, comment:
> AcceptSecurityContext error, data 52e, v1db1
>
> ------------------------------------------
>
> However, the ldapsearch works perfectly with
> "CN=openmeeting,OU=ULusers,DC=ul,DC=edu,DC=lb" instead…
>
>
>
> Then, I tested “ldap_userdn_format=sAMAccountName=openmeeting,OU=ULusers,DC=ul,DC=edu,DC=lb”
> from within the om_ldap.cfg file, still same result.
>
>
>
> Moreover, I’m not sure if I should include the domain suffix (@ul.edu.lb)
> or not when testing authentication, my OM configuration is attached…though
> both lead to the same result (“Not authenticated”).
>
>
>
> Many Thanks for your help…
>
>
>
> Regards…
>
>
>
> *From:* Maxim Solodovnik [mailto:solomax666@gmail.com]
> *Sent:* Thursday, July 09, 2015 11:28 AM
> *To:* Openmeetings user-list
> *Subject:* Re: Problem with win AD 2008
>
>
>
> you are using
>
> ldap_auth_type=SIMPLEBIND
>
> in this case search query is not used
>
>
>
> are you sure you can login with DN like this:
> "sAMAccountName=%s,OU=ULusers,DC=ul,DC=edu,DC=lb" (there '%s' need to be
> substituted with userId/login ?
>
>
>
> On Thu, Jul 9, 2015 at 2:07 PM, Jawad Khalife <jk...@ul.edu.lb> wrote:
>
> Dear Sir,
>
>
>
> I have a problem integrating OM with AD 2008.
>
>
>
> Attached are the OM config file and the error log I’m obtaining “Not
> Authenticated”.
>
>
>
> Using the same credentials through ldapsearch command, I’m able to
> authenticate.
>
>
>
> I appreciate if you can help me with this issue since I’m stuck with it
> since one week.
>
> Regards,
>
>
>
> *Jawad Khalife*
>
> Senior Network Security & Systems Engineer
>
> *______________________________*
>
> *Lebanese University*
>
>
>
>
>
> --
>
> WBR
> Maxim aka solomax
>
--
WBR
Maxim aka solomax
RE: Problem with win AD 2008
Posted by Jawad Khalife <jk...@ul.edu.lb>.
Thanks Mr.Antoine and Mr.Maxim for your replies…
First, I changed the ldap_search_query, however, I’m still obtaining the same error (“Not authenticated”) which probably validates that the search query may not be used in my case…
Second, using ldapsearch, I tested the query format (with %s substituted by userId ‘openmeeting’) but it generates the following error:
------------------------------------------
[root@tra red5306]# ldapsearch -H ldap://dc1.ul.edu.lb:389 -x -D "sAMAccountName=openmeeting,OU=ULusers,DC=ul,DC=edu,DC=lb" -w 'p@ssw0rd'
ldap_bind: Invalid credentials (49)
additional info: 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1
------------------------------------------
However, the ldapsearch works perfectly with "CN=openmeeting,OU=ULusers,DC=ul,DC=edu,DC=lb" instead…
Then, I tested “ldap_userdn_format=sAMAccountName=openmeeting,OU=ULusers,DC=ul,DC=edu,DC=lb” from within the om_ldap.cfg file, still same result.
Moreover, I’m not sure if I should include the domain suffix (@ul.edu.lb) or not when testing authentication, my OM configuration is attached…though both lead to the same result (“Not authenticated”).
Many Thanks for your help…
Regards…
From: Maxim Solodovnik [mailto:solomax666@gmail.com]
Sent: Thursday, July 09, 2015 11:28 AM
To: Openmeetings user-list
Subject: Re: Problem with win AD 2008
you are using
ldap_auth_type=SIMPLEBIND
in this case search query is not used
are you sure you can login with DN like this: "sAMAccountName=%s,OU=ULusers,DC=ul,DC=edu,DC=lb" (there '%s' need to be substituted with userId/login ?
On Thu, Jul 9, 2015 at 2:07 PM, Jawad Khalife <jk...@ul.edu.lb> wrote:
Dear Sir,
I have a problem integrating OM with AD 2008.
Attached are the OM config file and the error log I’m obtaining “Not Authenticated”.
Using the same credentials through ldapsearch command, I’m able to authenticate.
I appreciate if you can help me with this issue since I’m stuck with it since one week.
Regards,
Jawad Khalife
Senior Network Security & Systems Engineer
______________________________
Lebanese University
--
WBR
Maxim aka solomax
Re: Problem with win AD 2008
Posted by Maxim Solodovnik <so...@gmail.com>.
you are using
ldap_auth_type=SIMPLEBIND
in this case search query is not used
are you sure you can login with DN like this:
"sAMAccountName=%s,OU=ULusers,DC=ul,DC=edu,DC=lb" (there '%s' need to be
substituted with userId/login ?
On Thu, Jul 9, 2015 at 2:07 PM, Jawad Khalife <jk...@ul.edu.lb> wrote:
> Dear Sir,
>
>
>
> I have a problem integrating OM with AD 2008.
>
>
>
> Attached are the OM config file and the error log I’m obtaining “Not
> Authenticated”.
>
>
>
> Using the same credentials through ldapsearch command, I’m able to
> authenticate.
>
>
>
> I appreciate if you can help me with this issue since I’m stuck with it
> since one week.
>
> Regards,
>
>
>
> *Jawad Khalife*
>
> Senior Network Security & Systems Engineer
>
> *______________________________*
>
> *Lebanese University*
>
--
WBR
Maxim aka solomax
Re: Problem with win AD 2008
Posted by Antoine Puissant <pu...@gmail.com>.
Hi !
I had quite the same issue a month ago on an AD 2012.
I think you might have something wrong on your ldap_search_query in
om_ldap_cfg.txt.
In my conf file, this line looks like this :
ldap_search_query=(&(objectCategory=person)(userPrincipalName=%s))
Maybe you should give it a try.
Hope this will help.
Antoine
2015-07-09 10:07 GMT+02:00 Jawad Khalife <jk...@ul.edu.lb>:
> Dear Sir,
>
>
>
> I have a problem integrating OM with AD 2008.
>
>
>
> Attached are the OM config file and the error log I’m obtaining “Not
> Authenticated”.
>
>
>
> Using the same credentials through ldapsearch command, I’m able to
> authenticate.
>
>
>
> I appreciate if you can help me with this issue since I’m stuck with it
> since one week.
>
> Regards,
>
>
>
> *Jawad Khalife*
>
> Senior Network Security & Systems Engineer
>
> *______________________________*
>
> *Lebanese University*
>