41
Jyotirmaya
Re: Fatal error in forums - Cbb2.2/Xoops2.2
  • 2005/9/13 7:43

  • Jyotirmaya

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/2/10


Dean,

I think the diappearance of icons is down to permissions in the CBB administration. Make sure you have given yourself permission to add poll, add topic and reply. (check the drop-down list top left of the pernmissions screen.

Getting back to the original problem I logged - I couldn't get any support from anyone, it seems the CBB support is pretty poor right now judging by the number of people that have posted on this topic and received no reply. If CBB is to really to be the continuation of XOOPS main bulletin board, I hope that the support can get better.

What I ended up doing was installing the module from scratch with no data - this at least seemed to work fine.
Then I created the categories and forums from my old forum manually. I imported the topics and text using SQL and then had to do sum patchwork manually matching up category anf forum numbers. Luckily my forum was not too large at this stage - I don't recommend doing this if you have a large forum as it is a lot of fiddly work. It seems the categories and forums tables didn't like the upgrade.
"You are never alone or helpless, the force that guides the stars guides you too"



42
Jyotirmaya
Re: xyp4all map button
  • 2005/9/12 15:51

  • Jyotirmaya

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/2/10


lines 37-46 of templates/xyp_link.html

Quote:
<td>
<form name=mapForm2 action="http://us.rd.yahoo.com/maps/home/submit_a/*-http://maps.yahoo.com/maps" target="_new" method=get>
<input type="hidden" name="addr" value="<{$link.address}>">
<input type="hidden" name="csz" value="<{$link.city}>, <{$link.state}> <{$link.zip}>">
<input type="hidden" name="country" value="us">
<input type=hidden name=srchtype value=a>
<input type=submit name="getmap" value="Map">
</form>
</a>
</td>

I am going to try to make this work with http://www.multimap.com will let you know if I have any joy
"You are never alone or helpless, the force that guides the stars guides you too"



43
Jyotirmaya
Re: Fatal error in forums - Cbb2.2/Xoops2.2
  • 2005/9/8 12:02

  • Jyotirmaya

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/2/10


Fred,
did you update the newbb module in the module admin?
"You are never alone or helpless, the force that guides the stars guides you too"



44
Jyotirmaya
Fatal error in forums - Cbb2.2/Xoops2.2

I have just upgraded from XOOPS 2.0.13 to 2.2 and have also upgraded from Newbb (last release) to CBB 2.2

Whenever I try to access a forum I get the following error message:
Quote:


Fatal error: Call to a member function getVar() on a non-object in /opt/lampp/htdocs/teamshare/modules/newbb/include/functions.php on line 685
Notice [PHP]: Undefined offset: 4 in file modules/newbb/include/functions.php line 685

I am running apache and PHP5

I uninstalled CBB and then reinstalled it again with no data and it seemed to work fine. But as soon as I put my old data files into MySQL - bingo, same problem.

Line 685 says:
Quote:
<option value='-1'>".$categories[$key]->getVar('cat_title')."</option>";
Is this something with the category titles? I re-editted all the cat titles, the database seemed to take any mods I made, but the problum is still recurring.
"You are never alone or helpless, the force that guides the stars guides you too"



45
Jyotirmaya
Re: Ldap authentication Against AD

With the current set up for LDAP authentication, I see the major use as only allowing those people to register whose accounts are allready on your LDAP server.

I think if we can get authentication to check just password in LDAP this will add a lot more flexibility. Also, for setups like mine where I run several XOOPS portals for my organisation, it would help to keep all the passwords in one secure place.
"You are never alone or helpless, the force that guides the stars guides you too"



46
Jyotirmaya
Re: Ldap authentication Against AD

Thanks for the info, I managed to get the authentication
working by doing the following:
1) DN of the LDAP manager : admin@domain.org (instead
of cn=,DN=,DN=) - not sure why, but this was consistent with the way my other web applications authenticate against my AD.
2) I had to set the password of the XOOPS user as exactly
the same as the password on the LDAP server.

Some questions:
When I change my password in my Active directory (users must change this every 2 months for security), the password in XOOPS is not automatically changed and I can then no longer log in to xoops. Is the password now being checked in both XOOPS and LDAP? If so, how can I keep the passwords synchronised.

Are the passwords sent between XOOPS and LDAP in encrypted form or clear text?
"You are never alone or helpless, the force that guides the stars guides you too"



47
Jyotirmaya
Re: Ldap authentication Against AD

reply from Pierre-Eric, module author:
Quote:

For the moment I'm not satisfy by this hack and I plann to make upgrade.

For your AD authentication, you need to select uid as DN to NO.Your XOOPS uid need to be exist in the LDAP Directory in the Users entry.
- uid as DN to NO
- Base DN : DC=domain,DC=org
- UID Field Name : Name of the attribute use to make authentication.
This attribute need to be the same as the XOOPS username (XOOPS login name)

- UID as DN : NO
- DN of the LDAP manager : cn=admin,DC=domain,DC=org
- Password of the LDAP manager : <your pass>

For the moment it's the solution that might works. In the future I plann to make a specific AD auth driver.
"You are never alone or helpless, the force that guides the stars guides you too"



48
Jyotirmaya
Ldap authentication Against AD

I hope you can help me out in trying to get XOOPS to authenticate to a W2K3 Active Directory.
So far I am only getting these PHP errors

Notice [PHP]: Undefined variable: userDN in file class/auth/auth_ldap.php line 105 or
or
Warning [PHP]: ldap_bind() [function.ldap-bind]: Unable to bind to server: Invalid credentials in file class/auth/auth_ldap.php line 91

Basically I am trying to authenticate to my AD where dn's look like this:-

DN: CN=common name,OU=London Site Users,DC=domain,DC=org

Problem 1) CN's have a space in them and XOOPS does not allow login names with spaces

Problem 2) We have users in several different OU's which appear at the top level of the domain. This means I cannot specify my base DN as OU=London Site users, DC=Domain,DC=org, since this will exclude other OU's. I also do not want users to have to login with their CN as well as their OU (tedious!)

I use other PHP (PHPldapadmin) tools on my webserver to bind
to and search the AD using LDAP. I would always have to use a username something like common.name@domain.org in order to
bind successfully, this was along with a base DN of
DC=domain,DC=org.

Please can you help me to sort out the authentication if it is at all possible.
"You are never alone or helpless, the force that guides the stars guides you too"



49
Jyotirmaya
Re: TERRIBLE LDAP problem! Please help!
  • 2005/9/6 12:03

  • Jyotirmaya

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/2/10


ok - found it, it was in xoops_config, just phpmyadmin was only returning 30 rows.
"You are never alone or helpless, the force that guides the stars guides you too"



50
Jyotirmaya
Re: TERRIBLE LDAP problem! Please help!
  • 2005/9/6 11:59

  • Jyotirmaya

  • Not too shy to talk

  • Posts: 105

  • Since: 2005/2/10


I have the same problem...
which tables did yu modify to turn off the ldap logins - I can't find an ldap-config table anywhere.

Been trying to authenticate against AD, but no joy with whatever I try.
"You are never alone or helpless, the force that guides the stars guides you too"




TopTop
« 1 2 3 4 (5) 6 7 8 »