Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 10-15-2003, 02:44 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 2

Rep: Reputation: 0
PLEASE HELP - Samba + XP Problem

Hi people,
I know there is a HEAP of info on various problems to do with Samba and XP around the web, and i have searched long and hard for weeks trying to find info that relates specificaly to my problem but can seem to find an Answer.

Currently have a Unix box which acts as a Samba Server, to which a number of Windows 2000 machines and XP machines connect.

When you type \\SMBSERVER\(share) on a 2000 machine, the login box pops up and you enter your user name and password, and you are able to login to that share if you have the permisions (e.g if its your home dir).

However on the XP machines if do the similar \\ attempt to connect, the login box pops up, but the Username is locked as \\SMBSERVER\Guest, and you cannot enter there own user name and pass. (if you press enter the box just keeps reappearing demanding the correct password for \\SMBSERVER\Guest)

## NB ##
My Network is Setup as a Workgroup, and thus the Registry Tweaks to help connect to a domain that are posted around the Internet do not help.

I have tried maping the drive, using the connect as different username and it does not work.

Finaly, if i go into the smb.conf and change "Security = Share" to "Security = User" and attempt a \\SMBSERVER connection, the username is no longer locked to Guest, and i can enter login and pass as you do in Win2000. This however messes with the whole Printer/Guest sharing that is setup on the Samba Server.
I know people have been able to get XP to connect with "Share" and 2000 can do it, so im sure there is a way.

PLEASE HELP - I am all out of ideas. Thanks in advance to anyone with any ideas.


Old 10-15-2003, 05:13 AM   #2
LQ Newbie
Registered: Oct 2003
Location: Braga
Distribution: RedHat
Posts: 9

Rep: Reputation: 0
Have you used "Guest OK = yes" option on the share, while using "Security = Share"? it might help...
Old 10-15-2003, 05:17 AM   #3
LQ Newbie
Registered: Oct 2003
Location: Braga
Distribution: RedHat
Posts: 9

Rep: Reputation: 0
Opps ... silly answer...
Old 10-16-2003, 12:21 AM   #4
LQ Newbie
Registered: Oct 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Heres my Smb.conf

server string = samba server
workgroup = workgroup
netbios name = samba
preferred master = yes
local master = yes
print command = /usr/ucb/lpr -r -P%p %s; /usr/bin/rm %s
lpq command = /usr/ucb/lpq -P%p
printer name = lp
; printcap name = /opt/samba/lib/printcap
printcap name = lpstat
use client driver = yes
load printers = yes
guest account = nobody
protocol = NT1
browsable = yes
dead time = 15
hosts allow = [allowed ips are in here]
wide links = yes
write raw = no
read raw = yes
max xmit = 65535
getwd cache = yes
fake oplocks = yes
case sensitive = no
default case = lower
preserve case = yes
short preserve case = no
status = yes
log file = /opt/samba/var/log.%m
log level = 2
max log size = 1000
security = share
socket options = TCP_NODELAY
socket options = SO_SNDBUF=8192 SO_RCVBUF=8192
unix password sync = yes

read only = no
create mode = 0750
comment = Restricted: Users' home directories
comment = The next line is needed to allow people to access their
comment = Web directories, which are always on another filesystem.
wide links = yes


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
Samba - Windows XP Problem (//Samba is not accessible) Covenent Linux - Networking 20 08-11-2011 05:07 PM
samba 3 problem - samba PDC can not join to the domain ananthak Linux - Networking 1 05-21-2006 11:39 AM
samba problem. bruse Linux - Networking 1 08-13-2005 11:08 AM
Samba Problem tied2 Linux - Newbie 5 06-17-2002 10:41 PM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 09:45 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