[Samba] share CUPS printer/scanner in Debian system with Windows computers in home network

Seb spluque at gmail.com
Wed Dec 23 14:03:41 MST 2009


On Wed, 23 Dec 2009 15:29:31 -0500,
Ryan Suarez <ryan.suarez at sheridanc.on.ca> wrote:

>> (2) map a network drive and provide "\\kolob\sluque", but it tells me
>> it can't access the server,

> Ok, add 'log level=3' and remove 'syslog=0' in smb.conf.  Go to
start-> run->\\kolob and post the contents of
> /var/log/samba/log.[windows-client-machine] after it errors out.

I did those changes, restarted samba, and tried to connect to \\kolob as
you described, but there's no /var/log/samba/log.magaly-pc file
produced, or other similar file with matching timestamp.  The only
relevant changes in that directory are in /var/log/samba/log.nmbd, which
has these lines with that Windows client name (plus a few subsequent
lines that may be useful):

---<--------------------cut here---------------start------------------->---
[2009/12/23 14:48:04,  3] nmbd/nmbd_incomingdgrams.c:273(process_local_master_announce)
  process_local_master_announce: from MAGALY-PC<00> IP 192.168.0.100 to WORKGROUP<1e> for server MAGALY-PC.
[2009/12/23 14:48:04,  3] nmbd/nmbd_serverlistdb.c:156(create_server_on_workgroup)
  create_server_on_workgroup: Created server entry MAGALY-PC of type 40051203 () on workgroup WORKGROUP.
[2009/12/23 14:48:04,  3] nmbd/nmbd_serverlistdb.c:423(write_browse_list)
  write_browse_list: Wrote browse list into file /var/cache/samba/browse.dat
[2009/12/23 14:48:04,  3] nmbd/nmbd_incomingrequests.c:88(process_name_release_request)
  process_name_release_request: Name release on name WORKGROUP<1d>, subnet 192.168.0.102 from owner IP 192.168.0.101
[2009/12/23 14:48:04,  3] nmbd/nmbd_incomingrequests.c:88(process_name_release_request)
  process_name_release_request: Name release on name __MSBROWSE__<01>, subnet 192.168.0.102 from owner IP 192.168.0.101
---<--------------------cut here---------------end--------------------->---


-- 
Seb



More information about the samba mailing list