Solved

Webmin Webpage Does not display after initiating an OpenLDAP installation

Posted on 2011-09-02
9
512 Views
Last Modified: 2013-11-15
Folks, I have a Ubuntu Server 10.04 LTS installed. It is currently a file server but I have decided I would now like to centralise my users and passwords as my windows 7 client PCs are incresing and the local users and passwords are now becoming a chore. I am following this guide https://help.ubuntu.com/10.04/serverguide/C/openldap-server.html.
I have ran the first command sudo apt-get install slapd ldap-utils and all seemed to go perfect but after a reboot I can login via putty but no longer through the web browser via webmin. I get a message to the effect of "the server rejected the connection"... Any ideas Gurus ?

Regards
John
0
Comment
Question by:mrmad1966
  • 5
  • 4
9 Comments
 
LVL 3

Expert Comment

by:dbauermann
ID: 36476832
Maybe you need configure the webmin to load user authenticathion from ldap database.

More details: http://marc.info/?l=webmin-l&m=117433053615367
0
 
LVL 1

Author Comment

by:mrmad1966
ID: 36479757
That article implies that they still can access there user min webpage. I cannot....
0
 
LVL 3

Expert Comment

by:dbauermann
ID: 36481878
But you can try to edit the file "/etc/pam.d/usermin", no?
0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 1

Author Comment

by:mrmad1966
ID: 36485366
First problem while looking into this is I cannot ssh in using putty using the test user that was setup during the initial openLDAP installation, I do not appear to have a /etc/pam.d/ssh as in the article hyperlink, finally the /etc/pam.d/webmin file only has 4 simple include entries :-(
Still Stuck !
0
 
LVL 3

Expert Comment

by:dbauermann
ID: 36485557
What are the entries in file (/etc/pam.d/webmin)?
0
 
LVL 1

Author Comment

by:mrmad1966
ID: 36485586
Hi
Please see screenshot ! /etc/pam.d/webmin
0
 
LVL 3

Expert Comment

by:dbauermann
ID: 36485704
Strange this file content... I expected something like this:

http://piiis.blogspot.com/2009/05/pamldap-authentication-for-webmin.html
0
 
LVL 1

Accepted Solution

by:
mrmad1966 earned 0 total points
ID: 36487495
Solved... The problem lay in the /etc/webmin/miniserv.conf file. I added the line allow=0.0.0.0 &hey presto, still no idea how it disappeared though !

Thanks for trying to help though !!
0
 
LVL 1

Author Closing Comment

by:mrmad1966
ID: 36518359
Unfortunately, earlier answers did not point to the file in question...Sorry
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question