Article View: comp.os.linux.networking
Article #491Re: Samba problems - help please!
From: patrick.thempel
Date: Fri, 07 Apr 2000 00:00
Date: Fri, 07 Apr 2000 00:00
126 lines
4562 bytes
4562 bytes
In article <8ckgdo$au3$1@nnrp1.deja.com>, JavaOne <chris63@my-deja.com> wrote: > > > 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. > the first thing jumping to the naked eye is the interface 127.0.0.1- thats local loopback only (a piece of software that imitates network for certain other software) see if in your smb.conf theres a line beginning with 'interfaces', and add your ipadress here same with smbmount, why would it look for godzilla on loopback? i run through your post again, this is getting more curious by the minute- did you take 127.0.0.1 as your ipadress? another info it gives you is this: smbmnt must be installed suid root (only root can mount, unless otherwise specified) did you run smbmount as root? sorry i'm sincerely puzzled -- '...' said the joker to the thief 'there's too much confusion, i cant get no relief... so let us not talk falsely now, the hour's getting late' Sent via Deja.com http://www.deja.com/ Before you buy.
Technical Details
Message-ID:
<8cki22$cfm$1@nnrp1.deja.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<8ckgdo$au3$1@nnrp1.deja.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd6c,dfe473ed3b690c57 X-Google-Attributes: gidfcd6c,public X-Google-Thread: 11663c,dfe473ed3b690c57 X-Google-Attributes: gid11663c,public X-Google-Thread: 10669a,dfe473ed3b690c57 X-Google-Attributes: gid10669a,public From: patrick.thempel@audi.de Subject: Re: Samba problems - help please! Date: 2000/04/07 Message-ID: <8cki22$cfm$1@nnrp1.deja.com> X-Deja-AN: 607859239 References: <8ckgdo$au3$1@nnrp1.deja.com> X-Http-Proxy: 1.0 x32.deja.com:80 (Squid/1.1.22) for client 143.164.249.1 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Apr 07 11:50:30 2000 GMT X-MyDeja-Info: XMYDJUIDnpatt Newsgroups: comp.os.linux.networking,linux.redhat.install,dc.org.linux-users X-Http-User-Agent: Mozilla/4.5 [de]C-CCK-MCD (WinNT; I)