I tried your suggestion (I assume the "server" = hostname, because there is no server name defined in smb.conf), still can see the problem. This time, I even could not see my linux box from Network Neighbor ?? (This happened before, I was not always be able to see it. Windows seems to
update its cache each 10 minits which will erase any unaccessable computer names, that may explain why when it first boot, I can see linux box, even unaccessable, then it dispeared after a couple minits).
The smb.conf listed here shows those of uncomment outed. All the others are as defaulted. Do you think this could be a samba configuration problem or Win98's configuration problem? Every thing are worth to try.
Thank you for recommending Webmin, I may try it late.
Quan
Robert Adkins wrote:
Hello,
First off, you need to use 'Client for Microsoft Networks' on your Windows 98 machine. You must also use a username and password that exists on your Linux Samba server in order to be able to connect to it.
From your smb.conf file, you appear to only have half of the picture completed. Under the [global] section include the following additional lines. You should also choose a less then 15 character name for your server and put it all in CAPITAL letters.
netbios name = <whatever> (With <whatever> being the name of your server.)
That will most likely take care of the issue that you are experiencing. One thing that I would recommend adding to the server is the Webmin service. It is a VERY useful web browser based Linux/UNIX configuration tool. It can be used locally on a machine or from another machine in your office.
Good luck!
Regards,
Robert Adkins
IT Manager/Buyer
IMPEL Industries, Inc.
-----Original Message-----
From: qlin [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 15, 2002 4:39 PM
To: [EMAIL PROTECTED]; Robert Adkins
Subject: [Samba] Windows 98 cann't connect to Samba
I get a problem of setup samba connection with a Windows 98
My Linux box has RH8.0 on it and is networked with a Windows 98 PC
What I have done:
(1) Follow the instructions on "The Official Red Hat Linux Customization
Guide" and config smb.conf
(2) Run the test in DIAGNOSIS.txt, failed in step 5.
(3) Step 7 is OK, which means local smb client can connect to smbd
service and access the shared. (smbclient)
(4) Because Windows client is unable to connect, I guess that the
problem might be the inproper configuration on client PC. I search
hosts file on client PC, find one called hosts.sam (I guess it
is a samlpe file). copy hosts.sam to hosts and add a line of
ip(of linux box) linux-hostname (so I can ping linux box from client
PC using linux-hostname.
(5) On linux box, add client PC's ip win98-hostname (so I can ping
client from linux box using win98-hostname.
(6) When client PC restart, click netowrk nerghbor, I can see both
linux-hostname and win98-hostname but when click linux-hostname
I get "\\linux-hostname is not accessable. the computer name might
not be correct" error.
(7) I could not find where on client PC win98-hostname is stored
(definatly not in hosts file). ping win98-hostname does work fine.
(8) The smb.conf looks like:
[global]
workgroup = HOMENET
server string = Samba Server
printcap name = /etc/printcap
load printers = yes
printing = lprng
log file = /var/log/samba/%m.log
max log size = 0
security = user
encrypt passwords = no
smb passwd file = /etc/samba/smbpasswd
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
[homes]
comment = Home Directories
browseable = yes
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
Can someone advice me of what should I try next?
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
