1) Follow the docs.
2) Use Testparms... A good tool to test /etc/smb.conf's consistency.
3) Access samba locally after restarting it with the changes...
I.E.
[root@router ~]# smbclient -L router -U opjose
added interface ip=10.0.0.1 bcast=10.255.255.255 nmask=255.0.0.0
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
Password:
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair
in a
Tree Connect or Session Setup are invalid.)
--- Darn I must have something wrong... ---BIG HINT---
[root@router ~]# smbclient -L router -U opjose
added interface ip=10.0.0.1 bcast=10.255.255.255 nmask=255.0.0.0
added interface ip=127.0.0.1 bcast=127.0.0.255 nmask=255.255.255.0
Password:
Password:
Domain=[NETRESULTS] OS=[Unix] Server=[Samba 2.0.6]
Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
admin Disk Administrator Directories
root Disk Root Directories
netlogon Disk Network Logon Service
printers Printer All Printers
IPC$ IPC IPC Service (Samba Server)
hp1200ms Printer hp1200
hp4plus Printer hp4
Server Comment
--------- -------
OFFICE Office Machine
ROUTER Samba Server
WHOPPER The big Bopper
Workgroup Master
--------- -------
NETRESULTS ROUTER
---
Ah all fixed!
---
Then check the /var/log/samba directory for information dumps of what is
wrong.
(note that it's a good idea to explicitly turn on connection by connect
logging until you have everything set up!)
-JMS
-----Original Message-----
From: Andrew Vogel [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 26, 2000 12:28 PM
To: Stout, Wayne
Cc: [EMAIL PROTECTED]
Subject: Re: [expert] Printer on network...
On Fri, 26 May 2000 10:20:22 -0500, you wrote:
>As long as you have Samba configured correctly, there's really nothing to
>it. All I've ever had to do to reach the printer hanging off of my wife's
>Win98 pc is run printtool after making sure Samba is configured correctly.
>
>Same thing with my office pc. Configure Samba, run printtool. You might
want
>to put the IP addy for the W2000 box in your /etc/hosts file to make things
>easier.
>
>The Printing HOW-TO makes reference to a Mini HOW-TO dealing with this
>subject, but I couldn't find it. It also says the printer in question is
>perfectly supported.
>
Thanks for the info, Wayne. I guess my question becomes, then, how to make
sure that SAMBA is configured properly...
---
===========================================================================
Andrew Vogel: Program Manager at the University of Cincinnati College of
Pharmacy. http://pharmacy.uc.edu/default.html (513)-558-3784
===========================================================================