Samba - XP Home in peer-to-peer mode

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Fri Mar 19 17:10:43 UTC 2004


Am Fr, den 19.03.2004 schrieb Tom Enterline um 04:30:
> Alexander,
> 
> Thanks for your help. It now looks like an XP issue (*grumble, grumble
> XP Home, grumble, grumble*) rather than a Samba issue, details below.

You are welcome. 

> > Did you run "smbpasswd -e USER" too to enable the Samba user?
> 
> I didn't before, have now.

Fine, as this is essential (adding a Samba user _and_ enabling this
account).

> Same as from smbclient -L //kehtron24 (below)
> 
> > > Password:
> > > Domain=[KEHTRON24] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
> > >  
> > >         Sharename      Type      Comment
> > >         ---------      ----      -------
> > >         IPC$           IPC       Remote IPC
> > >         SharedDocs     Disk
> > >         print$         Disk      Printer Drivers
> > >         Laserjet       Printer   HP LaserJet 4L
> > >         XP             Disk
> > >         Tom            Disk
> > > Domain=[KEHTRON24] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
> > >  
> > >         Server               Comment
> > >         ---------            -------
> > >  
> > >         Workgroup            Master
> > >         ---------            -------

So I wonder why there is no Server and no Workgroup listed. At least a
Workgroup should be there.

> The network consist of two machines (plus the router). Should I care
> which is the master browser?

Yes, you should configure your SMB network that only one machine wants
to be master browser, at least that only one is winning the election.
Best to let the machine with biggest uptime play this role.

> > Does "smbclient -L localhost" on the Fedora machine work well after the
> > changes?
> 
> [tenter at localhost tenter]$ smbclient -L localhost
> Error connecting to 127.0.0.1 (Connection refused)
> Connection to localhost failed

This should not happen! Either Samba is not listening on 127.0.0.1 then
set something like

interfaces = 127.0.0.0/8 192.168.0.2/24
hosts allow = 127. 192.168.0.

Or is Samba not running on FC1 and you use only samba-client?

> So, after making those two changes (smbpasswd -e, and uncommenting the
> smb passwd file, things worked as before. 
> 
> I then tried a different service
>  
> 	smbclient -U USER //kehtron24/XP
> 
> and everything worked fine! Then I remembered I couldn't access Tom from
> W2K either - I had just forgotten. Sorry for perhaps wasting your time.
> 
> Now I have to figure out how to fix the XP side. It looks like a
> permissions problem, but XP Home doesn't seem to have permission
> settings. So I guess it's an ownership problem - I'll try recreating the
> folder under the same user I'm using from Samba.

Most probably it is a permissions problem. XP Home can share and use
shares from other machine. But it has no domain features like the Pro
version, which you do not need here.

> In any case, thanks for all your help!
> 
> Tom

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 1 (Yarrow) on Athlon CPU kernel 2.4.22-1.2174.nptl
Sirendipity 17:58:28 up 2:40, 7 users, 0.34, 0.17, 0.15 
                   [ Γνωθι σ'αυτον - gnothi seauton ]
             my life is a planetarium - and you are the stars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040319/ec7bbfe7/attachment-0001.sig>


More information about the fedora-list mailing list