[Samba] samba-tool to list users of the trust domain

Mario Codeniera mario.codeniera at gmail.com
Wed Feb 26 01:15:26 UTC 2020


Thanks Andrew, however there's an LDAP error. There are so heaps of users
on our main AD.
I put -U and using an account on the main AD.

ERROR(ldb): uncaught exception - LDAP error 4 LDAP_SIZE_LIMIT_EXCEEDED -
 <> <>
  File "/usr/lib64/python3.6/site-packages/samba/netcmd/__init__.py", line
186, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python3.6/site-packages/samba/netcmd/user.py", line 541,
in run
    attrs=["samaccountname"])

On Wed, Feb 26, 2020 at 2:01 PM Andrew Bartlett <abartlet at samba.org> wrote:

> On Wed, 2020-02-26 at 13:56 +1300, Mario Codeniera wrote:
> > It seems to generate an error 'No such file or directory' if I put -H
> > option.
>
> -H ldap://$SERVER
>
> -H takes an LDAP URI, otherwise it assumes a file path.
>
> Andrew Bartlett
> --
> Andrew Bartlett
> https://samba.org/~abartlet/
> Authentication Developer, Samba Team         https://samba.org
> Samba Development and Support, Catalyst IT - Expert Open Source
> Solutions
> https://catalyst.net.nz/services/samba
>
>
>
>
>
>
>


More information about the samba mailing list