Server :: LDAP Resources / Tips / Tricks For Small Vhost Setup

Apr 14, 2010

I have looked around a while for the answer, but nothing really fits. Here is the scenario. I have one server and a few openvz VE's running. I want to be able to auth whatever possible with LDAP. I have an LDAP server setup on the host and auth works for the server users. The tricky part for me is that every VE has their own domain. and if I can do that, they will also have the same login for their VE on said domain. I can setup users and the required software on the hosts and guest, but I guess I am confused at how to manage the multiple domain part of things.

not sure if proftp can do 'name based' stuff like apache, but if it can, we can point ftp.clientdomain.foo to the main server and handle it that way.

View 1 Replies


ADVERTISEMENT

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 Servers :: Small Server Setup Possible?

Jan 5, 2010

i got an old server with a 64mb flash-disk in.this seems to be the boot-disk.would it be possible to get ubuntu server on this?there is also an ide-disk in.in my opinion it should be good to boot of the flash disk and put the /home or /srv on the ide disk.someone any ideas about this?

View 9 Replies View Related

Ubuntu :: Setup A Small Office Server?

Jun 7, 2010

I am about to set up a small office server. I want to know if it is possible to use ubuntu for file and printer sharing on a network with 9 winXP computers and three printers. The printers are all USB Compatible. There are seven winXP pro computers and two XP home.

Would it be possible to use CUPS and SAMBA for this configuration?

View 3 Replies View Related

Ubuntu Servers :: Setup A File Server For A Small Office?

Mar 8, 2010

I am trying to setup a file server for a small office but have hit a couple of hurdles, is there a step by step guide how to setup a network for windows and mac computers to use it? I had setup a share etc but once I restarted the server all the files disappeared which I had in the home folder? Also when I setup users how can I use passwords that I select as everytime I set one it encrypts it and uses that instead of my one?

View 2 Replies View Related

Software :: Apache2 Multiple SSL Vhost In Different Vhost Files, Does Not Work

Sep 24, 2010

I have two sites (actually more) configured in apache2. All sites have their own vhost file, which I enable or disable with a2enmod or a2dismod.

This works fine.

I have configured some SSL sites inside the vhost files, where I have created two different certificates. One for each site.

BUT, if I enable example2.com, it will always load the certificate from webmail.example1.com when i go to the ssl site webmail.example2.com, nomather what (because it comes first in the alphabet maybe) ?.

If I then uncomment the SSL site for example1.com if will work fine with webmail.example2.com, but of course then the site for webmail.example1.com is not working since it is uncommented.

So for some reason, it "falls back" to this site webmail.example1.com everytime, which I have absolutely no idea why it does this. All the other vhost running on port 80 configurations, works fine, but just not the SSL (port 443 ones).

Example1.com:

Code:
<VirtualHost *:80>
DocumentRoot /home/example1com/wwwroot/
ServerName www.example1.com:80
ServerAlias example1.com:80

[Code].....

View 2 Replies View Related

Server :: Davmail - Thunderbird - GAL - LDAP Setup

May 4, 2011

I am using thunderbird and evolution on my computer at work using IMAP and have been trying to configure both of the clients to access the global address book from the companies exchange 5.5 mail server.

I read this but cannot get any results when I search for a name.

[url]

How can I obtain the information that I need from the Exchange 5.5 server to setup my GAL on thunderbird or evolution.

What can I run to get this information?

View 3 Replies View Related

CentOS 5 Server :: Setup LDAP And Samba?

Apr 22, 2009

I would like to setup LDAP (openldap) with Samba. I would like to know what should I setup first? Should I setup LDAP before Samba or Samba before LDAP?

View 1 Replies View Related

Server :: CentOS Ldap Server Setup

Jul 11, 2011

I am currently involved in setting up an openldap server on a CentOS platform. I am having some issues with getting it set up to the point that I can remotely manage the server via phpldapadmin in a web browser. I am running into an issue when starting the slapd daemon.

See the output below to better understand:

View 7 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 :: 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

Server :: How To Setup LDAP Server

Jun 1, 2010

We want to setup openLDAP server and later want to add our existing SAMBA Domain with this LDAP server.

Can someone guide us how to achieve this goal on CentOS 5.4.

Also please suggest any web tool to manage OpenLDAP.

View 3 Replies View Related

Debian :: Tips For First Time Server Project?

Feb 22, 2011

My distribution of choice on my desktop is Arch Linux (I like getting all the new stuff before anyone else) but I am going to be making a home server, and I can't imagine Arch Linux working well for that because I want something stable and reliable. I always admired Debian for not only APT but it's reliability. I thought about using Ubuntu server but I don't like the direction Ubuntu is going, and I like Debian better anyway, so I am firmly set on using Debian for this server.

This server will be more advanced than necessary for a home user. The reason is because it's a learning experience. I want to learn all about DHCP, DNS, and all those other things. I'm already very knowledgeable on SSH and Unison, which will be the primary focus (backing up). So I was hoping I would list the things I decided to do and get some opinions/best practices from you guys.First, I decided on a Dell Inspiron 570. It's dirt cheap (around $280) and it has a gigabit network card. (I'm pretty sure). I need to stay as cheap as possible because money is a HUGE factor for me. I have a budget of under $700 to do all this. (So I may need to get smaller hard drives). Whatever default hard drive it comes with I will add two more hard drives in a RAID1 for /home. Like this:

Disk 1: Root, swap and boot partitions (smaller hard drive)
Disk 2 & 3: Dedicated to /home, on a RAID1 (two 2TB hard drives)

