samba digest, Vol 1 #96 - 8 msgs

Pam Wales pwales at cdpr.ca.gov
Sun Oct 8 23:19:30 GMT 2000


This is one of those nifty auto-responses from Pam Wales's computer to yours:

     =     +     =     +     =     +     =     +     =     +     =     +     =     +     = 

Hi!
I am out of the office for a vacation until October 16, 2000.  
I will respond to your e-mail when I return.

Cheers!
Pam  :-)


>>> samba 10/08/00 15:19 >>>

Send samba mailing list submissions to
	samba at lists.samba.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.samba.org/mailman/listinfo/samba
or, via email, send a message with subject or body 'help' to
	samba-request at lists.samba.org

You can reach the person managing the list at
	samba-admin at lists.samba.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of samba digest..."


Today's Topics:

  1. Still have a few questions about Samba... (Stephane Ouellette)
  2. session setup failed: ERRSRV - ERRbadpw (Thomas Beer)
  3. Question on making group Folders (Eric Ralston)
  4. Network woes with Samba (Ryan Detert)
  5. smbmount permission issue (Derek R. Pizzagoni)
  6. Re: Samba Speed Question (Dave Dezinski)
  7. Re: Network woes with Samba (Neal Lawson)
  8. Re: smbmount permission issue (Urban Widmark)

--__--__--

Message: 1
Date: Fri, 06 Oct 2000 17:04:53 -0400
From: Stephane Ouellette <so at tektrend.com>
Organization: Tektrend International inc.
To: samba at samba.org
Subject: Still have a few questions about Samba...
Reply-To: so at tektrend.com

Hi everyone,

    I have successfully configured a Samba PDC for both Win98 and NT4
machines using Samba pre3.0.0 (running RedHat 6.2 on Intel) but I still
have a few questions :

1-  When a user is logged on the domain from a Win98 machine, the
command "NET USE Z: /HOME" doesn't connect the user's home drive (from
NT4, it works).  I had to create a logon script for each Win98 user that

has the following command : "NET USE Z: \\MYPDC\USERNAME".   When I
first used Samba 2.0.7, I could connect the home drive using "NET USE Z:

/HOME"...   Any suggestions ?

2-  I would like to create shares on the Win98 machines that are
accessible from the NT4 stations.  In the network neighborhood, I can
see the Win98 machine but it complains with an "access denied" message
when I double-click on it...   I tried to change to the Win98 machine's
configuration from "share-access level" to "user-access level" but the
Samba PDC doesn't send a list of users to Win98.  Is this a role that
Samba can't actually do ??   (Note that the Win98 users can access all
shares on the NT machines)



Thank you.

Stephane Ouellette
Software designer
Tektrend International inc.




--__--__--

Message: 2
From: "Thomas Beer" <tom at politologie.org>
To: "Linux Samba" <samba at samba.org>
Subject: session setup failed: ERRSRV - ERRbadpw
Date: Fri, 6 Oct 2000 23:34:25 +0200
charset="iso-8859-1"

Hi,

can anybody give me a hint what is wrong with my
samba config ?

testparm -L localhost -U%
[...]

doing parameter hosts allow = 192.168.1. /255.255.255.240
pm_process() returned Yes

added interface ip=192.168.1.1 bcast=192.168.1.15
nmask=255.255.255.240

not adding duplicate interface 192.168.1.1

Client started (version 2.0.7).

resolve_wins: Attempting wins lookup for name
localhost<0x20>

bind succeeded on port 0

Got a positive name query response from 127.0.0.1
 127.0.0.1 )

Connecting to 127.0.0.1 at port 139

session setup failed: ERRSRV - ERRbadpw (Bad password -
name/password pair in a Tree Connect or Session Setup are
invalid.)



Thanks Tom



--__--__--

Message: 3
Date: Fri, 6 Oct 2000 15:24:02 -0700 (PDT)
From: Eric Ralston <ericralston at yahoo.com>
Subject: Question on making group Folders
To: samba at lists.samba.org

I recently started at a small company using Samba for
The windows login and the home directory's on the Sun
boxes. I need to be able to create group shared
folders and allow add users to it. How is this done?
Any help would be appreciated.
Thanks

=====
"Someday you and I will take the Great Hart by our own
skill alone, and with an arrow. And then the Little 
Gods of the Woods will chuckle and rub their hands and 
say, "Look, Brothers. An Archer! The Old Times are not
altogether gone!"
Adrian Eliot Hodgkin

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
http://photos.yahoo.com/


--__--__--

Message: 4
Date: Fri, 6 Oct 2000 15:43:12 -0700 (PDT)
From: Ryan Detert <rcdetert at ucdavis.edu>
To: samba at us4.samba.org
Subject: Network woes with Samba

I am running the latest version of samba (well, i downloaded it last
week) and updated the version on my RedHat 6.1 machine.

Here is my setup: I have two NICs, one for connecting to DSL (eth0) and
the other (eth1) is used for masquerading my LAN. When I had DSL hooked up
everything worked fine, I could look at files in Network Neighborhood and
everything.

However, now I am without DSL until the end of the month and I want to get
the Network Neighborhood to work with Samba. When I do an
/etc/rc.d/init.d/smb restart I see something like this every time.

Shutting down SMBD:  Failed
Shutting down NMBD:  OK
Restarting SMBD:     OK
Restarting NMBD:     OK

I have tried disabling the eth0 that connects to DSL and fiddling with the
reslov.conf (and of course) smb.conf files, but nothing seems to work.

Is it the two NICs that are throwing samba off or what? Or should I just
wait for Red Hat 7 to come in the mail.

-thanx a bunch

Ryan



--__--__--

Message: 5
Reply-To: derekp at sbei.com
Date: Fri, 06 Oct 2000 20:21:32 -0700
From: "Derek R. Pizzagoni" <derekp at sbei.com>
Organization: SBE, Inc.
To: samba at samba.org
Subject: smbmount permission issue

Hello,

I am running RedHat 6.2 on a Sun Ultra10 with Samba version 2.0.7.

I am able to manually mount, and automount, but no matter where and how
I mount, I always get the following permissions on the mount point
(after mount):

d---------    1 root     root          512 Oct  5 15:43 sbe12

It happened in Samba 2.0.6, and I decided to try to upgrade via RPM to
2.0.7, but it didn't help.

I have made myself the owner of the mountpoint, and I receive the
same... d---------.

I have included dmask and fmask in my mount command, and I receive the
same... d---------.

I have included the uid and gid in my mount command, and I receive the
same... d---------.

I have tried mounting both a Windows NT share and a Samba share, and I
receive the same... d---------.

Root can access the files on the remote server, but I can't (as my
normal username).

Any suggestions?

Thank you in advance.

--
Derek Pizzagoni
I.T. Manager
SBE, Inc.
URL: http://www.sbei.com




--__--__--

Message: 6
From: "Dave Dezinski" <ddez at cbf.com>
To: "David Collier-Brown" <David.Collier-Brown at canada.sun.com>,
<samba at samba.org>
Subject: Re: Samba Speed Question
Date: Fri, 6 Oct 2000 23:27:05 -0400
charset="iso-8859-1"

Dave Collier-Brown wrote:
> | We've got a few NT40 servers that have more than 20000 files 
> | in a single directory, that don't perform this badly.  We'd 
> | like to replace these servers with Linux boxes using Samba, 
> | but unless we re-organize these files into multiple directories
> | (which means a bunch of custom software needs to be rewritten), 
> | this isn't possible.
> |
> | This definately is a problem that should be a looked into, this 
> | is not the first time I've seen someone complain about this.  
> 
> Yes, it's an artifact of the Unix algorihms:
> linear search and the reliable writes of the
> directory metadata.  The latter is adressed 
> in the  SGI logging filesystem, the Solaris 
> logging option, ReiserFS and in ext2fs.

What still doesn't make sense to me is that I saw no noticable 
improvement in speed using the ReiserFS with Samba vs ext2,
but did notice a difference in speed when cp'ing the files in the
ReiserFS vs ext2 filesystem.
 
> | Spliting the files up into multiple directories, is just a 
> | temporary workaround, not a solution.
> 
> Well, it's sort of a permanent workaround (;-))
> It adresses the linear-search problem nicely,
> which only a true logging fs (or caching) helps with.

