samba digest, Vol 1 #99 - 2 msgs

Pam Wales pwales at cdpr.ca.gov
Mon Oct 9 04:46:10 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 20:45 >>>

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. cups printing (George D. Plymale)
  2. Re: samba digest, Vol 1 #98 - 4 msgs (Pam Wales)

--__--__--

Message: 1
Date: Sun, 08 Oct 2000 20:26:20 -0400
To: samba at samba.org
From: "George D. Plymale" <gplymale at zoomnet.net>
Subject: cups printing

I have searched around the samba documentation, including the smb.conf man 
page, and have found nothing regarding the cups printing system except 
change printcap to cups.  Now, I have done that, but printing still does 
not work.  I need some types of details and a sample smb.conf and/or any 
other relevant documentation.

Thanks much,

George D. Plymale



--__--__--

Message: 2
Date: Sun, 08 Oct 2000 18:27:50 -0700
From: "Pam Wales" <pwales at cdpr.ca.gov>
Reply-To: pwales at cdpr.ca.gov
To: <samba at us4.samba.org>
Subject: Re: samba digest, Vol 1 #98 - 4 msgs

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

     =3D     +     =3D     +     =3D     +     =3D     +     =3D     +     =
=3D     +     =3D     +     =3D=20

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

Cheers!
Pam  :-)


>>> samba 10/08/00 17:27 >>>

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. Samba 2.2.0alpha0 released (jeremy at valinux.com)
  2. Re: Question on making group Folders (Thomas Heiligenmann)
  3. Samba 2.2.0alpha0 snapshot released (Jeremy Allison)
  4. Re: samba digest, Vol 1 #97 - 12 msgs (Pam Wales)

-- __--__-- 

Message: 1
Date: Sun, 8 Oct 2000 17:04:30 -0700
From: jeremy at valinux.com
To: samba at samba.org
Cc: jeremy at valinux.com
Subject: Samba 2.2.0alpha0 released



-- __--__-- 

Message: 2
Date: Sat, 07 Oct 2000 18:56:50 +0200
From: thomas.heiligenmann at t-online.de (Thomas Heiligenmann)
Reply-To: thomas at heiligenmann.de
To: samba at us4.samba.org
Subject: Re: Question on making group Folders

Eric Ralston wrote:
>=20
> 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?
>

Put the following into your smb.conf:

...
[my_group_folder]
    comment =3D My group folder
    path =3D /path/to/my_group_folder
    writable =3D yes
    valid users =3D @my_group
    force group =3D my_group
    create mode =3D 0660
    directory mode =3D 0770
...

Users belonging to my_group will have r/w access.

--=20
Thomas


-- __--__-- 

Message: 3
Date: Sun, 8 Oct 2000 17:35:25 -0700
To: samba at samba.org
Subject: Samba 2.2.0alpha0 snapshot released
From: Jeremy Allison <jeremy at valinux.com>

(Sorry for the earlier blank message - not used
to using a mutt text based mailer - oops).

Hi all,

		I have just released the first alpha snapshot
of what will become Samba 2.2.0.

It's available from the usual ftp sites, in the alpha
directory as :

<ftp mirror>:/pub/samba/alpha/samba-2.2.0-alpha0.tar.gz

If people could test this snapshot out and provide feedback
about what is broken (probably lots at the moment :-) and
let the lists know that would help.

The Team will be monitoring the feedback and this will help
for the next alpha.

Please note that the documentation is not currently up to
date, and the POSIX ACL mapping feature is currently missing,
but most of the other improvements are all there, and this code
has been running under memory overrun/leak detectors for weeks
now without problems.

Having said that - *please* don't use this on a production
system :-) :-).

There are several patches missing from this code that *will*
be added in future alphas as we get nearer to release, so
don't worry if your favourite patch isn't in there - just
remember to complain :-).

The release notes follow :

Regards,

		Jeremy Allison,
		Samba Team.

