well, according to your smbtree output, the "videoshare" doesn't exist.
so, please post the contents of your /etc/samba/smb.conf file and we'll fix the workgroup issue.
well, according to your smbtree output, the "videoshare" doesn't exist.
so, please post the contents of your /etc/samba/smb.conf file and we'll fix the workgroup issue.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
[global]
; General server settings
netbios name = shrapnel
server string =
workgroup = MAUNAWILI
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/videoshare/
browseable = yes
read only = no
guest ok = no
create mask = 0644
directory mask = 0755
force user = arthur
force group = user
well, according to what you've told me about your xp machine, and what i see here in your smb.conf file, you are already a part of the same workgroup. however, both your xp and your ubuntu machine have the exact same name. we'll need to correct that.
please change this line:
to something unique to your ubuntu box. alternatively, you could rename your xp ps3 box. but i think part of your problem is happening because the names are the same.Code:netbios name = shrapnel
also, comment out the fstab line i gave you earlier by putting a # in front of it.
then reboot everything (xp and ubuntu) and retry smbtree.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Here's my smbtree after restarting:
MAUNAWILI
\\SWARLEY
\\SWARLEY\ADMIN$ IPC Service ()
\\SWARLEY\IPC$ IPC Service ()
\\SWARLEY\MyFiles
\\SWARLEY\print$
I changed my smb.conf to read netbios name = swarley.
So it looks like I can't even see my Windows PC at all; I'm only seeing my PS3. Is this correct?
that's what it looks like. could be a firewall issue or some such, but lets try to mount the thing anyway.
you said your share was named 'videoshare', so now edit the fstab file again. remove the # and change "MyFiles" to 'videoshare' like so:
then try:Code://shrapnel/videoshare /media/shrapnel cifs guest,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0
againCode:sudo mount -a
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
Here are the results after editing the fstab and attempting to remount:
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
sorry for the delay ... you caught me out at lunch.
do you have the windows xp firewall enabled? if you don't know how to check: http://www.microsoft.com/windowsxp/u...nfirewall.mspx
are your shares password protected?
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
dmizer,
Thank you so much for all your help thus far.
I saw that the Windows firewall might present some problems so I disabled it, but I still cannot see my Windows PC from Ubuntu. I also tried to see if I could see my PS3 from my Windows laptop (since, if I understand things correctly, I have a samba server set up) and I could not.
well, you almost have a samba server enabled. make a couple of changes and you'll be good to go.
change this line: security = user to security = share
change this line: guest ok = no to guest ok = yes
change this line: force group = user to force group = arthur
then, enter these commands:
and you should then be able to see your ubuntu box from windows.Code:sudo smbpasswd -L -a arthur sudo smbpasswd -L -e arthur sudo /etc/init.d/samba restart
you said you were using static ip on the windows box? let's try mounting by ip address instead of by netbios name.
so in fstab, change "shrapnel" to the ip address of your windows box, save and retry the sudo mount -a
Last edited by dmizer; April 9th, 2007 at 06:29 AM.
1) Samba server howto | 2) mount windows/samba shares with CIFS + unicode | 3) best FTP server howto
4) NFS server/client howto | 5) Easy cross-platform LAN file sharing with FTP
6) Fix samba browsing!!! | 7) Fix Pulse audio
Happy Ubunting!
I see it now! Is that it?
Bookmarks