I guess without having a filesystem that does some sort of directory
entry caching, there is no other way around this.  I really wish there 
was a better way to handle this, I understand that having 10000 or
more files in a directory is not that efficient, but it since it wasn't a 
problem in NT or in the previous Netware servers we had I couldn't
see why it would be a problem here.

> NT will run out of speed on very deep b-tree
> structures, which fortunately are rare, although
> programs generating filenames sometimes stumble into
> the "bad" part of the namespace. So would hashing
> filesystems, if anyone built them.
> 
> --dave

Thanks for the reply, looks like I'll have to look into changing some
of our applications to handle the spliting up of these files into multiple
directories if Samba is the way I'm going. :-)

Dave Dezinski



--__--__--

Message: 7
Date: Fri, 6 Oct 2000 23:29:55 -0500 (CDT)
From: Neal Lawson <lawsonn at delta.swau.edu>
To: Ryan Detert <rcdetert at ucdavis.edu>
Cc: samba at us4.samba.org
Subject: Re: Network woes with Samba

have your configured your Windows for WINS, eg TCP/IP->WINS to point at
your samba server, and have you check your default route on your Samba
box?


On Fri, 6 Oct 2000, Ryan Detert wrote:

> Date: Fri, 6 Oct 2000 15:43:12 -0700 (PDT)
> From: Ryan Detert <rcdetert at ucdavis.edu>
> To: samba at us4.samba.org
> Subject: Network woes with Samba
> 
> I am running the latest version of samba (well, i downloaded it last
> week) and updated the version on my RedHat 6.1 machine.
> 
> Here is my setup: I have two NICs, one for connecting to DSL (eth0) and
> the other (eth1) is used for masquerading my LAN. When I had DSL hooked up
> everything worked fine, I could look at files in Network Neighborhood and
> everything.
> 
> However, now I am without DSL until the end of the month and I want to get
> the Network Neighborhood to work with Samba. When I do an
> /etc/rc.d/init.d/smb restart I see something like this every time.
> 
> Shutting down SMBD:  Failed
> Shutting down NMBD:  OK
> Restarting SMBD:     OK
> Restarting NMBD:     OK
> 
> I have tried disabling the eth0 that connects to DSL and fiddling with the
> reslov.conf (and of course) smb.conf files, but nothing seems to work.
> 
> Is it the two NICs that are throwing samba off or what? Or should I just
> wait for Red Hat 7 to come in the mail.
> 
> -thanx a bunch
> 
> Ryan
> 
> 
> 



--__--__--

Message: 8
Date: Sat, 7 Oct 2000 11:33:59 +0200 (MET DST)
From: Urban Widmark <urban at svenskatest.se>
To: "Derek R. Pizzagoni" <derekp at sbei.com>
Cc: samba at samba.org
Subject: Re: smbmount permission issue

On Fri, 6 Oct 2000, Derek R. Pizzagoni wrote:

> Hello,
> 
> I am running RedHat 6.2 on a Sun Ultra10 with Samba version 2.0.7.
> 
> I am able to manually mount, and automount, but no matter where and how
> I mount, I always get the following permissions on the mount point
> (after mount):
> 
> d---------    1 root     root          512 Oct  5 15:43 sbe12

What kernel version, default RH6.2?

> Root can access the files on the remote server, but I can't (as my
> normal username).

That suggests that smbfs has a problem getting input from the mount
program. smbmount builds a binary struct and passes this to the kernel.
The inode from the mountpoint is built using information from that struct
only.

I'm guessing that it is some 32bit vs 64bit thing. Could it be that the
samba package is compiled vs some set of headers, creating a struct that
the kernel code can't read ...

Could you try rebuilding samba from source?
And before doing that, check that /usr/include/asm/posix_types.h contain
the sparc64 definition:
	typedef unsigned int           __kernel_mode_t;
and not the sparc definition:
	typedef unsigned short         __kernel_mode_t;


If that fails to improve, it would be interesting to see if there is a
difference in how the struct looks. Printing the size of the struct and
the offset from the start of the struct of each field in
source/client/smbmnt.c (samba) and fs/smbfs/inode.c (kernel). Let me know
if you want a patch for doing that.

/Urban




--__--__--

_______________________________________________
samba mailing list
samba at lists.samba.org
http://lists.samba.org/mailman/listinfo/samba


End of samba Digest





More information about the samba mailing list