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


  Search this Thread
Old 05-01-2007, 05:32 AM   #1
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:
workgroup = WORKGROUP
netbios name = FC6VM

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, 07:41 AM   #2
Registered: Nov 2004
Location: Turkey
Distribution: Slackware
Posts: 145

Rep: Reputation: 16
Try adding
to the [global] definitions and restart samba
Old 05-02-2007, 04:09 AM   #3
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]


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

All times are GMT -5. The time now is 07:30 AM.

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