Authenticating with Samba 4 AD

NethServer Version:
Module: your_module

Hi - I am trying to authenticate against the Nethserver Samba 4 Active Directory, but cannot for the life of me work out what the bind DN and password should be.

I have seen a lot of posts about the place, but none of the suggestions in these posts works for me. I’ve installed the phpLdapAdmin tool - but cannot log in.

/usr/sbin/account-provider-test dump gives me

   "BindDN" : "RNET\\SERVER$",
   "LdapURI" : "ldaps://",
   "StartTls" : "",
   "port" : 636,
   "host" : "",
   "isAD" : "1",
   "isLdap" : "",
   "UserDN" : "dc=rnet,dc=domain,dc=org",
   "GroupDN" : "dc=rnet,dc=domain,dc=org",
   "BindPassword" : "PASSWORD",
   "BaseDN" : "dc=rnet,dc=domain,dc=org",
   "LdapUriDn" : "ldap:///dc%3Drnet%2Cdc%3Ddomain%2Cdc%3Dorg"

But I can’t log in with BindDN and BindPassword.

Any help greatly appreciated :slight_smile:

Hi @Don_Robertson,

AFAIK you don’t need bind DN and password. Use AD admin or administrator.


I’m using NethServer-AD and PHPLDAPAdmin…
Firefox gave me lot’s of issues but did connect.
However, Firefox gave me a german version of PHPLDAPAdmin while Safari on my Mac gave me an english version.
That sounds like peanuts, but the “Add Attribute” function simply wasn’t visible in german. Using Safari (Another Browser) helped.

Just a warning not to try to force things using a browser which won’t work - try another!

I like firefox - better than chrome and edge - but when it poses problems, I’ll look at another browser to see if that will work. My firefox has been around for ages, and the profile may have caught some gotchas, but most works well…

My 2 cents