Home
Mambo/SMF with LDAP not working
  Welcome, Guest. Please login or register.
December 01, 2008, 04:23:14 PM
Home New Posts Search Calendar


Login with username, password and session length
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Mambo/SMF with LDAP not working « previous next »
Pages: [1] Go Down Print
Author Topic: Mambo/SMF with LDAP not working  (Read 2752 times)
Alex Jasper
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Mambo/SMF with LDAP not working
« on: May 12, 2005, 11:17:18 AM »

There is another thread that kinda hits on this, but it went nowhere so I thought I would start fresh. Also I noticed that he was having sync problems which I am not.

Specs:
Apache 2.0.53
PHP 4.3.1
My SQL 4.1
Mambo 4.5.2
SMF 1.0.3

Install of SMF/Mambo Component was successful, install of SMF package was successful. Checklist in Mambo/SMF config was successful. I replicated all current users, which is less than 30 at this point.

My Mambo site is being used as an Extranet and all users except the Super Administrator are registered in the Mambo database via LDAP.

When I login with the only Mambo generated account (Super Administrator) the wrapped or unwrapped forum translates the user data perfectly and I am then logged into SMF.

If I login with any LDAP user, I can successfully login to Mambo, but when I go to the Forum I am shown as a guest that is not logged in.

I checked the Members list in SMF and all members usernames/email addresses/Full Names have come over. My guess is that since the LDAP password is never really written to the Mambo database it is not transfered to the SMF database. To test this I statically reset my SMF password to what my LDAP password is. I then logged in and went to the Forum and everything worked great. Unfortunetly this site once live will play host to over 500 LDAP users of which I cannot statically set their passwords in SMF.

If I look at the Mambo DB and select the password field to the app. LDAP user I see that the the users password is set to "@ldap" which means that the user upon authenticating will always check against the LDAP server. If I do the same for the SMF database I see that all my transferred LDAP users have passwords of "mambohacks.com" which I assume is the temporary password you spoke of. The only problem is they never seem to get updated.

Another thing I noticed was the user that I statically set in SMF sync'd back to the Mambo User DB and overwrote the "@ldap" with its encrypted version of my password. This changed that user from an LDAP user to a registered Mambo user, and if I ever shanged my LDAP password I would no longer be able to authenticate to Mambo via LDAP.

I hope this is enough information. I would really love to use SMF instead of SimpleBoard. Any help would be great.
Logged
Mang
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 5


View Profile
Re: Mambo/SMF with LDAP not working
« Reply #1 on: May 12, 2005, 04:38:10 PM »

Same EXACT scenario here...

Specs:
Windows 2000 Server
PHP 4.3.3
My SQL 4.1
Mambo 4.5.2 using LDAP to authenitcate against  Active Directory
SMF 1.0.3
Logged
cowboy
Administrator
Hero Member
*****

Karma: +30/-0
Offline Offline

Posts: 663



View Profile WWW
Re: Mambo/SMF with LDAP not working
« Reply #2 on: May 12, 2005, 05:52:04 PM »

I have to look further on this type of configuration. Right now, I just have no way to test it with LDAP. But, a solution can be implemented on the future versions.
Logged
Alex Jasper
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 2


View Profile
Re: Mambo/SMF with LDAP not working
« Reply #3 on: May 17, 2005, 10:21:07 AM »

Thank you for your time. I do not think it would need a completely new build but rather a few if statments.

I am not very literate with PHP so I really need help but it would be something like this.

If Password = "@LDAP"

Use Athentication source in Mambo

Else

Use Default Authentication Source

This way when SMF saw that the password was equal to @LDAP it would check with the LDAP server to make sure that the users password was current.

If this is something you could help me with it would be very much appreciated. I am using the Simple Board Component and it is not nearly as good a forum as SMF. This site goes live very soon and I dread the data migration if I convert in the future.

Thank you again for all your help.
Logged
Pages: [1] Go Up Print 
Forum  |  MamboHacks.com  |  Mambo-SMF Forum 1.3.0 Support  |  Topic: Mambo/SMF with LDAP not working « previous next »
Jump to:  



Login with username, password and session length

Powered by MySQL Powered by PHP Forum | Powered by SMF 1.0.5 & Mambo-SMF.
© 2001-2005, Lewis Media. All Rights Reserved.
Valid XHTML 1.0! Valid CSS!
None of the text or images in this public website may be copied without the expressed written consent of the authors.
Copyright 2005 by MamboHacks.com. Powered by Mambo. All rights reserved.
TERMS OF USE