Samba machine not browseable from windows ( 7, XP, ... )

Bug #576805 reported by RainMan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: samba

I cannot browse ubuntu 10.04 samba server name by other machines ( XP, Linux, ... ) The problem is that I can access using the ip to this samba server, but I can browse it at network ( some problem with netbios name I imagin ).
I'm using samba 3.4.7
My Ips are 10.48.130.x and you can see what happend with nmbd log:

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[2010/05/05 18:02:55, 0] nmbd/nmbd.c:854(main)
  nmbd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/05/05 18:08:38, 0] nmbd/nmbd.c:71(terminate)
  Got SIGTERM: going down...
[2010/05/05 18:09:46, 0] nmbd/nmbd.c:854(main)
  nmbd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/05/05 18:55:16, 0] nmbd/nmbd_namequery.c:108(query_name_response)
  query_name_response: Multiple (2) responses received for a query on subnet 10.48.130.1 for name CASA<1d>.
  This response was from IP 10.48.130.201, reporting an IP address of 10.48.130.201.
[2010/05/05 22:45:05, 0] nmbd/nmbd.c:71(terminate)
  Got SIGTERM: going down...
[2010/05/05 22:46:07, 0] nmbd/nmbd.c:854(main)
  nmbd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/05/05 22:52:33, 0] nmbd/nmbd.c:71(terminate)
  Got SIGTERM: going down...
[2010/05/05 22:53:35, 0] nmbd/nmbd.c:854(main)
  nmbd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
[2010/05/06 09:16:49, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)
  *****

  Samba name server LINUXDESKTOP is now a local master browser for workgroup CASA on subnet 192.168.169.1

  *****
[2010/05/06 09:16:49, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)
  *****

  Samba name server LINUXDESKTOP is now a local master browser for workgroup CASA on subnet 192.168.28.1

  *****
[2010/05/06 23:21:38, 0] nmbd/nmbd.c:71(terminate)
  Got SIGTERM: going down...
[2010/05/06 23:22:59, 0] nmbd/nmbd.c:854(main)
  nmbd version 3.4.7 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2009
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

it appears this 192 network....

At samba.log I find this (maybe can help):

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[2010/05/05 22:53:31, 0] smbd/server.c:1115(main)
  standard input is not a socket, assuming -D option
[2010/05/05 22:53:31, 0] smbd/server.c:457(smbd_open_one_socket)
  smbd_open_once_socket: open_socket_in: Address already in use
[2010/05/05 22:53:31, 0] smbd/server.c:457(smbd_open_one_socket)
  smbd_open_once_socket: open_socket_in: Address already in use
[2010/05/06 23:22:54, 0] smbd/server.c:1069(main)
  smbd version 3.4.7 started.
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
and this from idmap:

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
[2010/05/06 17:03:58, 0] winbindd/idmap.c:149(smb_register_idmap)
  Idmap module passdb already registered!
[2010/05/06 17:03:58, 0] winbindd/idmap.c:149(smb_register_idmap)
  Idmap module nss already registered!
[2010/05/06 17:03:58, 1] winbindd/idmap_tdb.c:214(idmap_tdb_load_ranges)
  idmap uid missing
[2010/05/06 17:03:58, 0] winbindd/idmap_tdb.c:287(idmap_tdb_open_db)
  Upgrade of IDMAP_VERSION from -1 to 2 is not possible with incomplete configuration
[2010/05/06 17:03:58, 1] winbindd/idmap.c:321(idmap_init_domain)
  idmap initialization returned NT_STATUS_UNSUCCESSFUL
[2010/05/06 17:03:58, 0] winbindd/idmap.c:201(smb_register_idmap_alloc)
  idmap_alloc module tdb already registered!
[2010/05/06 17:03:58, 0] winbindd/idmap.c:149(smb_register_idmap)
  Idmap module passdb already registered!
[2010/05/06 17:03:58, 0] winbindd/idmap.c:149(smb_register_idmap)
  Idmap module nss already registered!
[2010/05/06 17:03:58, 1] winbindd/idmap_tdb.c:214(idmap_tdb_load_ranges)
  idmap uid missing
[2010/05/06 17:03:58, 0] winbindd/idmap_tdb.c:287(idmap_tdb_open_db)
  Upgrade of IDMAP_VERSION from -1 to 2 is not possible with incomplete configuration
[2010/05/06 17:03:58, 1] winbindd/idmap.c:321(idmap_init_domain)
  idmap initialization returned NT_STATUS_UNSUCCESSFUL
[2010/05/06 23:21:38, 0] winbindd/winbindd.c:190(winbindd_sig_term_handler)
  Got sig[15] terminate (is_parent=0)
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

any suggests?

smb.conf

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
#======================= Global Settings =======================
[global]
 workgroup = casa
 server string = linuxserver
 dns proxy = no

#### Debugging/Accounting ####
 log file = /var/log/samba/log.%m
 max log size = 1000
 syslog = 0
 panic action = /usr/share/samba/panic-action %d

####### Authentication #######
 obey pam restrictions = yes
 unix password sync = yes
 passwd program = /usr/bin/passwd %u
 passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
 pam password change = yes
 map to guest = bad user

############ Misc ############
 usershare allow guests = yes
 username map = /etc/samba/smbusers
 security = user

#======================= Share Definitions =======================

[printers]
 comment = All Printers
 browseable = no
 path = /var/spool/samba
 printable = yes
 create mask = 0700

[print$]
 comment = Printer Drivers
 path = /var/lib/samba/printers

[CASA]
 path = /home
 writeable = yes
 browseable = yes
 valid users = rain

[ISO]
 path = /home/ISOImages
 writeable = yes
 browseable = yes
 valid users = rain

""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""

not wins server installed

Revision history for this message
Marcus Asshauer (mcas) wrote :

Thank you for reporting this problem. Could you please attach your smb.conf file? Do you have a WINS Server configured for your LAN?

RainMan (rsalas-match)
description: updated
description: updated
description: updated
Revision history for this message
Chuck Short (zulcss) wrote :

Can you check your network, as per the following error:

[2010/05/05 18:55:16, 0] nmbd/nmbd_namequery.c:108(query_name_response)
  query_name_response: Multiple (2) responses received for a query on subnet 10.48.130.1 for name CASA<1d>.

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
RainMan (rsalas-match) wrote :

Now is working. I have nothing changed and now works. I'm sorry not having any clue to describe what happened.

Revision history for this message
RainMan (rsalas-match) wrote :

Chuck Short:

10.48.130.1 CASA is the local host. The linux machine. No other machine has this name or IP.

Revision history for this message
Chuck Short (zulcss) wrote :

Closing based on comments.

Changed in samba (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.