-   Mandriva (
-   -   trouble setting shares so samba networked xp box can browse files (

mjewell 11-11-2005 04:50 PM

trouble setting shares so samba networked xp box can browse files
Mandriva Ltd Ed 05 is set up on a machine in a networked office. The machine running Windows XP Pro in the reception area needs to browse document files kept in directories on the Mandriva machine.

Using smb, the reception machine can see the directories but not the files inside the directories. How can the directories on the drive on the office machine be set up to recursively share all its files with the XP machine?

Let me know what else I can post to help. The smb.conf file still has almost all of its default settings.

purelithium 11-11-2005 07:04 PM

generally, defaults probably won't allow you to do what you want. So, you'll probably have to change something.

Are you sure that the partition is shared properly?

mjewell 11-11-2005 09:58 PM

How do I confirm the partition is shared properly? The XP filesystem in the reception area can be mounted onto the linux machine in the backoffice. The linux directories that have been shared (by rightclicking, selecting properties and then selecting shared) show up on the XP machine. Its the files within the directories on the Mandriva machine that cannot be reached from the XP machine.

fdahl_009 11-13-2005 08:17 AM

Are you using a spesific user to enter the samba share? If you do you might have to change the ownership of the files in the directory you want to let the xp view. chown <user> <file>
To change all files in an folder, use chown <user> <dir> -R

When you edit make sure you have public ON if you want to browse and copy files without password..

Make a new entry at the bottom of smb.conf:

[share name]
comment = if you want to use a comment of the share
path = /path/to/share
valid users = valid users, if you are using user-security, if not, skip this line
public = yes/no - if you want the folder to be browsed without password or user-security
writeable = yes/no - it you want clients to have permission to write in the folder

fdahl_009 11-13-2005 08:20 AM

oh, I forgot:
also remember to restart samba after the change, <service smb restart> to restart samba and use the new changes in smb.conf

All times are GMT -5. The time now is 02:48 PM.