LDAP Related

Jun 28, 2009

Can a domain have two set of users.... let me explain the situation.

mydomain.com has a set of users which have admins etc etc.

can i have sub.mydomain.com with the same set of users, with different admin and restricted access to certain level.

View 5 Replies


ADVERTISEMENT

SAMBA+LDAP Connection

Jun 29, 2009

I'm trying to setup a PDC Login server with SAMBA+LDAP (in separate servers).

How can I test if SAMBA is trying to login properly into the LDAP server?

View 1 Replies View Related

SAMBA/LDAP Integration

Nov 17, 2008

I'm struggling hard to integrate a group of windows boxes to authenticate with a Linux samba/ldap server (with personal mapped drives as well).
I get stuck in this error:

root@LittleCode:/usr/share/smbldap-configure# smbldap-useradd -a -m moquist
Error looking for next uid in cn=NextFreeUnixId,dc=activespace,dc=local:value does not conform to assertion syntax at /usr/share/perl5/smbldap_tools.pm line 1071.
root@LittleCode:/usr/share/smbldap-configure#

View 1 Replies View Related

LDAP - Custom Attributes

Jan 23, 2007

I've been searching for a way to add custom attributes into an LDAP schema. At first I didn't know if it was possible, but I guess it is. What I can't seem to find out now, is how to add them? Do I have to make a custom schema & upload it? How do I go about adding these fields? This all stems from me using other attributes for different functions, ie ( I'm using the employeeNumber field to determine if someone is allowed internet access. What I would like to do is make an attribute called inetAccess and use that instead.)

I'm using OpenLDAP on a Linux OS (SuSE). Anyone have any experience in adding custom attributes, or custom schemas? Or can anyone direct me to where I would find the answers?

View 0 Replies View Related

Apache :: Windows LDAP And SSL

Oct 19, 2012

I have Apache 2.2.17 running on Windows 7. I'm using PHP to query a Windows 2008 LDAP server. Everything works ok until I try to use LDAPS. Many of the resources I can find refer to a ldap.conf file and the certificates being the main problem. I don't have an ldap.conf file anywhere, so I put all of the relevant lines in the httpd.conf.

I'm getting from the 2008 AD server. I haven't found any tutorial that covers it with an implementation in Apache on Windows. Many tutorials cover using LDAP to authenticate to the site, but I need to use it for queries. I used the procedure at URL... to get the certificate installed and exported. But I don't know a way to confirm that it's using the cert I think it is for LDAPS. All LDAPS tests work (LDP.EXE from Windows).

View 19 Replies View Related

Libnss-ldap And Host Resolution

Aug 30, 2007

I end up working on about 5-6 different desktops regularly. I shorthand most of my servers in /etc/hosts so rather than typing www13.domain.com I shorthand it to www13. So rather than try to maintain each of these 5-6 hosts db's (and rather than setting up something more elaborate), I decided to take one of my personal ldap servers, added ou=Hosts,dc=domain,dc=com, and set it up as an ipHost objectclass (with the machine name being the cn, and the IP being ipHostNumber). I then installed libnss-ldap and the ldap client on my machine, editing /etc/ldap.conf by adding the base and uri, /etc/libnss-ldap.conf adding the base, ldap_version, uri, and setting nss_base_hosts to ou=Hosts,dc=domain,dc=com. I then edited /etc/nsswitch.conf and set my hosts: record to include ldap at the end.

When I do getent hosts, the hosts are listed as they should be (ip machinename). However, when I try to ping or resolve any of the machine names, it fails.

getent hosts|grep testldap
24.62.234.23 testldap
ping testldap
ping: unknown host testldap

View 3 Replies View Related

Apache :: LDAP Authentication Module

Mar 22, 2015

I have some questions about the LDAP authentication module.I have a LDAP authentication with this config:

