View previous topic :: View next topic |
Author |
Message |
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Thu Apr 10, 2008 2:02 pm Post subject: LDAP |
|
|
I noticed that you have ldap setup for postfix and egroupware. Would it be possible for you to tell us what the flow is in setting up ldap?
Is that done thru PHPldapAdmin?
any input on how to proceed with setting up ldap, would be appreciated.
thanks |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Thu Apr 10, 2008 2:08 pm Post subject: |
|
|
I tried to login to PHPldapAdmin but it tells me user name and password are incorrect.
I changed root's password so logging with toor or the new root password does not work. I thinking I need to generate something with ldap? |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Thu Apr 10, 2008 5:50 pm Post subject: |
|
|
Ldap password it's written in /et/openldap/slapd.conf
Doesn't have to do with /etc/passwd or /etc/shadow.
What did you changed in ldap config?
Is openldap running?
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Thu Apr 10, 2008 6:10 pm Post subject: |
|
|
thanks for the info.
I am going back to pristine install and play with how you setup ldap before I configure other apps that I want to include.
BTW, while egroupware is working fine at health site, I have walked away from using it. The egroupware development team is talking about forking, so I am evaluating some other solutions. Just thought you might be wondering why I am installing these other apps.
thanks |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Fri Apr 11, 2008 2:40 am Post subject: |
|
|
Okay, I did new install of sms. I downloaded develpkgs and installed. Downloaded kernel-2.6.24.
Rebooted sms. Everything appears to be working. Started ldap (/etc/rc.d/rc.openldap start). But I can not log into PHPldapAdmin.
login:
cn=Manager,dc=sms,dc=org
passwd: toor
says bad user or password.
Waiting in anticipation of your thoughts  |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Fri Apr 11, 2008 6:39 am Post subject: |
|
|
What's the output of
ps aux | grep slapd
You must see a /usr/libexec/slapd
Try to change the password in slapd.conf
make password with 'slappasswd'
rootpw 'output of slappasswd'
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Fri Apr 11, 2008 2:52 pm Post subject: |
|
|
root@sms:~# ps aux | grep slapd
root 20745 0.0 0.0 2000 632 pts/0 R+ 06:51 0:00 grep slapd
no /usr/libexec/slapd. |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Fri Apr 11, 2008 3:01 pm Post subject: |
|
|
so I tried creating new password but it did not work. As you can see this is a default sms server without any changes, other than installing develpkgs. |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Fri Apr 11, 2008 5:06 pm Post subject: UPDATE |
|
|
I decided to boot livecd and see if I could login to phpLdapadmin and I could! It works.
So, what happens when installed to hd? Is it the sources I downloaded? Anyway, I will keep investigating until you suggest some course of action. |
|
Back to top |
|
gerasimos_h Site Admin
Joined: 09 Aug 2007 Posts: 1757 Location: Greece
|
Posted: Fri Apr 11, 2008 5:19 pm Post subject: |
|
|
baboo wrote: | root@sms:~# ps aux | grep slapd
root 20745 0.0 0.0 2000 632 pts/0 R+ 06:51 0:00 grep slapd
no /usr/libexec/slapd. |
That means openldap is not running...
try to delete the pid at /var/lib/run/slapd.pid
or
/etc/rc.d/rc.openldap stop
/etc/rc.d/rc.openldap start
that's an issue with live install, as sms-text-installer doesn't delete the pid, cause it's on /var/lib/run and not /var/run/
gerasimos_h _________________ Superb! Mini Server Project Manager
http://sms.it-ccs.com |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Fri Apr 11, 2008 5:36 pm Post subject: |
|
|
excellent! I am in middle of new install but will try that. Makes sense.
thanks |
|
Back to top |
|
baboo Senior Member
Joined: 04 Sep 2007 Posts: 676
|
Posted: Fri Apr 11, 2008 6:28 pm Post subject: |
|
|
finished new install. Removing slapd.pid worked! Now I can log into phpLdapadmin.
Now on to other discoveries which will drive you insane
thanks for the help - another reason I LOVE sms. |
|
Back to top |
|
|