I am working in a large company and can use its central read-only LDAP server remotely. The LDAP server does not allow anonymous binding. In order to use this server for authentication of the users on my small server with a pam module I need an account which exposes the data on LDAP to me. The account data is normally filled in binddn and bindpw fields of the configuration.
I have a Windows Server 2008 R2 that is not join to any domain.
If I run the following LDAP sentence on a 2008 R2 Domain Controller,
adoCommand.CommandText = "<LDAP://my2008DC.MyChild.MyPDC.com/CN=Enterprise Admins,CN=Users,DC=MyPDC,DC=com>;(&(objectCategory=group)(cn=*));cn;base"
Set adoRecordset = adoCommand.Execute
I get "a referral was returned from the server" error.
However if I run the same script on a 2003 DC, it runs fine.
So here's the deal.
I am unable to promote my newly installed Windows Server 2012 machine to a domain controller.
Joining the domain as a server that is a member of the domain worked fine.
I know that this has been asked before, but I have not found an answer for Windows Server 2008. Most references I found are with the Windows Server 2003 Resource Kit, but not for 2008.
I know that there are 3rd party tools, but since there is a solution for 2003, I would assume that there is something for 2008?
Our existing print server for our 8 printers is a Win 2003 server that is slowly being decommissioned. We want to move print services off this server but we want to move them to the right place. I don't want to make the domain controller a print server, nor do I want to use any of the other existing Windows Server 2008 R2 application servers.
Dear All,
I used this very simple script which I found on PHP Manual to to bind to my OpenLDAP (2.4.23) server (Ubuntu 10.04 LTS) via PHP.
Code:
<?php
$ldapcon = ldap_connect("localhost")
or die("Could not connect to LDAP server.");
if ($ldapcon) {
// binding anonymously
$ldapbind = ldap_bind($ldapcon);
if ($ld
I am running a virtual setup with vSphere, with two virtual machines, one running CentOS 6 and the other running Windows server 2008
The idea is to use LDAP to connect from the CentOS (as a client) to the Windows Server 2008 (as a server), and trying to access Active Directory from there.
There is a virtual switch between these two virtual machines, and both are running on the same subnet.