LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-30-2004, 06:47 PM   #1
digitalgravy
Member
 
Registered: Nov 2003
Posts: 86

Rep: Reputation: 15
Angry Samba - MDK 9.2 - Win 2k


I am having trouble with samba.

I moved from Redhat 9 to Mandrake 9.2 and I am having trouble with things that just worked in Redhat.

I installed and configured Samba and SWAT. I have my shared space from my linux box mounted as a network drive on my windows box and everything is fine there.

My problems are the following:
1. Accessing anything on my Windows box from linux.
2. Printing on the shared printers from my windows box

I think that if I resolve the first issue, the second one will work fine.

When I open nautilus and enter smb:/// I see my workgroup wihch is wpomona.

When I click on wpomona is shows my two systems: linuxbox and main.
When I click on linuxbox it show me my shares.
When I click on main (the windows box) an error window pops up and it says "Invalid Action Associated"

When I type "smb://main" directly I get this message
"Couldn't display "smb://main", because no host "main" could be found. Check that the spelling is correct and that your proxy settings are correct."

I have the following ports on my linux firewall open 137, 138 & 139 both tcp and udp.

I thought it might be my windows firewall so I turned it off and still doesn't work.

If I can get this to work, maybe the printing issue will resolve itself.

Any suggestions would be great.

Thanks in adavance!
 
Old 02-02-2004, 07:35 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,214

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
I just went through a similar set of problems, and learned quite a lot. Some suggestions. My problems were between Mandrake 9.2 and XP Home.

My guess is the two problems are not related.

First suggestion, have a look through M$ Knowledge base. There are known issues if there have been upgrades on the Windoze system. Turned out I needed to add a guest account. I could not access Linux shares without it.

For the printing problem, it may be useful if you posted your smb.conf file. There is some good help availible, once your file is posted.

Hope this gets you started in the right direction.
 
Old 02-02-2004, 12:12 PM   #3
digitalgravy
Member
 
Registered: Nov 2003
Posts: 86

Original Poster
Rep: Reputation: 15
Thank's Cliff,

I'll look into the knowledgebase.

Here is my smb.conf file:

# Samba config file created using SWAT
# from localhost (127.0.0.1)
# Date: 2004/01/27 17:17:11

# Global parameters
[global]
workgroup = WPOMONA
netbios name = LINUXBOX
server string = Samba Server
interfaces = eth0
security = SHARE
encrypt passwords = Yes
map to guest = Bad User
log file = /var/log/samba/log.%m
max log size = 50
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = cups
dns proxy = No
printing = cups

[homes]
comment = Home Directories
read only = No
browseable = No

[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
guest ok = Yes
printable = Yes
print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers.
browseable = No

[print$]
path = /var/lib/samba/printers
write list = @adm root
guest ok = Yes

[pdf-generator]
comment = PDF Generator (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I &

[pdf-screen]
comment = PDF Generator - Screen quality (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "" %S &
copy = pdf-generator

[pdf-printer]
comment = PDF Generator - Print quality (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "" %S &
copy = pdf-generator

[pdf-prepress]
comment = PDF Generator - PrePress quality (only valid users)
path = /var/tmp
printable = Yes
print command = /usr/share/samba/scripts/print-pdf %s ~%u //%L/%u %m %I "" %S &
copy = pdf-generator

[all]
comment = all
path = /
read only = No

I hope this sheds some light.

Thanks
 
Old 02-02-2004, 01:00 PM   #4
inigo2
LQ Newbie
 
Registered: Jan 2004
Distribution: Mandrake 9.2
Posts: 2

Rep: Reputation: 0
Hopefully I'm not simplifying this too much, but did you make sure that "main" was in your /etc/hosts file? If not, try smb://ip.address.of.main; if that works, then adding "main" to your hosts file might fix the issue. Maybe..
 
Old 02-02-2004, 01:10 PM   #5
digitalgravy
Member
 
Registered: Nov 2003
Posts: 86

Original Poster
Rep: Reputation: 15
inigo2,

Thanks! It works. I can connect, I just need to adjust account settings on my windows box.

Well, I learned something new today.

Thanks Again.

I'll post if I have success with printing as soon as I get a chance to play with it.
 
Old 02-02-2004, 02:16 PM   #6
digitalgravy
Member
 
Registered: Nov 2003
Posts: 86

Original Poster
Rep: Reputation: 15
Everything works correctly now (printing and File Sharing)!

Thanks for the help!
 
  


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
Samba 2.2.8 MDK 9.2 / Win XP Pro interface problem JohnLocke Linux - Networking 13 07-24-2004 03:57 PM
Rebooting mdk 9.2 (win 98 dual boot) after win hd fails jnt Mandriva 3 04-05-2004 05:57 PM
Win->Samba works, Samba->Win does'nt work outburst Linux - Networking 2 10-30-2003 08:31 AM
win xp won't login to samba after reboot but win 2k works great davidekholm Linux - Networking 1 04-04-2003 09:44 AM
win xp won't login to samba but win 2k works great mrtwice Linux - Networking 4 03-28-2003 01:27 PM

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

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