[Samba] How do I create a globally accessible directory [partly solved] (XP works/98 doesn't)

Steve Litt slitt at troubleshooters.com
Mon Aug 26 05:22:01 GMT 2002


Or you can run your smb.conf thru swat, and commit changes without changing 
anything. Swat deletes all explicitly specified defaults, for a much smaller 
smb.conf. Be aware it also deletes comments :-).

Steve

-- 
_____________________________________________________________
Steve Litt
Author: 
  * Universal Troubleshooting Process courseware
  * Troubleshooting Techniques of the Successful Technologist
  * Rapid Learning: Secret Weapon of the Successful Technologist
http://www.troubleshooters.com

Troubleshooters.Com Webmaster 
(Legal Disclaimer) Follow these suggestions at your own risk.
-------------------------------------------------------------




On Monday 26 August 2002 09:12 am, Rashkae wrote:
> I would guess his smb.conf is so complex because the documentation is,
> albeit thorough, very daunting when it comes to step by step procedures.
> If someone is not experienced at reading 50+ screenfulls of man page, it's
> very difficult to parse what's going on.
>
> The only thing I can think of that would help this is perhaps to create
> multiple sample smb.conf files that are kept as simple as possible for
> typical situations....
>
> (1 for Domain Master, 1 for Samba joining a domain, 1 for Samba acting as
> a peer on unsecure network, heck even an smb.conf that makes samba behave
> like Win95. (Err, forgoing the root part.))
>
> Of course, it's pretty easy to make these grand suggestions when your
> volunteering someone else's time.
>
>
> On Mon, 26 Aug 2002, Joel Hammer wrote:
>
> Why is your smb.conf so complex for such a simple situation? This works for
> me:
>
> # Global parameters
> [global]
> 	security = SHARE
> 	guest account = ftp
> [AllFiles]
> 	comment = All Files
> 	path = /
> 	read only = no
> 	guest ok = yes
>
> You can try security = share, too. Now, be aware that after the logon,
> the user will be the guest user, in this example ftp. ftp has limited
> rights. Make sure your shared directory has permissions 777.
>
> For a stunningly windows like experience, you can make the guest user root.
>
> Joel
>
> > -------------------------------------
> > [tmp]
> >    comment = Temporary file space
> >    path = /SAMBA
> >    security = share
> >    read only = no
> >    public = yes
> >    browseable = yes
> >    writeable = yes
> >    security = SHARE
> >    log level = 3
> >    hosts allow = 192.168.0. 127.0.0.
> >    guest ok = yes
> >    username = pcguest
> >    guest ok = yes
> >    guest only = yes
> >    guest account = pcguest
> >    read list = pcguest
> >    write list = pcguest
> >
> > [MP3]
> >    comment = MP3 Audio Files
> >    path = /MP3
> >    security = SHARE
> >    public = yes
> >    read only = Yes
> >    only user = no
> >    browseable = yes
> >    writeable = no
> >    write list = dae51d, daevid, root
> >    admin users = dae51d, daevid, root
> >    log level = 3
> >    preexec = cat %u %H %U %G >> /tmp/logon
> >    username = pcguest
> >    guest ok = yes
> >    guest only = yes
> >    guest account = pcguest
> >    read list = pcguest
> >
> > -------------------------------------
> > smbusers:
> > -------------------------------------
> > # Unix_name = SMB_name1 SMB_name2 ...
> > # nobody = guest pcguest smbguest
> > root = administrator admin Administrator
> > dae51d = daevid
> >
> > -------------------------------------
> > smbpasswd:
> > -------------------------------------
> > #
> > # SMB password file.
> > #
> > root:0:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> >
> > :[U          ]:LCT-00000000:root
> >
> > ftp:14:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
> >
> > :[U          ]:LCT-00000000:FTP User
> >
> > nobody:99:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO
> > PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NU         ]:LCT-3D69B727:Nobody
> > pcguest:97:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO
> > PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NU         ]:LCT-3D69B7D7:pcguest
> > dae51d:500:017A40206826A7A3AAD3B435B51404EE:37415DEA65AD2DFD6DC3F197BCB4
> > B9F0:[U          ]:LCT-3CECCF72:Daevid Vincent
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba





More information about the samba mailing list