samba without authentication


What is this stuff?

If this isn't exactly what you wanted, please try our Search (there's a LOT of techy and non-techy stuff here about Linux, Unix, Mac OS X and just computers in general!):



Date: Fri, 12 Oct 2001 13:35:10 -0400
From: Tony Lawrence <tony@aplawrence.com>
Subject: Re: samba without user authentication? can this be done? only based on  References: <mssx7.30$Yt1.1102@nsw.nnrp.telstra.net> <U5Dx7.1446$s9.174030@news1.rdc1.nj.home.com> <InDx7.1451$s9.182450@news1.rdc1.nj.home.com>


Hate these ads?



"Brian K. White" wrote:



> > mkdir /usr/share/mp3
> > chown nobody:nobody /usr/share/mp3
> > cat >>/usr/local/etc/smb.conf <<%%
> >
> > [mp3]
> >         path = /usr/share/mp3
> >         read only = No
> >         guest ok = Yes
> >
> > %%
> > cd /usr/local/etc/rc.d
> > ./samba.sh stop
> > ./samba.sh start
> >
> > I just did this and it's working. Except I used swat to make the changes
> to
> > the smb.conf file, and either it automatically restarts samba when
> > necessary, or this change does not require a restart, because I didn't use
> > swat to restart samba manually. So maybe you don't need the last three
> > lines, but they dont' hurt.
> >
> > I do get a password prompt when I first click on my new "mp3" share on the
> > bsd box in network neighborhood (actually my network places, since I'm
> using
> > win2k) but I just hit "cancel" without filling anything in and I am now
> > copying my mp3 directory tree from my win2k box to my bsd box without a
> > password or a user name. In real life, the files are being created owned
> by
> > user nobody (the default samba guest account), and I don't have write
> > permission anywhere but /usr/share/mp3 and below.















You can do it without any password at all if you set 



[public]
   comment = Public Stuff
   path = /public
   public = yes
   writable = yes

cartoon
My Unix and Linux Troubleshooting E-Book will show you how to
solve tough system problems!




--
Tony Lawrence
SCO/Linux Support Tips, How-To's, Tests and more: 













-
Google Friend Connect users can
comment on this page here


Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


ad

Views for this page
Today This Week This Month This Year  Overall
112101,311 5,880

/Bofcusm/896.html copyright 1997-2004 (various authors) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - Newsgroup




Unix/Linux Consultants


SCO, OpenServer, UnixWare, software, servers, security, networks, installation, administration, troubleshooting, maintenance, Watchguard, firewalls, VPNs, e-mail. Visit us at http://opensystemscomputing.com and www.go2unix.com.


http://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.


http://thatitguy.com Business networking servers, Linux and Unix experts. In business since 1997! Windows and Exchange to Samba and Scalix migration experts.



Twitter
  • Dec 3 14:01
    Just went out and added more bungee reinforcement. That ought to hold it..
  • Dec 3 13:58
    I'm second guessing myself on how I bungeed the cover on my golf cart for winter storage. Wondering if high wind could rip it off..









Change Congress