SAMBA question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Craig White
Date:  
Subject: SAMBA question
"linux @esaravana" wrote:
>
> Hello,
>
> I just configured SAMBA on one of my RH 7.1 boxes. The problem is --
> whenever I try to browse the network neighbourhood, I get
>
> *******************
> linuxhome.com(my internal domain name) is not accessible
> the network name cannot be found
> ***********************
>
> But I am able to map the share, access the folders and files without any
> problem.
>
> RELEVENT LOGS
> My log.nmb has following in the log
>
> **************************
> Samba name server SNOOPY is now a local master browser for workgroup
> LINUXHOME.COM on subnet 192.168.0.254
> ***********
>
> My charlie.log shows (charlie is the Win2k Advanced Server from which I am
> trying to browse the network neighbourhood)
> **************************
> [2001/12/24 14:46:15, 0] smbd/password.c:authorise_login(831)
> rejected invalid user nobody
> **************************
>
> How do I fix my nmbd?
>

---
sheesh

if you are using Win2K advanced server as domain controller then I would
presume that you are using active directory. You must allow for backward
compatibility (I believe that in Windows parlance, this is called
pre-Windows 2000) for samba to work.

Then your windows domain name doesn't have a suffix at all...not
linuxhome.com - but rather LINUXHOME (suggest all caps on this one) and
that is what you put into the workgroup = LINUXHOME in
/etc/samba/smb.conf (perhaps it's in /etc/smb.conf).

You have to configure your shares - allow guest and map guest to nobody
for nobody to connect. Suggest that you not do this but rather either
create the same user accounts in /etc/passwd & /etc/smbpasswd (possibly
/etc/samba/smbpasswd) using the same password as the Windows server has
for each user account.

There happens to be very excellent documentation at
<http://www.samba.org>

Note that RH 7.1 came with samba 2.07 and they are now at version 2.2.1a
or maybe even 2.2.2 which would have an implementation of windbind which
would eliminate the need for you to create the same accounts on the
linux computer. You can find updates for samba in rawhide at redhat but
you will probably have to update some other things in order to install
the rawhide version (heavily recommended).

If this linux box is also your gateway/firewall/router, it may not be
such a great idea to use samba on this machine.

Other things of interest:
- security = domain
- password server = CHARLIE
- smbpasswd -j DOMAIN_NAME DOMAIN_MASTER_CONTROLLER
- allow hosts 192.168.0. 127.

see man smb.conf, and the excellent documentation at samba.org

doubt that you need wins on this local lan, you can use dns on one of
the machines for name resolution.

Enjoy

Craig