Re: Fedora/Windows network

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Craig White ha scritto/wrote il giorno/on 19/02/2005 16:29:

On Sat, 2005-02-19 at 09:12 +0100, Antonio Montagnani wrote:


I am absolutely confused...

For example I have a FEDORA pc and a Windows (MAXDATA name on the network running XP professional, but similar results with XP Home machines) connected.

1) If I issue the command findsmb i get:
                               *=DMB
                               +=LMB
IP ADDR         NETBIOS NAME     WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.0.1     FEDORA        *[FEDORA] [Unix] [Samba 3.0.10-1.fc3]

no trace of the Windows machine....

2) I issue the command:
smbclient -L //MAXDATA
Password:
Domain=[MAXDATA] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

       Sharename       Type      Comment
       ---------       ----      -------
       Lavoro          Disk
       IPC$            IPC       IPC remoto
       print$          Disk      Driver della stampante
       SharedDocs      Disk
       Musica          Disk
       ADMIN$          Disk      Amministrazione remota
       Immagini        Disk
       C$              Disk      Condivisione predefinita
       Software        Disk
       Musicaok        Disk
Domain=[MAXDATA] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

       Server               Comment
       ---------            -------

       Workgroup            Master
       ---------            -------

3) If i digit the command smb:/// in Nautilus I see my Workgroup, then I click on it and I see the list of the connected machines, I click on my MAXDATA machine and I see the shares, but when I click on a shared folders, Nautilus freezes, no password request....and I have to kill Nautilus by System Monitor...

4) If I digit smb://192.168.0.5/ (that is IP number of MAXDATA) everything works fine..I can access my shared folders through Nautilus, copy, delete files, etc, etc.....

5) If I digit smb://MAXDATA/  I get the poor results like point 3.

Samba shares on my Fedora machine are fine and seen on all network
What am I missing???


----
a wins server and windows machines that find it

on fedora system, in smb.conf add wins support = yes

on windows systems, add the ip address of the fedora machine to the wins
server section in the 'Advanced' tab of the TCP/IP properties of the
network adaptors or if you are using dhcp, add this info to the wins
section of your dhcp server. Restart samba on the fedora machine
'service smb restart' and you should be able to browse Windows
Networking in a short amount of time.

Craig



Craig
If i stop dhcpd daemon, I can surf my windows shared folders, otherwise no!!!! any hint
I post my samba.conf & dhcpd.conf files.My samba server and dhcpd derver is 192.168.0.1....my network has some fixed IP's and some IP's assigned by DHCP:



dhcpd.conf file: option netbios-name-servers 192.168.0.1; ddns-hostname "192.168.0.1"; option domain-name-servers 192.168.0.1; ddns-updates on; ddns-update-style interim; ignore client-updates;


# Rete casa subnet 192.168.0.0 netmask 255.255.255.0 { ddns-updates on; # --- default gateway option routers 192.168.0.1; option subnet-mask 255.255.255.0; range dynamic-bootp 192.168.0.128 192.168.0.254; default-lease-time 21600; max-lease-time 43200; }

samba.conf file:
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2005/02/06 23:26:38

# Global parameters
[global]
   server string = Samba su PC233
   null passwords = Yes
   username map = /etc/samba/user.map
   log file = /var/log/samba/%m.log
   max log size = 50
   name resolve order = wins host bcast
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
   os level = 255
   domain master = Yes
   dns proxy = No
   wins support = Yes
   ldap ssl = no
   guest ok = Yes
   hosts allow = 192.168.0.0/24, localhost

[homes]
   comment = Home Directories
   read only = No

[printers]
   comment = All Printers
   path = /var/spool/samba
   printable = Yes
   browseable = No

--

Antonio M.

===================================================================
Working with  Mozilla Thunderbird 0.9 on Redhat Linux Fedora Core 3
===================================================================
===================================================================
    Uso Mozilla Thunderbird 0.9 su Redhat Linux Fedora Core 3
		www.montagnani.org
===================================================================


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux