On Mon, 2010-06-14 at 22:43 +0100, Stroller wrote: > If it's been some time since this system was used, are you still using > the 192.168.1.x subnet? If your ISP sent you a new router, you might > now be on 192.168.0.x. IMO change this to: > hosts allow = 192.168. 127. > I bought a brand new Linksys Wireless-N router a few months ago. I configure it to start addresses after 192.168.1.1 because that's what we've always used, it's what all the computers on our LAN are set up for, and I see no reason to change it. > Also run `smbtree` (works without a password). > > I appreciate that Samba tends not to make any sense when you're > inexperienced, but there ought to be lots of troubleshooting guides > out there. Google "troubleshooting samba", follow through the steps > suggested by 2 or 3 and report back & tell us what you've done. > > Stroller. >
I actually started today at http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/install.html carter ~ # testparm /etc/samba/smb.conf Load smb config files from /etc/samba/smb.conf rlimit_max: rlimit_max (1024) below minimum Windows limit (16384) Processing section "[homes]" Processing section "[printers]" Processing section "[print$]" Processing section "[tmp]" Loaded services file OK. Server role: ROLE_STANDALONE Press enter to see a dump of your service definitions [global] workgroup = MYGROUP server string = Samba Server %v map to guest = Bad User log file = /var/log/samba/log.%m max log size = 50 socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 printcap name = cups dns proxy = No hosts allow = 192.168.1., 127. [homes] comment = Home Directories path = /samba valid users = michael, amy read only = No browseable = No browsable = No [printers] comment = All Printers path = /var/spool/samba printable = Yes browseable = No browsable = No [print$] path = /var/lib/samba/printers write list = @adm, root guest ok = Yes [tmp] comment = Temporary file space path = /samba valid users = michael, amy read only = No guest ok = Yes mich...@camille ~ $ smbclient -L carter Enter michael's password: Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6] Sharename Type Comment --------- ---- ------- print$ Disk tmp Disk Temporary file space IPC$ IPC IPC Service (Samba Server 3.4.6) Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6] Server Comment --------- ------- CARTER Samba Server 3.4.6 Workgroup Master --------- ------- MYGROUP CARTER mich...@camille ~ $ smbclient //carter/tmp Enter michael's password: Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6] tree connect failed: NT_STATUS_LOGON_FAILURE Then I went to the Samba Checklist: http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/diagnosis.html 1: Run testparm; already did that. 2: Ping test: mich...@camille ~ $ ping carter PING carter.espersunited.com (192.168.1.2) 56(84) bytes of data. 64 bytes from carter.espersunited.com (192.168.1.2): icmp_seq=1 ttl=64 time=0.157 ms 64 bytes from carter.espersunited.com (192.168.1.2): icmp_seq=2 ttl=64 time=0.145 ms ^C --- carter.espersunited.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.145/0.151/0.157/0.006 ms carter ~ # ping camille PING camille.espersunited.com (192.168.1.3) 56(84) bytes of data. 64 bytes from camille.espersunited.com (192.168.1.3): icmp_seq=1 ttl=64 time=0.158 ms 64 bytes from camille.espersunited.com (192.168.1.3): icmp_seq=2 ttl=64 time=0.155 ms ^C --- camille.espersunited.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 999ms rtt min/avg/max/mdev = 0.155/0.156/0.158/0.012 ms 3: carter ~ # smbclient -L carter Enter root's password: Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6] Sharename Type Comment --------- ---- ------- print$ Disk tmp Disk Temporary file space IPC$ IPC IPC Service (Samba Server 3.4.6) Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6] Server Comment --------- ------- CARTER Samba Server 3.4.6 Workgroup Master --------- ------- MYGROUP CARTER 4: mich...@camille ~ $ nmblookup -B BIGSERVER __SAMBA__ querying __SAMBA__ on 192.168.1.255 192.168.1.2 __SAMBA__<00> 4: carter ~ # nmblookup -B camille * querying xorg.conf.new on 192.168.1.3 name_query failed to find name xorg.conf.new *I'm not sure what finding xorg.conf.new has to do with Samba, but it's on the checklist... And this is getting me nowhere very very quickly.