  | |  Re: Re: WinXP can�t connect Samba_Server
which can connect WinXP for file | Re: Re: WinXP can�t connect Samba_Server
which can connect WinXP for file 2002-08-20 - By Chris Kloiber
Back On Tue, 2002-08-20 at 01:13, Ken Arck wrote: > At 12:49 PM 8/20/2002 +0800, you wrote: > >Hi Ken, > > > >My problem is one way traffic. WinXP can 't see RH7.3, the Samba Server. > > > >Because this is an experiment I use direct correction with a crossover cable. > > <----None of the machines on my LAN have any problem seeing (or using) the > shares on the RH box. While I use a hub, I would think if your XP machine > can see your RH one (and vice versa), it should work. > > You DO have the "Microsoft Client for Networks " installed on your XP > machine, right? Don 't forget samba appears to be a NT domain server for > your Windoze machines...
Not unless you 've been mucking around in the /etc/samba/smb.conf it won 't.
If you are using Red Hat 's samba packages and want simple peer-peer Samba Shares, set the following:
workgroup = (your workgroup name) netbios name = (your short hostname)
That last one is not in the default config file, just put it under workgoup.
securuty = user (should be the default)
Uncomment the line:
username map = /etc/samba/smbusers
And create some Share definitions. By default, user home directories are shared, but now browsable to other users.
'service smb restart ', then learn to love the smbadduser command:
]# smbadduser -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- Written: Mike Zakharoff email: michael.j.zakharoff@(protected)
1) Updates /etc/samba/smbpasswd 2) Updates /etc/samba/smbusers 3) Executes smbpasswd for each new user
smbadduser unixid:ntid unixid:ntid ...
Example: smbadduser zak:zakharoffm johns:smithj -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----
To add myself, for instance, I am 'ckloiber ' in Linux, and 'Chris ' on a windows system, I would run:
# smbadduser ckloiber:Chris Adding: ckloiber to /etc/samba/smbpasswd Added user ckloiber. Adding: {ckloiber = Chris} to /etc/samba/smbusers -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- ENTER password for ckloiber New SMB password: ********** Retype new SMB password: ********** Password changed for user ckloiber.
If you muck up the password, love the smbpasswd command.
When this is done, I would be able to connect to the Samba server as the Windows user named Chris, using the password I created
-- Chris Kloiber
|
|
 |