------------------------------------------------------------
              WHATS NEW IN Samba 2.2.0alpha0
              =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

This is the first alpha release of the new 2.2.0 codebase
for Samba. This version must not be run in production.

This code will almost certainly have some bugs and is
intended to help the Samba Team prepare an official 2.2.0
release.

The documentation in this alpha snapshot is not up to date,
there are many new parameters since 2.0.7. This will be
corrected in a later alpha release.

The upcoming 2.2.0 Samba release will include the following
new features:

Support for native Windows NT4/2000 printing RPCs.
This includes support for automatic printer driver download.=20

Rewritten internal locking semantics for more robustness.
This alpha supports full 64 bit locking semantics on all
(even 32 bit) platforms. SMB locks are mapped onto POSIX
locks (32 bit or 64 bit) as the underlying system allows.

Conversion of various internal flat data structures to use
database records for increased performance and flexibility.=20

Support for acting as a MS-DFS server=20

Compile time option for enabling a VFS layer=20

Support for server supported Access Control Lists (ACLs).
This support will require a specific pluggable backend to
be written for each filesystem ACL implementation to be
supported. The stable 2.2.0 release should contain
support for the following filesystems:=20
							=09
    Solaris 2.6+=20
    HPUX
    SGI Irix=20
    Linux Kernel 2.2 with German ACL patch=20

Currently in this alpha snapshot (alpha0) this feature
is not enabled - the VFS layer has been modified to allow
it, but the code is still under development and should
be in a later alpha snapshot. Other platforms will be
supported as resources are available to test and implement
the encessary modules. If you are interested in writing
the support for a particular ACL filesystem, please join the
samba-technical mailing list and coordinate your efforts.=20

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

If you think you have found a bug please email a report to :

     samba at samba.org

As always, all bugs are our responsibility.

	Regards,

        The Samba Team. =20

--=20
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------


-- __--__-- 

Message: 4
Date: Sun, 08 Oct 2000 17:49:50 -0700
From: "Pam Wales" <pwales at cdpr.ca.gov>
Reply-To: pwales at cdpr.ca.gov
To: <samba at us4.samba.org>
Subject: Re: samba digest, Vol 1 #97 - 12 msgs

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

     =3D3D     +     =3D3D     +     =3D3D     +     =3D3D     +     =3D3D =
    +     =3D
=3D3D     +     =3D3D     +     =3D3D=3D20

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

Cheers!
Pam  :-)


>>> samba 10/08/00 16:49 >>>

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. Re: Question on making group Folders (Andrew Bartlett)
  2. Win explorer issues (Greg Cockburn)
  3. Re: samba digest, Vol 1 #96 - 8 msgs (Pam Wales)
  4. Smbclient and W2K (Michael Hirsch)
  5. client msdos problem with open files (Nelson)
  6. just test (nelson)
  7. (no subject) (weblabs)
  8. Re: Samba Dropping Mounts - "Broken Pipe" msgs (auto852 at hushmail.com)
  9. help (=3D3D?gb2312?q?=3D3DCB=3D3DEF=3D3D20=3D3DD1=3D3DE0?=3D3D)
  10. (no subject) (weblabs)
  11. (no subject) (weblabs)
  12. Re: Strange App sends SRV_NETSHAREENUM with info_level =3D3D=3D3D 0 =
=3D
(Gerald Carter)

--  __--__-- =20

Message: 1
Date: Sun, 08 Oct 2000 12:30:19 +1100
From: Andrew Bartlett <abartlet at pcug.org.au>
Reply-To: abartlet at pcug.org.au
To: Eric Ralston <ericralston at yahoo.com>
Cc: samba at us4.samba.org
Subject: Re: Question on making group Folders

This is quite easily done:

Create a new unix group, and add members as appropriate.

Setup the group shared folder, I have used /home/groups/{group name}.
Next change the folders group and set appropriate permissions.  I also
make it set group-id.

