[Bug 363576] Re: problem accessing shared folders

James Pakko james at pakko.org
Tue Apr 21 18:40:38 BST 2009


>>Could you attach the information requested at:
>>https://wiki.ubuntu.com/DebuggingSamba#samba-client
I've already done that, to the best of my ability. Please be specific if there's something missing.

$ ping nasdrive
PING nasdrive (206.112.100.151) 56(84) bytes of data.

$ grep hosts /etc/nsswitch.conf
hosts:          files mdns4_minimal [NOTFOUND=return] dns mdns4

Does "smbclient //nasdrive/sharedfolder -R bcast -U username" work ?
Yes, this works.

$ smbclient -d4 //nasdrive/sharedfolder -U username
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter workgroup = GROUP
doing parameter server string = %h server (Samba, Ubuntu)
doing parameter dns proxy = no
doing parameter log file = /var/log/samba/log.%m
doing parameter max log size = 1000
doing parameter syslog = 0
doing parameter panic action = /usr/share/samba/panic-action %d
doing parameter encrypt passwords = true
doing parameter passdb backend = tdbsam
doing parameter obey pam restrictions = yes
doing parameter invalid users = root
doing parameter unix password sync = yes
doing parameter passwd program = /usr/bin/passwd %u
doing parameter passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
doing parameter pam password change = yes
doing parameter map to guest = bad user
doing parameter socket options = TCP_NODELAY
doing parameter usershare allow guests = yes
pm_process() returned Yes
added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
Client started (version 3.0.28a).
tdb(unnamed): tdb_open_ex: could not open file /var/run/samba/gencache.tdb: Permission denied
resolve_lmhosts: Attempting lmhosts lookup for name nasdrive<0x20>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
resolve_wins: Attempting wins lookup for name nasdrive<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name nasdrive<0x20>
Connecting to 206.112.100.151 at port 445
timeout connecting to 206.112.100.151:445
Connecting to 206.112.100.151 at port 139
timeout connecting to 206.112.100.151:139
Error connecting to 206.112.100.151 (Operation already in progress)
Connection to nasdrive failed (Error NT_STATUS_ACCESS_DENIED)


** Attachment added: "smb.conf"
   http://launchpadlibrarian.net/25830421/smb.conf

-- 
problem accessing shared folders
https://bugs.launchpad.net/bugs/363576
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list