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 “^;”

[global]

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

[homes]

comment = Home Directories

browseable = yes

write = yes

guest = ok

read only = no

create mask = 0700

directory mask = 0700

valid users = %S

[harry]

comment = harry docs

path = /home/idris/deathly

browseable = yes

write = yes

guest = ok

read only = no

[printers]

comment = All Printers

browseable = no

path = /var/spool/samba

printable = yes

guest ok = no

read only = yes

create mask = 0700

[print$]

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.
Example:

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

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

Categories

%d bloggers like this: