Windows ME unable to authenticate

Bug #544134 reported by David Lee Lambert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
Expired
Low
Unassigned

Bug Description

Binary package hint: samba

I recently upgraded an Ubuntu workstation from Gutsy to Jaunty. It was acting as the printer server, and had some Samba shares exposed. A Windows ME computer on the same network had a batch file in the "Startup" folder of the Start Menu that reset the time from this workstation and mapped a share (as well as some shares from a Debian Etch workstation). The Windows ME workstation is also configured to print to a Samba-shared printer on the Ubuntu workstation. Since upgrading, the batch-file gives an error-message trying to get the time; prompts for the password on the share, and doesn't accept the user's password; and opening the printer in "Start → Printers..." brings up a password box, and the user's password is not accepted.

C:>net time \\ubuntu_server

gives the error-message

Error 5: You do not currently have access to this file. The file may be
marked read-only, or it may be part of a shared resource such as a folder, a
named pipe, a queue, or a semaphore. You can use the ATTRIB command to change
the read-only attribute, or try again later when the file may be available.

C:>net use o: \\grendel\opt

causes a password-prompt, and even after entering the correct password (`smbpasswd` and `passwd` were both used to set the same password for this user) it gives the same error-message:

The password is invalid for \\GRENDEL\OPT. For more information, contact your
network administrator.
Type the password for \\GRENDEL\OPT:*****

Error 5: You do not currently have access to this file. The file may be
marked read-only, or it may be part of a shared resource such as a folder, a
named pipe, a queue, or a semaphore. You can use the ATTRIB command to change
the read-only attribute, or try again later when the file may be available.

Browsing to the printer in "Start → Printers..." brings up a dialog with the title "Enter Network Password", message "You must supply a password to make this connection:".

This batch-file used to work fine, against Ubuntu G. "NET TIME" and "NET USE" work from Windows ME against the Debian Etch workstation I mentioned. My workaround for now is to do "NET TIME" against Debian rather than Ubuntu and not mount the "OPT" share. I'll probably either move the printer or re-export it from the Debian Etch workstation.

$ lsb_release -rd
Description: Ubuntu 9.04
$ apt-cache policy samba
samba:
  Instalados: 2:3.3.2-1ubuntu3.3
  Candidato: 2:3.3.2-1ubuntu3.3
  Tabla de versión:
 *** 2:3.3.2-1ubuntu3.3 0
        500 http://us.archive.ubuntu.com jaunty-updates/main Packages
        100 /var/lib/dpkg/status
     2:3.3.2-1ubuntu3 0
        500 http://us.archive.ubuntu.com jaunty/main Packages
     2:3.2.3-1ubuntu3.7 0
        500 http://security.ubuntu.com intrepid-security/main Packages

Revision history for this message
David Lee Lambert (davidl) wrote :
Revision history for this message
David Lee Lambert (davidl) wrote :
Revision history for this message
David Lee Lambert (davidl) wrote :
Revision history for this message
Chuck Short (zulcss) wrote :

Please attach your smb.conf and your samba log files.

Thanks
chuck

Changed in samba (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
David Lee Lambert (davidl) wrote :

Attaching "smb.conf".

Nothing went into the Samba logs at all last time I tried to do this (7:00 AM Eastern time this morning):

# tail log.192.168.15.6 log.purplecomputer log.smbd
==> log.192.168.15.6 <==
[2009/08/21 00:19:19, 1] smbd/service.c:close_cnum(1230)
  192.168.15.6 (192.168.15.6) closed connection to service OPT
[2009/08/21 00:19:35, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2009/08/21 00:19:35, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users
[2009/08/21 00:19:35, 1] smbd/service.c:make_connection_snum(1033)
  192.168.15.6 (192.168.15.6) connect to service OPT initially as user purplecomputer$ (uid=706, gid=65534) (pid 28041)
[2009/08/22 09:04:25, 1] smbd/service.c:close_cnum(1230)
  192.168.15.6 (192.168.15.6) closed connection to service OPT

==> log.purplecomputer <==
[2010/02/07 13:34:01, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2010/02/07 13:34:01, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users
[2010/03/13 10:16:55, 0] lib/util_sock.c:write_data(1136)
[2010/03/13 10:17:08, 0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Transport endpoint is not connected
  write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer
[2010/03/13 10:17:09, 0] smbd/process.c:srv_send_smb(74)
  Error writing 4 bytes to client. -1. (Transport endpoint is not connected)

==> log.smbd <==
[2010/03/21 07:43:13, 1] param/loadparm.c:lp_do_parameter(7247)
  WARNING: The "printer admin" option is deprecated

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

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it without more information.

Please include the information requested at https://wiki.ubuntu.com/DebuggingSamba#samba-server.

Revision history for this message
David Lee Lambert (davidl) wrote :

I've upgraded the Ubuntu server to Lucid, and I still get a "you do not currently have access to this file" errors.

I attached configuration and log files to comment #5. What other information is needed to address this bug?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for samba (Ubuntu) because there has been no activity for 60 days.]

Changed in samba (Ubuntu):
status: Incomplete → Expired
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.