LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-01-2007, 04:32 AM   #1
lazymanc
LQ Newbie
 
Registered: May 2005
Distribution: Debian
Posts: 7

Rep: Reputation: 0
Accessing Samba share from windows domain


Hi, I've got a development webserver running Fedora Core 6, and I'm trying to make the webroot accessable via samba.

My samba config is as follows:
Code:
[global]
workgroup = WORKGROUP
netbios name = FC6VM

[htdocs]
path = /wwwroot/htdocs
comment = webserver document root
public = no
read only = no
valid users = htdocs

I've created the htdocs user, used smbpasswd to set the windows password, and given it read/write access to /wwwroot/htdocs.

The windows machine i'm trying to connect from is part of a windows domain. When I try to access the share from windows, the auth box pops up, but when I type "htdocs" as the user, it automatically tries to resolve "htdocs" to a windows domain user, i.e. <domain>\htdocs which doesn't exist.

What can I type as the username to prevent this happening? Is there a htdocs@xxx type username or similar format?
 
Old 05-01-2007, 06:41 AM   #2
scoban
Member
 
Registered: Nov 2004
Location: Turkey
Distribution: Slackware
Posts: 145

Rep: Reputation: 16
Try adding
Code:
 security=user
to the [global] definitions and restart samba
 
Old 05-02-2007, 03:09 AM   #3
lazymanc
LQ Newbie
 
Registered: May 2005
Distribution: Debian
Posts: 7

Original Poster
Rep: Reputation: 0
Changing the share name to something other than the same as the username seemed to fix it. i.e. [webroot]
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
accessing SAMBA share from windows. hacker supreme General 4 04-27-2007 10:38 AM
Samba: trouble accessing windows share linmix Linux - Software 8 10-12-2006 03:42 PM
samba - accessing windows share in linux mikeotieno Linux - Software 7 07-28-2006 06:12 AM
windows system hangs while accessing SAMBA share emailssent Linux - Software 0 09-14-2004 07:53 AM
Accessing Windows share from Red Hat 9 through Samba basu_arani Linux - Software 1 09-13-2003 05:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:59 AM.

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