Ubuntu Servers :: Unable LDAP Support For Ubuntu 10.04 LTS Server Running Apache 2?

Jul 27, 2010

I'm wondering how I can enable LDAP support for my Ubuntu 10.04 LTS server running Apache 2 and PHP 5.3.2? What I'm trying to do is allow users on my existing company's LDAP system to login to my Elgg site automatically (and possibly have their details filled automatically).

View 1 Replies


ADVERTISEMENT

Server :: Apache Authentication: Allow LDAP Group OR User Named Guest But Not All LDAP Users?

May 25, 2011

I am using RackMonkey to map out my lab. Unfortunately, due to RM limitations, every user who accesses the site has write access UNLESS they are logged in as a user named "guest". I currently have Apache allowing only the users (sysadmins) in an LDAP group access to RM, but I would like to allow read-only access for other users as well.I found mod_authn_anon, but I am having trouble combining the two authentication methods. I am using Apache 2.2.18 (compiled myself) on SLES 11.1.

This is the common part:

Code:

AuthType Basic
AuthBasicProvider ldap anon
Order allow,deny
Allow from all

This part by itself works for the LDAP authentication:

Code:

AuthName "System Admins"
AuthLDAPURL "ldaps://example.com/ou=ldap,o=example.com?mail" SSL
Require ldap-group cn=SysAdmins,ou=memberlist,ou=groups,o=example.com

This part works by itself for guest access:

Code:

Anonymous guest
Anonymous_VerifyEmail Off
Anonymous_MustGiveEmail Off
Anonymous_LogEmail on
Require valid-user

But if I have both of the previous blocks enabled at once, then guest access does not work. If I throw in a "Satisfy any", then I am not prompted for a username at all. How can I allow access to this LDAP group and to a user named "guest", but not allow all valid LDAP users to log in?

View 1 Replies View Related

Networking :: Unable To Access Web Server From Computer Running Apache

Aug 2, 2010

I am a newbie to linux of 4 weeks. I set up my first web server and it works flawlessly - when accessed from external network or from other computers on my lan. However, I cannot access it from the computer where the server is run on. I have found numerous people with similar problems but the flavour I am experiencing is somewhat different and no solutions I have found apply to it.I have two network interfaces on my server, eth0 (public static IP connected to internet) and eth1 connected to LAN 192.168.1.0/24 range. The server is 192.168.1.1

I added "192.168.1.1 www.server.com" to the /etc/hosts on the server and also on the other machines on the LAN. All the other machines can open website without any problem.

