LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-17-2011, 10:08 AM   #1
uhcafigdc
Member
 
Registered: Oct 2008
Distribution: Debian Lenny
Posts: 39

Rep: Reputation: 15
Exclamation Samba shares suddenly requiring password?


The setup is that users can access the samba shares and read/write without entering a username/password.

Windows XP users today are suddenly prompted for username/password, and can't connect. No combination of user/pass seems to work.

Nothing in the smb.conf has changed recently. The shared folder still exists on the server and has the same permissions as before.

Here is the smb.conf:
Code:
[global]

	workgroup = workgroup
	netbios name = F1
	server string = J

	level2 oplocks = no
	oplocks = no

	hosts allow = 192.168.1. 127.
	load printers = no
	guest account = nobody
	log file = /var/log/samba/%m.log
	max log size = 50
	
	security = share
	encrypt passwords = false

	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	
	
[j]
        path = /home/j
	browseable = yes
        writeable = yes
	guest ok = yes
	public = yes
Here are some recent entries in /var/log/smbd.log:
Code:
[2011/06/17 06:40:34,  1] smbd/server.c:open_sockets_smbd(645)
  Reloading services after SIGHUP
[2011/06/17 07:59:58,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Transport endpoint is not connected
[2011/06/17 08:31:59,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Transport endpoint is not connected
[2011/06/17 10:39:57,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Transport endpoint is not connected
Here are some recent entries to __ffff_192.168.1.229.log:
Code:
[2011/06/16 16:58:38,  1] smbd/service.c:close_cnum(1409)
  __ffff_192.168.1.229 (::ffff:192.168.1.229) closed connection to service stations
[2011/06/17 09:22:34,  0] smbd/service.c:make_connection_snum(1160)
  '/home/j' does not exist or permission denied when connecting to [jobs] Error was Permission denied
[2011/06/17 09:23:05,  0] smbd/service.c:make_connection_snum(1160)
  '/home/j' does not exist or permission denied when connecting to [jobs] Error was Permission denied
Here are some recent entries to computer-29.log:
Code:
[2011/06/16 10:02:21,  0] smbd/nttrans.c:call_nt_transact_ioctl(2019)
  call_nt_transact_ioctl(0x900eb): Currently not implemented.
[2011/06/16 16:08:54,  1] smbd/service.c:close_cnum(1409)
  computer-29 (::ffff:192.168.1.229) closed connection to service stations
[2011/06/17 09:22:34,  1] smbd/service.c:make_connection_snum(1198)
  computer-29 (::ffff:192.168.1.229) connect to service stations initially as user nobody (uid=65534, gid=65534) (pid 25836)
[2011/06/17 09:24:32,  0] smbd/nttrans.c:call_nt_transact_ioctl(2019)
  call_nt_transact_ioctl(0x900eb): Currently not implemented.
[2011/06/17 09:45:16,  1] smbd/service.c:close_cnum(1409)
  computer-29 (::ffff:192.168.1.229) closed connection to service stations
Any ideas?
 
Old 06-17-2011, 10:15 AM   #2
uhcafigdc
Member
 
Registered: Oct 2008
Distribution: Debian Lenny
Posts: 39

Original Poster
Rep: Reputation: 15
Fixed! A recent windows update kb2536276 breaks samba when "encrypt passwords = no" is set.

Solution is to set "encrypt passwords = yes"
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Samba requesting password when accessing shares djsmiley2k Linux - Networking 5 04-04-2010 08:51 AM
how do i set samba to password certain shares or ip restrict them mrgreaper Linux - Newbie 3 09-26-2009 03:24 PM
samba not requiring a password jmoody Linux - Networking 2 03-16-2009 08:40 AM
Accessing remote shares with encrypted Samba password at bootup CyberGuy Linux - Software 1 01-09-2005 05:23 PM
Samba password doesn't work when accessing Linux shares from W2K soren625 Linux - Software 4 05-14-2004 05:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration