[Samba] New problems: workgroup name length

Joerg.Thomas.Vogt at Sun.COM Joerg.Thomas.Vogt at Sun.COM
Thu Aug 28 08:22:34 GMT 2003


Hi Jeremy,

I have done a CVS checkout today, built and installed and got new
errors (e.g. string overflow):

  making subnet name:192.168.1.200 Broadcast address:192.168.1.255 Subnet mask:255.255.255.0
[2003/08/28 09:51:04, 2] nmbd/nmbd_subnetdb.c:(172)  making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2003/08/28 09:51:04, 2] nmbd/nmbd_subnetdb.c:(172)
  making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
[2003/08/28 09:51:04, 2] nmbd/nmbd_lmhosts.c:(41)
  load_lmhosts_file: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error was No such file or directory
[2003/08/28 09:51:04, 3] nmbd/nmbd.c:(739)
  Loaded hosts file /usr/local/samba/lib/lmhosts
[2003/08/28 09:51:04, 0] lib/util_str.c:(515)
  ERROR: string overflow by 1 (16 - 15) in safe_strcpy [EMEA.CORPDIR.NET]
[2003/08/28 09:51:04, 3] nmbd/nmbd_namelistdb.c:(236)
  add_name_to_subnet: Added netbios name *<00> with first IP 192.168.1.200 ttl=0 nb_flags
=60 to subnet 192.168.1.200
[2003/08/28 09:51:04, 3] nmbd/nmbd_namelistdb.c:(236)
  add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.200 ttl=0 nb_flags
=60 to subnet 192.168.1.200
[2003/08/28 09:51:04, 3] nmbd/nmbd_namelistdb.c:(236)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.200  ttl=0
nb_flags=60 to subnet 192.168.1.200 
[2003/08/28 09:51:04, 3] nmbd/nmbd_namelistdb.c:(236)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.200 ttl=0
nb_flags=60 to subnet 192.168.1.200 
[2003/08/28 09:51:04, 0] lib/util_str.c:(515)
  ERROR: string overflow by 1 (16 - 15) in safe_strcpy [EMEA.CORPDIR.NET]
[2003/08/28 09:51:04, 3] nmbd/nmbd_namelistdb.c:(236)
  add_name_to_subnet: Added netbios name *<00> with first 192.168.1.200 ttl=0 nb_flags
=60 to subnet UNICAST_SUBNET
[2003/08/28 09:51:04, 3] nmbd/nmbd_namelistdb.c:(236)
  add_name_to_subnet: Added netbios name *<20> with first IP 192.168.1.200 ttl=0 nb_flags
=60 to subnet UNICAST_SUBNET
[2003/08/28 09:51:04, 3] nmbd/nmbd_namelistdb.c:(236)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP 192.168.1.200  ttl=0
nb_flags=60 to subnet UNICAST_SUBNET
[2003/08/28 09:51:04, 3] nmbd/nmbd_namelistdb.c:(236)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP 192.168.1.200 ttl=0
nb_flags=60 to subnet UNICAST_SUBNET

....
and a lot of

[2003/08/28 10:03:44, 0] nmbd/nmbd_browsesync.c:(585)
  collect_all_workgroup_names_from_wins_server:
  Cannot find my workgroup EMEA.CORPDIR.NET on subnet UNICAST_SUBNET.
 

Cheers, Thomas

>On Wed, Aug 27, 2003 at 05:16:04PM +0200, Joerg.Thomas.Vogt at Sun.COM wrote:
>> Hi,
>> 
>> I have checked out the cvs tree on Monday, Aug 25 which includes
>> your patch, built and installed it but without success:
>
>Try a CVS checkout today. I should have fixed this in the tree now.
>
>Thanks,
>
>	Jeremy.
>



More information about the samba mailing list