zhengfish
2010-Aug-20 06:19 UTC
[Samba] smbd version 3.5.4-62.fc13 can NOT bind to IPv4 endpoint( 0.0.0.0:445 ), but it bind to IPv6 endpoint ( :::445 )
# smbd -Fi -d 2 smbd version 3.5.4-62.fc13 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 uid=0 gid=0 euid=0 egid=0 rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Processing section "[homes]" Processing section "[printers]" cups_async_callback: failed to read a new printer list cups_async_callback: failed to read a new printer list added interface eth0 ip=2001:2:3::208 bcast=2001:2:3:0:ffff:ffff:ffff:ffff netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=fe80::213:72ff:fe8d:d674%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=192.168.15.208 bcast=192.168.15.255 netmask=255.255.255.0 bind failed on port 445 socket_addr = 0.0.0.0. Error = Address already in use smbd_open_once_socket: open_socket_in: Address already in use bind failed on port 139 socket_addr = 0.0.0.0. Error = Address already in use smbd_open_once_socket: open_socket_in: Address already in use waiting for connections ^C but I found after I turn on the bindv6only kernel var, then I can bind both IPv4 and IPv6 port. like this: # echo 1 > /proc/sys/net/ipv6/bindv6only then It works as follows: # smbd -Fi -d 2 smbd version 3.5.4-62.fc13 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 uid=0 gid=0 euid=0 egid=0 rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Processing section "[homes]" Processing section "[printers]" cups_async_callback: failed to read a new printer list cups_async_callback: failed to read a new printer list added interface eth0 ip=2001:2:3::208 bcast=2001:2:3:0:ffff:ffff:ffff:ffff netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=fe80::213:72ff:fe8d:d674%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff:: added interface eth0 ip=192.168.15.208 bcast=192.168.15.255 netmask=255.255.255.0 waiting for connections I guess it use or get the contrary value of net.ipv6.bindv6only, maybe. :) That's all. Thanks a lot __END__
Ireneusz Piasecki
2010-Aug-20 09:24 UTC
[Samba] NT_STATUS_NO_SUCH_USER floding my /var/log/messages
Hi. I have samba 3.5.4 as PDC - from some months. In the network i have Windows XP and Windows 7. Windows 7 was joined with instructions from: Then i look at my /var/log/messages and i see floding: Aug 20 11:16:23 serwergr smbd[25587]: [2010/08/20 11:16:23.817135, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:23 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:24 serwergr smbd[25587]: [2010/08/20 11:16:24.804017, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:24 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:24 serwergr smbd[25587]: [2010/08/20 11:16:24.810053, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:24 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:24 serwergr smbd[25587]: [2010/08/20 11:16:24.816134, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:24 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:24 serwergr smbd[25587]: [2010/08/20 11:16:24.821974, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:24 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:24 serwergr smbd[25587]: [2010/08/20 11:16:24.827983, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:24 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:25 serwergr smbd[25587]: [2010/08/20 11:16:25.817975, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:25 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:25 serwergr smbd[25587]: [2010/08/20 11:16:25.823870, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:25 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:25 serwergr smbd[25587]: [2010/08/20 11:16:25.829819, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:25 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:25 serwergr smbd[25587]: [2010/08/20 11:16:25.835824, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:25 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:25 serwergr smbd[25587]: [2010/08/20 11:16:25.842821, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:25 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:26 serwergr smbd[25587]: [2010/08/20 11:16:26.832697, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:26 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' Aug 20 11:16:26 serwergr smbd[25587]: [2010/08/20 11:16:26.839871, 0] auth/auth_sam.c:493(check_sam_security) Aug 20 11:16:26 serwergr smbd[25587]: check_sam_security: make_server_info_sam() failed with 'NT_STATUS_NO_SUCH_USER' A What is going on ? Nobody on the site comunicate any problems with the network. I try to kill process 25587, biu it appers again with another PID. Best regards, I.Piasecki