LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Samba Directory shares show up as printers on Win2K Boxes (https://www.linuxquestions.org/questions/linux-software-2/samba-directory-shares-show-up-as-printers-on-win2k-boxes-121860/)

mjrdzine 12-02-2003 12:34 AM

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)

DavidPhillips 12-02-2003 12:43 AM

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.

mjrdzine 12-02-2003 08:59 AM

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

DavidPhillips 12-02-2003 09:36 AM

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.

mjrdzine 12-02-2003 09:48 AM

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.

DavidPhillips 12-02-2003 09:55 AM

Cool :)


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