You are not logged in.
ok, so I installed samba, smbnetfs, fusemb and now I can see all my windows shares in nautilus, but when I click on any of the workgroups it just says "failed to retrive share list from server" any way to fix this?
http://img63.imageshack.us/img63/8264/screenshotdvo.png
EDIT: i got it to work to browse my xp machine, but my win 7 machine (the one I actually need to work) still gets that error.
[global]
workgroup = WORKGROUP
server string = Samba Server
netbios name = brandon
security = share
; the line below is important! If you have permission issues make
; sure the user here is the same as the user of the folder you
; want to share
guest account = brandon
username map = /etc/samba/smbusers
name resolve order = hosts wins bcast
wins support = no[public]
comment = Public Share
path = /path/to/public/share
available = yes
browsable = yes
public = yes
writable = no
my xp machine is in the mshome workgroup and it works fine, as soon as I click "WORKGROUP" which my 7 machine is it gives the error.
Last edited by bwat47 (2010-05-10 03:14:50)
Offline
1. Do you have any firewalls enabled?
-> If iptables is enabled on your linux box, you need to have the nf_conntrack_netbios_ns module loaded (sudo modprobe nf_conntrack_netbios_ns).
3. Nautilus uses gvfs-smb (not fusesmb and smbnetfs). As a side note, smbnetfs and fusesmb do the same thing so I would recommend uninstalling fusemsb (supposedly it doesn't play nicely with the latest samba).
4 .You only need samba if you want to share files (you can browse without it).
Edit: This thread may help http://ubuntuforums.org/showthread.php?t=1082148&page=9
Last edited by Stebalien (2010-05-10 03:36:43)
Offline
Alright I have removed everything but gvfs-smb and still get the same problem.
I didnt manually install or configure any firewalls so unless there is a default one no.
Offline
This thread may help: http://ubuntuforums.org/showthread.php?t=1082148&page=9
Specifically this: http://ubuntuforums.org/showpost.php?p= … stcount=90
Or this:
This is an easy fix that worked for me. Change the resolve order.
Paste this line
" name resolve order = lmhosts wins bcast host "
into the smb.conf file under this section:# What naming service and in what order should we use to resolve host names
# to IP addresses
; name resolve order = lmhosts host wins bcast" .Put this in the command line to edit the file.
sudo gedit /etc/samba/smb.confSave the file, log off and back on.
Offline
changed that line but it didnt seem to work. Can browse the xp pc fine but not the 7 one. Also on the win7 machine I have turned off password protected sharing as well but no dice.
Offline
Offline
[brandon@arch ~]$ smbtree
Enter brandon's password:
failed negprot: ERRnomem
failed negprot: ERRnomem
[brandon@arch ~]$ smbclient -L 192.168.146
creating lame upcase table
creating lame lowcase table
Enter brandon's password:
Connection to 192.168.146 failed (Error NT_STATUS_UNSUCCESSFUL)
[brandon@arch ~]$
Offline
This should fix it (hopefully) (see the part about windows 7 at the end).
http://ubuntuforums.org/showthread.php?t=1169149
Sorry it took so long to find this (I read about it a while ago but forgot).
Offline
Same problem after I tried those solutions.
Offline
Sorry, I am out of ideas.
If you need access now, you can always try another protocol (sftp, ftp: http://www.freesshd.com/ is a closed source but easy solution).
Other than that, hopefully someone else here can help you (I am hardly a samba expert).
Last edited by Stebalien (2010-05-10 04:37:33)
Offline
Man I am getting wierd errors, cant mount because of memory wtf?
[brandon@arch ~]$ sudo mount -t cifs //BRANDON-PC/Public /mnt/Brandon-PC -o user=brandon,workgroup=WORKGROUP,ip=192.168.1.146
Password:
mount error(12): Cannot allocate memory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[brandon@arch ~]$
[brandon@arch ~]$ smbclient -L BRANDON-PC -U%
creating lame upcase table
creating lame lowcase table
protocol negotiation failed: ERRnomem
EDIT: so i googled the mem erros and found this:
http://linux.derkeiler.com/Newsgroups/c … 00629.html
I created the registry key and tried again, same error in nautilus but this error when mounting now:
[brandon@arch ~]$ [brandon@arch ~]$ sudo mount -t cifs //BRANDON-PC/Public /mnt/Brandon-PC -o user=brandon,workgroup=WORKGROUP,ip=192.168.1.146
Password:
Password:
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)
[brandon@arch ~]$
SMBclient can now list the shares:
[brandon@arch ~]$ smbclient -L BRANDON-PC -U%creating lame upcase table
creating lame lowcase table
Domain=[WORKGROUP] OS=[Windows 7 Ultimate 7600 Service Pack 2] Server=[Windows 7 Ultimate 6.1]
Sharename Type Comment
--------- ---- -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Domain=[WORKGROUP] OS=[Windows 7 Ultimate 7600 Service Pack 2] Server=[Windows 7 Ultimate 6.1]
Server Comment
--------- -------
BRANDON-PC
Workgroup Master
--------- -------
WORKGROUP BRANDON-PC
[brandon@arch ~]$
And here is when i try to connect via smbclient:
[brandon@arch ~]$ smbclient //BRANDON-PC/publiccreating lame upcase table
creating lame lowcase table
Enter brandon's password:
Domain=[BRANDON-PC] OS=[Windows 7 Ultimate 7600 Service Pack 2] Server=[Windows 7 Ultimate 6.1]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
[brandon@arch ~]$
Last edited by bwat47 (2010-05-11 05:59:11)
Offline
LOL I am a moron, my netbios name was wrong, I ad to set my netbios name to "Brandon-PC" in the samba config. Although the first error with the regedit fix still woulda stopped me from connecting. It works now!
Offline