The idea is that once the server is all the way done, I will image Disk 1 with Clonezilla, and if it fails, just restore it. I personally don't feel that having RAID1 for the root partition is necessary when Clonezilla takes 20 minutes to restore a drive, or less. The OS and all configurations in /etc would automatically be backed up in that image.Since I'm using the server primarily for backups (there won't even be a monitor on it when done) /home will be on a RAID1 since that's the most important thing. (I have backups on external hard drives too, one is off-site, so still no worries). Also, the server will handle DNS for the hostnames on my four other computers, and I'm thinking of replacing my router and having my server do that too. Nothing wrong with my router, but it would be fun for me to set this up.

View 2 Replies View Related

Server :: Php Not Working On One Vhost, But Works On All Others?

Dec 18, 2010

I just added a ssl vhost.php files are not running on it, they just get downloaded when I click them. All my non-ssl vhosts were added by the admin software of my hosting company, but I had to manually add the vhost entry for my ssl vhost.Here is the entry I added for my ssl vhost:

Code:
<VirtualHost www.vhost.com:443>
DocumentRoot "/var/www/vhosts/vhost.com/httpsdocs"

[code]....

View 1 Replies View Related

Red Hat :: Configuring Ldap Client / Getting "error Ldap_sasl_bind: Can't Contact LDAP Server?

Mar 13, 2010

i have configured ldapserver on rhel4 for creating address book

following are configuration files on ldap server
/etc/openldap/slapd.conf
include /etc/openldap/schema/core.schema
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema

i am able to import this ldif file into database.also when i perform the ldapsearch on this server with command"ldapsearch �x �W �D �cn=manager, dc=example, dc =com� �b �dc=example, dc=com�" i get correct output.

but when i am trying to search from another client machine, i am getting "error ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)"

also when i configured address book on mozilla on server., it is working fine.but not working on another machine.is any configuration is missing on client machine.both ldap server and client are configured on rhel4es without any firewall or selinux.

View 3 Replies View Related

Server :: Config Ldap Client To Direct Its Authentication To Slave Ldap?

Apr 5, 2010

i have successful secure ldap replication but i could not make ldap client to direct its authentication to slave ldap

here is my config file on ldap client (i am not sure if it is the right place though)

ip : 192.168.1.183 is master ldap
ip : 192.168.1.185 is slave ldap
pico /etc/ldap/ldap.conf
#
# LDAP Defaults
code....

View 11 Replies View Related

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 :: LDAP Configuration Error - Can't Connect To LDAP Server -1

May 31, 2010

I'm trying to set up a Linux server and I am new to this. I have gone through most of the configuration using SAMBA 3.0 and when I populate the ldap directory all I get this error before the password request:

Then when I perform an ldapsearch to see if the directory is populated I get this message:

I'm positive all my .conf files are done right.

View 3 Replies View Related

Programming :: Ubuntu Hardy - Php-ldap - Can't Contact LDAP Server

Nov 28, 2008

I'm checking with a sniffer and there's activity going on between the client and the LDAP server... as a matter of fact, the sniffer shows that the search is producing one ldap item, however, php says it can't contact the ldap server (after it has bound and everything):

The script is working beautifully on another host with debian.

View 7 Replies View Related

Server :: Add A Second Vhost To Once Working Apache Config

Mar 17, 2011

I am trying to add a second vhost to my once working apache config. Now I have things really bollixed up and cannot access anything. I am getting a error 400. The access log shows this:

192.168.0.2 - - [17/Mar/2011:11:24:41 -0400] "GET /" 400 951
192.168.0.2 - - [17/Mar/2011:11:24:41 -0400] "GET /" 400 951 "-" "-"

I have a default (I think) httpd.conf file and put all my config stuff in files in vhosts.d. I have 3 files there:

[Code]...

View 14 Replies View Related

Server :: VHost And Configuring VPS - Importance Of Hostname?

Jan 23, 2010

During a request of a VPS, the provider asks me for a hostname and for the VPS I have requested which will run on a Debian. I entered 'dryaf' as hostname. What I want to do with this VPS is to point a website to its IP. I learn that I can create a vhost and configure VPS to redirect each domain name to its folder using vhost but I didn't learn any importance for hostname I don't think it should be mandatory localhost or has the form domain1.com so during request I just tipped dryaf for the hostname of the VPS. Should the hostname follows a special rule for giving it a name or no?

View 6 Replies View Related

CentOS 5 Server :: Vhost Under Separate UID With Apache?

Aug 23, 2009

I'v multi v-host . need to make each V-Host work under separate user (not apache user).

There is one module/patch call " mpm-itk " . In Debian/Ubuntu every thing is sweet
just do

apt-get install apache2-mpm-prefork libapache2-mod-php5 or aptitude install apache2-mpm-itk

that is all

But in CentOS 5.3 , there is always some difficult different (Why ? I do not know)

Kindly, Look to this solutions : [URL]

Is there possibility to avoid this complications ?

- I need solution without compiling + patching the apache , Is this possible ?

View 1 Replies View Related

Server :: Apache Vhost With Reverse Proxy And Redirection

Jan 6, 2010

Here my setup of Apache :
I have two virtual hosts on separate IP and on both I am using port :80 one is main website domain.name and another webmail.domain.name. And to get full link path I am using index.html with redirection derectives. My question how I can setup each Vhost to he is own redirection directive to set two full link like:
when type webmail.domainname -----> redirect to webmail.domainname/horde/imp/file.php
and www.domainname ------> redirect to www.domainname/csr/
Right now working only one of this Vhosts, just problem to separate them when I type www.domainname -----> apache redirect to webmail.domainname.

index.html
<html>
<head>
<title>WebSite</title>
<meta http-equiv="REFRESH" content="1;url=http://www.domainname/csr/"></HEAD>
<BODY>REDIRECTION</BODY>
</HTML> .....

View 8 Replies View Related

Server :: Virtual LDAP Server And Virtual Mediawiki Host - Can't Login With Users From LDAP

Jun 5, 2011

In the past I found some great help on this forum, so here goes. Bare with me because it's a long story. I'll try to be as complete as possible. I've installed and configured OpenLdap on a virtual machine with ip 192.168.39.134. I've added 2 users via LAM. In the ou WikiUsers and the domain is wiki.local.

I've then created another host with ip 192.168.39.133 with mediawiki installed on it. Then I added the extension LDAPAuthenthication. In the LdapAuthentication file I added this code (only the last paragraph is mine, I added the others to show it's location in the script):

