[Samba] Interacting with LDAP db without password as root

RhineDevil tanyadegurechaff at disroot.org
Wed Jul 15 16:32:17 UTC 2020


Wed, 15 Jul 2020 16:55:42 +0100 Rowland penny via samba <samba at lists.samba.org>:
> On 15/07/2020 16:38, RhineDevil wrote:
> > Wed, 15 Jul 2020 16:18:32 +0100 Rowland penny via samba <samba at lists.samba.org>:
> >
> >
> >> Is Samba running ?
> >>
> >> Rowland
> >>
> > Yes it is
> 
> I ask this because the only time I get anything like your problem is if 
> I stop Samba:
> 
> linuxadmin at dc1:~$ sudo service samba-ad-dc stop
> [sudo] password for linuxadmin:
> [ ok ] Stopping Samba AD DC daemon: samba.
> linuxadmin at dc1:~$ sudo ldbsearch -P -H 
> ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi
> Failed to bind - LDAP client internal error: NT_STATUS_UNSUCCESSFUL
> Failed to connect to 'ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi' 
> with backend 'ldapi': LDAP client internal error: NT_STATUS_UNSUCCESSFUL
> Failed to connect to ldapi://%2Fvar%2Flib%2Fsamba%2Fprivate%2Fldapi - 
> LDAP client internal error: NT_STATUS_UNSUCCESSFUL
> 
> So if Samba is running, then is Apparmor denying access ? (I always turn 
> Apparmor off)
> 
> Rowland
> 
You've given me a different address, now that I reused my original address it doesn't stop but hangs without answering anything
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: Firma digitale OpenPGP
URL: <http://lists.samba.org/pipermail/samba/attachments/20200715/8143b762/attachment.sig>


More information about the samba mailing list