Simply share this folder via samba, either by adding individual shares,
adding a [groups] share or (as I do) placing a symbolic link in each
members home directory.

Hope this helps,

Andrew Bartlett

Eric Ralston wrote:
>=3D20
> 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
>=3D20
> =3D3D=3D3D=3D3D=3D3D=3D3D
> "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
>=3D20
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - 35mm Quality Prints, Now Get 15 Free!
> http://photos.yahoo.com/

--=3D20
Andrew Bartlett
abartlet at pcug.org.au


--  __--__-- =20

Message: 2
Date: Sun, 08 Oct 2000 20:24:08 +1300
From: Greg Cockburn <greg at performancemagic.com>
Organization: Performance Magic
To: samba at us4.samba.org
Subject: Win explorer issues

I am having a few issues with copying / moving files on the samba server
using windows explorer. I also watch clients (eg Netscape caching) come
to a grinding halt for a period of time if they are reading/writing
files to a network drive.

If I move / copy a file to a share on the samba server it will move the
status bar all the way across, sit there for a while then pop up this
message:

'Cannot create or replace <filename>. The specified network resource or
device is no longer available.'

and then most of the time if I try it again in a few seconds it works
fine. There are few files that have been severly problematic, but I
can't nail it down to any one thing. I have played around with oplocks,
filenames, sizes (bigger ones are more problematic), max xmit, and
various other smb.conf stuff that I thought may be at fault. I just
can't nail it down to one thing.

Any ideas anyone? :-(

--
Greg Cockburn
Performance Magic
Wellington
New Zealand
Phone +64 4 9711980
Mobile +64 25 275 6378
ICQ# 19058919

http://www.performancemagic.com




--  __--__-- =20

Message: 3
Date: Sun, 08 Oct 2000 16:19:30 -0700
From: "Pam Wales" <pwales at cdpr.ca.gov>
Reply-To: pwales at cdpr.ca.gov
To: <samba at us4.samba.org>
Subject: Re: samba digest, Vol 1 #96 - 8 msgs

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

     =3D3D3D     +     =3D3D3D     +     =3D3D3D     +     =3D3D3D     +   =
  =3D3D3D =3D
    +     =3D3D
=3D3D3D     +     =3D3D3D     +     =3D3D3D=3D3D20

Hi!
I am out of the office for a vacation until October 16, 2000. =3D3D20
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)

--   __--__--  =3D20

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.




--   __--__--  =3D20

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=3D3D3D"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 =3D3D3D 192.168.1. /255.255.255.240
pm_process() returned Yes

added interface ip=3D3D3D192.168.1.1 bcast=3D3D3D192.168.1.15
nmask=3D3D3D255.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



--   __--__--  =3D20

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

=3D3D3D=3D3D3D=3D3D3D=3D3D3D=3D3D3D
"Someday you and I will take the Great Hart by our own
skill alone, and with an arrow. And then the Little=3D3D20
Gods of the Woods will chuckle and rub their hands and=3D3D20
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/


--   __--__--  =3D20

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



--   __--__--  =3D20

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




--   __--__--  =3D20

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=3D3D3D"iso-8859-1"

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

What still doesn't make sense to me is that I saw no noticable=3D3D20
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.
=3D3D20
> | Spliting the files up into multiple directories, is just a=3D3D20
> | temporary workaround, not a solution.
>=3D3D20
> 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=3D3D=
20=3D

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 =
=3D
=3D3D
a=3D3D20
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.
>=3D3D20
> --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



