Comment 56 for bug 967410

Revision history for this message
James Page (james-page) wrote :

Hi Colin

Thanks for providing this additional log data - assuming that the printer you are trying to access is called "merlin" I think these are the pertinent log messages:

  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2012/09/07 07:08:19.643668, 5] ../libcli/security/security_token.c:53(security_token_debug)
  Security token: (NULL)
[2012/09/07 07:08:19.643686, 5] auth/token_util.c:527(debug_unix_user_token)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2012/09/07 07:08:19.643715, 5] smbd/uid.c:400(change_to_root_user)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2012/09/07 07:08:19.643739, 4] smbd/reply.c:794(reply_tcon_and_X)
  Client requested device type [LPT1:] for share [MERLIN]
[2012/09/07 07:08:19.643766, 7] param/loadparm.c:9830(lp_servicenumber)
  lp_servicenumber: couldn't find merlin
[2012/09/07 07:08:19.643785, 5] lib/username.c:171(Get_Pwnam_alloc)
  Finding user merlin
[2012/09/07 07:08:19.643803, 5] lib/username.c:116(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as lowercase is merlin
[2012/09/07 07:08:19.643850, 5] lib/username.c:134(Get_Pwnam_internals)
  Trying _Get_Pwnam(), username as uppercase is MERLIN
[2012/09/07 07:08:19.643900, 5] lib/username.c:143(Get_Pwnam_internals)
  Checking combinations of 0 uppercase letters in merlin
[2012/09/07 07:08:19.643921, 5] lib/username.c:149(Get_Pwnam_internals)
  Get_Pwnam_internals didn't find user [merlin]!
[2012/09/07 07:08:19.643945, 4] auth/user_util.c:361(map_username)
  Scanning username map /etc/samba/smbusers
[2012/09/07 07:08:19.643968, 3] smbd/service.c:343(find_service)
  checking for home directory merlin gave (NULL)
[2012/09/07 07:08:19.643991, 3] smbd/service.c:357(find_service)
  checking whether merlin is a valid printer name...
[2012/09/07 07:08:19.644022, 1] printing/printer_list.c:94(printer_list_get_printer)
  Failed to fetch record!
[2012/09/07 07:08:19.644042, 3] smbd/service.c:371(find_service)
  merlin is not a valid printer name
[2012/09/07 07:08:19.666295, 0] param/loadparm.c:9114(process_usershare_file)
  process_usershare_file: stat of /var/lib/samba/usershares/merlin failed. No such file or directory
[2012/09/07 07:08:19.666354, 3] smbd/service.c:444(find_service)
  find_service() failed to find service merlin
[2012/09/07 07:08:19.666392, 3] smbd/service.c:1307(make_connection)
  win95 (ipv4:192.168.1.12:1025) couldn't find service merlin
[2012/09/07 07:08:19.666440, 3] smbd/error.c:100(error_packet_set)
  error packet at smbd/reply.c(803) cmd=117 (SMBtconX) eclass=1 ecode=67
[2012/09/07 07:08:19.666467, 5] lib/util.c:332(show_msg)