Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Abe Loveless on August 23, 2003, 01:03:14 AM
-
Where can I go to find out how the LDAP system works? As far as I know, my ldap service is running fine... at least the service is.
But, I get the following errors in /var/log/messages when I update the Directory settings from the server-manager.
Aug 22 14:12:54 PE2650 slapd[3899]: conn=4 op=181 MOD dn="uid=blathrop,dc=lth5,dc=k12,dc=il,dc=us"
Aug 22 14:12:54 PE2650 slapd[3899]: conn=4 op=181 RESULT tag=103 err=32 text=
Aug 22 14:12:54 PE2650 e-smith[10233]: failed to modify entry for uid=blathrop,dc=lth5,dc=k12,dc=il,dc=us: No such object at /etc/e-smith/events/ldap-update/S80ldap-update line 153.
Aug 22 14:12:54 PE2650 slapd[5685]: conn=4 op=182 MOD dn="uid=blavite,dc=lth5,dc=k12,dc=il,dc=us"
Aug 22 14:12:54 PE2650 slapd[5685]: conn=4 op=182 RESULT tag=103 err=32 text=
Aug 22 14:12:54 PE2650 e-smith[10233]: failed to modify entry for uid=blavite,dc=lth5,dc=k12,dc=il,dc=us: No such object at /etc/e-smith/events/ldap-update/S80ldap-update line 153.
Aug 22 14:12:54 PE2650 slapd[3899]: conn=4 op=183 MOD dn="uid=blipe,dc=lth5,dc=k12,dc=il,dc=us"
Aug 22 14:12:54 PE2650 slapd[3899]: conn=4 op=183 RESULT tag=103 err=32 text=
Aug 22 14:12:54 PE2650 e-smith[10233]: failed to modify entry for uid=blipe,dc=lth5,dc=k12,dc=il,dc=us: No such object at /etc/e-smith/events/ldap-update/S80ldap-update line 153.
I've looked at S80ldap-update line 153, but all it does is report the output, I think:
$result->code &&
warn "failed to modify entry for $dn: ", $result->error ;
What started this search is that I can't see any of my users in the Local LDAP search of turba (the webmail addressbook).
Any thoughts???
-
Mr. Loveless, the errors and symptoms you describe are similar to a problem I had soon after I changed the domain name of my server. Familiar I hope? I found a solution in bug ID 99 at
http://www.e-smith.org/bugs/index.php3?op=showBug&bugID=99 copied below.
---------------------------------
Problem: The LDAP server is not correctly reconfigured after changing the domain name from the console. This causes failures in webmail and other applications which access the LDAP database.
Workaround: # stop ldap
/etc/rc.d/init.d/ldap stop
# remove old ldap data
rm /home/e-smith/db/ldap/*ldif
rm /var/lib/ldap/*
# rebuild directory from scratch
/etc/e-smith/events/actions/ldap-rebuild
# start ldap
/etc/rc.d/init.d/ldap start
----------------------------------------------
Enjoy your work at
http://www.tech-geeks.org/contrib/loveless/
Good fortune. Love this fine server!
BK
-
BK saves the day again!!
And, unless I'm mistaken, this little problem is going to resolve part of another issue that I've been having with add/delete users.
Thanks for pointing me in the right direction!
-
BK wrote:
>Love this server.
Love this forum! Imagine trying to do such good things without it...
-
Hello LDAP geeks !
I want to authenticate my RH9 client using LDAP authentication, Have anybody tried this before ?! Do you have any experiencies doing this? What info is stored in LDAP (e-smit sheme of course)
Tx,
Andrej
-
andrej wrote:
> I want to authenticate my RH9 client using LDAP
> authentication, Have anybody tried this before ?! Do you have
> any experiencies doing this? What info is stored in LDAP
> (e-smit sheme of course)
Was there anything a search of these phorums (set to go back further then 30 days) didn't answer?
-
To BK
Hi there!
I followed your solution step by step and got
[root@erginsme04 root]# /etc/e-smith/events/actions/ldap-rebuild
slapadd: could not parse entry (line=16)
slapadd exited 256 at /etc/e-smith/events/actions/ldap-rebuild line 114.
What do I do? (I have SME6.0 final)
Best rgds, Ergin
-
Unfortunatelly the rebuild process does not recreate the users, is there anyway for me to do that without having to re-install the server? Even new added users do not become part of the .ldif file.
The only thing writen to the file is the object Organization.
All the files under /var/lib/ldap/ are also created.
My log messages only complain about an issue with IPV6 protocol not linking, but I found it's irrelevant.
I installed the phpldapadmin package and it would be much easier if I could import the information there. But where is it at?
Any other tricks to get this going?
BTW: I started with a hostname and then replaced to the new one, and that's the reason why it broke.
Thanks,
-
I followed your solution step by step and got
[root@erginsme04 root]# /etc/e-smith/events/actions/ldap-rebuild
slapadd: could not parse entry (line=16)
slapadd exited 256 at /etc/e-smith/events/actions/ldap-rebuild line 114.
What do I do? (I have SME6.0 final)
If you have followed the howto, and still have a problem, there is a bug. Please report it to the bug tracker.
-
Hi Charlie!
This was approx 10 months ago, if my memory does not fool me I was going to try use LDAP for several logins (I think Metadot was one of them)...
Anyway, I think there was a bug reported for this, I will check how it looks and drop a few lines to bug tracker.
-
I actually went ahead and created a bug as well, just so you kow!
Regards,
-
Hi all,
i've followed the same steps and encountered the same message. In my case, there was a special character (u-umlaut or trema) used in a name.
Cheers,
Lars