[Samba] Not able to join Debian 10 to AD using winbind
Rowland Penny
rpenny at samba.org
Tue Nov 2 08:34:37 UTC 2021
On Tue, 2021-11-02 at 13:39 +0530, Sac Isilia wrote:
> Hi Rowland,
>
> Sorry for the late reply. Below are the requested details.
>
> What OS are you using on the DC ? - Windows Server 2016
> What version of Samba ? - 4.9.5
> OS Samba packages or self-compiled ? - Samba packages
> What is the DC's short hostname ? - AZEUW1DCEM01
> What is the DC's ipaddress - 10.19.26.136
>
> The same for your Unix domain member.
>
> What is your dns domain ? - emea.media.global.loc
> What is your Netbios domain name (also known as the workgroup) ?
> - EMEA-MEDIA
>
> A reminder on this issue - I was able to join the server to
> domain EMEA-MEDIA but i am unable to id the domain users
>
> wbinfo -t
> checking the trust secret for domain EMEA-MEDIA via RPC calls
> succeeded
>
> id EMEA-MEDIA\\kochal02
> id: ‘EMEA-MEDIA\\kochal02’: no such user
>
Please install ldb-tools (if not already installed), then run this
command:
sudo ldbsearch -H ldap://azeuw1dcem01.emea.media.global.loc -P -b
'dc=emea,dc=media,dc=global,dc=loc'
'(&(objectCategory=person)(objectClass=user)(sAMAccountName=kochal02))'
That should produce the AD object for 'kochal02'
Rowland
More information about the samba
mailing list