Hi, My goal is to set up the server so that one directory acts like a windows share that (1) does not require any log in information to gain access (2) Can be viewed from a windows box and selected using map network drive. At the the same time, I also want to set up private space on the disk that does require an authorized user, username and password for access. My set up (see smb.conf below), as currently written, helps me accomplish the second goal. But not the first. As I'm looking at this, it occurs to me that the problem is that the "open to all" director is within the /home directory tree. Is there a way to make an exception to the security = users directive specified in [global]? Or should I place it in another directory altogether. The "open to all" directory will contain two things: files shared by everyone on the network and data for a custom database which is accessed by client-type applications distributed across the network. Thanks in advance for the help! Bob smb.conf. [global] workgroup = home_office netbios name = DEXTERLAKE server string = NBTAFileServer security = user encrypt passwords = yes guest account = public username map = /etc/samba/smbusers guest ok = yes [public] comment = For Lighthouse and general NBTA User data guest ok = yes force user = public path = /home/public/public writeable = yes browseable = yes [homes] comment = User Space path = /home/%U writeable = yes browseable = yes -- Bob Cohen Principal MojoTools and b.p.e.Creative http://www.mojotools.com bob -at- mojotools.com 508.384.0405 Yahoo IM bob_j_cohen
Bob, Try to do a chmod -R 777 /home/public -- it's possible that filesystem permissions are not right. Also try adding these lines to the definition for the "public" share as well. force group = public read only = No create mask = 0777 directory mask = 0777 Hope this helps you out!! On Tue, 11 Oct 2005 19:40:46 -0400, Bob Cohen wrote:>Hi, > >My goal is to set up the server so that one directory acts like a >windows share that > >(1) does not require any log in information to gain access >(2) Can be viewed from a windows box and selected using map network drive. > >At the the same time, I also want to set up private space on the disk >that does require an authorized user, username and password for access. > >My set up (see smb.conf below), as currently written, helps me >accomplish the second goal. But not the first. As I'm looking at this, >it occurs to me that the problem is that the "open to all" director is >within the /home directory tree. Is there a way to make an exception to >the security = users directive specified in [global]? Or should I place >it in another directory altogether. > >The "open to all" directory will contain two things: files shared by >everyone on the network and data for a custom database which is accessed >by client-type applications distributed across the network. > >Thanks in advance for the help! > >Bob > >smb.conf. > >[global] > workgroup = home_office > netbios name = DEXTERLAKE > server string = NBTAFileServer > security = user > encrypt passwords = yes > guest account = public > username map = /etc/samba/smbusers > guest ok = yes > >[public] > comment = For Lighthouse and general NBTA User data > guest ok = yes > force user = public > path = /home/public/public > writeable = yes > browseable = yes > >[homes] > comment = User Space > path = /home/%U > writeable = yes > browseable = yes > >-- >Bob Cohen >Principal MojoTools and b.p.e.Creative >http://www.mojotools.com >bob -at- mojotools.com >508.384.0405 >Yahoo IM bob_j_cohen > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bob Cohen wrote: | Hi, | | My goal is to set up the server so that one directory | acts like a windows share that | | (1) does not require any log in information | to gain access | (2) Can be viewed from a windows box and selected | using map network drive. | | At the the same time, I also want to set up | private space on the disk that does require | an authorized user, username and password for access. | | My set up (see smb.conf below), as currently | written, helps me accomplish the second goal. But | not the first. As I'm looking at this, it occurs to | me that the problem is that the "open to all" | director is within the /home directory tree. Is there | a way to make an exception to the security = users | directive specified in [global]? Or should I place | it in another directory altogether. You need a 2 virtual servers. Configure one with guest access. Let me know if you need example configs. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDTSbtIR7qMdg1EfYRAuHdAKC+HYOKrUBMQlFRF+EwFyzDqHOwQQCg3bNV nLCiSWh7K4p/aoH/VjLClfc=Id+H -----END PGP SIGNATURE-----