HOwever, the server itself only opens website if the address is localhost. Internal IP, i.e. 192.168.1.1. gets a time out and so does www.server.com.I do not understand why the record in etc/hosts doesn't point it in the right direction. It seems that when I open address 192.168.1.1 it still gets routed to the external network. I have seen using DNAT to deal with the problem but it didn't work in my case (maybe I didn't do it correctly). I have spent whole evening/night trying to sort it out, it's 4AM now, going to bed frustrated and angry (at myself hahaha). Still like linux very much, won't be going to windows anymore. Please help

View 14 Replies View Related

Ubuntu Servers :: How To Apache Tomcat LDAP Authentication?

Jul 18, 2010

I have tomcat installed with port forwarding to http port 80. I configure ldap authentication for apache2(/var/www). But I could not configure tomcat for ldap authentication.

View 1 Replies View Related

Server :: Use Git Auth By Ldap And Apache 2.2 On CentOS 5.5?

Dec 28, 2010

operating system: CentOS 5.5 git version:1.7.3.4 ldap server:OpenLdap Http server:Apache 2.2 the software above have been installed. How to config /etc/httpd/conf.d/gitweb.conf file to let git authed by ldap?

View 2 Replies View Related

General :: Phpldapadmin Classes Of Objects From XML Doesn't Support By LDAP Server

May 1, 2010

I have installed phpldapadmin 1.2.0.5 Using commands in shell I have added two users and some groups into a base (ldif-file) and I see them in phpldapadmin. But when I try to add users or groups by using graphical interface (phpldapadmin) I can't do this correctly because I can't to select a type of new entry and I see a tip "classes of objects from XML does not support LDAP-server". So I can't to create a new entry by using graphical interface. Here is my slapd.conf

[code]...

View 3 Replies View Related

Ubuntu Servers :: Running R From An Apache?

Dec 9, 2010

I'm looking to run some R scripts on a mysql database (engine =csv) from the apache webserver.

The goal is to record some statistics/numbers while someone is logged in, pass those numbers to r, run some statistics algorithms on the passed set of data and output an image file back to the logged-in user's html web page.

Doing this along with knowledge on how to call general r functions from within a php framework would be great.

View 1 Replies View Related

Ubuntu :: How Apache Server Ready For SSL Support

Dec 8, 2010

I have already install Apache2+php and work well.Now I want to make that server ready for SSL support. please explain in detail how I install ssl( what changes I should make in the httpd.conf and any other configuration files to make) the server ready for SSL. I goggle many time and every things talk about enabling ssl-mod but I can't enable it ( sudo a2enmod ssl give error ) also I try to compile openssl-0.9.7e.tar.gz but it also give error I install apache from source but i didn't add ssl mod with it so now what ? please help me

View 9 Replies View Related

Ubuntu Servers :: Get Svn Over Apache Running On Maverick?

Jan 7, 2011

I'm attempting to get svn over apache running on maverick server. Here is my site config

Code:
<VirtualHost *:80>
ServerName common.subversion.xxx.xxx
ServerAdmin xxxxxxx
DocumentRoot /var/www/SVN
AddExternalAuth pwauth /usr/sbin/pwauth
SetExternalAuthMethod pwauth pipe

[Code]...

While the redhat posts indicated selinux, when I checked it with sestatus (after first installing sestatus), it came back disabled. So what is locking down the /var/www directory?

View 1 Replies View Related

Server :: How To Build Apache 2.2 Without DSO Support

Feb 17, 2011

As in the title how can I do it? The configure option --enable-so seems default.

View 4 Replies View Related

Ubuntu Servers :: Apache Processes Listed But Httpd Not Running?

Dec 5, 2010

I have written this script to monitor Apache2:

Code:
#!/bin/bash
#count lines that show apache2 but not the fgrep itself
let i=`ps aux | fgrep apache2 | fgrep -v grep | wc -l`
if [ "$i" -gt 0 ]
then
#log something

[Code]...

It has all been working fine until recently when Apache is becoming unresponsive. I manually ran ps to check and there were 3 processes. However when I ran apache2ctl graceful I got the message 'httpd not running, trying to start' Is there a better way to check if a daemon is up?

View 4 Replies View Related

Ubuntu Servers :: Running Apache And Etherpad Lite On Port 80?

Sep 1, 2011

I'm running both Apache on my site and Etherpad Lite, both on different domains. However, running them both on port 80 causes a conflict. I tried to use a reverse proxy in Apache (this is the configuration -- I'm not sure if I did it right), but it doesn't seem to do anything.

View 1 Replies View Related

Ubuntu Servers :: TLS With Ldap On 10.04 LTS Server Not Working?

May 23, 2011

I have been stuck with this for quite some time now. I have installed ldap and configured it as per instructions fromI am able to query the ldap server without forcing the TLS operation to be successful.But with ldapsearch -d -1 -x -h servername -ZZ -b dc=example,dc=eduI get the error

TLS: peer cert untrusted or revoked (0x42)
TLS: can't connect: (unknown error code).
ldap_err2string

[code]....

View 1 Replies View Related

Ubuntu Servers :: Monitor Remote - Check If Apache Is Running And If Its Not Send Out A Mail

May 11, 2011

im looking for a program that lets me monitor server remote a check if apache is running and if its not send out a mail pretty much something like the Big Brother projeckt was before they went comercial i found a few projekts but most havent been updated for years anyone got a clue on any active projekt that does this?

View 1 Replies View Related

Server :: Openldap Client Fails To Connect Ldap Server 'ldap_bind - Can't Contact LDAP Server

Sep 28, 2010

Just installed openldap server on a VM CentOS called 'ldapsrv', it works fine, ldapsearch returns all ldap information.

Installed openldap client on another VM CentOS called 'ldapclient1', configured it with most basic configuration, no ssl/tls etc. but ldapsearch returns error:

ldapsrv is pingable:

Some outputs:

PHP Code:

PHP Code:

View 20 Replies View Related

Ubuntu Servers :: LDAP - Cannot Get The Replication Server Operating Correctly

Jun 7, 2010

I have successfully installed Openldap and am able to authenticate to it, but I can not get the replication server operating correctly. I have followed all of the steps in doing so from this guide, [URL], but there are a few things i don't understand. when creating the consumer_sync.ldif file on the consumer server it says to replace ldap01.example.com to your server's hostname.

would this be the provider or consumer? My porvider is ldap@tech.local and my consumer is ldap-backup@tech.local.... so what one are they refurring to with the ldap01? And is there a way to push, or sync the two server manually? How do I know if they are backing up properly? How do I test?

View 1 Replies View Related