--   __--__--  =3D20

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
>=3D3D20
> I am running the latest version of samba (well, i downloaded it last
> week) and updated the version on my RedHat 6.1 machine.
>=3D3D20
> 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 =
=3D
=3D3D
up
> everything worked fine, I could look at files in Network Neighborhood =
=3D
=3D3D
and
> everything.
>=3D3D20
> However, now I am without DSL until the end of the month and I want to =
=3D
=3D3D
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.
>=3D3D20
> Shutting down SMBD:  Failed
> Shutting down NMBD:  OK
> Restarting SMBD:     OK
> Restarting NMBD:     OK
>=3D3D20
> I have tried disabling the eth0 that connects to DSL and fiddling with =
=3D
=3D3D
the
> reslov.conf (and of course) smb.conf files, but nothing seems to work.
>=3D3D20
> 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.
>=3D3D20
> -thanx a bunch
>=3D3D20
> Ryan
>=3D3D20
>=3D3D20
>=3D3D20



--   __--__--  =3D20

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,
>=3D3D20
> I am running RedHat 6.2 on a Sun Ultra10 with Samba version 2.0.7.
>=3D3D20
> 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):
>=3D3D20
> 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




--   __--__--  =3D20

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


End of samba Digest



--  __--__-- =20

Message: 4
From: "Michael Hirsch" <slowhand at uni-paderborn.de>
To: <samba at lists.samba.org>
Subject: Smbclient and W2K
Date: Sun, 8 Oct 2000 17:54:36 +0200
charset=3D3D"iso-8859-1"

Hello!

I am using Samba 2.0.7 with Linux (kernel 2.2.14) and W2k (sp1) as
client. When I try to send a message from my Linux machine with smbclient
-M <ip address>, it takes up to 10 sec until the message appears on my w2k
machine. When I send it to an NT4 or 9x machine, it appears immediately.
Any ideas?

Thanks
Michael


--  __--__-- =20

Message: 5
Date: Sun, 08 Oct 2000 09:04:54 -0300
From: Nelson <ngcnet at nanet.com.br>
To: samba at lists.samba.org
Subject: client msdos problem with open files

Hello everybody,
I'm new in the list.
I have a problem with the maximum open files in my msdos client 3.0.
Is there anybody that know how to improve this.
In my config i have files=3D3D250 , but I just open 40~60b files.

Thanks
Nelson (Brasil)



--  __--__-- =20

Message: 6
From: nelson <ngcnet at nanet.com.br>
Date: Sun, 08 Oct 2000 14:43:39 GMT
Subject: just test
To: samba at lists.samba.org







--  __--__-- =20

Message: 7
From: "weblabs" <ueck at web-labs.de>
To: <samba at lists.samba.org>
Date: Sun, 8 Oct 2000 22:32:28 +0200
boundary=3D3D"----=3D3D_NextPart_000_0071_01C03177.A40C1B60"
Subject: (no subject)

This is a multi-part message in MIME format.

------=3D3D_NextPart_000_0071_01C03177.A40C1B60
Content-Type: text/plain;
	charset=3D3D"iso-8859-1"
Content-Transfer-Encoding: quoted-printable

unsubscribe samba-technical ueck at web-labs.de

------=3D3D_NextPart_000_0071_01C03177.A40C1B60
Content-Type: text/html;
	charset=3D3D"iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3D3D3DContent-Type content=3D3D3D"text/html; =3D3D
charset=3D3D3Diso-8859-1">
<META content=3D3D3D"MSHTML 5.50.4134.600" name=3D3D3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D3D3D#ffffff>
<DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2>unsubscribe samba-technical =
<A=3D3D20
href=3D3D3D"mailto:ueck at web-labs.de">ueck at web-labs.de</A></FONT></DIV></DIV=
><=3D
=3D3D
/BODY></HTML>

------=3D3D_NextPart_000_0071_01C03177.A40C1B60--



--  __--__-- =20

Message: 8
From: auto852 at hushmail.com
Date: Sun, 8 Oct 2000 14:09:02 -0800 (PDT)
Cc: samba at us4.samba.org
To: Urban Widmark <urban at svenskatest.se>
Subject: Re: Samba Dropping Mounts - "Broken Pipe" msgs

--Hushpart_boundary_myodnmnUitNSmWasgKrRcathPVtBXPZY
Content-type: text/plain


