LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 12-02-2003, 01:34 AM   #1
mjrdzine
LQ Newbie
 
Registered: Sep 2003
Location: Texas
Distribution: Suse 8.2x
Posts: 11

Rep: Reputation: 0
Unhappy Samba Directory shares show up as printers on Win2K Boxes


Hi. I'm haveing a problem with completeing the set up of Samba running on my Suse 8.2x box. I 've gotten as far as connecting to the linux box from all 3 win2k boxes but the directory shares i create show up as printers in the win2k "my network places" box. And it's not just an icon. If i try to open one it tells me i first have to set up that printer. I have gone through all the man files and examples and dissabled every setting i can find for printers. (i don't have one hooked directly to this box) I've also followed the directions for the win2k SP2 issue. The main directory i need to share is on a windows fat32 partion, if that matters. But any share i create gives the same problem. NOTE that the HOMES share that is default in the smb.conf file does work, but I can't share the files i need to in the HOME directories (autocad / win4lin stuff, let's not go there now)
 
Old 12-02-2003, 01:43 AM   #2
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
Show us the relative portion of the /etc/samba/smb.conf file for the share.

Show use the relative portion of the /etc/fstab file for the fat32 partition, or the mount command used to mount it.
 
Old 12-02-2003, 09:59 AM   #3
mjrdzine
LQ Newbie
 
Registered: Sep 2003
Location: Texas
Distribution: Suse 8.2x
Posts: 11

Original Poster
Rep: Reputation: 0
O.k. i think you probably identified my problem. fstab? O.k. so i found the linux one you requested at /etc and the lines relative to my windows drives are this.

/dev/hda1 /windows/C vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0
/dev/hdb1 /windows/D vfat users,gid=users,umask=0002,iocharset=iso8859-1,code=437 0 0

I also found the file /etc/samba/smbfstab and it is empty. I've read a little about this file but didn't realize it pertained to existing volumes. I was lead to believe it was a fat system one used on volumes made specifically for Samba. I noticed that when i boot up some thing to the effect of "mount smb file system ..... not used" goes by.

The stuff i need to share is on the /window/D drive which is what i put in the share portion of my smbconf, as is below.

[Data]
comment = Work Files
path = /windows/D/My Documents-Pete
volume = D
public = yes
writable = Yes
printable = Yes

As for mounting that drive, do you mean with in the share section of the smbconf? I've never had to type a mount command for that drive. I can share it across my network when i've got win4lin/windows98se running in Linux. But i don't always want that running. (i'd prefer that i never had to run it, but that's a whole other gripe) I suppose KDE or Win4Lin mount it in the back ground for me when i access it normally. I new i should have learned this OS from a command prompt before i loaded a graphic interface. I think this would all be more clear to me.

Time is the enemy and the savior
 
Old 12-02-2003, 10:36 AM   #4
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
The mount command I mentioned would be in case you were not mounting it through /etc/fstab. Looks like it's not an issue in this case.


Your problem with the shares showing as printers is caused by having this line in the smb.conf

printable = Yes

comment it out,, restart Samba and let us know if you see any other problem.
 
Old 12-02-2003, 10:48 AM   #5
mjrdzine
LQ Newbie
 
Registered: Sep 2003
Location: Texas
Distribution: Suse 8.2x
Posts: 11

Original Poster
Rep: Reputation: 0
YES!!!! problem fixed. Thank you so much. Now i get to figure out how to start Samba during boot up. But don't tell me!! I need to finger this out for my self or i'll never learn it.

Thanks again.
 
Old 12-02-2003, 10:55 AM   #6
DavidPhillips
Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,155

Rep: Reputation: 56
Cool
 
  


Reply


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
Can't brose Samba shares from Win2k MepisNoob MEPIS 3 08-18-2005 03:38 PM
XP Add printer doesn't show Samba printers fclifton Linux - Networking 0 08-15-2004 09:56 PM
Samba:Unable to connect shares from win2k client vikram_cvk Linux - Software 8 03-22-2004 01:14 AM
Mounting Win2k Shares w/Samba HKDude Linux - Newbie 2 01-25-2004 07:42 PM
Samba:Unable to connect shares from win2k client vikram_cvk Linux - Software 0 01-13-2004 07:03 AM


All times are GMT -5. The time now is 01:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration