New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

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 »

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 »

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 »

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