Posted by: isaraffee | February 9, 2010

Samba Configuration on Ubuntu Jaunty

Samba Configuration on Ubuntu Jaunty

Here is my Samba configuration

root@ismail-laptop:/etc/samba# less smb.conf | grep -v “^#” | grep -v “^;”


workgroup = Mshome

server string = %h server (Samba, Ubuntu)

dns proxy = no

log file = /var/log/samba/log.%m

max log size = 1000

syslog = 0

panic action = /usr/share/samba/panic-action %d

security = user

encrypt passwords = true

passdb backend = tdbsam

obey pam restrictions = yes

smb passwd file = /etc/smbpasswd

unix password sync = yes

passwd program = /usr/bin/passwd %u

passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .

pam password change = yes

map to guest = bad user

usershare allow guests = yes


comment = Home Directories

browseable = yes

write = yes

guest = ok

read only = no

create mask = 0700

directory mask = 0700

valid users = %S


comment = harry docs

path = /home/idris/deathly

browseable = yes

write = yes

guest = ok

read only = no


comment = All Printers

browseable = no

path = /var/spool/samba

printable = yes

guest ok = no

read only = yes

create mask = 0700


comment = Printer Drivers

path = /var/lib/samba/printers

browseable = yes

read only = yes

guest ok = no

Your Windows XP user account must have an equivalent user account in Linux.

idris – windows xp user account
idris – linux user account

To be able to access the linux samba shared folders, you must login in Windows XP using idris


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: