Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
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