Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am having trouble simply getting into LAM. I am not running any authentication. I just want to simply login and then add security later. I have configured lam.conf with another password and even have tried the default "lam" but to no success. Here is the error in my /var/log/httpd/error_log
PHP Code:
[Thu Mar 08 10:53:56 2007] [error] [client 192.168.3.2] PHP Notice: Undefined index: editmodules in /var/www/html/ldap-account-manager-1.2.0/templates/config/confmain.php on line 83, referer: http://192.168.3.5/ldap-account-manager-1.2.0/templates/config/confmain.php?modulesback=true [Thu Mar 08 10:53:57 2007] [error] [client 192.168.3.2] PHP Notice: Undefined index: submit in /var/www/html/ldap-account-manager-1.2.0/templates/config/conftypes.php on line 70 [Thu Mar 08 10:53:57 2007] [error] [client 192.168.3.2] PHP Notice: Undefined index: abort in /var/www/html/ldap-account-manager-1.2.0/templates/config/conftypes.php on line 114
[global] ldap user suffix = ou=people,dc=fedora,dc=directory,dc=server ldap machine suffix = ou=machines,dc=fedora,dc=directory,dc=server ldap group suffix = ou=group,dc=fedora,dc=directory,dc=server ldap suffix = dc=fedora,dc=directory,dc=server ldap admin dn ="uid=root,dc=fedora,dc=directory,dc=server" encrypt passwords = yes passdb backend = ldapsam:ldap://127.0.0.1 wins support = true ldap delete dn = no ldap passwd sync = yes os level = 50 security = user ldap replication sleep = 1000
under lam.conf
PHP Code:
Admins: cn=Manager,dc=Calexica,dc=com
I think the problem is that I do not have an the account cn=Manager in LDAP and that is the reason that I cannot login as Manager in LAM. Any suggestions?
Last edited by metallica1973; 03-08-2007 at 10:35 AM.
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
* 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
in /etc/samba.smb.conf, you will need to redo your samba password, smbpasswd -w Password. If you already made it then when redo it using the same password.(All of this is in reference to the part about finding out what your domain name and SID number is)
, http://www.opensourcehowto.org/how-t...ba-as-pdc.html
3 - Ultimately log into LAM to test!
Last edited by metallica1973; 03-10-2007 at 09:29 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.