[Samba] Upgrading from samba-3.0.34 to 3.4.4 - result: domain controller unavailable

Marcin Giedz marcin.giedz at arise.pl
Thu Jan 14 05:28:34 MST 2010


Marcin Giedz pisze:

nobody ;)

ok further investigation...

[2010/01/13 21:21:16,  2] 
lib/interface.c:340(add_interface)                                                                                    

  added interface eth0 ip=192.168.89.3 bcast=192.168.89.255 
netmask=255.255.255.0                                 
[2010/01/13 21:21:16,  2] 
lib/interface.c:463(interpret_interface)                                                                          

  interpret_interface: using netmask value 24 from config file on 
interface eth0.90                                             
[2010/01/13 21:21:16,  2] 
lib/interface.c:340(add_interface)                                                                                    

  added interface eth0.90 ip=192.168.90.3 bcast=192.168.90.255 
netmask=255.255.255.0                            
[2010/01/13 21:21:16,  2] 
lib/smbldap_util.c:277(smbldap_search_domain_info)                                                  

  smbldap_search_domain_info: Searching 
for:[(&(objectClass=sambaDomain)(sambaDomainName=XXX))]
[2010/01/13 21:21:16,  2] 
lib/smbldap.c:856(smbldap_open_connection)                                                             

  smbldap_open_connection: connection 
opened                                                                                                    

[2010/01/13 21:21:17,  2] 
lib/util_sock.c:938(open_socket_in)                                                                             

  bind failed on port 445 socket_addr = 
0.0.0.0.                                                                                                 

  Error = Address already in 
use                                                                                                                 

[2010/01/13 21:21:17,  0] 
smbd/server.c:457(smbd_open_one_socket)                                               

  smbd_open_once_socket: open_socket_in: Address already in 
use                                                     
[2010/01/13 21:21:17,  2] 
lib/util_sock.c:938(open_socket_in)                                                               

  bind failed on port 139 socket_addr = 
0.0.0.0.                                                                                        

  Error = Address already in use
[2010/01/13 21:21:17,  0] smbd/server.c:457(smbd_open_one_socket)
  smbd_open_once_socket: open_socket_in: Address already in use
[2010/01/13 21:21:17,  2] smbd/server.c:676(smbd_parent_loop)
  waiting for connections


Could this be the problem of "domain unavailable"? I have only ONE smbd 
and nmbd deamon starting in my /etc/init.d/samba script :

/opt/samba-3.4.4/sbin/smbd -D;
/opt/samba-3.4.4/sbin/nmbd -D;

doing netstat -an gives me some tcp6 samba related items... I can't find 
such things running 3.0.34 ON the same machine. My smb.conf file only 
defines interfaces = 192.168.89.0/24 192.168.90.0/24. But then again: 
3.0.34 works perfect, 3.4.4 doesn't


.......

I also found this problem in host related log file in samba whenever I 
try to login into domain:


[2010/01/13 21:22:24,  2] lib/smbldap.c:856(smbldap_open_connection)
  smbldap_open_connection: connection opened
[2010/01/13 21:22:24,  2] auth/auth.c:320(check_ntlm_password)
  check_ntlm_password:  Authentication for user [] -> [] FAILED with 
error NT_STATUS_NO_SUCH_USER

Thanks,
Marcin

> Hi.
>
> Today I upgraded samba from 3.0.34 to 3.4.4 without changing anything 
> in smb.conf but with changing local and domain sid:
> old samba 1) net getdomainsid and getlocalsid
> new samba 2) net setdomainsid and setlocalsid to ones (both the same) 
> from 1)
>
> after restarting samba I can't log into domain: XP says : domain 
> controller unavailable ... I tried to rejoin domain - and I can ;) 
> however again login fails with such message.
>
> Switching back to 3.0.34 results in proper log in
>
> What can be wrong? Have I forgotten abut something?
>
> Thanks,
> Marcin
>
>






More information about the samba mailing list