Windows7 PC read error when accessing SAMBA share through PDC

If your getting a connection reset by pair (full error text below) when trying to access your Linux SAMBA share running in SERVER mode (SHARE mode should not encounter this error) from your Windows7 PC with the SERVER authentication being handled by an external Primary Domain Controller (PDC) you will need to set the Local Security settings as follows to get things running correctly :-

Show Plain Text
Text code
  1. Control Panel - Administrative Tools - Local Security Policy
  2.  
  3. Local Policies - Security Options
  4.  
  5. Network security: LAN Manager authentication level
  6. Send LM & NTLM responses
  7.  
  8. Minimum session security for NTLM SSP
  9. Disable Require 128-bit encryption

Full error message in your samba logs will be similar to the following :-

Show Plain Text
Text code
  1. lib/util_sock.c:read_data(529)
  2.   read_data: read failure for 4 bytes to client <your_IP_address>. Error = Connection reset by peer
Filed under: Linux  Tags: Redhat, Debian, Ubuntu

0 Responses to “Windows7 PC read error when accessing SAMBA share through PDC”

Sorry, comments have been closed for this post.
(default) 11 queries took 10 ms
NrQueryErrorAffectedNum. rowsTook (ms)
1DESCRIBE `posts`17171
2DESCRIBE `comments`11111
3DESCRIBE `tags`221
4DESCRIBE `categories`221
5DESCRIBE `posts_tags`222
6DESCRIBE `categories_posts`221
7SELECT `Post`.`id`, `Post`.`url`, `Post`.`title`, `Post`.`icon`, `Post`.`metadesc`, `Post`.`metakeys`, `Post`.`categories`, `Post`.`tease`, `Post`.`body`, `Post`.`private_body`, `Post`.`created`, `Post`.`modified`, `Post`.`status`, `Post`.`allow_comments`, `Post`.`tags`, `Post`.`hitcount`, `Post`.`hitcount_rss` FROM `posts` AS `Post` WHERE `Post`.`url` = 'windows7-pc-read-error-when-accessing-samba-share-through-pdc' LIMIT 1111
8SELECT `Comment`.`id`, `Comment`.`post_id`, `Comment`.`body`, `Comment`.`author`, `Comment`.`url`, `Comment`.`email`, `Comment`.`ip`, `Comment`.`status`, `Comment`.`junk_score`, `Comment`.`created`, `Comment`.`modified` FROM `comments` AS `Comment` WHERE `Comment`.`status` = 2 AND `Comment`.`post_id` = (78) 001
9SELECT `Tag`.`id`, `Tag`.`tag`, `PostsTag`.`post_id`, `PostsTag`.`tag_id` FROM `tags` AS `Tag` JOIN `posts_tags` AS `PostsTag` ON (`PostsTag`.`post_id` = 78 AND `PostsTag`.`tag_id` = `Tag`.`id`) 330
10SELECT `Category`.`id`, `Category`.`category`, `CategoriesPost`.`post_id`, `CategoriesPost`.`category_id` FROM `categories` AS `Category` JOIN `categories_posts` AS `CategoriesPost` ON (`CategoriesPost`.`post_id` = 78 AND `CategoriesPost`.`category_id` = `Category`.`id`) 110
11UPDATE `posts` AS `Post` SET `Post`.`hitcount` = Post.hitcount + 1 WHERE `Post`.`id` = 7811