Quote:

$path = array( $IP, "$IP/includes", "$IP/languages" );
set_include_path( implode( PATH_SEPARATOR, $path ) . PATH_SEPARATOR . get_include_path() );

[code]...

I know I'm close because I can't register any new users or accounts on the mediawiki site. Although I could before I added the LDAP service. This is indeed all just to test and get to know how LDAP works. That's why it's all virtual in VMWare. I did not really configure anything on the LDAP, i just installed it and chose a domain (wiki.local).

View 5 Replies View Related

Networking :: Small Business Trixbox Setup With Redundancy ?

Apr 2, 2010

I have been using Trixbox CE for a couple of years and a client has asked me to setup a VOIP system with two phones and a couple of extensions. When he gets hit with a borage of phone calls I need to have the call that are behind the others to go the the next extension. I need redundancy if one Internet connection goes down and have the another kick in or failover. How does one configure Trixbox to failover to the other Internet connection and can someone give me a list of carriers in the Washington D.C area. Can someone point me in the right direction?

View 3 Replies View Related

Ubuntu :: Backup Software For Small Home Office Setup

Jul 25, 2010

I have spent some time testing out different backup solutions for my small home office during the last weeks, but still haven't found anything that have been working out too well yet. We can definitely work with a non-GUI script if that's what it takes, if only the requirements are fulfilled:
- Upload to Amazon S3 Europe. We get unbelievable slow uploading speed to US, so uploading 400+ GB of data will not be happening anytime this year...
- Incremental backups - only changed files shall be uploaded or we will have a big bill from Amazon in the end of each month..
- Files should not be uploaded in one big per-folder archive. This is not efficient at all, since if we change one file in a subfolder, a huge two-digit GB sized file would have to be uploaded during next backup. Not good for economy again, or traffic overhead on our internet connection.

View 1 Replies View Related

Server :: Difference Between /etc/ldap.conf Vs. /etc/ldap/ldap.conf?

Jul 13, 2010

can anyone tell me what is the difference between these two files of LDAP client /etc/ldap.conf and /etc/ldap/ldap.conf and for what purposes these two files gives services. Is it necessary to have these two files at a time ?

I use these files to install LDAP client to authenticate with our LDAP server by creating a symbolic link of /etc/ldap.conf to /etc/ldap/ldap.conf.

View 8 Replies View Related

Server :: Removing Ldap \ Shows Pam_ldap: Missing File "/etc/ldap.conf"?

May 23, 2011

I had a machine that is using ldap, but need to remove it completely.I edited the /etc/nsswitch.conf and removed all references of ldapand renamed /etc/ldap.conf to /etc/ldap.conf.bakI can log in as root, but cannot log in as any user in /etc/passwdIn the /var/log it shows pam_ldap: missing file "/etc/ldap.conf"I am guessing I am missing something else?I never set this machine up for ldap, was here when i got here, so not sure of steps to even put ldap on.

View 2 Replies View Related

Server :: Mysql Is Hogging Server Resources And Sometimes Crash?

Dec 6, 2010

my mysql is hogging my server resources andd sometimes crash it.Is there a way to increase memory it uses?I get this message alot..

Time: Mon Dec 6 08:21:33 2010 -0600
Account: mysql
Resource: Virtual Memory Size

[code]....

View 2 Replies View Related

Ubuntu Servers :: LDAP Setup 10.04 LTS?

May 19, 2010

I've been working though [URL] tutorial trying to get openldap working.

When I get to the point where i'm setting up the client. More specifically when I do ldapaddgroup testgroup I am sent this error

"You must have OpenLDAP client commands installed before running these scripts"

I have installed the ldapscripts package along with all the required ones. Has anyone been through this, I imagine it's some little nuance that I am missing.

View 3 Replies View Related







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