[Samba] Configuration with Windows clients
Hi, I have troubles to configure a Samba Server to give access to a shared directory and subdirectories on a LINUX Server : - Read access to everyboby WITHOUT need to give a login (User/password): to all PCs on my network (workgroup) - Write access to only some Users , or some PC ( authorized by their @IP) With this in the smb.conf file : - With Telnet, the users "root" and "myuser" can write in /Common/Shared_Dir but with a logical drive connected on /Common/Shared_Dir within Windows, they can't !! The error message is "Impossible to copy file : access denied" #--- [Shared_Dir] path = /Common/Shared_Dir guest ok = yes create mask = 0775 browseable = yes write list = root, myuser Where : root is the owner for /Common/Shared_Diron the LINUX Server and : "myuser" is a user in a group which has the rights 775 on /Common/Shared_Dir #-- Thanks for help -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Configuration with Windows clients
Yes, until now it works well : I had written a mistake in the smb.conf ! Sorry Thanks a lot -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] la part de Albert HERVO Envoyé : vendredi 5 novembre 2004 13:25 À : Samba Objet : TR: [Samba] Configuration with Windows clients It doesn't work as I want : With this, everyboby has ALL accesses to Shared_pcs Although I have put : write list = root !! -Message d'origine- De : Matt Perkins [mailto:[EMAIL PROTECTED] Envoyé : jeudi 4 novembre 2004 21:49 À : Albert HERVO Cc : Samba Objet : Re: [Samba] Configuration with Windows clients Try this [Shared_pcs] path = /Common/Shared_pcs guest ok = yes create mask = 0777 browseable = yes write list = user1, user2, etc. On Thu, 2004-11-04 at 11:13, Albert HERVO wrote: > I try to configure a Samba Server to give access to a shared > directory and subdirectories : > > - Read access to everyboby WITHOUT need to give a login > (User/password): to all PCs on my network (workgroup) > - Write access to only some Users , or some PC ( authorized by their > @IP) > > > I have this in the smb.conf (on the linux Server): > > [Shared_pcs] > path = /Common/Shared_pcs > guest only = No > public = Yes > writable = Yes > create mask = 0777 > browseable = Yes > > > Whith this , all users can read but nobody can write in the directory > "Shared_pcs" -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
TR: [Samba] Configuration with Windows clients
It doesn't work as I want : With this, everyboby has ALL accesses to Shared_pcs Although I have put : write list = root !! -Message d'origine- De : Matt Perkins [mailto:[EMAIL PROTECTED] Envoyé : jeudi 4 novembre 2004 21:49 À : Albert HERVO Cc : Samba Objet : Re: [Samba] Configuration with Windows clients Try this [Shared_pcs] path = /Common/Shared_pcs guest ok = yes create mask = 0777 browseable = yes write list = user1, user2, etc. On Thu, 2004-11-04 at 11:13, Albert HERVO wrote: > I try to configure a Samba Server to give access to a shared > directory and subdirectories : > > - Read access to everyboby WITHOUT need to give a login > (User/password): to all PCs on my network (workgroup) > - Write access to only some Users , or some PC ( authorized by their > @IP) > > > I have this in the smb.conf (on the linux Server): > > [Shared_pcs] > path = /Common/Shared_pcs > guest only = No > public = Yes > writable = Yes > create mask = 0777 > browseable = Yes > > > Whith this , all users can read but nobody can write in the directory > "Shared_pcs" -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Configuration with Windows clients
I try to configure a Samba Server to give access to a shared directory and subdirectories : - Read access to everyboby WITHOUT need to give a login (User/password): to all PCs on my network (workgroup) - Write access to only some Users , or some PC ( authorized by their @IP) I have this in the smb.conf (on the linux Server): [Shared_pcs] path = /Common/Shared_pcs guest only = No public = Yes writable = Yes create mask = 0777 browseable = Yes Whith this , all users can read but nobody can write in the directory "Shared_pcs" -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Access from Windows to Samba/LINUX
- It's "nearly" this ! I want to have a share called directory_1 (or [myshare] here). In this share, subdirectories ([test1], [test1] ...) which are invisible to the users, but writeable for these users. But the "hidden"-flag you say, is for Files, not for folders. I have tried this (in my example) : The sub-folder "test2" is always visible under Windows [myshare] path = /myshare guest only = Yes guest ok = Yes public = Yes writable = Yes create mask = 0775 browseable = Yes [test2] path = /myshare/test2 guest only = Yes guest ok = Yes public = Yes writable = Yes create mask = 0775 browseable = No map hidden = Yes - If It's not possible like this, I would have something like this : [myshare] : NOT Browseable (unvisible) BUT Writable At the moment it doesn't work better. - About "browseable" or "browsable" : It seems to be both correct ? Albert -Message d'origine- De : Christoph Scheeder [mailto:[EMAIL PROTECTED] Envoye : mercredi 15 septembre 2004 11:53 A : Albert HERVO Cc : [EMAIL PROTECTED] Objet : Re: [Samba] Access from Windows to Samba/LINUX Hi, just to clarify this a bit, you want to have a share called directory_1. In this share you want to have subdirectorys which are invisible to the users, but writeable, like the so called "hidden-folders" in windows. is this correct? Then you need to set up the mapping for the "hidden"-flag of windows. Have a look at the manpage for smbd.conf and search for "map hidden". This flag allows the mapping of one of the unix-executable-bit's to the windows hidden-flag. Christoph Albert HERVO schrieb: > Nothing works ! > > - First the parameters is "browseable" or "browsable" ? > > - I have created with the Windows Explorer a directory "test" under > the directory "myshare" > and modified the /etc/samba/smb.conf as : > [myshare] > path = /myshare > guest only = Yes > guest ok = Yes > public = Yes > writable = Yes > create mask = 0775 > browseable = Yes > > [test] > path = /myshare/test > guest only = Yes > guest ok = Yes > public = Yes > writable = Yes > create mask = 0775 > browsable = No > > [test2] > path = /myshare/test2 > guest only = Yes > guest ok = Yes > public = Yes > writable = Yes > create mask = 0775 > browseable = No > > - Then I Stop and Restart the SMB service > > Now the "test" AND "test2" directy are visible by the Windows Explorer > ! > > Albert > > > > > > > On Tuesday 14 September 2004 12:09, Darren Martz wrote: > >>If you want a "share" to be hidden from browsing, one option is to > > add $ to > >>the end of the share name. Example, rather than : > > > And the preferred method in Samba is to set in the share definition: > > browseable = No > > - John T. > > >> [myshare] >> >>Change it to >> >> [myshare$] >> >>And the windows browser will ignore it unless you type in the share > > name in > >>the address bar. >> >>That works for both Windows and Linux hosting servers. >> >> >>-Original Message- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On > > Behalf Of > >>Albert HERVO >>Sent: Tuesday, September 14, 2004 9:58 AM >>To: [EMAIL PROTECTED] >>Subject: [Samba] Access from Windows to Samba/LINUX >> >> >>Hello, >> >> I am configuring PCs on Windows W2K to access to a LINUX Server >>where Samba is mounted >> >> Is-it possible to do this ? >> >> Directory_1 : Browseable (then >>visible with the Network Favorits) >> -Sub_Directory_1a : NOT Browseable >>(unvisible) BUT Writable >> -Sub_Directory_2a : " >>" " >> >> >> If not, then just this ? >> >> Directory_1 : NOT Browseable >>(unvisible) BUT Writable >> >>Thanks >> >>Albert >> >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: http://lists.samba.org/mailman/listinfo/samba > > > -- > John H Terpstra > Samba-Team Member > Phone: +1 (650) 580-8668 > > Author: > The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 > Samba-3 by Example, ISBN: 0131472216 > Hardening Linux, ISBN: 0072254971 > OpenLDAP by Example, ISBN: 0131488732 > Other books in production. > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba > -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] Access from Windows to Samba/LINUX
Nothing works ! - First the parameters is "browseable" or "browsable" ? - I have created with the Windows Explorer a directory "test" under the directory "myshare" and modified the /etc/samba/smb.conf as : [myshare] path = /myshare guest only = Yes guest ok = Yes public = Yes writable = Yes create mask = 0775 browseable = Yes [test] path = /myshare/test guest only = Yes guest ok = Yes public = Yes writable = Yes create mask = 0775 browsable = No [test2] path = /myshare/test2 guest only = Yes guest ok = Yes public = Yes writable = Yes create mask = 0775 browseable = No - Then I Stop and Restart the SMB service Now the "test" AND "test2" directy are visible by the Windows Explorer ! Albert On Tuesday 14 September 2004 12:09, Darren Martz wrote: > If you want a "share" to be hidden from browsing, one option is to add $ to > the end of the share name. Example, rather than : And the preferred method in Samba is to set in the share definition: browseable = No - John T. > > [myshare] > > Change it to > > [myshare$] > > And the windows browser will ignore it unless you type in the share name in > the address bar. > > That works for both Windows and Linux hosting servers. > > > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Albert HERVO > Sent: Tuesday, September 14, 2004 9:58 AM > To: [EMAIL PROTECTED] > Subject: [Samba] Access from Windows to Samba/LINUX > > > Hello, > > I am configuring PCs on Windows W2K to access to a LINUX Server > where Samba is mounted > > Is-it possible to do this ? > > Directory_1 : Browseable (then > visible with the Network Favorits) > -Sub_Directory_1a : NOT Browseable > (unvisible) BUT Writable > -Sub_Directory_2a : " > " " > > > If not, then just this ? > > Directory_1 : NOT Browseable > (unvisible) BUT Writable > > Thanks > > Albert > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba -- John H Terpstra Samba-Team Member Phone: +1 (650) 580-8668 Author: The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556 Samba-3 by Example, ISBN: 0131472216 Hardening Linux, ISBN: 0072254971 OpenLDAP by Example, ISBN: 0131488732 Other books in production. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] Access from Windows to Samba/LINUX
Hello, I am configuring PCs on Windows W2K to access to a LINUX Server where Samba is mounted Is-it possible to do this ? Directory_1 : Browseable (then visible with the Network Favorits) -Sub_Directory_1a : NOT Browseable (unvisible) BUT Writable -Sub_Directory_2a : " " " If not, then just this ? Directory_1 : NOT Browseable (unvisible) BUT Writable Thanks Albert -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba