Page 1 of 1

Samba with ubuntu

Posted: 19. Oct 2009, 00:25
by dragonslayer
I installed ubuntu 9.4 on the virtual box and I have samba setup when I try to access it from a windows XP machine it will display the workgroup but nothing else am I missing so it would display that information appreciate the help.

Re: Samba with ubuntu

Posted: 19. Oct 2009, 01:21
by Perryg
Are you sure that Samba is setup right?

Re: Samba with ubuntu

Posted: 19. Oct 2009, 10:10
by Sasquatch
And what are the Guest network settings?

Re: Samba with ubuntu

Posted: 25. Oct 2009, 05:05
by dragonslayer
Perryg wrote:Are you sure that Samba is setup right?
Yes.....may be you could take a look setting and give me some input

[global]
; General server settings
netbios name = dragonslayer32
server string =
workgroup = MSHOME
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

; 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/

; NOTE: Only needed if you run samba as a primary domain controller.
; Not needed as this config doesn't cover that matter.
;[netlogon]
;path = /var/lib/samba/netlogon
;admin users = Administrator
;valid users = %U
;read only = no

; NOTE: Again - only needed if you're running a primary domain controller.
;[Profiles]
;path = /var/lib/samba/profiles
;valid users = %U
;create mode = 0600
;directory mode = 0700
;writeable = yes
;browseable = no

; NOTE: Inside this place you may build a printer driver repository for
; Windows - I'll cover this topic in another HOWTO.
[print$]
path = /var/lib/samba/printers
browseable = yes
guest ok = yes
read only = yes
write list = root
create mask = 0664
directory mask = 0775

[printers]
path = /tmp
printable = yes
guest ok = yes
browseable = no

; Uncomment if you need to share your CD-/DVD-ROM Drive
;[DVD-ROM Drive]
;path = /media/cdrom
;browseable = yes
;read only = yes
;guest ok = yes

[MyFiles]
path = /media/samba/
browseable = yes
read only = yes
guest ok = yes
create mask = 0755
directory mask = 0755
force user =
force group = nobody

Re: Samba with ubuntu

Posted: 25. Oct 2009, 05:31
by Perryg
Is the XP the wins server?
Are they both in the same workgroup?
Are they in the same IP address range?
What about firewall?

Re: Samba with ubuntu

Posted: 25. Oct 2009, 14:22
by Sasquatch
Does that folder also exist (/media/samba). I suggest you go to a more specialized forum. We're not here to troubleshoot basic Linux <> Windows networking.

As for actually connecting to the Host, how do you do that? What are the network settings for the Guest? Maybe there is your problem (and with that, we can help you).