At Mon, 25 Sep 2000 20:02:56 +0200 (CEST), Urban Widmark <urban at svenskatest=
=3D
.se>=3D20
wrote:

>
>On Sun, 24 Sep 2000 auto852 at hushmail.com wrote:
>
>> Yikes, I've never compiled a kernel before and in this case (from=3D20
>what I
>> could see) it requires compiling pre-patch-2.2.17-20 (required =
for)=3D20
>then
>> pre-patch-2.2.18-10 (was the latest I could see) by someone named=3D20
>alan.
>
>The "someone named alan" is Alan Cox and he is the maintainer for =
the=3D20
>2.2
>kernel series and gets to decide what goes in and not.
>
>You don't have to compile 2.2.17pre20 (which is the same as 2.2.17),
> you

Thanks again Urb, :) ok well in alan's 2.2.18 kernel ftp dir there =3D
was/is=3D20
a readme that says the patch is for 2.2.17.20 but anyways...we applied =3D
the=3D20
patches 2.2.17-pre20 and then 2.2.18pre10 and recompiled the kernel =3D
but....

1) the patches were looking for directories that didn't exist on Redhat=3D2=
0
6.2 kernel 2.2.16-3 so we skipped passed them and recompiled the kernel=3D2=
0
the kernel anway. It looked like it patched quite a bit but after =3D
recompiling=3D20
the kernel version hadn't changed.

2) I am still getting smb_retry errors in the logs and I am still =3D
losing=3D20
mounts.

3) I also have a problem with the permissions changing after remounting.=3D=
20=3D

Half of the mounts permissions change for no reason while the other =3D
half=3D20
of the mounts are what they are supposed to be. (and all the shares on =3D
the=3D20
NT side have the same identical permissions).=3D20

So....what now? It seems that it may be quite possible that alan's =3D
kernel=3D20
patches are not quite compatible with Redhat 6.2 kernel 2.2.16-3 or =3D
2.2.14=3D20
for that matter and I can't find any Redhat kernels any newer than 2.2.16-
3. Redhat 7 was just released tho and it is using kernel 2.4 and you =3D
had=3D20
also mentioned kernel 2.4.0-test8 as a fix but what would be the point =3D
in=3D20
wasting all that time re-installing if the 2.4.0-test8 patch is not =3D
compatible=3D20
either?

And is there anyone listening that is running Samba-2.0.7-4 with Redhat=3D2=
0
6.2 (kernel 2.2.14 or 2.2.16-3) to map NT4 (SP-6a) shares -- successfully?=
=3D
=3D20
Or maybe someone out there that is running Samba-2.0.7-4
with Redhat 7 to map NT4 shares -- successfully?=3D20

>only have to patch it with pre-patch-2.2.18-10 and compile that.
>
>> Can those kernels be trusted? And any pointers towards information=3D20
>for how
>> I would go about compiling a new kernel without messing up my =3D
existing=3D20
>one?
>
>You should of course not experiment on your production machines. One
>problem may be if the kernel you normally run has extra patches not
>included in the standard kernels and you depend on those changes.
>
>The pre versions are "steps" from one kernel version to another and
>the reason for doing them is to get testing before calling it 2.2.18,
> so
>they may be seen as less safe than a 2.2.x version.
>
>More info:
>http://www.linuxdoc.org/HOWTO/Kernel-HOWTO.html
>
>You probably want to copy the bzImage to a floppy (cp bzImage /dev/fd0)
>and boot from that floppy.
>
>/Urban
>
--Hushpart_boundary_myodnmnUitNSmWasgKrRcathPVtBXPZY--


IMPORTANT NOTICE:  If you are not using HushMail, this message could have =
=3D
been read easily by the many people who have access to your open personal =
=3D
email messages.
Get your FREE, totally secure email address at http://www.hushmail.com.





--  __--__-- =20

