Download your favorite Linux distribution at LQ ISO.
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 09-09-2005, 12:45 AM   #1
LQ Newbie
Registered: Sep 2005
Distribution: SUSE Pro 9.3
Posts: 3

Rep: Reputation: 0
Cannot see my Win XP SP2 box with shared printer from my SUSE Pro 9.3 box

I am new to the Linux world and have spent the last 2 weeks getting accustomed to Linux. Thus far my experience has been successful, with the exception that I cannot see the shared drives, printers, or even the Windows box that has my primary printer. I have setup and configured both Samba Server and client. THe WinXP SP2 box can see my linux shares and connect to them, however I can't even see the Windows box. I'm at a loss, as i'm in new territory. I've spent hours reading books and posts, but as of yet am unable to get things to work. I'd appreciate a little bit of help. I'm not sure what information you would need to help me out, so let me know and I'll post it.

Thanks in advance for the help.

Old 09-10-2005, 01:04 PM   #2
LQ Guru
Registered: Sep 2001
Location: Montreal, Canada
Distribution: Slackware; Debian; Gentoo...
Posts: 2,163

Rep: Reputation: 45
well... what do you mean "I cannot see the shared drives, printers, or even the Windows box". I mean... what are you using to try/test?
The very first step is usually to use smbclient using your windoze machine ip, like in the following :
smbclient -L //
This will list what's i shared on the windoze box to anonymous users (for now, we don't need auth, it's just testing).
Then, you could try with name, sometime, only the netbios name resolution is wrong :
smbclient -L //My_Sucky_XP
If everything is fine so far... try to mount a shared drive, something like :
mount -t smbfs -o username=BOB //My_Sucky_XP/shared_stuff /where/you/want/it/empty/dir
If everything went fine... well there is probably just something slightly wrong in your config.
Old 09-10-2005, 01:06 PM   #3
LQ Guru
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
with Winxp sp2 u need to allow more exceptions in ur LAN firewall

Old 09-11-2005, 01:16 PM   #4
LQ Newbie
Registered: Sep 2005
Distribution: SUSE Pro 9.3
Posts: 3

Original Poster
Rep: Reputation: 0
That has helped thus far

If I key in the following I see what is below.

BJlinux:~ # smbclient -L //
Domain=[FAMDENDELL] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Sharename Type Comment
--------- ---- -------
D$ Disk Default share
print$ Disk Printer Drivers
SharedDocs Disk
ADMIN$ Disk Remote Admin
C$ Disk Default share
Printer Printer Microsoft Office Document Image Writer
HPlaser Printer HP LaserJet 1100 (MS)
session request to failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[FAMDENDELL] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

Server Comment
--------- -------

Workgroup Master
--------- -------

However, if I try with the name I get the following.

BJlinux:~ # smbclient -L //FAMDENDELL
Connection to FAMDENDELL failed

I was also able to mount the SharedDocs folder using the IP. What would be the issue with my config? I have included it below. I really appreciate your help.

# smb.conf is the main Samba configuration file. You find a full commented
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the
# samba-doc package is installed.
# Date: 2005-04-04
workgroup = Vlhome
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
include = /etc/samba/dhcp.conf
logon path = \\%L\profiles\.msprofile
logon home = \\%L\%U\.9xprofile
logon drive = P:
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain master = No
security = user
restrict anonymous = no
max protocol = NT
ldap ssl = No
server signing = Auto
domain logons = No
netbios name = bjlinux
server string = BJLinux Samba Server
idmap gid = 10000-20000
idmap uid = 10000-20000
encrypt passwords = yes
local master = no

comment = Home Directories
valid users = %S
browseable = No
read only = No
inherit acls = Yes

comment = Network Profiles Service
path = %H
read only = No
store dos attributes = Yes
create mask = 0600
directory mask = 0700

comment = All users
path = /home
read only = No
inherit acls = Yes
veto files = /aquota.user/groups/shares/

comment = All groups
path = /home/groups
read only = No
inherit acls = Yes

comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775


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
How do I get my Suse 9.1 box to print to the printer attached to my Win XP box? PadreFabuloso Linux - Newbie 2 06-23-2005 04:06 PM
shared Internet access, same box, dual boot, win xp and rh9 provri Red Hat 2 06-21-2005 12:36 AM
Suse 9.2 Won't Detect Win XP Pro SP2... ram0135 SUSE / openSUSE 2 12-12-2004 10:51 PM
Connect Red Hat box to Win XP box? VBAHole22 Linux - Newbie 6 05-09-2004 11:13 AM
How do I access files on Win box from Linux box zanew Linux - Networking 5 06-12-2002 11:58 AM > Forums > Linux Forums > Linux - Networking

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