LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-25-2008, 02:26 AM   #1
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Rep: Reputation: 16
LAM (ldap-account-manager) offers login.php for download


Hi,

I am trying to install lam on my apache2.
phpLDAPadmin is working fine, mod_php is enabled and loaded
and a simple script with "phpinfo();" is executed ok,
but the lam scripts are not being executed, but it offers
me the login.php for download.

What to do here?

Thanks,

Toby
 
Old 09-25-2008, 04:01 AM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have you read the INSTALL doc that comes with lam?
 
Old 09-25-2008, 04:22 AM   #3
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Original Poster
Rep: Reputation: 16
couldn't find one, I installed it from the debian-repository via "apt-get"
 
Old 09-25-2008, 04:26 AM   #4
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
See if these help

Quote:
2. Installation

1. Extract package with:
tar xzf ldap-account-manager-<version>.tar.gz

2a. Copy the files into the html-file scope of the webserver. For example
/apache/htdocs.

Set appropriate file permissions:
- lam/sess: write permission for apache user
- lam/tmp: write permission for apache user
- lam/config (with subdirectories): write permission for apache user
- lam/lib: lamdaemon.pl must be set executable (See also
docs/readme.lamdeamon.txt)

2b. You can also use the included configure script to install LAM. See
"./configure --help" for a list of install options.

3. Configure config.cfg and create a configuration profile.
Copy config.cfg_sample to config.cfg and set the master password and default
profile.

Open the index.html in your web browser:
- Follow the link "Configuration Login" from the start page.
(The default password to edit the options is "lam")
- Select the default lam profile or create a new profile.
- Change the settings to fit your environment.



3. Setting up PHP

LAM runs with PHP5 (>= 5.1).

Needed changes in your php.ini:

* memory_limit = 64M
Code:
drwxr-xr-x  5 apache apache 4.0K Apr  8 21:22 config
-rwxr-xr-x  1 root   root    90K Jan 22  2008 configure
-rw-r--r--  1 root   root    18K Jan 22  2008 COPYING
-rw-r--r--  1 root   root   3.9K Jan 22  2008 copyright
drwxr-xr-x  3 root   root   4.0K Apr  8 19:28 docs
drwxr-xr-x  2 root   root   4.0K Apr  8 19:28 graphics
drwxr-xr-x  2 root   root   4.0K Apr  8 19:28 help
-rw-r--r--  1 root   root    15K Jan 22  2008 HISTORY
-rw-r--r--  1 root   root    355 Jan 22  2008 index.html
-rw-r--r--  1 root   root   1.9K Jan 22  2008 INSTALL
-rw-r--r--  1 root   root      0 Jan 22  2008 install.sh
drwxr-xr-x  5 root   root   4.0K Apr  8 19:28 lib
drwxr-xr-x 15 root   root   4.0K Apr  8 19:28 locale
-rw-r--r--  1 root   root   3.5K Jan 22  2008 Makefile.in
-rw-r--r--  1 root   root   2.9K Jan 22  2008 README
drwxr-xr-x  2 apache apache 4.0K Aug 18 21:20 sess
drwxr-xr-x  2 root   root   4.0K Apr  8 19:28 style
drwxr-xr-x 10 root   root   4.0K Apr  8 19:28 templates
drwxr-xr-x  2 apache apache 4.0K Apr  8 19:28 tmp
-rw-r--r--  1 root   root    394 Jan 22  2008 TODO
-rw-r--r--  1 root   root      6 Jan 22  2008 VERSION
 
Old 09-25-2008, 04:29 AM   #5
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Original Poster
Rep: Reputation: 16
Thanks, but these advices didn't help either...
 
Old 09-25-2008, 04:42 AM   #6
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
What happens if you open the login page directly (ie not via index.html)
 
Old 09-25-2008, 04:44 AM   #7
t0bias
Member
 
Registered: Aug 2005
Distribution: Fedora 13, RHEL 5.3, Ubuntu 10.04, Debian Lenny
Posts: 128

Original Poster
Rep: Reputation: 16
it's all the same..
i moved away the "ldap-account-manager"-config from the apache-directory that came with the deb-package and manually just added the "lam"-alias, now it is working. probably i should report a bug here...

thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
W2K & LDAP Account Manager metallica1973 Linux - Server 0 03-11-2007 05:42 PM
Samba LDAP and LAM metallica1973 Linux - Networking 2 03-10-2007 09:30 AM
LDAP Account Manager metallica1973 Linux - Networking 1 03-10-2007 01:04 AM
LDAP Account Manager (LAM) on Redhat 9 #samba# Linux - Software 2 11-25-2003 10:33 PM
LDAP Account manager, PHP and mcrypt, and so on... HOWTO???? Satriani Linux - Software 2 11-04-2003 06:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration