samba problems
Paul
pkaplan1 at comcast.net
Sun Aug 3 15:36:44 UTC 2008
On Sunday 03 August 2008 10:28:26 Karl Auer wrote:
> On Sun, 2008-08-03 at 10:20 -0400, Paul wrote:
> > On Sunday 03 August 2008 8:52:48 Karl Auer wrote:
> > Since I thought I had done this (but I'll verify), I must have created
> > a conflict elsewhere in smb.conf.
> > So you know of a minimal smb.conf file that I could start rebuilding
> > from?
>
> The default that comes with Ubuntu is well-commented and will work (or
> close to it) out of the box with minimal effort. Otherwise, post yours -
> just the global section with comments trimmed and the section relating
> to the share you want for the windows user.
>
> Regards, K.
OK, I am now able to access the share from the linux box, but not from the
windows box.
Here's the uncommented portions of smb.conf.
[global]
workgroup = kappa_net
server string = %h server (Samba, Ubuntu)
dns proxy = no
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
security = user
encrypt passwords = yes
passdb backend = tdbsam
obey pam restrictions = yes
; guest account = nobody
invalid users = root
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
########## Domains ###########
= /usr/sbin/adduser --quiet --disabled-password --gecos "" %u
socket options = TCP_NODELAY
# Allow users who've been granted usershare privileges to create
# public shares, not just authenticated ones
usershare allow guests = yes
restrict anonymous = no
domain master = no
preferred master = no
max protocol = NT
acl compatibility = winnt
ldap ssl = No
server signing = Auto
#======================= Share Definitions =======================
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
create mask = 0700
# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
[HD3]
path = /media/hd3/
More information about the ubuntu-users
mailing list