• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Help with Samba configuration on FreeBSD

LuckyTaxi

Diamond Member
Here's my current config.
Now if I add the following line under the [web_user] directive I can log on.
'guest ok = yes'

Obviously then anyone with an account on the BSd system can log on. I only want a couple
of users to log on. w/o 'guest ok=yes' it tells me I dont have permission to log on!

I made sure I created a password utilizing smbpasswd to create my password and that works
fine with 'guest ok = yes' added.

=================================================
[global]
workgroup = sacred-heart
log file = /var/log/log.%m
max log size = 50
socket options = TCP_NODELAY
dns proxy = no
load printers = yes
os level = 20
server string = Students' Web Server
encrypt passwords = yes

[web_dir]
comment = Students' Web Stuff
path = /usr/local/www/data/Students
valid users = ssen jbennett
writeable = yes
public = yes
read only = no
browseable = yes
==========================================
 
nothing helpful in the log files.

i CAN log in as 'root' though!

Ok ... I took out 'guest ok = yes' and now I can log in as anyone who has an account on the BSD box?!!!!!

How can I restrict it to allow only a couple of users.

I added 'valid users = username' and that didnt work. I could still log in as user B
when I only added user A on that line.
 
Back
Top