Skip to main content

Thread: Puzzling problem accessing samba shares by name - Ubuntu 11.04


i have puzzling problem trying access samba shares name using nautilus in ubuntu 11.04.

system configuration:
computera , computerb running ubuntu 11.04 , samba 3.5.8. computera has defined shares user1a , user2a , computerb has defined shares user1b , user2b. both dual boot computers have windows 7, , have shares user1aw user2aw on computera , user1bw , user2bw on computerb defined in windows 7 well.

iomega® 1tb storcenter™ ix2-200 network storage device running emc lifeline™ described "a fully-developed linux operating environment , suite of applications". device named "iomnas" , has several shares defined on e.g. user1ns, user2ns.

netgear wgt624 wireless router.

devices ip addresses via dhcp router. computera , computerb connect via wireless connection. iomega device wired connection. ip addresses discussion follows:
computera: 192.168.0.10
computerb: 192.168.0.11
iomnas: 192.168.0.100
netgear router: 192.168.0.1


problem: can see devices in network folder in nautilus, cannot mount shares on computera , computerb double clicking on icons or selecting open right click menu in nautilus, nor can access them using smbclient \\computername format. can access shares , have work fine nautilus specifying location smb://ipaddress directly. can see shares smbclient if use \\ipaddress format. - e.g.

================================================== ===============
>smbclient -l \\computerb
>connection computerb failed (error nt_status_bad_network_name)

-----------------------------------------------------------------
>smbclient -l \\192.168.0.11
domain=[mynetwork] os=[unix] server=[samba 3.5.8]

sharename type comment
--------- ---- -------
print$ disk printer drivers
user1b disk
user2b disk
ipc$ ipc ipc service (computerb server (samba, ubuntu))
domain=[mynetwork] os=[unix] server=[samba 3.5.8]

server comment
--------- -------
computerb computerb server (samba, ubuntu)

workgroup master
--------- -------
mynetwork
================================================== ===============

works fine iomnas, , can mount iomnas shares using nautilus double clicking on iomnas icon.

================================================== ===============
>smbclient -l \\iomnas
domain=[mynetwork] os=[unix] server=[samba 3.0.32]

sharename type comment
--------- ---- -------
user1nas disk
user1nas disk
ipc$ ipc ipc service (iomega storcenter device)
domain=[mynetwork] os=[unix] server=[samba 3.0.32]

server comment
--------- -------
computerb computerb server (samba, ubuntu)
iomnas iomega storcenter device
computera computera server (samba, ubuntu)

workgroup master
--------- -------
mynetwork iomnas
================================================== ===============

when both machines booted in windows 7, able access shares defined on each machine other double clicking on machine icon.

computera , computerb have identical smb.conf files follows (for computera):

================================================== ===============
[global]
workgroup = mynetwork
server string = %h server (samba, ubuntu)
map guest = bad user
obey pam restrictions = yes
pam password change = yes
passwd program = /usr/bin/passwd %u
passwd chat = *enter\snew\s*\spassword:* %n\n *retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = no
usershare allow guests = yes
panic action = /usr/share/samba/panic-action %d

[printers]
comment = printers
path = /var/spool/samba
create mask = 0700
printable = yes
browseable = no

[print$]
comment = printer drivers
path = /var/lib/samba/printers

[user1a]
path = /home/user1
valid users = user1, user2
read = no

[user2a]
path = /home/user2
valid users = user1, user2
read = no
================================================== ===============

baffled - fact can access shares name on iomnas , on both machines if booted in windows 7 suggests me problem has samba configuration on computera , computerb, can't think of what.

nmbd running on both machines whenever samba running.

have tried adding following lines smb.conf well, has not helped:
wins server = 192.168.0.1
name resolve order = lmhosts host wins bcast


suggestions appreciated - in advance.

change this:
name resolve order = lmhosts host wins bcast
to this:
code:
name resolve order = bcast lmhosts host wins
restart smbd , see if works.


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] Puzzling problem accessing samba shares by name - Ubuntu 11.04


Ubuntu

Comments

Popular posts from this blog

Joomla 3.3 Installation Error message - Joomla! Forum - community, help and support

Multilanguage infinite redirect loop error. - Joomla! Forum - community, help and support

Thread: Wine can't find the cd