Anyone know if there is a way to change winbind to use a different port other than 445. I am running a Samba print server that I would like to join to a Windows 2000 domain. The PDC is a Small Business Server 2000 running in Mixed-Mode and for some reason it does not have port 445 open. What is port 445 used for? and is there any way to configure Samba/Winbind around it?
Here is the output of "winbindd -i -d 3" :
[root@pserver root]# winbindd -i -d 3
winbindd version 2.2.5 started.
Copyright The Samba Team 2000-2001
Initialising global parameters
params.c
m_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
Processing section "[homes]"
Processing section "[printers]"
adding IPC service IPC$
adding IPC service ADMIN$
added interface ip=192.168.1.253 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=192.168.1.253 bcast=192.168.1.255 nmask=255.255.255.0
resolve_lmhosts: Attempting lmhosts lookup for name AIS<0x1b>
resolve_wins: Attempting wins lookup for name AIS<0x1b>
resolve_wins: WINS server == <192.168.1.2>
bind succeeded on port 0
Got a positive name query response from 192.168.1.2 ( 192.168.1.2 )
bind succeeded on port 0
cm_get_dc_name: Returning DC SBS2K (192.168.1.2) for domain AIS
IPC$ connections done anonymously
Connecting to host=SBS2K share=IPC$
Connecting to 192.168.1.2 at port 445
error connecting to 192.168.1.2:445 (Connection refused)
Connecting to 192.168.1.2 at port 139
Added domain AIS (S-1-5-21-583907252-507921405-839522115)
getting trusted domain list
As you can see, the connection to 445 is always rejected.
wbinfo -u yields :
[root@pserver root]# wbinfo -u
Error looking up domain users
and the debug output from winbind shows:
[13354]: list users
IPC$ connections done anonymously
Connecting to host=SBS2K share=IPC$
resolve_lmhosts: Attempting lmhosts lookup for name SBS2K<0x20>
resolve_hosts: Attempting host lookup for name SBS2K<0x20>
Connecting to 192.168.1.2 at port 445
error connecting to 192.168.1.2:445 (Connection refused)
Connecting to 192.168.1.2 at port 139