[Samba] How to force Winbind to use port 445 to talk to Windows Active Directory

Andrew Bartlett abartlet at samba.org
Tue Apr 7 22:01:01 UTC 2020


All Samba binaries have a --option parameter, so you could just add to
your winbindd startup script/unit '--option=smb ports=445'.

This would only change winbindd, and not smbd or other client tools.

Andrew Bartlett

On Tue, 2020-04-07 at 21:24 +0000, Raees Khan via samba wrote:
>  
> 
> I will but changing that would block samba from listening for
> connections on port 139. However, in my case I don't see any incoming
> traffic on port 139 rather the winbind daemon on my samba server
> tries to connect to the Active Directory Domain Controller on port
> 139.
> 
> 
>      On Monday, April 6, 2020, 03:55:56 PM PDT, miguel medalha via
> samba <samba at lists.samba.org> wrote:  
>  
>  In the [global] section of smb.conf try:
> 
> smb ports = 445
> 
> The default is:
> 
> smb ports = smb ports = 445 139
> 
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>   
-- 
Andrew Bartlett                       https://samba.org/~abartlet/
Authentication Developer, Samba Team  https://samba.org
Samba Developer, Catalyst IT          
https://catalyst.net.nz/services/samba






More information about the samba mailing list