Ubuntu Servers :: Making A Samba Server With LDAP Authentication?

Oct 24, 2010

Making a Samba Server with LDAP authentication. Will post as I go along. Found these sources, anything/hiccups I should know before jumping in? Figure would follow the official documentation then check the others for comparative errors.

https://help.ubuntu.com/10.04/server...ap-server.html
https://help.ubuntu.com/10.04/server...amba-ldap.html
http://tuxnetworks.blogspot.com/2010...cid-short.html

Also Do other computers that want access to server also need samba installed (or just client)?

The server is 10.04 and my proposed client is 10.10, does this create problems?

Do I need to use ACL? I see them only in certain places.

Using xfce after Ubuntu install, not sure if this matters.

View 9 Replies View Related

Ubuntu Servers :: Server 10.04 As LDAP Client Of Active Directory?

Nov 19, 2010

(This was posted at the end of another thread, where it probably didn't belong, so reposting here)I have Active Directory set up on one machine (and I can't really adjust the settings very much) and Ubuntu Server 10.04, which I would like to use as a client.I followed the directions at https://help.ubuntu.com/community/LD...Authentication, but when I get to

Code:
getent passwd
I don't see anything from the LDAP, and ssh'ing into the box from an LDAP/AD username certainly doesn't work.

In addition, I've attempted to use Webmin's LDAP Configuration module to configure it. I can connect to the server and can browse it with the LDAP browser with my settings, but the Webmin package doesn't recognize the users (which are organized in one of four Organizational Units (OUs) within the OU that I have as my Search Base) as users,

View 1 Replies View Related

Ubuntu Servers :: Ubuntu 7.10 LDAP / Unable To Log In To The System After Reboot?

May 13, 2010

So I'm doing some tests to see if I can create a LDAP server + Domain controler with Samba on Ubuntu 7.10. It might seem weird to use such an old release but I've seen a few guides on that particular version and I thought I'd give it a tr using this guide

url

So far I'm good until I modify the pam.d and nsswitch with auth-client, after reboot I'm unable to log in to the system and I'm forced to go into safe mode and restore the backups of those files.

What should I be looking for to prevent this from happening? I'm assuming that it's essential to modify these files in order to enable the LDAP authentication on the server.

View 1 Replies View Related

CentOS 5 :: Unable To Start Ldap Server?

Jun 10, 2009

using centos 5.2

unbale to start ldap server.

see below info

[root@system ~]# yum install openldap
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* base:

[Code]....

View 5 Replies View Related

OpenSUSE Network :: Setup A LDAP Server Using The Yast-LDAP Server Configuration Tool

May 31, 2010

we have a weird problem with our opensuse 11.2 server installation.

We want to set up a LDAP Server using the Yast-LDAP Server configuriation tool.

This indeed already worked weeks ago until....this week.
Maybe some updates??!

I do not know what happend exactly. The server just does not want to start again and throws following error:

Starting ldap-serverstartproc: exit status of parent of /usr/lib/openldap/slapd: 1 failed

This happend after a little check of the configuration, but without a change, with Yast. Google delivered only "reinstall your box"-answers.

So.. i did that. And now the "mystical" part: The SAME ERROR occurs with a fresh vanilla system with a brand new and simple configuration (certificats, database, pw...the first Yast config dialog...). I did not change the way i set it up.

I remember, when i did this the first time with 11.2 on that machine, when no problems occured...everything was running out of the box (except the "use commen server certificate" option...).

View 4 Replies View Related

Ubuntu :: Web Server Not Working - Running Apache And Mysql

Apr 16, 2010

i have apache and mysql running, i can access my web server by visiting localhost on port 80 but for some reason when it doesnt work when i try using my ISP provided IP address... (it used to work).. i have my router setup with a DMZ on my LAN IP (my computers IP, this is the computer in my home network that serving with apache).. i also cant seem to shut down my mysql server (theres an update ive been trying to get) even when i use sudo...

View 5 Replies View Related

Ubuntu Security :: Need Daemon Running Apache Server?

Apr 5, 2011

I'm trying to modify an existing user so that any files they create can be at least read (although writing and execution would be nice) by any other user. The reason is because I need the daemon running my Apache server to be able to access files created by a daemon running under this user, files which will be created and accessed in real-time.

View 3 Replies View Related

Server :: Apache Segfaults After Months Of Running On Ubuntu?

May 13, 2011

OS: Ubuntu Server x64 10.04 Apache: 2.2.14-5ubuntu8.4 I have a virtual server which has been running for months with no problems then one day I saw that it crashed and I had to power cycle it. Since then I have been unable to start Apache as it segfaults no matter options I give it. Before I try to reinstall Apache, why is this segfaulting?

