Samba LDAP and LAM
I have set up everything from LDAP to Samba to LDAP Account Manager but I am having trouble logging in to LAM. I followed the steps exactly from opensourcehowto.org. I can get to the LAM login but I cannot get in no matter what I do. I decided to follow the previous steps to see if I can find out what I did wrong and I think that I located the problem. There is a step that tells me to fill out /etc/samba/smb.conf and then after type
PHP Code:
PHP Code:
|
never mind, I figured it out. I made a typo in slapd.conf and in smb.conf. Under lam.conf
PHP Code:
PHP Code:
[php]rootdn "cn=root,dc=fedora,dc=directory,dc=server" under smb.conf PHP Code:
|
I have finally figured out what had happened! I had a corrupt file under /var/lib/ldap/ so I deleted everything inside of that folder and i recreate my LDAP database.I will walk through the steps that I did to get LDAP, Samba, and LAM to work!
1 - Install LDAP,APACHE,and LAM and all of the module that are needed to work with LDAP Account Manager 1.2.0 http://lam.sourceforge.net/documentation/install.htm * note I had spent months trying to figure out why I could not login into LAM and it ultimately turned out be bad files that was under /var/lib/ldap/ 2 - Start with LDAP and be very careful of any typos in your configurations. I spents hours of not understanding why stuff did not work correctly. I recommend purging the /var/lib/ldap/ directory after the installation of Openldap to start off with a clean slate. I also recommend starting off without security to make it easier to get LDAP,Samba, and LAM going. *note - after creating your PHP Code:
PHP Code:
, http://www.opensourcehowto.org/how-t...ba-as-pdc.html 3 - Ultimately log into LAM to test! kudos to MAT_PAUL and his website |
All times are GMT -5. The time now is 12:18 AM. |