Message: 9
Date: Sun, 8 Oct 2000 12:52:50 +0800 (CST)
From: =3D3D?gb2312?q?=3D3DCB=3D3DEF=3D3D20=3D3DD1=3D3DE0?=3D3D <asiaswallow=
@yahoo.com.cn>=3D

Subject: help
To: samba at samba.org

Hi:  =3D20
I have a question about samba.
I have a SUN workstation and several PCs in our lab .
One of my PCs have a printer (style:epson           =3D20
stylus color 300)      =3D20
I want to share the print with my SUN,so I install the
samba2.0.7(binary).It run very well.
   I find the samba2.0.7  has no  smbprint.sysv ,so=3D20
I copy it from samba1.9(maybe),and move it to the
samba
path: /opt/samba
   # ls /opt/samba
 bin/ man/ lib/ swat/ doc/ license/ smbprint.sysv
   # cd /opt/samba
   # ls smbprint.sysv
 -rw-r--r-- 1 root  other 1853 9.28 11:51
smbprint.sysv
  and I modify the smbprint.sysv
   # vi /opt/samba/smbprint.sysv
 set :
      server =3D3D lxf (lxf is the netbios name of the=3D20
                      PC which has the printer)
      service =3D3D EPSON (its shared printer name)
      passwd =3D3D "" (no passwd)
 and I modify the script
  add "bin":
(
    echo translate
    echo "print -"
    cat $*"
) | /opt/samba/bin/smbclient "\\\\$server\\%service"

              .... here I add bin

$passwd -N -P > /dev/null=3D20
exit $?
 then :
    # lpadmin -p epson_printer -v /dev/null -i =3D20
/opt/samba/smbprint.sysv
    # enable  epson_printer
    # accept  epson_printer
 it runs well.
   # admintool
 I use admintool to set the epson_printer default
    then I restart the Samba daemons=3D20
when I usr=3D20
     # lp text <filename>
it show :
    request id is epson_printer-1(1 file(s))
    It looks like right
 but the printer has no reaction!!!!!!!!!!
   (The printer is no wrong,I use very well)
    and when I input:
    # lpstat -p -l
 it shows:
 printer epson_printer is idle enable since Thursday
September 28 16:15:29 CST 2000 available
 Form mounted:
 Contant types: simple
 Printer types: unknown
 Description:
 Connect:direct
 Interface:/opt/samba/smbprint.sysv
 on fault:write to root once
 After fault:continue
 Users allowed:
        (all)
 Forms allowed:
        (none)
 Banner required
 Character sets:
            (none)
 Default pitch
 Default page size
 Default port settings:

the up is all.
 Is the file "smbprint.sysv"  wrong? I don't know.
Could you give me the file :smbprint.sysv?
Because I have no printer with SUN , my smb.conf
didn't
include [printers] this part,and I have set no items
correlative to printer (such as load printers =3D3D yes)
I have no way to do this.=3D20
Could you give me a hand?
 Thank you very much! Hope your email!!!

  SUN: ultra10
       SUNOS5.6


email:AsiaSwallow at yahoo.com.cn


_________________________________________________________
Do You Yahoo!?  *****=3DC3***=3DF4******
Get your free @yahoo.com.CN address at http://mail.yahoo.com.cn


--  __--__-- =20

Message: 10
From: "weblabs" <ueck at web-labs.de>
To: <samba at lists.samba.org>
Date: Sun, 8 Oct 2000 22:32:03 +0200
boundary=3D3D"----=3D3D_NextPart_000_0066_01C03177.94F494E0"
Subject: (no subject)

This is a multi-part message in MIME format.

------=3D3D_NextPart_000_0066_01C03177.94F494E0
Content-Type: text/plain;
	charset=3D3D"iso-8859-1"
Content-Transfer-Encoding: quoted-printable

unsubscribe samba-ntdom ueck at web-labs.de

------=3D3D_NextPart_000_0066_01C03177.94F494E0
Content-Type: text/html;
	charset=3D3D"iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3D3D3DContent-Type content=3D3D3D"text/html; =3D3D
