[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: samba open share



> >>How may I do this without affecting the other shares that do have name
> >>and password verification?
> >>The below does not work.
> >>[public]
> >>       writable = yes
> >>       path = /backup/files
> >>       force group = rodney
> >>       guest ok = yes
> >>       force user = rodney
> >>       hosts deny = 0.0.0.0/0
> >>       hosts allow = 127.0.0.1 192.168.1.0/24
> >>       public = yes
> >>       browsable = yes
> >>
> >>
> >
> >See the 'map to guest' option in the smb.conf man page.  You probably
> >want to use the 'Bad User' option.
> >
> >
> >
> Hmmm, so there's not a way to disable authentication alltogether huh?
> Like with win98. No name to enter, just share..

I use this to make shares work with no passwords or users.   I've used the
same smb.conf for so long, I can't even remember when I started..

[global]
        log file = /var/log/samba/log.%m
        deadtime = 15
        domain master = Yes
        interfaces = 192.168.0.1/24,192.168.5.0/24
        encrypt passwords = true
        hosts allow = 192.168.0., 127.0.0.1, 192.168.5.
        mangled map = (*.html,*.htm)
        lock directory = /var/lock
        dns proxy = No
        netbios name = LINUX
        server string = dMech's Land of ConfusioN
        unix password sync = yes
        workgroup = NUTS
        os level = 33
        comment = Linux Rocks Baby
        security = SHARE
        preferred master = Yes
        max log size = 50
        bind interfaces only = Yes
        domain logons = Yes
        log level = 2


[mythtv]
        comment = Recorded Shows
        path = /ext/mythtv
        force user = mythtv
        force group = mythtv
        read only = No
        create mask = 0777
        guest ok = Yes

Doug



Reply to: