[Samba] FC2 to FC3 Upgrade help

Jonathan Allen jonathan at barumtrading.co.uk
Tue Jan 4 12:24:43 GMT 2005


Hi All,

Due to a hard-disc crash, I have just upgraded from a working Samba setup
running in FC2 to a non-functional Samba setup running in FC3.  The Windows
XP machine has not changed, but won't connect.  Samba is fully up2date
from the FC3 repositories.

smb.conf

   [global]
   workgroup = MYGROUP
   server string = Samba Server
   hosts deny = ALL
   hosts allow = 192.168.1.0/24 127.
   interfaces = eth0 lo
   printcap name = /etc/printcap
   load printers = yes
   cups options = raw
   log file = /var/log/samba/%m.log
   max log size = 50
   security = user
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   domain master = yes 
   preferred master = yes
   dns proxy = no 
   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
   template shell = /bin/false
   winbind use default domain = no

   [homes]
   comment = Home Directories
   browseable = no
   writable = yes

   [printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   writable = no
   printable = yes

   [share]
   comment = Shared filespace
   path = /share
   read only = no
   public = yes

   [tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes

Following through the tests in the diagnosis section of the on-line manual:

Test 1: testparm is happy

Test 2: client and server can ping each other; 

   /etc/hosts.deny
   ALL:ALL

   /etc/hosts.allow
   ALL:83.104.103.142
   ALL:192.168.1.0/255.255.255.0

   No iptables

Test 3: expected output, but a password is required

   [root at purse samba]# smbclient -L PURSE
   Password:
   Anonymous login successful
   Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.10-1.fc3]
   
           Sharename       Type      Comment
           ---------       ----      -------
           share           Disk      Shared filespace
           tmp             Disk      Temporary file space
           IPC$            IPC       IPC Service (Samba Server)
           ADMIN$          IPC       IPC Service (Samba Server)
           stylus          Printer   Created by redhat-config-printer 0.6.x
           laser           Printer   laser
   Anonymous login successful
   Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.10-1.fc3]
   
           Server               Comment
           ---------            -------
           PURSE                Samba Server
   
           Workgroup            Master
           ---------            -------
           MYGROUP              PURSE

Test 4: seems OK

   [root at purse samba]# nmblookup -B PURSE __SAMBA__
   querying __SAMBA__ on 192.168.1.10
   192.168.1.10 __SAMBA__<00>

Test 5: doesn't work

   [root at purse samba]# nmblookup -B FAX '*'
   querying * on 192.168.1.7
   name_query failed to find name *

Test 6: doesn't exactly work

   [root at purse samba]# nmblookup -d 2 '*'
   added interface ip=192.168.1.10 bcast=192.168.1.11 nmask=255.255.255.254
   added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
   querying * on 192.168.1.11
   querying * on 127.255.255.255
   Got a positive name query response from 127.0.0.1 ( 192.168.1.10 )
   192.168.1.10 *<00>

Test 7: works

   [root at purse samba]# smbclient //PURSE/TMP
   Password:
   Anonymous login successful
   Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.0.10-1.fc3]
   smb: \>

Test 8: fails completely

   C:\\Documents and Settings\jonathan\> net view \\purse
   System error 5 has occurred.

   Access is denied.

How do I move forward ?

Jonathan


More information about the samba mailing list