Samba Problem

Mark Peoples gascsd@gascairlines.com
Fri, 10 Nov 2000 14:19:35 -0700


I'd get the tarball...I've had much better luck with it.

Also, I take it that by going with security=share, that the windows
usernames aren't the same as on the linux box?

The problem is that samba can't authenticate for the share. What happens
when you do  \\samba-server-name ? Do you get a list of shares? Also, have
you tried changing it to security=user, and, if so, do you receive the same
error?

Were you trying to mount a share on the linux box from a windows machine and
saw the error in the logs, or, mount a windows share from linux and got it
at the command line?

If you've got an NT PDC there, I highly suggest using it w/samba for
authentication (with samba-tng coming along nicely, this will be the way to
go <g>), and changing samba to use security=domain . I know that the RPMs
I've tried didn't have the necessary compile time options, and have problems
joining the domain; my solution was to build from the tarball, get my
smb.conf tweaked to how I wanted it, and join the domain...and it's worked
fine, even through a few routers.  =)

Here are the steps I used to compile it...note, I'm using a PDC to do
authentication (security=domain). POSEIDON is our PDC, P&A is the domain...









./configure --prefix=/usr/local/samba --with-smbmount --with-pam --with-sysl
og --without-sambabook
        make
        make install
        testparm
        ln -s /etc/smb.conf /usr/local/samba/lib/smb.conf
        smbpasswd -j "P&A" -r POSEIDON
        /usr/local/samba/bin/smbd -D
        /usr/local/samba/bin/nmbd -D

Your smb.conf will show up in /usr/local/samba/lib ... ln -s /etc/smb.conf
/usr/local/samba/lib works though  =)  testparm will tell you if your
smb.conf is ok or not

I also wanted to make sure smbmount was included (there are some notes on
smbmount/linux), syslog (we have a central syslog server), and no samba
book...which is the same thing that you get if you go to Borders and slap
down $30 for paper, only this comes with the tarball for free download.  =)

marco

-----Original Message-----
From: plug-discuss-admin@lists.PLUG.phoenix.az.us
[mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of David
Demland
Sent: Friday, November 10, 2000 1:29 PM
To: plug-discuss@lists.PLUG.phoenix.az.us
Subject: RE: Samba Problem


I am setup with shared for the authentication. I am using 2.0.5a because
that is what ship with Red Hat 6.1 which is what I installed on the
computer. Should I get the newer RPM?

Thank You,

David Demland
Qa/Testing Manager
CADTEL Systems, Inc.
11201 N. Tatum Ste. 200
Phoenix, AZ 85028
(602) 953-4888
Fax: (602) 953-4833
ddemland@cadtel.com

-----Original Message-----
From: plug-discuss-admin@lists.PLUG.phoenix.az.us
[mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of Mark
Peoples
Sent: Friday, November 10, 2000 12:32 PM
To: plug-discuss@lists.PLUG.phoenix.az.us
Subject: RE: Samba Problem


How are you setup to do authentication? Also, any reason why you're using
2.0.5a and not 2.0.7?

marco

-----Original Message-----
From: plug-discuss-admin@lists.PLUG.phoenix.az.us
[mailto:plug-discuss-admin@lists.PLUG.phoenix.az.us]On Behalf Of David
Demland
Sent: Friday, November 10, 2000 11:34 AM
To: Plug-Discuss
Subject: Samba Problem


I am installing a new server here in the office to show that we can replace
our Novell with Linux. I am using Red Hat 6.1 with Samba 2.0.5a. When I try
to connect using a valid user name and password I get the error message:

tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree
connect.)

I have tried everything I can think of and I can not clear this error. Does
anyone have any ideas?

Thank You,

David Demland
Qa/Testing Manager
CADTEL Systems, Inc.
11201 N. Tatum Ste. 200
Phoenix, AZ 85028
(602) 953-4888
Fax: (602) 953-4833
ddemland@cadtel.com


________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.

Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.

Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post
to the list quickly and you use Netscape to write mail.

Plug-discuss mailing list  -  Plug-discuss@lists.PLUG.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss