Re: samba problems



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/




--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: virtualisation on SBS
    ... ....and some recent non windows guest OS as well. ... Qualified Linux Guest Operating Systems ... of supported guests for Virtual Server 2005 R2: ...
    (microsoft.public.windows.server.sbs)
  • mobile 6 cant access shares
    ... Hi I posted this in SBS NG and it was suggested I post here: ... We are using an IPAQ running Windows Mobile 6. ... The event viewer on the server though shows a successful login. ... SBS showed a user Guest as being connected. ...
    (microsoft.public.pocketpc.phone_edition)
  • Re: Cant See One Network Computer
    ... Nothing in those articles, even though we are all operating on XP Home ... >can see mine), the info is Windows XP Home, Version 2002, Service Pack 2. ... which only uses Guest authentication, cannot be disabled under XP Home. ... To use Simple File Sharing on any XP server, Home or Pro, make sure that the ...
    (microsoft.public.windowsxp.network_web)
  • Samba and Read Only documents
    ... I recently installed Ubuntu 8.04 as a file server here on our ... I set up samba to share files with the windows boxes ... guest ok = yes ...
    (Ubuntu)
  • Re: Printing Issue - Microsoft or MVP
    ... that the client goes to print it gets a Event ID: 20 - it seems like this ... warning it tries to upgrade all the printer drivers. ... > MVP - Windows Server - Clustering ... >> getting completely to the client from the server. ...
    (microsoft.public.windows.server.clustering)