Samba only works half as good as it should
Hi. I am having some problems with samba of course. I am using a minimal config file written by myself. It works just not as well as it really should. This is my config file.
Code:
[global] John |
I have a Samba thing which may relate. My windoze laptop can see on my Linux desktop all that I provided for when I configured Samba. And I can read and write files from win to Linux. However Linux can not see the laptop at all, even though there are many shares on it to look at. And all workstation firewalls are configured to trust intralan communications.
|
well I had a problem with that kinda if you have a firewall like norton which i have i added the ips from the internal network to be able to access the windows box. so try that.
|
Alright here is what I get from both computers for results on whether or not it connects and it does connect I just can't seem to figure this out.
From Gentoo box: smbclient -L dubMD Password: Domain=[DUBMD] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Sharename Type Comment --------- ---- ------- IPC$ IPC Remote IPC print$ Disk Printer Drivers SharedDocs Disk Printer4 Printer Creates Adobe PDF Printer Printer Microsoft Office Document Image Writer Domain=[DUBMD] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager] Server Comment --------- ------- Workgroup Master --------- ------- From Windoze box: c:>net view \\PROTOTYPEX Shared resources at \\PROTOTYPEX Samba 3.0.22 Share name Type Used as Comment ------------------------------------------------------------------------------- DuHasstHome Disk (UNC) My home dir OldWin Disk (UNC) Old windows install The command completed successfully. smb.conf: [global] workgroup = DEADSPACE netbios name = PROTOTYPEX security = share guest ok = yes [OldWin] path = /mnt/windows/Media comment = Old windows install available = yes browsable = yes public = yes #create mask = 0774 #directory mask = 0775 create mask = 0744 directory mask = 0755 [DuHasstHome] path = /home/duhasst0 comment = My home dir So far I can access both shares. Thing is the /home/duhasst0 works just the way it should. The other share though I can just access the directory and only the first sub directory but the next sub directory and any file in there cannot be accessed by any of my windows programs. I can't even copy the files so... PLEASE HELP. |
Alright from what I have read my problem is that one of my shares happens to reside in a ntfs part. Unfortunetly I don't have any extra space to transfer to. I am in one sticky situation. So I think I am screwed on that one. Anyway I hope that this post will help others in the future.
|
This is a simple fix. Just uncomment the security = share
Make sure your /mnt/windows/media has at least XX4 permissions. Same with your /home |
All times are GMT -5. The time now is 06:19 PM. |