Code:
execve("/usr/sbin/apache2", ["/usr/sbin/apache2"], [/* 21 vars */]) = 0
brk(0) = 0x7f9f48f8d000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f9f47e0d000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Apache Virtual Host Unable To Connect

Jan 18, 2011

I've set up a server running Ubuntu 10.10 (desktop) with apache. Problem is: When I try to configure multiple virtual hosts I can only access the first one. I'm sure that I'm missing something basic in my setup, but I cannot seem to figure out what.

What I want is simply two virtual hosts, one only available on the LAN where I can test my php files and one "live" available from the outside.

Heres what I've done:

Installed Apache2.2
Copy /etc/apache2/sites-available/default -> /etc/apache2/sites-available/dev
Modified "dev" config DocumentRoot and Document to point to /var/www/dev
Modified "dev" config VirtualHost to <VirtualHost *:1337> (port change right?)
Modified "default" config DocumentRoot and Document to point to /var/www/live

[Code].....

Live works fine, but dev cannot connect (as if there is no server there).

View 2 Replies View Related

Programming :: Apache Mod_write/proxy - Bunch Of Web Servers Running On My Internal Network

Jan 26, 2011

Suppose I have a bunch of web servers running on my internal network:

And I have a dyndns account, I was wondering:

How can I do this?

View 2 Replies View Related

Server :: Unable To Use Centos 5.X SAMBA PDC With LDAP Backend

Jun 9, 2011

I've tried to followed exactly the steps in:

[URL]

on how to setup Samba PDC w/ LDAP backend. I've reach far up to page two of the tutorial. However I'm stucked in the middle of the part of page two:

[URL]

in the part of the Start the LDAP Samba installation up and I should type the :

#useradd user1
#smbldap-useradd -a -G 'Domain Users' -m -s /bin/bash -d /home/user2 -F "" -P user1

I get this error:

Error looking for next uid in sambaDomainName=sambaDomain,dc=DOMAINNAME:No such object at /usr/lob/perl5/vendor_perl/5.8.8/smbldap_tools.pm line 1194.why does this appear, Is there any configurations missing?

View 1 Replies View Related

Networking :: When Called From Cgi Script/apache User: "ldap_bind: Can't Contact LDAP Server (-1)"

Apr 28, 2010

Here are the specs of my machine: Linux matrix 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux Red Hat Enterprise Linux Server release 5.2 (Tikanga)

When I run an ldapsearch in root, it works fine. tcpdump filtered by dest IP shows packets captured.

When I run an ldapsearch in a perl script as root, it works fine. tcpdump filtered by dest IP shows packets captured.

However, when I run it via a perl script in my cgi-bin directory it fails. tcpdump shows no packets captured. When I added a "2>&1" to my ldap search in my cgi script, I got "ldap_bind: Can't contact LDAP server (-1)".

I ran a "whoami" in my cgi script and it showed up as apache.

Another twist to all this is that I ran the same test on my slackware box, and everything works (esp the cgi script). Here's what the specs are on that machine:

Linux slackvm 2.6.29.6-smp #2 SMP Mon Aug 17 00:52:54 CDT 2009 i686 Intel(R) Core(TM)2 Duo CPU P8400 @ 2.26GHz GenuineIntel GNU/Linux

I checked the permissions on the ldapsearch file and directory, and they're the same (755).

Could there be something blocking the apache user on my Red Hat box from sending packets out?

View 2 Replies View Related

Server :: Adding More Users In LDAP Servers And Clients?

Mar 18, 2011

I installed and configured LDAP server and client on RHEL5 successfully. Problem is that when I add more than one user on server and clients, It shows error 'invalid user'.When I run the command:-#chown -R user:users /home/user, It shows error 'invalid user'. by step for adding and modifying more users in ldap servers.

View 1 Replies View Related

Ubuntu Servers :: Cannot Setup LDAP Via Server Guide / Hangs When Issuing 'ldapmodify' Command

Oct 4, 2010

I have been trying to set up an LDAP server for a development environment as part of an internship for a week now, and I cannot get past this point. I have been following the 10.04 server guide to set up LDAP here: URL...Once I get to the following point in the guide, it just hangs:"As an example of modifying the cn=config tree, add another attribute to the index list using ldapmodify:"I've been working on this for a week and can't understand why this won't work. I am fairly certain that I've followed the guide to a 'T.'Any idea why am I receiving a permission denied error? Is this a permissions issue with one of the config files?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved