[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: samba and w2k



You didn't really mean to quote the whole digest did you?  I'll let it
slide this time. :-)

On Thu, Jan 02, 2003 at 09:26:42AM -0600, Kent Price wrote:
> I am a newbie to rh.
> 
> I have a linksys router providing DHCP functions.
> 
> I have 3 w2k boxes and I want to use the RH8 box for file and print sharing,
> and later learn about DNS and HTTP servers.
> 
> I have installed rh8 four times (server install) and learned more each time.
> 
> Used webmin once, but it is flexible enough to allow you to really disable
> your system.

You might try swat from the samba-swat RPM.  I've used neither, opting
to Read The Fine Manual and edit the config file.

> I have a clean install of rh8 and samba.
> I have read the chapter 16 in the customization guide several times (during
> installs).
> I have completed the configuration changes for passwords in section 16.2.1
> I have reviewed the samba.conf to allow access to files and printers.
> 
> IP addresses
> 
> Router - 192.168.1.1
> 	W2K - 1	198.162.1.2
> 	W2K - 2	198.162.1.3
> 	W2K - 3	198.162.1.4
> 	RH8		198.162.1.5
> 
> In section 16.3 is says to use Network Neighborhood or Windows Explorer to
> connect.
> 
> Network Neighborhood does not show the RH8 connection, but does show all the
> W2K connections.

Do your W2K and RH8 boxes agree on the workgroup name?  See my
smb.conf, below.

> I can ping 198.162.1.5 (RH8) from the W2K side and I get a good response.
> 
> On the RH8 box the ifconfig shows eth0 at 192.168.1.5 and lo at 127.0.0.1
> and I can ping all W2K boxes.
> 
> But I cannot connect or map files to the RH8 box and it does not see the
> printer.
> 
> The printer is on the RH8 box.  Is it better to add it as a local printer or
> an SMB printer?

Local.  To the W2K boxes, it will be an SMB printer.

> The more I read the more I get confused.  Do I need to install NFS,

No.

> openSSH,

That's a good idea, but it won't help your current problem.

> or even HTTP?

No.

> Thank you,
> 
> Kent

Let's compare notes.  Here's my smb.conf file, sans original
comments.  (I generated it with

  egrep -v '^[#;]' /etc/samba/smb.conf >/tmp/smb.conf

and edited out most of the blank lines.)  My local network is
192.168.2.0/24.

[global]
   workgroup = BOS
   server string = Samba Server

hosts allow = 192.168.2. 127.

   printcap name = /etc/printcap
   load printers = yes
   printing = lprng
   log file = /var/log/samba/%m.log
   max log size = 0
   security = user
   encrypt passwords = yes
   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 = no
   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

Cheers,
-- 
Bob McClure, Jr.             Bobcat Open Systems, Inc.
robertmcclure earthlink net  http://www.cumbytel.com/~bobcatos/
Linux: because I want to get there today.  Without rebooting.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]