Samba Security Update

In mid march Ubuntu released a security patch that stopped my samba shares from working.

I have it set up that my windows media pcs can browse my ubuntu file-server to a single share.  Then I have 2 or 3 drives as symlinks outside of that share.  The security update prevents those symlinks from working.

To fix it I had to add 3 options to the /etc/samba/smb.conf file and restart samba.

Below is the global section of smb.conf with the three additions I did highlighted.

[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
obey pam restrictions = yes
null passwords = yes
map to guest = bad user
encrypt passwords = true
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam
dns proxy = no
server string = %h server (Samba, Ubuntu)
unix password sync = yes
workgroup = WORKGROUP
syslog = 0
panic action = /usr/share/samba/panic-action %d
usershare allow guests = yes
max log size = 1000
pam password change = yes
follow symlinks = yes
wide links = yes
unix extensions = no

## Browsing/Identification ###

The three options I (well JD figured it out) added are the last three options:

follow symlinks = yes
wide links = yes
unix extensions = no

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>