<AuthnProviderAlias ldap ldap-account>
AuthLDAPBindDN "CN=directory search,OU=Service-User,DC=company,DC=ch"
AuthLDAPBindPassword "xxxxx"
AuthLDAPURL "ldap://ldap.company.ch/ou=Users,dc=company,dc=ch?sAMAccountName?sub?(objectClass=*)"
</AuthnProviderAlias>

If a User logs in with username only, all works correct. If a user use the DomainUsername format, the login is rejected with "user not found".Should it not work with both login styles ? Or is there a option to reformat or rewrite the username before authentication without the "Domain part ?

View 1 Replies View Related

Apache :: What LDAP Authentication Mechanism Is Used

Apr 23, 2015

Is this simple authentication or SASL Digest MD5, ..)?

we are able to specify only the 'authbasicprovider ldap' ldap url, bind username and password in the apache httpd configuration file.

Can LDAP SASL (Digest MD5, GSSAPI,…) mechanism be specified in the Apache configuration during authentication?

If so, how to specify the LDAP SASL mechanism?

View 4 Replies View Related

Apache :: LDAP Authentication - Not Linking To Server

Jan 16, 2014

I am running apache currently on my QNAP server, and have enabled webserver and LDAP. We have set up users on LDAP. I have created a landing page for access from the internet. I want to configure Apache to authenticate the users using LDAP before granting access to the landing directory.

I have started this with the apache configuration below: My apache config file -

Code:
LogLevel debug
CustomLog "logs/access_log" combined
ErrorLog "logs/error_log"
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
ServerName MyServer
LDAPTrustedMode NONE
LDAPVerifyServerCert Off

[Code] ....

When I access my page, I get the authentication prompt. But when I enter my LDAP login and password, I get thrown out of the system with the error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, admin@NAS and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Looks like my apache configuration is a problem as I am able access my LDAP and everything with LDAP seems to be working fine except Apache configuration to authenticate against LDAP.

View 1 Replies View Related

Apache :: Directories On Website Need Authentication Against LDAP

Nov 5, 2012

We have a website running on Apache ver 2.2.3.

A couple of directories on the website need authentication against LDAP. The setup has been working for many years and all of a sudden is giving some issues.

The page asks for authentication and once login details are entered, either it throws an error "Page has moved" or "Please refresh your browser or reload the page".

As far as I am aware no configuration has been changed for LDAP or for Apache. The website runs on Windows Server 2003.

I am very much new to Apache and cannot seem to find any errors logged.

View 2 Replies View Related

IP Addresses Related

Sep 25, 2008

1- What means that the site has an IP?, what will differ if the site has an IP?

2- What is the importance of IPs for every site?, I mean now I'm running a shared hosting, Should each site has it's dedicated IP? and is it dangerous to make all clients has same IP?

3- I got 5 IPs with my server, how can I assign a DEDICATED IP for my main site, and then assign the 2nd 2 IPs for my main site Name servers & Finally assign the rest IPs for Resellers?

4- In the domaintools whois Service, Under Server Data category, sometimes I found :
Dedicated Hosting: domain.com is hosted on a dedicated server.

what this means, and how can I make my domain looks like this , cause it's already hosted on a dedicated server.

5- When I asked my Server Co. about extra IPs, they told me:

" for smaller allocations its $1 per ip, we also require full ARIN IP justification." so, what's ARIN IP justification?

View 4 Replies View Related

Apache :: Local Authentication Is Not Working When LDAP Is Offline

Jan 10, 2014

Im having a problem where local authentication will not work when when the configured LDAP server is unavailble. When the ldap server is online I can authenticate fine against ldap and local file. However, when the ldap server is offline, I cannot authenticate with the user1 account. The browser just sits at a blank screen.

Ive searched a lot on this and found many examples, all very similar to my config below, but I still cannot failback authentication to local file when ldap is unavailable. Im running Apache/2.2.10. I have also tested this on 2.2.16 with the same results.

