Samba and XP machines

Linda haniganwork at earthlink.net
Fri Sep 26 22:55:06 UTC 2008


keithclark at k-wbookworm.com wrote:
> Ok, I'm at my wits end here.  It seems that nothing I do to the samba.conf
> works.  I followed the How To at
> http://ubuntuforums.org/showthread.php?t=202605 and it did not work.  I
> can't even see the Ubuntu machine now.
>
> Just about to abandon....
>
> Keith
>
>
>   
Have you checked to see if Windows firewall is blocking the connection?
Have you set up the samba password file on the Ubuntu box?
Do the user and password match?
Did you restart samba after messing with the conf file?

Here  is the start of my   /ect/samba/smb.conf maybe it will help


[global]

; General server settings

netbios name = star

server string =

workgroup = OFFICE

announce version = 5.0

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 
SO_SNDBUF=8192


; passdb backend = tdbsam

security = user

null passwords = true

username map = /etc/samba/smbusers

name resolve order = hosts wins bcast


wins support = yes


printing = CUPS

printcap name = CUPS


syslog = 1

syslog only = yes


browseable = yes


; NOTE: If you need access to the user home directories uncomment the

; lines below and adjust the settings to your hearts content.

[homes]

valid users = %S

create mode = 0600

directory mode = 0755

browseable = no

read only = no

veto files = /*.{*}/.*/mail/bin/




Stop samba server /ect/init.d/samba stop

run testparm /etc/samba smb.conf

restart samba


Add users to samba password file

smbpasswd -a user


Make sure the /host files are done



               Linda




More information about the ubuntu-users mailing list