[Samba] Samba 4 and phpldapadmin

steve steve at steve-ss.com
Wed Nov 30 06:29:52 MST 2011


Hi

Samba 4 tells me that my DN is

CN=MicrosoftDNS,CN=System,DC=hh3,DC=site

But phpldapadmin will not accept this.

Unable to connect to LDAP server Samba4 LDAP Server
Error: Invalid credentials (49) for user
	Failed to Authenticate to server
Invalid Username or Password.

What is the DN of a standard install after provisioning?

/srv/www/htdocs/phpldapadmin/cnfig/config.php

$i=0;
$servers = new Datastore;
$servers->newServer('ldap_pla');
$servers->SetValue('server','name','Samba4 LDAP Server');
$servers->SetValue('server','host','ldapi://%2Fusr%2Flocal%2Fsamba%2Fpriva
//$servers->SetValue('server','auth_type','session');
$servers->SetValue('login','attr','dn');

Thanks
  Steve.


More information about the samba mailing list