[Samba] does ldapsearch work in Samba4
Mark Foley
mfoley at ohprs.org
Sun Sep 6 15:39:05 UTC 2015
Rowland Penny <rowlandpenny241155 at gmail.com> wrote:
> Yes it does, but Administrator doesn't live where you are asking, it
> lives in 'cn=Administrator,CN=Users,dc=HPRS,dc=local'
Yup! That did work! Thanks, and once I was able to run that successfully it did
show the Admin user as you said:
$ ldapsearch -xLLL -H ldap://localhost:389 -D "cn=Administrator,CN=Users,dc=HPRS,dc=local" -W -b "dc=HPRS,dc=local"
:
objectCategory: CN=Group,CN=Schema,CN=Configuration,DC=hprs,DC=local
member: CN=Administrator,CN=Users,DC=hprs,DC=local
:
I'll keep this for the future.
Thanks, --Mark
-----Original Message-----
> To: samba at lists.samba.org
> From: Rowland Penny <rowlandpenny241155 at gmail.com>
> Date: Thu, 3 Sep 2015 10:56:01 +0100
> Subject: 3.3 [SPAM] Re: [Samba] does ldapsearch work in Samba4
>
> On 03/09/15 10:29, Mark Foley wrote:
> > Does ldapsearch work with Samba4 since it has it's own LDAP server? I've seen a
> > number of ldap related posts here and I'm trying to head down that road for
> > Dovecot authentication, but I'm getting stopped right away. For example, the
> > following doesn't work:
> >
> > $ ldapsearch -xLLL -H ldap://localhost:389 \
> > -D "cn=Administrator,dc=HPRS,dc=local" -W -b "dc=HPRS,dc=local"
> > Enter LDAP Password:
> > ldap_bind: Invalid credentials (49)
> > additional info: Simple Bind Failed: NT_STATUS_LOGON_FAILURE
> >
> > but ...
> >
> > $ ldbsearch -H ldap[s]://localhost -U Administrator
> >
> > returns 307 records of apparently everything.
> >
> > There was a related post back in April, 2011, but it trailed off.
> >
> > --Mark
> >
> Yes it does, but Administrator doesn't live where you are asking, it
> lives in 'cn=Administrator,CN=Users,dc=HPRS,dc=local'
>
> Rowland
>
> --
> To: samba at lists.samba.org
> From: Rowland Penny <rowlandpenny241155 at gmail.com>
> Date: Thu, 3 Sep 2015 10:56:01 +0100
> Subject: 3.3 [SPAM] Re: [Samba] does ldapsearch work in Samba4
>
> On 03/09/15 10:29, Mark Foley wrote:
> > Does ldapsearch work with Samba4 since it has it's own LDAP server? I've seen a
> > number of ldap related posts here and I'm trying to head down that road for
> > Dovecot authentication, but I'm getting stopped right away. For example, the
> > following doesn't work:
> >
> > $ ldapsearch -xLLL -H ldap://localhost:389 \
> > -D "cn=Administrator,dc=HPRS,dc=local" -W -b "dc=HPRS,dc=local"
> > Enter LDAP Password:
> > ldap_bind: Invalid credentials (49)
> > additional info: Simple Bind Failed: NT_STATUS_LOGON_FAILURE
> >
> > but ...
> >
> > $ ldbsearch -H ldap[s]://localhost -U Administrator
> >
> > returns 307 records of apparently everything.
> >
> > There was a related post back in April, 2011, but it trailed off.
> >
> > --Mark
> >
> Yes it does, but Administrator doesn't live where you are asking, it
> lives in 'cn=Administrator,CN=Users,dc=HPRS,dc=local'
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
More information about the samba
mailing list