=======.htaccess==========================
AuthName "Server Access"
AuthType Basic
AuthBasicProvider file ldap
AuthUserFile /etc/apache2/htpasswd
AuthzLDAPAuthoritative off
AuthLDAPURL ldap://ldap.domain.com:389/OU=Users,DC=domain,DC=com?sAMAccountName

[Code]...

View 3 Replies View Related

Apache :: Configure And Implement Server With Ssl Using Ldap For Authentication

Apr 28, 2015

I have a class project that we are working on where we have to configure and implement an Apache server with ssl using ldap for authentication. I have documentation of literally everything I have done in the configuration. Everything seems to be fine with the config that I can tell. The client gets a prompt for username and password when they access the server ip address. However, once the correct username and password are entered, then the client receives a 500 internal server error message instead of the webpage: "Internal Server Error...The server encountered an internal error or misconfiguration and was unable to complete your request.

View 1 Replies View Related

Streaming Audio Related

Jun 8, 2009

I'm interested in making a site which would stream video game (RPG) audio to users through flash. I have long searched for a service that I could use to listen to that odd track from final fantasy 8 for example (and not some cheap midi) without going through hundreds of links etc. So I'm thinking of making one myself.

I know there are sites that host mass video game mp3s (gh.ffshrine.org) and also remix and host video game music (ocremix.org) but I don't know if what they are doing is OK by normal hosting standards.

if it is, <snipped>.

View 8 Replies View Related

HDD Setup (not Raid Related)

Apr 23, 2008

I have a question regarding, hard drives and performance etc... I only use it for forums and currently is only one site (hopefully couple more in no time)

Currently I have 2x36gb SAS in raid 1 obviously containing everything including dbs and /home. and a third 250gb drive for backups only ^^ Ronny did an excelent job setting this up.

Any ways, my problem is that I wan't to allow some attachments on my forums, and this would take a significant ammount of space over 1gb no problem and then keep increasing (that's gonna sux for bandwidth). I know it will fit in the SAS drives no problems, dbs are rather small at the time (2.5gb in total) but logs are quite big 5-10gbs in total.

I thought it might be a good idea to purchase another drive. This 4th drive would be 750 and backups would move there , and use the 250 for the /home directory. This would give a lot of room for uploads, and backups accordingly and keep the fast ones for OS and dbs

