Article View: comp.os.linux.networking
Article #490Samba problems - help please!
From: JavaOne
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
100 lines
3449 bytes
3449 bytes
I read the how-to at:
http://www.redhat.com/support/docs/tips/Samba-Tips/Samba-Tips.html
Situation:
3 machine LAN, 2 NT 4.0 machines, one with Linux Red Hat 6.1
I am trying to use Samba to map shares on my Linux machine to drives on
my NT machines. Here is what I have done so far. The problem is that my
Linux shares do not show up under network neighborhood. Also, I cannot
smbmount my NT shares on the Linux machine.
I am using a workgroup called MONSTERLAND. The Linux machine is RODAN,
the NT machines are GODZILLA and MOTHRA. Here is what I have done so
far on the Linux machine:
1. Edited /etc/rc.d/init.d/smb so that it starts nmdb with:
daemon nmdb -D -G MONSTERLAND
I created a group called pcusers on the Linux machine, which includes
the Linux users Administrator and chris. Created a directory called
/export/pcusers
2. Edited /etc/smb.conf as follows:
[global]
workgroup = MONSTERLAND
nebtios name = RODAN
server string = Rodan Samba: %v
security = user
[pcusers]
comment = foo
path=/export/pcusers
writeable=yes
valid users = @pcusers
locking=yes
create mode = 0660
directory mode = 0770
[homes]
comment = Home Directories
public = yes
path = %H
writeable = yes
valid users = %S
create mode = 0600
directory mode = 0700
locking = no
browseable=yes
3. I ran linuxconf so that smb and nmbd are started at boot time. I can
see them running when I run ps -aef
When I run smbclient -L rodan -U Administrator I get:
Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Password:
Domain=[MONSTERLAND] OS=[Unix] Server=[Samba 2.0.5a]
Sharename Type Comment
--------- ---- -------
pcusers Disk pcusers Share
homes Disk Home Directories
IPC$ IPC IPC Service (Rodan Samba: 2.0.5a)
lp Printer
Administrator Disk Home Directories
Server Comment
--------- -------
GODZILLA
RODAN Rodan Samba: 2.0.5a
Workgroup Master
--------- -------
MONSTERLAND RODAN
I created a directory called /win/Godzilla/E but when I run smbmount
as shown below, I get the indicated errors:
smbmount //GODZILLA/E /win/Godzilla/E
Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
smbmnt must be installed suid root
mount failed
Are there any ideas what I am doing wrong??
Any help/pointers appreciated
Sent via Deja.com http://www.deja.com/
Before you buy.
Technical Details
Message-ID:
<8ckgdo$au3$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd6c,dfe473ed3b690c57,start X-Google-Attributes: gidfcd6c,public X-Google-Thread: 11663c,dfe473ed3b690c57,start X-Google-Attributes: gid11663c,public X-Google-Thread: 10669a,dfe473ed3b690c57,start X-Google-Attributes: gid10669a,public From: JavaOne <chris63@my-deja.com> Subject: Samba problems - help please! Date: 2000/04/07 Message-ID: <8ckgdo$au3$1@nnrp1.deja.com> X-Deja-AN: 607854250 X-Http-Proxy: 1.0 x38.deja.com:80 (Squid/1.1.22) for client 206.138.153.16 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Apr 07 11:22:40 2000 GMT X-MyDeja-Info: XMYDJUIDchris63 Newsgroups: comp.os.linux.networking,linux.redhat.install,dc.org.linux-users X-Http-User-Agent: Mozilla/4.61 [en] (WinNT; U)