samba

Got problems with Bubba? Then this forum is for you.
Locked
nb000
Posts: 20
Joined: 29 May 2008, 14:40

samba

Post by nb000 » 14 Jun 2008, 14:46

I dedicate this topic to the samba (server and client).

As a first question can someone post the original smd.conf file?
I installed the minimal etch on bubba.
When I realized, that samba is not in the minimum (good so),
I decied to install it. No problem yet. I got it simply installed.
Then I wanted to access bubba from windows.
Here came the problem: I could not do it :(
A popup windows asked for a user and pass,
but my linux login acc was not accepted.
Please help, anyone? :?:

Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek » 14 Jun 2008, 16:19

This should be it
[global]

workgroup = bubba
server string = %h Miniserver
dns proxy = no
smb ports = 139

log file = /var/log/samba/log.all
max log size = 1000
syslog = 0

security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
guest account = nobody
invalid users = root
map to guest = Bad User

socket options = TCP_NODELAY
preferred master = yes
load printers = yes
printcap name = cups
printing = cups
show add printer wizard = no
disable spoolss = Yes

#======================= Share Definitions =======================

[home]
comment = Home Directories
path = /home
browseable = yes
writable = yes
create mask = 0764
directory mask = 0775
public = no
guest ok = no
hide dotfiles = yes
user = @users

[storage]
comment = Common storage
writable = yes
guest ok = yes
public = yes
force group = users
force create mode= 0777
force directory mode = 0777
path = /var/samba/public

[printers]
comment = Attached printers
path = /var/spool/samba
browseable = no
guest ok = yes
printable = yes
use client driver = yes
cheers
Eek

nb000
Posts: 20
Joined: 29 May 2008, 14:40

adding a user to samba

Post by nb000 » 14 Jun 2008, 17:08

Adding a user to samba

1. sudo smbpasswd -a <username>
2. now you are prompted for the password
3. sudo /etc/init.d/samba reload
4. done :wink:

Not a big deal :-)

Locked