LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-04-2004, 03:00 PM   #1
Provi
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Rep: Reputation: 0
Can't access samba from WinXP home


After reinstalling linux server (replaced Fedora c1 with c2) I can't access samba server from XP home. I used same smb.conf file as before and it works fine for another computer with Win98.
I keep getting request for guest password I can't get rid off.

My smb.conf:

[global]
log file = /var/log/samba/%m.log
dns proxy = no
printer = hp2100m
load printers = yes
guest account = benjamin
server string = serverbe
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
password server = None
workgroup = mshome
guest ok = yes
printcap name = /etc/printcap
security = SHARE
max log size = 50
hosts deny = ALL
hosts allow = 127.0.0.1 192.168.0.

[homes]
comment = Home Directories
browseable = no
writeable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /home/netlogon
; guest ok = yes
; writable = no
; share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /home/profiles
; browseable = no
; guest ok = yes


# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
browseable = no
printable = yes
path = /var/spool/samba

[root]
comment = cel disk
valid users = benjamin
writeable = yes
create mode = 0765
path = /
allow hosts = 192.168.0.10 127.

[benjamin]
path = /home/benjamin
writeable = yes
guest ok = yes

[ps printer]
printer = HPps
comment = ps printer
browseable = no
printable = yes
path = /var/spool/samba
 
Old 08-04-2004, 05:19 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
hi Provi, welcome to lq. try adding these options under global

netbios name = your netbios name
encrypt passwords = Yes

remember to restart smbd and nmbd after any changes.
good luck.
 
Old 08-04-2004, 06:01 PM   #3
Provi
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by PEACEDOG
hi Provi, welcome to lq. try adding these options under global


Thaks

Quote:
netbios name = your netbios name
encrypt passwords = Yes

remember to restart smbd and nmbd after any changes.
good luck.
I did it but no improvement ...
Is username on XP comp importatnt when guest access is enabled?

LPb
 
Old 08-04-2004, 06:23 PM   #4
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
on mine, security = share (don't know if it's case sensitive, but most *nix stuff is), also, does user benjamin on your linux box require a password, if so, then you might want to set up a guest account, then passwd -f guest to allow it to not have a password, and map shares accordingly
 
Old 08-05-2004, 02:54 AM   #5
Provi
LQ Newbie
 
Registered: Aug 2004
Posts: 3

Original Poster
Rep: Reputation: 0
It is working now, thanks.

This morning I got report from logwatch and here are some samba warnings:

WARNING: Kernel Errors Present
end_request: I/O error, dev hda, sector...: 4 Time(s)
smb_file_read: //pagefile.sys validation failed, error=4294967270...: 1 Time(s)
smb_lookup: find //pagefile.sys failed, error=-26...: 14 Time(s)
smb_proc_readdir_long: error=-13, breaking...: 6 Time(s)

Should I worry or is this normal?
 
Old 08-05-2004, 11:21 AM   #6
Ghost_runner
Member
 
Registered: Jun 2004
Location: Kansas City, MO
Distribution: Fedora (LXQT)
Posts: 276

Rep: Reputation: 30
my working theory is that if it does what you want it to do, then error messages are just there to let you know the program is working
 
  


Reply



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
FC4, SAMBA & WinXP home basic setup help please?! :) KevinAlaska Linux - Networking 3 11-09-2005 10:53 AM
view home directory through samba on winxp jsmarshall85 Linux - Networking 4 10-07-2004 02:37 PM
Samba: Can't access shares with WinXP thorax Linux - Software 14 07-28-2004 06:13 AM
winxp can't access my samba share?? andrewlkho Linux - Software 2 08-29-2003 05:00 PM
samba running but winXP can't access felkin Linux - Networking 4 06-24-2003 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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