charset=3D3D3Diso-8859-1">
<META content=3D3D3D"MSHTML 5.50.4134.600" name=3D3D3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D3D3D#ffffff>
<DIV>
<DIV><FONT face=3D3D3DArial size=3D3D3D2>unsubscribe samba-ntdom <A=3D3D20
href=3D3D3D"mailto:ueck at web-labs.de">ueck at web-labs.de</A></FONT></DIV></DIV=
><=3D
=3D3D
/BODY></HTML>

------=3D3D_NextPart_000_0066_01C03177.94F494E0--



--  __--__-- =20

Message: 11
From: "weblabs" <ueck at web-labs.de>
To: <samba at lists.samba.org>
Date: Sun, 8 Oct 2000 22:31:16 +0200
boundary=3D3D"----=3D3D_NextPart_000_005B_01C03177.78CC5460"
Subject: (no subject)

This is a multi-part message in MIME format.

------=3D3D_NextPart_000_005B_01C03177.78CC5460
Content-Type: text/plain;
	charset=3D3D"iso-8859-1"
Content-Transfer-Encoding: quoted-printable

unsubscribe samba ueck at web-labs.de

------=3D3D_NextPart_000_005B_01C03177.78CC5460
Content-Type: text/html;
	charset=3D3D"iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3D3D3DContent-Type content=3D3D3D"text/html; =3D3D
charset=3D3D3Diso-8859-1">
<META content=3D3D3D"MSHTML 5.50.4134.600" name=3D3D3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D3D3D#ffffff>
<DIV><FONT face=3D3D3DArial size=3D3D3D2>unsubscribe samba <A=3D3D20
href=3D3D3D"mailto:ueck at web-labs.de">ueck at web-labs.de</A></FONT></DIV></BOD=
Y>=3D
=3D3D
</HTML>

------=3D3D_NextPart_000_005B_01C03177.78CC5460--



--  __--__-- =20

Message: 12
Date: Thu, 05 Oct 2000 22:44:21 -0500
From: Gerald Carter <gcarter at valinux.com>
Organization: VA Linux Systems
To: Clint Byrum <cbyrum at erp.com>
Cc: samba-technical at samba.org
Subject: Re: Strange App sends SRV_NETSHAREENUM with info_level =3D3D=3D3D =
0

Clint Byrum wrote:
>=3D20
> An application we have here tries to get a listing of=3D20
> a machine's shares using the RPC command SRV_NETSHAREENUM.=3D20
> In init_srv_share_info_ctr() with debug level 5,=3D20
> this will produce the message "init_srv_share_info_ctr:
> unsupported switch value 0". Doesn't the application=3D20
> set this value? It seems to correspond to something=3D20
> called info_level... I mucked around in the
> code, but didn't find much about this flag)?
>
> NT responds to the same query just fine. Which is=3D20
> "broken" here, the app, or samba? Thanks in advance.

The SMB protocol has a nearly infinite combinations=3D20
of flags, bits, and commands with each combination
resulting in different behavior.  Samba only implements
those combinations which are (a) documented, or (b) see
by developers. =3D20

Which brings us to the question, what is the=3D20
application and client platform?  I'm sure Jeremy=3D20
will want a a debug trace for a successful op and=3D20
failed op in order to figure out what is going on.






Cheers, jerry
----------------------------------------------------------------------
   /\  Gerald (Jerry) Carter                     Professional Services
 \/    http://www.valinux.com  VA Linux Systems    gcarter at valinux.com
       http://www.samba.org       SAMBA Team           jerry at samba.org
       http://www.eng.auburn.edu/~cartegw

       "...a hundred billion castaways looking for a home."
                                - Sting "Message in a Bottle" ( 1979 )




--  __--__-- =20

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


End of samba Digest




-- __--__-- 

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


End of samba Digest




--__--__--

_______________________________________________
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