LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   PLEASE HELP - Samba + XP Problem (https://www.linuxquestions.org/questions/linux-networking-3/please-help-samba-xp-problem-104101/)

bexta 10-15-2003 01:44 AM

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.

THANKS

Bexta

bootloader 10-15-2003 04:13 AM

Have you used "Guest OK = yes" option on the share, while using "Security = Share"? it might help...

bootloader 10-15-2003 04:17 AM

Opps ... silly answer...

bexta 10-15-2003 11:21 PM

Heres my Smb.conf

[global]
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

[homes]
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


All times are GMT -5. The time now is 06:51 PM.