I was told, however, and understandebly, that a lot of performance would be lost by moving /home to a SATA drive I know SATAS are no way as fast, but then vbulletin can't upload attach files to a folder outside its hirachy (without complicated modifications).
(Note: i didn't specify my resons for wanting such set up)

So I'm in a bit of a pickle. Having the bigger drive would allow me to have the attachments, and should eventually result on more traffic etc to my site. /home currently is only 150mbs big... but then performance is also an issue pitty i couldn't afford the bigger drices at the time [sees the point of renting over buydowns now]

is there a way that /var/log/httpd saves those massive logs on another drive? it would free up 5-10gbs

in shortIs moving /home to a SATA drive from Raid 1 SAS a bad idea? (considering space and purpose)

Could httpd logs or /var/log in general be moved to the backup/another drive?

View 7 Replies View Related

Rsync Backup Related

Apr 16, 2007

Currently I am using rsync to backup directory and mysqldump sql file on both external and internal backup drive

Now the directory has around 100,000 files that hardly change. Only thing that happens in that directory is either the old files are deleted or new files are added. All of them image

Due to some reason when i rsync using any of the two commands below, it transfer each and every file again rather then transferring the new or updated files.

Here is what i am currently using

rsync -avH /old/path /destination/path (this is for internal backup drive)

or

rsync -avz -e ssh /old/path username@username.remoteaddress:/destination/path

why all my files in the directory all uploaded again

View 4 Replies View Related

Session Errors - Php.ini Related

Aug 19, 2007

I have a Cpanel box, in WHM I used the "PHP Configuration Editor" and changed the php execution time (minor change). After clicking save I now get the following error on any php using sessions:

Warning: session_start() [function.session-start]: open(/tmp /sess_1d374c43a0f726cd43776f9f92485bec, O_RDWR) failed: No such file or directory (2) in /home/continou/public_html/control/index.php on line 4

One thing I noticed it did was turn on PHPSuexec which generally causes problems for me. I turned that off and the error response changed slightly (to above) but the problem is not solved.

I tried rebooting the server. /tmp does exist, I am now rebuilding apache in hopes that corrects the problem.

View 3 Replies View Related

Iptables And Related/established Connections

Apr 11, 2009

I've got a vps running centos 5.3 on an openvz platform. I've been using a simple set of iptables rules but recently the host moved me to a new server and I'm having issues with my firewall. I'm pretty sure it's the firewall since if I stop iptables or flush the rules everything works properly.

my rules:

Code:
!/usr/bin/env iptables-restore
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp --dport ssh -j ACCEPT
The last rule continues with all the other used protocols (pop3/dns/http/etc)

The problem is incoming connections with should be allowed from by the related,established rule aren't permitted. If I use wget,ftp,ping, or dig from my shell they all report a time out. For example dig w3.org gives no server reachable. If I capture all dns requestes with tcpdump I see the outgoing request to dns and I see the incoming data but dig still reports a timeout. Since tcpdump sits before iptables and I have no output filtering it seems that my input filter isn't seeing the related/established state of dig and allowing the results in.

But, what's the solution? Do I need to ask the vps provider for something specific? If so what?

Or is there a better way to write my iptables rules to compensate for this problem?

View 5 Replies View Related

Doubt Related To Addon Domains

Jul 8, 2008

I have read about addon domains but I have still one doubt regarding same. Suppose I have buy two domains which have no any relationship with each other like one is of my family (viralshah3112andfamily.com) and one is for my uncle's business site (xyz.com) . Now if I host them in one account as addon domain, both will have different identity? Means both will have different URL like xyz.com and viralshah3112andfamily.com. Is it so?

View 8 Replies View Related

Mod_auth_mysql And Htaccess Combination Related

Jan 13, 2007

I'm using .htaccess file and mod_auth_mysql for protection of a site, where the old users are in flat passwd file and the new ones are in DB, so i need both the standart .htpasswd check and if the user is not there check in the mysql DB

well here is how currently my htaccess file looks:
------------------------
AuthName "Password Protected Pages"
AuthType Basic
AuthUserFile /home/edited/.htpasswd

<limit GET POST PUT>
require valid-user
</limit>

AuthMySQLAuthoritative Off
AuthName "Members Only"
AuthType Basic
AuthGroupFile /dev/null
AuthMySQLHost domain-removed.com
AuthMySQLDB username-removed
AuthMySQLUser user-removed
AuthMySQLPassword edited
AuthMySQLUserTable members
AuthMySQLNameField username
AuthMySQLPasswordField password
AuthMySQLPwEncryption none
AuthMySQLUserCondition "status=1 AND siteid=2"
require valid-user

----------------
but the site doesn't accept neither the flat passwd file users, neither the ones from the nats DB, it just pop-ups the password dialog box again, whicih means that the password is not accepted

For the users i tested with i double checked that they DO exist in the htpasswd file or in the DB, so its not that

also, cause the site and the DB are on different servers, i have authorised the first one to query the mysql db at the second, so its not from that as well

i have removed the sensitive information (domains, users and passwords from the sample code i pasted here)

so...i'm totally lost here and any directions or ideas will be highly apprecicated

View 0 Replies View Related

Where Should I Find The Latest Hosting Related News

Jan 26, 2009

I am working on a survey about top hosting news website.

View 10 Replies View Related

Server Setup Related Review Sites

Feb 10, 2007

good server setup review sites, such as most optimal setups for mysql driven sites, best value setups and so on.

View 1 Replies View Related

Connection State ESTABLISHED,RELATED Is Not Working In My Iptables

Nov 13, 2008

connection state ESTABLISHED,RELATED is not working in my iptaables...?

Accept If input interface is lo
Accept If state of connection is ESTABLISHED,RELATED
Drop If protocol is ICMP
Accept If protocol is TCP and destination port is 80
Accept If protocol is TCP and destination port is 99
Accept If protocol is TCP and destination port is 25
Accept If protocol is TCP and destination port is 110
Accept If protocol is TCP and destination port is 10000
Accept If protocol is TCP and destination port is 21
Accept If protocol is TCP and destination port is 30000:30500
Accept If protocol is UDP and destination port is 53
Accept If protocol is UDP and source port is 53
Accept If protocol is TCP and destination port is 445
Accept If protocol is TCP and destination port is 2390

this in my Incoming packets rules..

Outgoing packets are all accepted..

so if i made connection from the server the input rules shuld accept them because it is established and related connection.. But it wont work.. any ideas about it..?
my vps is running on cent os 5.2 final..

and the control panel is webmin.

View 10 Replies View Related

Plesk 11.x / Windows :: Web Page Displaying Related Links

Oct 1, 2014

I was asked by a user why he only saw a page with 'related links' when he went to the web site. I checked and saw the same thing if I typed www.domain.tld. If I just typed domain.tld, the page displayed fine. In trying different things tonite, I cleared my cache and now neither url works.

I am using Parallels Plesk Panel 11.5.3. If I click the 'Preview' button on the panel, everything looks great. If I click the 'Open' button, I get the 'related links' page.Today, the shcnf.com link seems to be working fine and the 'Open' button in Parallels Plesk Panel works, but the www.shcnf.com link is still showing a 'related links' page.

My DNS settings show:

shcnf.com record type: A value: 198.144.188.31
www.shcnf.com record type: CNAME value: shcnf.com

I do not currently have a preferred domain set in my hosting settings. I tried setting one the other night with no luck, though I was also playing with the DNS settings (I tried setting www.shcnf.com to an A value with the IP, hoping to force it to work).

View 1 Replies View Related

Books Or Guides Related To The Management And Installation Of Servers And Webhosting

Aug 13, 2008

As I am going to launch unique product connected with webhosting in the near future, I would like to learn more about the tech aspects of webhosting. By tech aspects I mean for example how to setup nameservers - how they work and how to setup them, SSL, how to setup ftp etc., so, basically I am interested in all the things connected to servers.

Could you please recommend me some guides or books related to webhosting and server management. I am newbie to servers and hosting, so I would like to learn it from the ground. I am searching for some book for beginners, but I cannot find any.

View 3 Replies View Related

Plesk 11.x / Linux :: Remove Domain Alias Warns It Will Delete All Related Files

Sep 2, 2013

I think the wrong text is displayed for the option "Remove Domain Alias".

In Plesk 11.5.30 Update #13, in a Webspace, on the Websites & Domains tab, if I click an alias, a window appears for the alias with the option to "Remove Domain Alias". If I move the cursor over the text "Remove Domain Alias", or click on the link, I see a pop-up: Removing this website will also delete all related files, directories, and web applications from the server.

I think this is incorrect because removing an alias should not remove any files, directories, and web applications.

View 3 Replies View Related

Hide (Apache Configuration Files) Related Messages From Plesk Customers / Resellers

Nov 25, 2014

How to hide from our clients (end users: Plesk customers/resellers) any message related to Apache configuration files failed, like this one:

"Error: Web server configuration for some of your domains may be inconsistent. Please contact server administrator to resolve the problem."

We already see the message within Plesk admin interface, so our customers don't really need to see that, as there's nothing they can do for that.

View 1 Replies View Related

Plesk 12.x / Linux :: Debian 7 Errors Related To Kaspersky Antivirus Startup Script Kavehost

Jun 17, 2015

I have Plesk 12 panel on Debian 7 server.

When I try to add service to auto start using command:
# update-rc.d nginx defaults
update-rc.d: using dependency based boot sequencing

I got error:
insserv: warning: script 'kavehost' missing LSB tags and overrides
#

View 2 Replies View Related







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