No subject


Mon Dec 1 11:34:25 GMT 2003


apply with setfacl are reflected in the rights of the windows clients. It
seems the only thing that isn't working is actually doing anything with
the acls using a windows client to change them or view them (ie.
security/permissions tab). It works, but only shows the user/group/other
rights that are on the file or dir...in other words, the regular unix
rights. No ACL stuff is shown or viewable or modifieable. I could just go
on and use the command line to change the acls and everything would be
peachy, but I would love to be able to have my mis people use something
simple like the gui tabs in a windows client. Especially since everyone
else seems to have it working. Thanks for the help.
Alex

On Thu, 14 Jun 2001, Sean P. Elble wrote:

> Date: Thu, 14 Jun 2001 15:16:23 -0400
> From: "Sean P. Elble" <S_Elble at yahoo.com>
> To: kill -9 <kill-9 at warbeast.com>
> Cc: samba at lists.samba.org
> Subject: Re: What can ACL do?
> 
> Well, I'd have a look at the Samba compilation again; unless Samba 2.2
> explicitly stated that ACLs were being enabled during the compile, then
> they're not there. Another simple thing that I almost forgot was that you
> have to specify that you want ACL support (i.e --with-acl-support). Check to
> make sure that there is an acl.h file in your /usr/include/linux directory
> structure; this file came with the XFS acl-devel package, though I'm not
> sure where it might appear for you. However, you do say the rights are
> applied correctly; the way your e-mail was worded, it was hard to tell if
> you are speaking of ACL rights, or regular Unix rights; which one is it?
> I'll do some research on this, and get back to you. Good luck!
> 
> -----------------------------------------
> Sean Elble
> Writer, Editor, Webmaster
> MaximumLinux.org
> http://www.maximumlinux.org/
> elbles at maximumlinux.org
> s_elble at yahoo.com
> -----------------------------------------
> 
> ----- Original Message -----
> From: "kill -9" <kill-9 at warbeast.com>
> To: "Sean P. Elble" <S_Elble at yahoo.com>
> Cc: "Libor Vanlk" <lists at conet.cz>; <samba at lists.samba.org>
> Sent: Wednesday, June 13, 2001 11:26 PM
> Subject: Re: What can ACL do?
> 
> 
> > I am currently having this same problem with posix acls and redhat 6.2,
> > but I am not using xfs. Everything is installed and compiled. The rights
> > are applied correctly and working so far as the linux system is concerned.
> > Users can only access what they should be able to through samba. But when
> > I try to use any form of windows server or client to change or read the
> > rights, only the user group and other rights are shown, no acls. The only
> > strange thing about my setup is that I am running dual sambas, tng as a
> > pdc and 2.2 as the file server (which has the acl support). The file
> > server is a member of the tng domain. Any ideas?
> >
> >  On Wed, 13 Jun 2001, Sean P. Elble wrote:
> >
> > > Date: Wed, 13 Jun 2001 20:35:00 -0400
> > > From: "Sean P. Elble" <S_Elble at yahoo.com>
> > > To: "[iso-8859-2] Libor Vanlk" <lists at conet.cz>, samba at lists.samba.org
> > > Subject: Re: What can ACL do?
> > >
> > > Well, you _can_ have very fine-grained access control with the XFS ACLs
> with
> > > Samba 2.2, and it can all be done with Windows 2000. I had a very
> similar
> > > problem; if you are using the RPMs graciously provided by the Samba
> team,
> > > get rid of them; they don't have ACL support, nor do they have support
> for
> > > the kernel oplock mechanism present in the 2.4.x kernels, which you must
> be
> > > using, since you are using XFS. :-) I'd recommend checking out the
> latest
> > > CVS of both the Linux kernel with XFS support, available at oss.sgi.com,
> and
> > > the latest Samba CVS, because many many problems have been fixed in
> both. If
> > > that's not an option, I have a Samba RPM compiled (version 2.2 from CVS
> on
> > > 5/16/01), with 2.4 oplock support, XFS ACL support, and quota support.
> If
> > > you do compile your own, make sure the acl-devel RPM package is
> installed
> > > before you compile Samba; otherwise, you won't be able to have XFS ACL
> > > support. Good luck!
> > >
> > > -----------------------------------------
> > > Sean Elble
> > > Writer, Editor, Webmaster
> > > MaximumLinux.org
> > > http://www.maximumlinux.org/
> > > elbles at maximumlinux.org
> > > s_elble at yahoo.com
> > > -----------------------------------------
> > >
> > > ----- Original Message -----
> > > From: "Libor Vanlk" <lists at conet.cz>
> > > To: <samba at lists.samba.org>
> > > Sent: Wednesday, June 13, 2001 8:11 PM
> > > Subject: What can ACL do?
> > >
> > >
> > > > Hello,
> > > > I'd like to ask - what can ACLs (on XFS+Samba 2.2) do for me? I was
> unable
> > > > to find this out. I thought that I can setup rights like "john:rwx,
> > > > jack:r--" but I wasn't (W2k) - I was only able to setup rwx for
> > > > user/group/others :(
> > > >
> > > > Libor Vanek
> > > > --
> > > > To unsubscribe from this list go to the following URL and read the
> > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >
> >
> > --------------------------------------------------------------------------
> --
> > "First, they ignore you. Then they laugh
> > at you. Then they fight you. Then you
> > win." - Mahatma Ghandi
> >
> > In a world without walls and fences, who needs windows and gates?
> >
> > Alex West
> > A&M Communications - Tech Guru
> > BioControl Technology Inc., MIS Administrator
> > kill-9 at warbeast.com | kill-9 at ipost.net
> > WebPage -> www.warbeast.com/~kill-9
> > Visit Third Eye Digital Productions -
> http://www.indiana-emall.com/thirdeye
> > Check out my band and FREE music at ***  www.mp3.com/snowpants  ***
> > --------------------------------------------------------------------------
> --
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

----------------------------------------------------------------------------
"First, they ignore you. Then they laugh
at you. Then they fight you. Then you
win." - Mahatma Ghandi

In a world without walls and fences, who needs windows and gates?

Alex West
A&M Communications - Tech Guru
BioControl Technology Inc., MIS Administrator
kill-9 at warbeast.com | kill-9 at ipost.net
WebPage -> www.warbeast.com/~kill-9
Visit Third Eye Digital Productions - http://www.indiana-emall.com/thirdeye
Check out my band and FREE music at ***  www.mp3.com/snowpants  ***
----------------------------------------------------------------------------

Return-Path: <speed at kumsal.net>
Delivered-To: samba at samba.org
Received: from merkezmail1.kumsal.net (unknown [212.175.9.4]) by
  lists.samba.org (Postfix) with ESMTP id 673414E92 for
  <samba at samba.org>; Fri, 15 Jun 2001 07:10:17 -0700 (PDT)
Received: from merkezsql1 ([192.168.1.3]) by merkezmail1.kumsal.net with
  Microsoft SMTPSVC(5.0.2195.1600); Fri, 15 Jun 2001 17:18:17 +0300
Date: Fri, 15 Jun 2001 13:38:03 +0200
MIME-Version: 1.0
X-Mailer: J4L-GFIMailer
X-Expid: jajenardmeremesyi
To: samba at samba.org
Subject: 700 Saat Bedava Internet ile Yeni Servis Saglayicinizla Tanisin
Reply-To: speed at kumsal.net
X-JMSavedFile: C:\Program Files\HTML Mailer\Outbound
  2942298357046032\mail5023.eml
From: "info at kumsal.net" <speed at kumsal.net>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
Message-ID: <MERKEZMAIL1ylxN2f9Z00014db9 at merkezmail1.kumsal.net>
X-OriginalArrivalTime: 15 Jun 2001 14:18:17.0583 (UTC)
  FILETIME=[05BA0FF0:01C0F5A6]
X-Converted-To-Plain-Text: from text/html by demime 0.98b
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

[TABLE NOT SHOWN]

Return-Path: <jon at Osprey.InfotechFL.com>
Delivered-To: samba at lists.samba.org
Received: from Phoenix.InfoTechFL.Com (hawk-gw.infotechfl.com
  [208.62.145.230]) by lists.samba.org (Postfix) with ESMTP id 728EB442A
  for <samba at lists.samba.org>; Fri, 15 Jun 2001 07:45:43 -0700 (PDT)
Received: from Osprey.InfotechFL.com (IDENT:jon at Osprey.InfotechFL.com
  [204.146.114.55]) by Phoenix.InfoTechFL.Com (8.11.1/8.11.1) with ESMTP
  id f5FEoOr19699 for <samba at lists.samba.org>; Fri, 15 Jun 2001 10:50:24
  -0400
Received: (from jon at localhost) by Osprey.InfotechFL.com (8.9.3/8.9.3) id
  KAA04879 for samba at lists.samba.org; Fri, 15 Jun 2001 10:50:24 -0400
Date: Fri, 15 Jun 2001 10:50:24 -0400
From: Jon Wright <Jon.Wright at InfoTechFL.Com>
To: samba at lists.samba.org
Subject: File Timestamps
Message-ID: <20010615105024.B2711 at Osprey.InfotechFL.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

  We have a very interesting situation happening here. I looked in the archives,
and there was a message from Feb. with one follow up, but no solution, so I am
asking for help again.
  We have users that are sharing files on a Samba Server (v2.0.5a). When they 
OPEN an Excel file that they do not own, the file timestamp is updated to the
current time. This happens only when the user is not the owner, and regardless
of whether the user saves the file or not. Unix diff on copies of a file will
report that the files differ after being opened. When I tried this on a
Samba 2.2.0 server, we received the same results. Also, this has been tested
on a WinNT Server, with the time changes NOT occurring. I am wondering if this
is a quirk in Samba, or my configs. I will provide congig files if anyone wants
to take a look at them, but am not incluing them here out of space 
considerations.
  Does anyone have any idea as to what is causing this? It is a problem because
we are storing documents where the changing of time stamps can cause problems.

Thank you,
	Jon
-- 
Jon Wright, Network Administrator     |   5700 SW 34th St. Suite 1235
Info Tech, Inc.                       |   Gainesville, FL 32608
jon.wright at infotechfl.com             |   (352)381-4400 Voice
jon.wright at cloverleaf.net             |   (352)381-4444 Fax

Return-Path: <dhamm at itrepro.com>
Delivered-To: samba at samba.org
Received: from itrepro.atlanta.itserve.com (festus.itserve.com
  [209.4.104.189]) by lists.samba.org (Postfix) with ESMTP id 500C3421A
  for <samba at samba.org>; Fri, 15 Jun 2001 08:21:37 -0700 (PDT)
Received: from localhost (dhamm at localhost) by
  itrepro.atlanta.itserve.com (8.9.3/8.9.3) with ESMTP id LAA31034; Fri,
  15 Jun 2001 11:27:42 -0400
Date: Fri, 15 Jun 2001 11:27:42 -0400 (EDT)
From: David Hamm <dhamm at itrepro.com>
X-Sender: dhamm at itrepro.atlanta.itserve.com
To: Joachim Feise <jfeise at ics.uci.edu>
Cc: samba at samba.org
Subject: Re: (no subject)
In-Reply-To: <3B28D148.D86F1FE at ics.uci.edu>
Message-ID: <Pine.LNX.4.10.10106151126330.30934-100000 at itrepro.atlanta.i
  tserve.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I bet he wants to use smb calls in a script.  If so then check out the
"net" command.

On Thu, 14 Jun 2001, Joachim Feise wrote:

> Russ Ward wrote:
> > 
> > Does anyone know of a port of smbclient to windows?
> 
> What for?
> SMB is native to Windows, so if you want to copy files, you can
> just use Explorer or a command prompt, or write a batch file.
> 
> -Joe
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

Return-Path: <mar_garina at opinionz.cjb.net>
Delivered-To: samba at lists.samba.org
Received: from mailgw2.netvision.net.il (mailgw2.netvision.net.il
  [194.90.1.9]) by lists.samba.org (Postfix) with ESMTP id 499745495 for
  <samba at lists.samba.org>; Fri, 15 Jun 2001 10:58:24 -0700 (PDT)
Received: from deot.net (ras8-p113.hrz.netvision.net.il [62.0.161.113])
  by mailgw2.netvision.net.il (8.9.3/8.9.3) with ESMTP id VAA13624 for
  <samba at lists.samba.org>; Fri, 15 Jun 2001 21:05:08 +0300 (IDT)
Received: from localhost (mar_garina at localhost [127.0.0.1]) by deot.net
  (8.11.4/8.11.4) with ESMTP id f5FI3iS29348 for
  <samba at lists.samba.org>; Fri, 15 Jun 2001 21:03:52 +0300
Date: Fri, 15 Jun 2001 21:03:44 +0300 (IDT)
From: Oren Held <mar_garina at opinionz.cjb.net>
To: <samba at lists.samba.org>
Subject: Mounting a cdrom using samba problem
Message-ID: <Pine.LNX.4.33.0106152055070.29141-100000 at deot.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello!

(I use SuSE 7.1/Linux 2.4.5/Samba 2.2.0. I'm trying to mount the cdrom
of a win98 machine)

I have a pretty weird problem:
Samba mounts drives on the other computer (win98) very well.
However, when I mount a cdrom on the other machine comes a weird problem.
It mounts well, but then when I try to go into some directory inside the
cd- after several 'ls' commands it tells me either 'Input/output error' or
'Not a directory' error, depends on what I do.

What makes it weird is that in the first 'ls' commands it works, but then
suddenly (usually after one or two working tries) it cannot ls these
directories inside the cd and returns these errors.

Any idea why it happens?

Thanks in advance,
Oren.

P.S. please carbon copy the answer to me because I'm not subscribed.
thanks.

Return-Path: <S_Elble at yahoo.com>
Delivered-To: samba at samba.org
Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net
  [207.217.120.22]) by lists.samba.org (Postfix) with ESMTP id C90FE439E
  for <samba at samba.org>; Fri, 15 Jun 2001 11:55:00 -0700 (PDT)
Received: from gateway (dhcp181-19-151-24.nm01-c3.cpe.charter-ne.com
  [24.151.19.181]) by hawk.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3)
  with SMTP id LAA09074; Fri, 15 Jun 2001 11:59:38 -0700 (PDT)
Message-ID: <005001c0f5cc$fecaa200$0600a8c0 at gateway>
Reply-To: "Sean P. Elble" <S_Elble at yahoo.com>
From: "Sean P. Elble" <S_Elble at yahoo.com>
To: "Andrew Lyon" <Administrator at josims.com>, <samba at samba.org>
References: <C2ADBF38E1F4D3118F9F0060082151A501F680 at CORE>
Subject: Re: ACL's using Redhat 6.2 rpm binary ?
Date: Fri, 15 Jun 2001 14:57:14 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Andy,

Nope, the Red Hat 6.2 RPM that the Samba Team has so kindly provided us
doesn't have ACL support, nor does it have the 2.4's kernel oplock support;
get the source (I recommend getting the CVS . . . many, many fixes), and
recompile; I use XFS ACLs, so I really can't help you out with that part (at
least by the sounds of your e-mail, you're using the bestbits ACL patch).
Good luck!

Sean Elble
----- Original Message -----
From: "Andrew Lyon" <Administrator at josims.com>
To: <samba at samba.org>
Sent: Friday, June 15, 2001 3:15 AM
Subject: ACL's using Redhat 6.2 rpm binary ?


> Hi,
>
> Does the RPM for RedHat 6.2 have ACL support enabled? If not can I compile
> from tarball and replace a few files to add support? If so which files.
>
> Thanks
> Andy
>
>
> ************************************************************
> Registered Office:
> J.O. Sims Ltd
> Pudding Lane
> Pinchbeck
> Spalding
> Lincs
> PE11 3TJ
> Company reg No: 2084187 Vat reg No: GB 437 4621 47
> Tel: +44 (0) 1775 842100
> Fax: +44 (0) 1775 842101
> Web: www.josims.com
> Email: enquiries at josims.com
>
> ************************************************************
> The information contained in this e-mail is confidential
> and is intended for the addressee only. The contents of
> this e-mail must not be disclosed or copied without the
> sender's consent. If you are not the intended recipient of
> the message, please notify the sender immediately, and
> delete the message.
>
> The statements and opinions expressed in this message are
> those of the author and do not necessarily reflect those
> of the company. No commitment may be inferred from the
> contents unless explicitly stated.  The company does not
> take any responsibility for the personal views of the
> author.
>
> This message has been scanned for viruses before sending,
> but the company does not accept any responsibility for
> infection and recommends that you scan any attachments.
> ************************************************************
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <torriem at cs.byu.edu>
Delivered-To: samba at lists.samba.org
Received: from mail.cs.byu.edu (mail.cs.byu.edu [128.187.2.20]) by
  lists.samba.org (Postfix) with ESMTP id E182254CB for
  <samba at lists.samba.org>; Fri, 15 Jun 2001 11:59:21 -0700 (PDT)
Received: from verdi.cs.byu.edu (IDENT:torriem at verdi.cs.byu.edu
  [128.187.101.86]) by mail.cs.byu.edu (8.11.0/8.11.0) with ESMTP id
  f5FJ3vP30902; Fri, 15 Jun 2001 13:03:57 -0600
Date: Fri, 15 Jun 2001 13:03:57 -0600 (MDT)
From: Michael L Torrie <torriem at cs.byu.edu>
To: Makis Marmaridis <Makis.Marmaridis at learnnow.com.au>
Cc: <samba at lists.samba.org>
Subject: RE: Using disk cloning software and samba pdc
In-Reply-To: <000101c0f56d$0a784b30$943c0a0a at akln01>
Message-ID: <Pine.LNX.4.33.0106151251320.1175-100000 at verdi.cs.byu.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Fri, 15 Jun 2001, Makis Marmaridis wrote:
> PS: Sorry list if this is getting a little off topic... :-)

This may not relate to samba in some ways (ie samba configuration,
compilation, etc), but it does relate to Samba in that this may be
something that many of Samba deployers will have to deal with.

I'll continue this discussion privately.

Thanks,
Michael



>
> HTH,
>
> Cheers,
> Makis.
>
>

Return-Path: <ccheshire at bigredwire.com>
Delivered-To: samba at lists.samba.org
Received: from puck.bigredwire.com (puck.bigredwire.com [216.87.233.2])
  by lists.samba.org (Postfix) with ESMTP id 3635654D0 for
  <samba at lists.samba.org>; Fri, 15 Jun 2001 12:03:26 -0700 (PDT)
Received: from bigredwire.com (dilligaf.bigredwire.com [216.87.226.15])
  by puck.bigredwire.com (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id
  MAA09168 for <samba at lists.samba.org>; Fri, 15 Jun 2001 12:13:09 -0700
X-Authentication-Warning: puck.bigredwire.com: Host
  dilligaf.bigredwire.com [216.87.226.15] claimed to be bigredwire.com
Message-ID: <3B2A5DA9.C2D3EC2 at bigredwire.com>
Date: Fri, 15 Jun 2001 12:10:33 -0700
From: Chris Cheshire <ccheshire at bigredwire.com>
Organization: bigredwire.com Inc
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: duplicate share names
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have samba 2.07 set up on Solaris/Intel 2.8. 

I have a few directories that I want read only access to one
set of users, but read/write access to another. I tried
putting the same share name in smb.conf with different
rules, but when I ran testparms it just showed the last
configuration entry. Is there any way to achieve this
using the same share name, or do I have to give each
one a different share name?

Thanks

-- 
Chris Cheshire
Manager of Software Development
bigredwire.com
Email : ccheshire at bigredwire.com

    "Ambition is just an excuse for those that 
    don't have the guts to be lazy"

Return-Path: <S_Elble at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from harrier.mail.pas.earthlink.net
  (harrier.mail.pas.earthlink.net [207.217.121.12]) by lists.samba.org
  (Postfix) with ESMTP id 9651C46A0 for <samba at lists.samba.org>; Fri, 15
  Jun 2001 12:37:44 -0700 (PDT)
Received: from gateway (dhcp181-19-151-24.nm01-c3.cpe.charter-ne.com
  [24.151.19.181]) by harrier.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3)
  with SMTP id MAA14558; Fri, 15 Jun 2001 12:42:10 -0700 (PDT)
Message-ID: <003b01c0f5d2$efa3ca80$0600a8c0 at gateway>
Reply-To: "Sean P. Elble" <S_Elble at yahoo.com>
From: "Sean P. Elble" <S_Elble at yahoo.com>
To: "kill -9" <kill-9 at warbeast.com>
Cc: <samba at lists.samba.org>
References: <Pine.LNX.3.95.1010615093753.5221G-100000 at elektra.warbeast.c
  om>
Subject: Re: What can ACL do?
Date: Fri, 15 Jun 2001 15:39:46 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Alex,

Could you be specific as to what you have checked to see if ACLs were
compiled in? From the information you have given me, it sounds as though
ACLs weren't sucessfully compiled in. For POSIX ACLs, during the ./configure
step of the compilation, it should display a message such as "Checking for
POSIX ACLs . . . yes", or something to that extent. If that message is not
displayed, then you don't have ACL support! :-) For you, there should be a
file called acl.h in the /usr/include/sys/ directory (full name of location:
/usr/include/sys/acl.h); if that file isn't there, than Samba 2.2 won't
detect ACL support, and won't compile it in. Also, are you compiling from
the source RPM? If so, then check the Samba RPM spec file to make sure that
the configure line has the --with-acl-support line in it. Sorry if I sound a
slight bit condescending (I've been known to be like that at times :-)),
but, when I had this problem, the soultion just seemed so obvious. Good
luck!

Sean Elble

----- Original Message -----
From: "kill -9" <kill-9 at warbeast.com>
To: "Sean P. Elble" <S_Elble at yahoo.com>
Cc: <samba at lists.samba.org>
Sent: Friday, June 15, 2001 9:40 AM
Subject: Re: What can ACL do?


> From everything I've checked, acls were compiled in correctly. Any acls I
> apply with setfacl are reflected in the rights of the windows clients. It
> seems the only thing that isn't working is actually doing anything with
> the acls using a windows client to change them or view them (ie.
> security/permissions tab). It works, but only shows the user/group/other
> rights that are on the file or dir...in other words, the regular unix
> rights. No ACL stuff is shown or viewable or modifieable. I could just go
> on and use the command line to change the acls and everything would be
> peachy, but I would love to be able to have my mis people use something
> simple like the gui tabs in a windows client. Especially since everyone
> else seems to have it working. Thanks for the help.
> Alex
>
> On Thu, 14 Jun 2001, Sean P. Elble wrote:
>
> > Date: Thu, 14 Jun 2001 15:16:23 -0400
> > From: "Sean P. Elble" <S_Elble at yahoo.com>
> > To: kill -9 <kill-9 at warbeast.com>
> > Cc: samba at lists.samba.org
> > Subject: Re: What can ACL do?
> >
> > Well, I'd have a look at the Samba compilation again; unless Samba 2.2
> > explicitly stated that ACLs were being enabled during the compile, then
> > they're not there. Another simple thing that I almost forgot was that
you
> > have to specify that you want ACL support (i.e --with-acl-support).
Check to
> > make sure that there is an acl.h file in your /usr/include/linux
directory
> > structure; this file came with the XFS acl-devel package, though I'm not
> > sure where it might appear for you. However, you do say the rights are
> > applied correctly; the way your e-mail was worded, it was hard to tell
if
> > you are speaking of ACL rights, or regular Unix rights; which one is it?
> > I'll do some research on this, and get back to you. Good luck!
> >
> > -----------------------------------------
> > Sean Elble
> > Writer, Editor, Webmaster
> > MaximumLinux.org
> > http://www.maximumlinux.org/
> > elbles at maximumlinux.org
> > s_elble at yahoo.com
> > -----------------------------------------
> >
> > ----- Original Message -----
> > From: "kill -9" <kill-9 at warbeast.com>
> > To: "Sean P. Elble" <S_Elble at yahoo.com>
> > Cc: "Libor Vanlk" <lists at conet.cz>; <samba at lists.samba.org>
> > Sent: Wednesday, June 13, 2001 11:26 PM
> > Subject: Re: What can ACL do?
> >
> >
> > > I am currently having this same problem with posix acls and redhat
6.2,
> > > but I am not using xfs. Everything is installed and compiled. The
rights
> > > are applied correctly and working so far as the linux system is
concerned.
> > > Users can only access what they should be able to through samba. But
when
> > > I try to use any form of windows server or client to change or read
the
> > > rights, only the user group and other rights are shown, no acls. The
only
> > > strange thing about my setup is that I am running dual sambas, tng as
a
> > > pdc and 2.2 as the file server (which has the acl support). The file
> > > server is a member of the tng domain. Any ideas?
> > >
> > >  On Wed, 13 Jun 2001, Sean P. Elble wrote:
> > >
> > > > Date: Wed, 13 Jun 2001 20:35:00 -0400
> > > > From: "Sean P. Elble" <S_Elble at yahoo.com>
> > > > To: "[iso-8859-2] Libor Vanlk" <lists at conet.cz>,
samba at lists.samba.org
> > > > Subject: Re: What can ACL do?
> > > >
> > > > Well, you _can_ have very fine-grained access control with the XFS
ACLs
> > with
> > > > Samba 2.2, and it can all be done with Windows 2000. I had a very
> > similar
> > > > problem; if you are using the RPMs graciously provided by the Samba
> > team,
> > > > get rid of them; they don't have ACL support, nor do they have
support
> > for
> > > > the kernel oplock mechanism present in the 2.4.x kernels, which you
must
> > be
> > > > using, since you are using XFS. :-) I'd recommend checking out the
> > latest
> > > > CVS of both the Linux kernel with XFS support, available at
oss.sgi.com,
> > and
> > > > the latest Samba CVS, because many many problems have been fixed in
> > both. If
> > > > that's not an option, I have a Samba RPM compiled (version 2.2 from
CVS
> > on
> > > > 5/16/01), with 2.4 oplock support, XFS ACL support, and quota
support.
> > If
> > > > you do compile your own, make sure the acl-devel RPM package is
> > installed
> > > > before you compile Samba; otherwise, you won't be able to have XFS
ACL
> > > > support. Good luck!
> > > >
> > > > -----------------------------------------
> > > > Sean Elble
> > > > Writer, Editor, Webmaster
> > > > MaximumLinux.org
> > > > http://www.maximumlinux.org/
> > > > elbles at maximumlinux.org
> > > > s_elble at yahoo.com
> > > > -----------------------------------------
> > > >
> > > > ----- Original Message -----
> > > > From: "Libor Vanlk" <lists at conet.cz>
> > > > To: <samba at lists.samba.org>
> > > > Sent: Wednesday, June 13, 2001 8:11 PM
> > > > Subject: What can ACL do?
> > > >
> > > >
> > > > > Hello,
> > > > > I'd like to ask - what can ACLs (on XFS+Samba 2.2) do for me? I
was
> > unable
> > > > > to find this out. I thought that I can setup rights like
"john:rwx,
> > > > > jack:r--" but I wasn't (W2k) - I was only able to setup rwx for
> > > > > user/group/others :(
> > > > >
> > > > > Libor Vanek
> > > > > --
> > > > > To unsubscribe from this list go to the following URL and read the
> > > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > > --
> > > > To unsubscribe from this list go to the following URL and read the
> > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > >
> > >
> >
> --------------------------------------------------------------------------
> > --
> > > "First, they ignore you. Then they laugh
> > > at you. Then they fight you. Then you
> > > win." - Mahatma Ghandi
> > >
> > > In a world without walls and fences, who needs windows and gates?
> > >
> > > Alex West
> > > A&M Communications - Tech Guru
> > > BioControl Technology Inc., MIS Administrator
> > > kill-9 at warbeast.com | kill-9 at ipost.net
> > > WebPage -> www.warbeast.com/~kill-9
> > > Visit Third Eye Digital Productions -
> > http://www.indiana-emall.com/thirdeye
> > > Check out my band and FREE music at ***  www.mp3.com/snowpants  ***
> >
> --------------------------------------------------------------------------
> > --
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>
> --------------------------------------------------------------------------
--
> "First, they ignore you. Then they laugh
> at you. Then they fight you. Then you
> win." - Mahatma Ghandi
>
> In a world without walls and fences, who needs windows and gates?
>
> Alex West
> A&M Communications - Tech Guru
> BioControl Technology Inc., MIS Administrator
> kill-9 at warbeast.com | kill-9 at ipost.net
> WebPage -> www.warbeast.com/~kill-9
> Visit Third Eye Digital Productions -
http://www.indiana-emall.com/thirdeye
> Check out my band and FREE music at ***  www.mp3.com/snowpants  ***
> --------------------------------------------------------------------------
--

Return-Path: <kill-9 at warbeast.com>
Delivered-To: samba at lists.samba.org
Received: from elektra.warbeast.com (unknown [63.106.52.242]) by
  lists.samba.org (Postfix) with ESMTP id 5AF0B5520 for
  <samba at lists.samba.org>; Fri, 15 Jun 2001 13:09:34 -0700 (PDT)
Received: from elektra.warbeast.com (IDENT:kill-9 at warbeast.com
  [63.106.52.242]) by elektra.warbeast.com (8.9.3/8.9.1) with SMTP id
  QAA06206; Fri, 15 Jun 2001 16:14:15 -0400
Date: Fri, 15 Jun 2001 16:14:15 -0400 (EDT)
From: kill -9 <kill-9 at warbeast.com>
To: "Sean P. Elble" <S_Elble at yahoo.com>
Cc: samba at lists.samba.org
Subject: Re: What can ACL do?
In-Reply-To: <003b01c0f5d2$efa3ca80$0600a8c0 at gateway>
Message-ID: <Pine.LNX.3.95.1010615161218.6186A-100000 at elektra.warbeast.c
  om>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Sean,
Yes, it was detected on configure, and that file is there. It is
definately working, or people would be complaining that they can or cannot
see files, dirs, etc. The problem seems to be between the windows domain
member client or server when it is getting the acls from the server, it
just isn't seeing them for some reason. The only thing weird about my
setup is that the pdc is a tng samba running on the same machine, and the
2.2 samba is just a member server.
Thanks for the help.


On Fri, 15 Jun 2001, Sean P. Elble wrote:

> Date: Fri, 15 Jun 2001 15:39:46 -0400
> From: "Sean P. Elble" <S_Elble at yahoo.com>
> To: kill -9 <kill-9 at warbeast.com>
> Cc: samba at lists.samba.org
> Subject: Re: What can ACL do?
> 
> Alex,
> 
> Could you be specific as to what you have checked to see if ACLs were
> compiled in? From the information you have given me, it sounds as though
> ACLs weren't sucessfully compiled in. For POSIX ACLs, during the ./configure
> step of the compilation, it should display a message such as "Checking for
> POSIX ACLs . . . yes", or something to that extent. If that message is not
> displayed, then you don't have ACL support! :-) For you, there should be a
> file called acl.h in the /usr/include/sys/ directory (full name of location:
> /usr/include/sys/acl.h); if that file isn't there, than Samba 2.2 won't
> detect ACL support, and won't compile it in. Also, are you compiling from
> the source RPM? If so, then check the Samba RPM spec file to make sure that
> the configure line has the --with-acl-support line in it. Sorry if I sound a
> slight bit condescending (I've been known to be like that at times :-)),
> but, when I had this problem, the soultion just seemed so obvious. Good
> luck!
> 
> Sean Elble
> 
> ----- Original Message -----
> From: "kill -9" <kill-9 at warbeast.com>
> To: "Sean P. Elble" <S_Elble at yahoo.com>
> Cc: <samba at lists.samba.org>
> Sent: Friday, June 15, 2001 9:40 AM
> Subject: Re: What can ACL do?
> 
> 
> > From everything I've checked, acls were compiled in correctly. Any acls I
> > apply with setfacl are reflected in the rights of the windows clients. It
> > seems the only thing that isn't working is actually doing anything with
> > the acls using a windows client to change them or view them (ie.
> > security/permissions tab). It works, but only shows the user/group/other
> > rights that are on the file or dir...in other words, the regular unix
> > rights. No ACL stuff is shown or viewable or modifieable. I could just go
> > on and use the command line to change the acls and everything would be
> > peachy, but I would love to be able to have my mis people use something
> > simple like the gui tabs in a windows client. Especially since everyone
> > else seems to have it working. Thanks for the help.
> > Alex
> >
> > On Thu, 14 Jun 2001, Sean P. Elble wrote:
> >
> > > Date: Thu, 14 Jun 2001 15:16:23 -0400
> > > From: "Sean P. Elble" <S_Elble at yahoo.com>
> > > To: kill -9 <kill-9 at warbeast.com>
> > > Cc: samba at lists.samba.org
> > > Subject: Re: What can ACL do?
> > >
> > > Well, I'd have a look at the Samba compilation again; unless Samba 2.2
> > > explicitly stated that ACLs were being enabled during the compile, then
> > > they're not there. Another simple thing that I almost forgot was that
> you
> > > have to specify that you want ACL support (i.e --with-acl-support).
> Check to
> > > make sure that there is an acl.h file in your /usr/include/linux
> directory
> > > structure; this file came with the XFS acl-devel package, though I'm not
> > > sure where it might appear for you. However, you do say the rights are
> > > applied correctly; the way your e-mail was worded, it was hard to tell
> if
> > > you are speaking of ACL rights, or regular Unix rights; which one is it?
> > > I'll do some research on this, and get back to you. Good luck!
> > >
> > > -----------------------------------------
> > > Sean Elble
> > > Writer, Editor, Webmaster
> > > MaximumLinux.org
> > > http://www.maximumlinux.org/
> > > elbles at maximumlinux.org
> > > s_elble at yahoo.com
> > > -----------------------------------------
> > >
> > > ----- Original Message -----
> > > From: "kill -9" <kill-9 at warbeast.com>
> > > To: "Sean P. Elble" <S_Elble at yahoo.com>
> > > Cc: "Libor Vanlk" <lists at conet.cz>; <samba at lists.samba.org>
> > > Sent: Wednesday, June 13, 2001 11:26 PM
> > > Subject: Re: What can ACL do?
> > >
> > >
> > > > I am currently having this same problem with posix acls and redhat
> 6.2,
> > > > but I am not using xfs. Everything is installed and compiled. The
> rights
> > > > are applied correctly and working so far as the linux system is
> concerned.
> > > > Users can only access what they should be able to through samba. But
> when
> > > > I try to use any form of windows server or client to change or read
> the
> > > > rights, only the user group and other rights are shown, no acls. The
> only
> > > > strange thing about my setup is that I am running dual sambas, tng as
> a
> > > > pdc and 2.2 as the file server (which has the acl support). The file
> > > > server is a member of the tng domain. Any ideas?
> > > >
> > > >  On Wed, 13 Jun 2001, Sean P. Elble wrote:
> > > >
> > > > > Date: Wed, 13 Jun 2001 20:35:00 -0400
> > > > > From: "Sean P. Elble" <S_Elble at yahoo.com>
> > > > > To: "[iso-8859-2] Libor Vanlk" <lists at conet.cz>,
> samba at lists.samba.org
> > > > > Subject: Re: What can ACL do?
> > > > >
> > > > > Well, you _can_ have very fine-grained access control with the XFS
> ACLs
> > > with
> > > > > Samba 2.2, and it can all be done with Windows 2000. I had a very
> > > similar
> > > > > problem; if you are using the RPMs graciously provided by the Samba
> > > team,
> > > > > get rid of them; they don't have ACL support, nor do they have
> support
> > > for
> > > > > the kernel oplock mechanism present in the 2.4.x kernels, which you
> must
> > > be
> > > > > using, since you are using XFS. :-) I'd recommend checking out the
> > > latest
> > > > > CVS of both the Linux kernel with XFS support, available at
> oss.sgi.com,
> > > and
> > > > > the latest Samba CVS, because many many problems have been fixed in
> > > both. If
> > > > > that's not an option, I have a Samba RPM compiled (version 2.2 from
> CVS
> > > on
> > > > > 5/16/01), with 2.4 oplock support, XFS ACL support, and quota
> support.
> > > If
> > > > > you do compile your own, make sure the acl-devel RPM package is
> > > installed
> > > > > before you compile Samba; otherwise, you won't be able to have XFS
> ACL
> > > > > support. Good luck!
> > > > >
> > > > > -----------------------------------------
> > > > > Sean Elble
> > > > > Writer, Editor, Webmaster
> > > > > MaximumLinux.org
> > > > > http://www.maximumlinux.org/
> > > > > elbles at maximumlinux.org
> > > > > s_elble at yahoo.com
> > > > > -----------------------------------------
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Libor Vanlk" <lists at conet.cz>
> > > > > To: <samba at lists.samba.org>
> > > > > Sent: Wednesday, June 13, 2001 8:11 PM
> > > > > Subject: What can ACL do?
> > > > >
> > > > >
> > > > > > Hello,
> > > > > > I'd like to ask - what can ACLs (on XFS+Samba 2.2) do for me? I
> was
> > > unable
> > > > > > to find this out. I thought that I can setup rights like
> "john:rwx,
> > > > > > jack:r--" but I wasn't (W2k) - I was only able to setup rwx for
> > > > > > user/group/others :(
> > > > > >
> > > > > > Libor Vanek
> > > > > > --
> > > > > > To unsubscribe from this list go to the following URL and read the
> > > > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > > > --
> > > > > To unsubscribe from this list go to the following URL and read the
> > > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > > >
> > > >
> > >
> > --------------------------------------------------------------------------
> > > --
> > > > "First, they ignore you. Then they laugh
> > > > at you. Then they fight you. Then you
> > > > win." - Mahatma Ghandi
> > > >
> > > > In a world without walls and fences, who needs windows and gates?
> > > >
> > > > Alex West
> > > > A&M Communications - Tech Guru
> > > > BioControl Technology Inc., MIS Administrator
> > > > kill-9 at warbeast.com | kill-9 at ipost.net
> > > > WebPage -> www.warbeast.com/~kill-9
> > > > Visit Third Eye Digital Productions -
> > > http://www.indiana-emall.com/thirdeye
> > > > Check out my band and FREE music at ***  www.mp3.com/snowpants  ***
> > >
> > --------------------------------------------------------------------------
> > > --
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >
> >
> > --------------------------------------------------------------------------
> --
> > "First, they ignore you. Then they laugh
> > at you. Then they fight you. Then you
> > win." - Mahatma Ghandi
> >
> > In a world without walls and fences, who needs windows and gates?
> >
> > Alex West
> > A&M Communications - Tech Guru
> > BioControl Technology Inc., MIS Administrator
> > kill-9 at warbeast.com | kill-9 at ipost.net
> > WebPage -> www.warbeast.com/~kill-9
> > Visit Third Eye Digital Productions -
> http://www.indiana-emall.com/thirdeye
> > Check out my band and FREE music at ***  www.mp3.com/snowpants  ***
> > --------------------------------------------------------------------------
> --
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

----------------------------------------------------------------------------
"First, they ignore you. Then they laugh
at you. Then they fight you. Then you
win." - Mahatma Ghandi

In a world without walls and fences, who needs windows and gates?

Alex West
A&M Communications - Tech Guru
BioControl Technology Inc., MIS Administrator
kill-9 at warbeast.com | kill-9 at ipost.net
WebPage -> www.warbeast.com/~kill-9
Visit Third Eye Digital Productions - http://www..indiana-emall.com/thirdeye
Check out my band and FREE music at ***  www.mp3.com/snowpants  ***
----------------------------------------------------------------------------

Return-Path: <S_Elble at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from harrier.mail.pas.earthlink.net
  (harrier.mail.pas.earthlink.net [207.217.121.12]) by lists.samba.org
  (Postfix) with ESMTP id 65D155536 for <samba at lists.samba.org>; Fri, 15
  Jun 2001 13:15:07 -0700 (PDT)
Received: from gateway (dhcp181-19-151-24.nm01-c3.cpe.charter-ne.com
  [24.151.19.181]) by harrier.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3)
  with SMTP id NAA03342; Fri, 15 Jun 2001 13:18:25 -0700 (PDT)
Message-ID: <006601c0f5d7$ffbe28c0$0600a8c0 at gateway>
Reply-To: "Sean P. Elble" <S_Elble at yahoo.com>
From: "Sean P. Elble" <S_Elble at yahoo.com>
To: "kill -9" <kill-9 at warbeast.com>
Cc: <samba at lists.samba.org>
References: <Pine.LNX.3.95.1010615161218.6186A-100000 at elektra.warbeast.c
  om>
Subject: Re: What can ACL do?
Date: Fri, 15 Jun 2001 16:16:01 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Alex,

At this point, I'd recommend getting the CVS version, and trying that; there
were a lot of bug fixes, including some ACL fixes. You'll want the SAMBA_2_2
branch. The setup you're using may have something to do with it, though I
doubt it. Sorry I couldn't be of more assistance. :-(

Sean Elble
----- Original Message -----
From: "kill -9" <kill-9 at warbeast.com>
To: "Sean P. Elble" <S_Elble at yahoo.com>
Cc: <samba at lists.samba.org>
Sent: Friday, June 15, 2001 4:14 PM
Subject: Re: What can ACL do?


> Sean,
> Yes, it was detected on configure, and that file is there. It is
> definately working, or people would be complaining that they can or cannot
> see files, dirs, etc. The problem seems to be between the windows domain
> member client or server when it is getting the acls from the server, it
> just isn't seeing them for some reason. The only thing weird about my
> setup is that the pdc is a tng samba running on the same machine, and the
> 2.2 samba is just a member server.
> Thanks for the help.
>
>
> On Fri, 15 Jun 2001, Sean P. Elble wrote:
>
> > Date: Fri, 15 Jun 2001 15:39:46 -0400
> > From: "Sean P. Elble" <S_Elble at yahoo.com>
> > To: kill -9 <kill-9 at warbeast.com>
> > Cc: samba at lists.samba.org
> > Subject: Re: What can ACL do?
> >
> > Alex,
> >
> > Could you be specific as to what you have checked to see if ACLs were
> > compiled in? From the information you have given me, it sounds as though
> > ACLs weren't sucessfully compiled in. For POSIX ACLs, during the
./configure
> > step of the compilation, it should display a message such as "Checking
for
> > POSIX ACLs . . . yes", or something to that extent. If that message is
not
> > displayed, then you don't have ACL support! :-) For you, there should be
a
> > file called acl.h in the /usr/include/sys/ directory (full name of
location:
> > /usr/include/sys/acl.h); if that file isn't there, than Samba 2.2 won't
> > detect ACL support, and won't compile it in. Also, are you compiling
from
> > the source RPM? If so, then check the Samba RPM spec file to make sure
that
> > the configure line has the --with-acl-support line in it. Sorry if I
sound a
> > slight bit condescending (I've been known to be like that at times :-)),
> > but, when I had this problem, the soultion just seemed so obvious. Good
> > luck!
> >
> > Sean Elble
> >
> > ----- Original Message -----
> > From: "kill -9" <kill-9 at warbeast.com>
> > To: "Sean P. Elble" <S_Elble at yahoo.com>
> > Cc: <samba at lists.samba.org>
> > Sent: Friday, June 15, 2001 9:40 AM
> > Subject: Re: What can ACL do?
> >
> >
> > > From everything I've checked, acls were compiled in correctly. Any
acls I
> > > apply with setfacl are reflected in the rights of the windows clients.
It
> > > seems the only thing that isn't working is actually doing anything
with
> > > the acls using a windows client to change them or view them (ie.
> > > security/permissions tab). It works, but only shows the
user/group/other
> > > rights that are on the file or dir...in other words, the regular unix
> > > rights. No ACL stuff is shown or viewable or modifieable. I could just
go
> > > on and use the command line to change the acls and everything would be
> > > peachy, but I would love to be able to have my mis people use
something
> > > simple like the gui tabs in a windows client. Especially since
everyone
> > > else seems to have it working. Thanks for the help.
> > > Alex
> > >
> > > On Thu, 14 Jun 2001, Sean P. Elble wrote:
> > >
> > > > Date: Thu, 14 Jun 2001 15:16:23 -0400
> > > > From: "Sean P. Elble" <S_Elble at yahoo.com>
> > > > To: kill -9 <kill-9 at warbeast.com>
> > > > Cc: samba at lists.samba.org
> > > > Subject: Re: What can ACL do?
> > > >
> > > > Well, I'd have a look at the Samba compilation again; unless Samba
2.2
> > > > explicitly stated that ACLs were being enabled during the compile,
then
> > > > they're not there. Another simple thing that I almost forgot was
that
> > you
> > > > have to specify that you want ACL support (i.e --with-acl-support).
> > Check to
> > > > make sure that there is an acl.h file in your /usr/include/linux
> > directory
> > > > structure; this file came with the XFS acl-devel package, though I'm
not
> > > > sure where it might appear for you. However, you do say the rights
are
> > > > applied correctly; the way your e-mail was worded, it was hard to
tell
> > if
> > > > you are speaking of ACL rights, or regular Unix rights; which one is
it?
> > > > I'll do some research on this, and get back to you. Good luck!
> > > >
> > > > -----------------------------------------
> > > > Sean Elble
> > > > Writer, Editor, Webmaster
> > > > MaximumLinux.org
> > > > http://www.maximumlinux.org/
> > > > elbles at maximumlinux.org
> > > > s_elble at yahoo.com
> > > > -----------------------------------------
> > > >
> > > > ----- Original Message -----
> > > > From: "kill -9" <kill-9 at warbeast.com>
> > > > To: "Sean P. Elble" <S_Elble at yahoo.com>
> > > > Cc: "Libor Vanlk" <lists at conet.cz>; <samba at lists.samba.org>
> > > > Sent: Wednesday, June 13, 2001 11:26 PM
> > > > Subject: Re: What can ACL do?
> > > >
> > > >
> > > > > I am currently having this same problem with posix acls and redhat
> > 6.2,
> > > > > but I am not using xfs. Everything is installed and compiled. The
> > rights
> > > > > are applied correctly and working so far as the linux system is
> > concerned.
> > > > > Users can only access what they should be able to through samba.
But
> > when
> > > > > I try to use any form of windows server or client to change or
read
> > the
> > > > > rights, only the user group and other rights are shown, no acls.
The
> > only
> > > > > strange thing about my setup is that I am running dual sambas, tng
as
> > a
> > > > > pdc and 2.2 as the file server (which has the acl support). The
file
> > > > > server is a member of the tng domain. Any ideas?
> > > > >
> > > > >  On Wed, 13 Jun 2001, Sean P. Elble wrote:
> > > > >
> > > > > > Date: Wed, 13 Jun 2001 20:35:00 -0400
> > > > > > From: "Sean P. Elble" <S_Elble at yahoo.com>
> > > > > > To: "[iso-8859-2] Libor Vanlk" <lists at conet.cz>,
> > samba at lists.samba.org
> > > > > > Subject: Re: What can ACL do?
> > > > > >
> > > > > > Well, you _can_ have very fine-grained access control with the
XFS
> > ACLs
> > > > with
> > > > > > Samba 2.2, and it can all be done with Windows 2000. I had a
very
> > > > similar
> > > > > > problem; if you are using the RPMs graciously provided by the
Samba
> > > > team,
> > > > > > get rid of them; they don't have ACL support, nor do they have
> > support
> > > > for
> > > > > > the kernel oplock mechanism present in the 2.4.x kernels, which
you
> > must
> > > > be
> > > > > > using, since you are using XFS. :-) I'd recommend checking out
the
> > > > latest
> > > > > > CVS of both the Linux kernel with XFS support, available at
> > oss.sgi.com,
> > > > and
> > > > > > the latest Samba CVS, because many many problems have been fixed
in
> > > > both. If
> > > > > > that's not an option, I have a Samba RPM compiled (version 2.2
from
> > CVS
> > > > on
> > > > > > 5/16/01), with 2.4 oplock support, XFS ACL support, and quota
> > support.
> > > > If
> > > > > > you do compile your own, make sure the acl-devel RPM package is
> > > > installed
> > > > > > before you compile Samba; otherwise, you won't be able to have
XFS
> > ACL
> > > > > > support. Good luck!
> > > > > >
> > > > > > -----------------------------------------
> > > > > > Sean Elble
> > > > > > Writer, Editor, Webmaster
> > > > > > MaximumLinux.org
> > > > > > http://www.maximumlinux.org/
> > > > > > elbles at maximumlinux.org
> > > > > > s_elble at yahoo.com
> > > > > > -----------------------------------------
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Libor Vanlk" <lists at conet.cz>
> > > > > > To: <samba at lists.samba.org>
> > > > > > Sent: Wednesday, June 13, 2001 8:11 PM
> > > > > > Subject: What can ACL do?
> > > > > >
> > > > > >
> > > > > > > Hello,
> > > > > > > I'd like to ask - what can ACLs (on XFS+Samba 2.2) do for me?
I
> > was
> > > > unable
> > > > > > > to find this out. I thought that I can setup rights like
> > "john:rwx,
> > > > > > > jack:r--" but I wasn't (W2k) - I was only able to setup rwx
for
> > > > > > > user/group/others :(
> > > > > > >
> > > > > > > Libor Vanek
> > > > > > > --
> > > > > > > To unsubscribe from this list go to the following URL and read
the
> > > > > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > > > > --
> > > > > > To unsubscribe from this list go to the following URL and read
the
> > > > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > > > >
> > > > >
> > > >
> >
> --------------------------------------------------------------------------
> > > > --
> > > > > "First, they ignore you. Then they laugh
> > > > > at you. Then they fight you. Then you
> > > > > win." - Mahatma Ghandi
> > > > >
> > > > > In a world without walls and fences, who needs windows and gates?
> > > > >
> > > > > Alex West
> > > > > A&M Communications - Tech Guru
> > > > > BioControl Technology Inc., MIS Administrator
> > > > > kill-9 at warbeast.com | kill-9 at ipost.net
> > > > > WebPage -> www.warbeast.com/~kill-9
> > > > > Visit Third Eye Digital Productions -
> > > > http://www.indiana-emall.com/thirdeye
> > > > > Check out my band and FREE music at ***  www.mp3.com/snowpants
***
> > > >
> >
> --------------------------------------------------------------------------
> > > > --
> > > > --
> > > > To unsubscribe from this list go to the following URL and read the
> > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > >
> > >
> >
> --------------------------------------------------------------------------
> > --
> > > "First, they ignore you. Then they laugh
> > > at you. Then they fight you. Then you
> > > win." - Mahatma Ghandi
> > >
> > > In a world without walls and fences, who needs windows and gates?
> > >
> > > Alex West
> > > A&M Communications - Tech Guru
> > > BioControl Technology Inc., MIS Administrator
> > > kill-9 at warbeast.com | kill-9 at ipost.net
> > > WebPage -> www.warbeast.com/~kill-9
> > > Visit Third Eye Digital Productions -
> > http://www.indiana-emall.com/thirdeye
> > > Check out my band and FREE music at ***  www.mp3.com/snowpants  ***
> >
> --------------------------------------------------------------------------
> > --
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>
> --------------------------------------------------------------------------
--
> "First, they ignore you. Then they laugh
> at you. Then they fight you. Then you
> win." - Mahatma Ghandi
>
> In a world without walls and fences, who needs windows and gates?
>
> Alex West
> A&M Communications - Tech Guru
> BioControl Technology Inc., MIS Administrator
> kill-9 at warbeast.com | kill-9 at ipost.net
> WebPage -> www.warbeast.com/~kill-9
> Visit Third Eye Digital Productions -
http://www..indiana-emall.com/thirdeye
> Check out my band and FREE music at ***  www.mp3.com/snowpants  ***
> --------------------------------------------------------------------------
--

Return-Path: <grega at krneki.org>
Delivered-To: samba at samba.org
Received: from razor.arnes.si (razor.arnes.si [193.2.1.80]) by
  lists.samba.org (Postfix) with ESMTP id B58B0420E for
  <samba at samba.org>; Fri, 15 Jun 2001 14:16:20 -0700 (PDT)
Received: from xxx (kr7-114i.dial-up.arnes.si [194.249.3.114]) by
  razor.arnes.si (Postfix) with ESMTP id ADDBAE699 for
  <samba at samba.org>; Fri, 15 Jun 2001 23:20:59 +0200 (MET DST)
Message-ID: <200106152320480910.005434E3 at razor.arnes.si>
X-Mailer: Calypso Version 3.10.03.02 (3)
Date: Fri, 15 Jun 2001 23:20:48 +0200
From: grega at krneki.org
To: samba at samba.org
Subject: i see just 256 megs
Content-Type: text/plain; charset="us-ascii"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi

I'm quite new to samba so i'm sorry if
this mail will look funny or dumb.

My problem happens every time I mount a share
from a windows 2k box.

I do:
mount -t smbfs -o username=xxx //f2-ijs/Kgb_backup /backup

bash-2.04# du -H /backup
2.5G    /backup
bash-2.04# df -H /backup
Filesystem            Size  Used Avail Use% Mounted on
//f2-ijs/Kgb_backup   262M  262M     0 100% /backup

So hmm how is this possible: i always see just ~256 megs.
There is no max disk size in smb.conf. And besides that
this limit is just "virtual" isn't it?

But I can't write more than that - cp or any other try
to write data fails. And I would desperately
need more space for doing the backups.

It doesn't matter what I mount - 

bash-2.04# df -H /backup                 
Filesystem            Size  Used Avail Use% Mounted on
//f2-ijs/Users        262M  262M     0 100% /backup

always 262 M!

Please help or give some suggestions.

c'ya,
Grega

Return-Path: <gabberatski at freegates.be>
Delivered-To: samba at lists.samba.org
Received: from spoolm2.tiscalinet.be (spoolm2.tiscalinet.be
  [212.35.2.51]) by lists.samba.org (Postfix) with ESMTP id B34F442F9
  for <samba at lists.samba.org>; Fri, 15 Jun 2001 14:52:08 -0700 (PDT)
Received: from ppp-14-249.tiscalinet.be ([212.35.14.250]
  helo=thunderbird) by spoolm2.tiscalinet.be with smtp (Tiscalinet)  id
  15B1aA-00046v-00 for <samba at lists.samba.org>; Fri, 15 Jun 2001
  23:56:47 +0200
Message-ID: <01db01c0f5e6$c41f1b30$0400a8c0 at thunderbird>
From: "gabberatski" <gabberatski at freegates.be>
To: <samba at lists.samba.org>
Subject: Samba as non-root
Date: Sat, 16 Jun 2001 00:01:43 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

How do I configure Samba, so it isn't running as root

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id 0C3C64220 for <samba at lists.samba.org>; Fri, 15
  Jun 2001 15:53:14 -0700 (PDT)
Received: from piglett.bartlett.house (as1-232.cbr.au.asiaonline.net
  [210.215.9.232]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5FMuMI23999; Sat, 16 Jun 2001 08:56:28 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  IAA26071; Sat, 16 Jun 2001 08:55:57 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  IAA29494; Sat, 16 Jun 2001 08:55:56 +1000
Message-ID: <3B2A927C.FFA59557 at bartlett.house>
Date: Sat, 16 Jun 2001 08:55:56 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: gabberatski <gabberatski at freegates.be>
Cc: samba at lists.samba.org
Subject: Re: Samba as non-root
References: <01db01c0f5e6$c41f1b30$0400a8c0 at thunderbird>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

gabberatski wrote:
> 
> How do I configure Samba, so it isn't running as root

While possible, it won't work particularly well - if at all.  Samba
needs to be root for much of its functionality, including checking
passwords, changing effective user-id and the like.  If started as
non-root, and binding to a non-root port it should be possible to login
as that same user - but I am SURE that nobody has tested this in an
absolute age.  It might work if you login as guest and have guest being
that same unprivilaged user.

The real question is WHY would you want to do this?

Andrew Bartlett

-- 
Andrew Bartlett
abartlet at pcug.org.au

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id C690F4220 for <samba at lists.samba.org>; Fri, 15
  Jun 2001 15:53:24 -0700 (PDT)
Received: from piglett.bartlett.house (as1-232.cbr.au.asiaonline.net
  [210.215.9.232]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5FMvVI24125; Sat, 16 Jun 2001 08:57:31 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  IAA26080; Sat, 16 Jun 2001 08:57:06 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  IAA29503; Sat, 16 Jun 2001 08:57:06 +1000
Message-ID: <3B2A92C2.A4A3C76C at bartlett.house>
Date: Sat, 16 Jun 2001 08:57:06 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Chris Cheshire <ccheshire at bigredwire.com>
Cc: samba at lists.samba.org
Subject: Re: duplicate share names
References: <3B2A5DA9.C2D3EC2 at bigredwire.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Chris Cheshire wrote:
> 
> I have samba 2.07 set up on Solaris/Intel 2.8.
> 
> I have a few directories that I want read only access to one
> set of users, but read/write access to another. I tried
> putting the same share name in smb.conf with different
> rules, but when I ran testparms it just showed the last
> configuration entry. Is there any way to achieve this
> using the same share name, or do I have to give each
> one a different share name?

Why not just use file permissions?  Samba's restrictions are only an
extra measure on top of what the OS already provides.

Andrew Bartlett

-- 
Andrew Bartlett
abartlet at pcug.org.au

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id 6251A4210; Fri, 15 Jun 2001 21:01:08 -0700
  (PDT)
Received: from piglett.bartlett.house (as3-195.cbr.au.asiaonline.net
  [210.215.11.195]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5G45NI23500; Sat, 16 Jun 2001 14:05:29 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  OAA27255; Sat, 16 Jun 2001 14:04:58 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  OAA30478; Sat, 16 Jun 2001 14:04:56 +1000
Message-ID: <3B2ADAE8.4E88C403 at bartlett.house>
Date: Sat, 16 Jun 2001 14:04:56 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Sanjeev Chhibber <schhibber at powersurfr.com>,
  "samba-patches at samba.org" <samba-patches at samba.org>
Cc: Samba mail list <samba at lists.samba.org>
Subject: [PATCH] Re: password expiration and changing
References: <20010615001242.88482.qmail at web14008.mail.yahoo.com>
  <006a01c0f53a$11f151f0$c800000a at dreamtime>
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/mixed by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Sanjeev Chhibber wrote:
> 
> Is it possible ot expire passwords?
> 
> And does anybody know of away to change the password without directly
> interacting with samba server.
> 
> Via web interface...or script..
> Or simply through windows.
> 

To expire a passwords, I have a patch for samba's PAM support.  I also
have a patch that makes unix password sync work sanely with PAM (instead
of going via /bin/passwd) while still using the same config paramaters.

Attached, against current CVS (SAMBA_2_2).  Also includes some other
cleanups and associated bits and peices, not all of which is strictly
necercery for this functionality.  I also never quite got around to
finishing the big switch statement, so it has a few missing entries -
sorry about that.

The following comments were sent to the last person I provided this
patch for, as a matter of context:

> 
> My patch is (will be) to the SAMBA_2_2 cvs tree.  You will need to setup
> the proper /etc/pam.d/samba file for anything (including 2.2.0 release)
> to work with PAM.  For the CVS tree, you will also need 'obay pam
> restrictions = yes' as a smb.conf option. Once your comfortable with
> that, apply my patch and check nothing breaks.
> 
> You will also need 'pam password sync = yes' to get the users new
> password to propogate to PAM.  (This replaces the old password chat
> setup, instead of using /bin/passwd we now use PAM, as we get more
> useful info out of it).
> 
> Futhermore, it appears that most of this patch has been in production at
> my site for a little while, without (known) adverse effects.  That being
> said, my site uses a slightly older version out of CVS.

> 
> Also, this patch only does password expiration.  There is currently NO
> warning about how many days are left in a password, only a 'you must
> change now' when it actualy expires.  Also, becouse we must allow them
> to authenticate to change their password, there are some actions which
> will bypass this check (not normal file access however).  And as far as
> I can see, while a password may expire and require changing, it never
> actualy goes dead, but this is a matter for PAM not Samba.
> 
> It compiles, and the indidual peices have been tested, but my test
> environment is currently shot, and I havn't had a chance to fix it.
> 
> So if you could check its basic functionality before deploying it into
> production, I would appricate it.


-- 
Andrew Bartlett
abartlet at pcug.org.au
Index: source/passdb/pampass.c
===================================================================
RCS file: /cvsroot/samba/source/passdb/pampass.c,v
retrieving revision 1.1.2.25
diff -u -r1.1.2.25 pampass.c
--- source/passdb/pampass.c	9 May 2001 21:14:42 -0000	1.1.2.25
+++ source/passdb/pampass.c	16 Jun 2001 03:40:07 -0000
@@ -41,6 +41,14 @@
  *   which determines what actions/limitations/allowances become affected.
  *********************************************************************/
 
+/********************************************************************
+ WARNING:  NT_STATUS codes ahead!
+ All externally accessable functions in this file return NT_STATUS
+ constants.  This means that if (smb_pam_whatever()) will give exactly
+ the oppisite result, use if (smb_pam_whatever() == NT_STATUS_NOPROBLEMO)
+ instead.
+**********************************************************************/
+
 #include <security/pam_appl.h>
 
 /*
@@ -82,16 +91,129 @@
 *********************************************************************/
 
 static BOOL smb_pam_nt_status_error_handler(pam_handle_t *pamh, int pam_error,
-							char *msg, int dbglvl, uint32 *nt_status)
+					    char *msg, int dbglvl, uint32 *nt_status,
+					    char *user)
 {
+	switch( pam_error ){
+	case PAM_SUCCESS:
+		DEBUG(5, ("smb_pam_nt_status_error_handler: PAM successful, would be '%s' for failure.\n", msg));
+		*nt_status = NT_STATUS_NOPROBLEMO;
+		break;
+	case PAM_OPEN_ERR:
+	case PAM_SYMBOL_ERR:
+	case PAM_SERVICE_ERR:
+	case PAM_SYSTEM_ERR:
+	case PAM_BUF_ERR:
+		*nt_status = NT_STATUS_UNSUCCESSFUL;
+		break;
+	case PAM_PERM_DENIED:
+		DEBUG(0, ("smb_pam_nt_status_error_handler: PAM: Permission denied.\n"));
+		*nt_status = NT_STATUS_ACCESS_DENIED;
+		break;
+	case PAM_AUTH_ERR:
+		DEBUG(2, ("smb_pam_nt_status_error_handler: PAM: Authentication Error for user %s\n", user));
+		*nt_status = NT_STATUS_WRONG_PASSWORD;
+		break;
+	case PAM_CRED_INSUFFICIENT:
+		DEBUG(2, ("smb_pam_nt_status_error_handler: PAM: Insufficient Credentials for user %s\n", user));
+		*nt_status = NT_STATUS_INSUFFICIENT_LOGON_INFO; /* FIXME:  Is this correct? */
+		break;
+	case PAM_AUTHINFO_UNAVAIL:
+		DEBUG(2, ("smb_pam_nt_status_error_handler: PAM: Authentication Information Unavailable for user %s\n", user));
+		*nt_status = NT_STATUS_LOGON_FAILURE;
+		break;
+	case PAM_USER_UNKNOWN:
+		DEBUG(2, ("smb_pam_nt_status_error_handler: PAM: Username %s NOT known to PAM\n", user));
+		*nt_status = NT_STATUS_NO_SUCH_USER;
+		break;
+	case PAM_MAXTRIES:
+		DEBUG(2, ("smb_pam_nt_status_error_handler: PAM: One or more authentication modules reports user limit for user %s exceeeded\n", user));
+		*nt_status = NT_STATUS_REMOTE_SESSION_LIMIT; /* FIXME:  Is this correct? */
+		break;
+	case PAM_NEW_AUTHTOK_REQD:
+		DEBUG(3, ("smb_pam_nt_status_error_handler: PAM: Immidiate password change required for user %s\n", user));
+		*nt_status = NT_STATUS_PASSWORD_MUST_CHANGE;
+		break;
+	case PAM_ACCT_EXPIRED:
+		DEBUG(2, ("smb_pam_nt_status_error_handler: PAM: User %s no longer permitted to access system\n", user));
+		*nt_status = NT_STATUS_ACCOUNT_EXPIRED;
+		break;
+	case PAM_SESSION_ERR:
+		DEBUG(1, ("smb_pam_nt_status_error_handler: PAM: Session denied for user %s\n", user));		
+		*nt_status = NT_STATUS_INSUFFICIENT_RESOURCES;
+		break;
+	case PAM_CRED_UNAVAIL:
+		DEBUG(0, ("smb_pam_setcred: PAM: Credentials not found for user:%s\n", user ));
+		*nt_status = NT_STATUS_NO_TOKEN;  /* FIXME:  Is this correct? */
+		break;
+	case PAM_CRED_EXPIRED:
+		DEBUG(0, ("smb_pam_nt_status_error_handler: PAM: Credentials for user: \"%s\" EXPIRED!\n", user ));
+		*nt_status = NT_STATUS_PASSWORD_EXPIRED;  /* FIXME:  Is this correct? */
+		break;
+	case PAM_CRED_ERR:
+		DEBUG(0, ("smb_pam_nt_status_error_handler: PAM: Unknown setcredentials error - unable to set credentials for %s\n", user ));
+		*nt_status = NT_STATUS_UNSUCCESSFUL;
+		break;
+		
+/* 18-19 */
+
+	case PAM_AUTHTOK_ERR:
+		*nt_status = NT_STATUS_UNSUCCESSFUL;
+	break;
+#if defined(PAM_AUTHTOK_RECOVERY_ERR) && !defined(PAM_AUTHTOK_RECOVER_ERR)
+#define PAM_AUTHTOK_RECOVER_ERR PAM_AUTHTOK_RECOVERY_ERR
+#endif	
+	case PAM_AUTHTOK_RECOVER_ERR:
+		DEBUG(2, ("PAM: unable to obtain the old authentication token - was the old password wrong?.\n"));
+		*nt_status = NT_STATUS_UNSUCCESSFUL;
+		break;
+	case PAM_AUTHTOK_LOCK_BUSY:
+		DEBUG(2, ("PAM: unable to change the authentication token since it is currently locked.\n"));
+		break;
+	case PAM_AUTHTOK_DISABLE_AGING:
+		DEBUG(2, ("PAM: Authentication token aging has been disabled.\n"));
+		*nt_status = NT_STATUS_UNSUCCESSFUL;
+		break;
+	case PAM_TRY_AGAIN:
+		DEBUG(0, ("PAM: Could not update all authentication token(s). No authentication tokens were updated.\n"));
+		*nt_status = NT_STATUS_UNSUCCESSFUL;
+		break;
+	case PAM_IGNORE:
+		*nt_status = NT_STATUS_UNSUCCESSFUL;  /* FIXME:  What should we do here? */
+		break;
+	case PAM_ABORT:
+		DEBUG(0, ("smb_pam_nt_status_error_handler: PAM: One or more PAM modules failed to load for user %s\n", user));
+		*nt_status = NT_STATUS_UNSUCCESSFUL;
+		break;
+	case PAM_AUTHTOK_EXPIRED:
+		DEBUG(2, ("smb_pam_nt_status_error_handler: PAM: User %s is valid but password is expired\n", user));
+		*nt_status = NT_STATUS_PASSWORD_EXPIRED;
+		break;
+#ifdef PAM_MODULE_UNKNOWN
+	case PAM_MODULE_UNKNOWN:
+		DEBUG(0, ("smb_pam_nt_status_error_handler: PAM: One or more PAM modules is unknown for user %s\n", user));
+		*nt_status = NT_STATUS_UNSUCCESSFUL;
+		break;
+#endif
+	
+/* 29-30-31 */
+	
+	default:
+		DEBUG(0, ("smb_pam_nt_status_error_handler: PAM: UNKNOWN ERROR (%d) while running PAM for user %s\n", pam_error, user));
+		*nt_status = NT_STATUS_UNSUCCESSFUL;
+		break;
+	}
+
 	if (smb_pam_error_handler(pamh, pam_error, msg, dbglvl))
 		return True;
 
+	DEBUG(5,("smb_pam_nt_status_error_handler: PAM: pam_error was %d\n",pam_error));
+
 	if (*nt_status == NT_STATUS_NOPROBLEMO) {
 		/* Complain LOUDLY */
 		DEBUG(0, ("smb_pam_nt_status_error_handler: PAM: BUG: PAM and NT_STATUS \
-error MISMATCH, forcing to NT_STATUS_LOGON_FAILURE"));
-		*nt_status = NT_STATUS_LOGON_FAILURE;
+error MISMATCH, forcing to NT_STATUS_UNSUCCESSFUL"));
+		*nt_status = NT_STATUS_UNSUCCESSFUL;
 	}
 	return False;
 }
@@ -170,6 +292,85 @@
  * echo off means password.
  */
 
+static void special_char_sub(char *buf)
+{
+	all_string_sub(buf, "\\n", "", 0);
+	all_string_sub(buf, "\\r", "", 0);
+	all_string_sub(buf, "\\s", " ", 0);
+	all_string_sub(buf, "\\t", "\t", 0);
+}
+
+static void pwd_sub(char *buf, char *username, char *oldpass, char *newpass)
+{
+	pstring_sub(buf, "%u", username);
+	all_string_sub(buf, "%o", oldpass, sizeof(fstring));
+	all_string_sub(buf, "%n", newpass, sizeof(fstring));
+}
+
+
+struct chat_struct {
+	struct chat_struct *next, *prev;
+	fstring prompt;
+	fstring reply;
+};
+
+static struct chat_struct *make_pw_chat(char *p) 
+{
+	fstring prompt;
+	fstring reply;
+	struct chat_struct *list = NULL;
+	struct chat_struct *t;
+	struct chat_struct *tmp;
+
+	while (1) {
+		t = (struct chat_struct *)malloc(sizeof(*t));
+		if (!t) {
+			DEBUG(0,("make_pw_chat: malloc failed!\n"));
+			return NULL;
+		}
+
+		ZERO_STRUCTP(t);
+
+		DLIST_ADD_END(list, t, tmp);
+
+		if (next_token(&p, prompt, NULL, sizeof(fstring))) {
+			if (strequal(prompt,".")) {
+				fstrcpy(prompt,"*");
+			}
+			special_char_sub(prompt);
+			
+			fstrcpy(t->prompt, prompt);
+		} else {
+			break;
+		}
+		
+		if (next_token(&p, reply, NULL, sizeof(fstring))) {
+			if (strequal(reply,".")) {
+				fstrcpy(reply,"");
+			}
+			special_char_sub(reply);
+
+			fstrcpy(t->reply, reply);
+		} else {
+			break;
+		}
+
+	}
+	return list;
+}
+
+static void free_pw_chat(struct chat_struct *list)
+{
+	struct chat_struct *t;
+
+	for (t=list->next; list->next; t=list->next) {
+		
+		DLIST_REMOVE(list, t);
+		free(t);
+	}
+	free(list);
+}
+
 static int smb_pam_passchange_conv(int num_msg,
 				const struct pam_message **msg,
 				struct pam_response **resp,
@@ -177,17 +378,22 @@
 {
 	int replies = 0;
 	struct pam_response *reply = NULL;
-	fstring oldpw_prompt;
-	fstring newpw_prompt;
-	fstring repeatpw_prompt;
-	fstring prompt_ret;
-	char *p = lp_passwd_chat();
+	fstring current_prompt;
+	fstring current_reply;
 	struct smb_pam_userdata *udp = (struct smb_pam_userdata *)appdata_ptr;
-
+	struct chat_struct *pw_chat= make_pw_chat(lp_passwd_chat());
+	struct chat_struct *t;
+	BOOL found;
 	*resp = NULL;
 
+	DEBUG(10,("smb_pam_passchange_conv: starting converstation for %d messages\n", num_msg));
+
 	if (num_msg <= 0)
 		return PAM_CONV_ERR;
+	
+	if (pw_chat == NULL) {
+		return PAM_CONV_ERR;
+	}
 
 	/*
 	 * Apparantly HPUX has a buggy PAM that doesn't support the
@@ -196,62 +402,73 @@
 
 	if (udp == NULL) {
 		DEBUG(0,("smb_pam_passchange_conv: PAM on this system is broken - appdata_ptr == NULL !\n"));
+		free_pw_chat(pw_chat);
 		return PAM_CONV_ERR;
 	}
 
-	/* Get the prompts. */
-
-	if (!next_token(&p, oldpw_prompt, NULL, sizeof(fstring)))
-		return PAM_CONV_ERR;
-	strlower(oldpw_prompt);
-	if (!next_token(&p, newpw_prompt, NULL, sizeof(fstring)))
-		return PAM_CONV_ERR;
-	strlower(newpw_prompt);
-	if (!next_token(&p, repeatpw_prompt, NULL, sizeof(fstring)))
-		return PAM_CONV_ERR;
-	strlower(repeatpw_prompt);
-
 	reply = malloc(sizeof(struct pam_response) * num_msg);
-	if (!reply)
+	if (!reply) {
+		DEBUG(0,("smb_pam_passchange_conv: malloc for reply failed!\n"));
+		free_pw_chat(pw_chat);
 		return PAM_CONV_ERR;
+	}
 
 	for (replies = 0; replies < num_msg; replies++) {
+		found = False;
+		DEBUG(10,("smb_pam_passchange_conv: Processing message %d\n", replies));
 		switch (msg[replies]->msg_style) {
 		case PAM_PROMPT_ECHO_ON:
-			DEBUG(10,("smb_pam_passchange_conv: PAM_PROMPT_ECHO_ON: Replied: %s\n", msg[replies]->msg));
-			reply[replies].resp_retcode = PAM_SUCCESS;
-			reply[replies].resp = COPY_STRING(udp->PAM_username);
+			DEBUG(10,("smb_pam_passchange_conv: PAM_PROMPT_ECHO_ON: PAM said: %s\n", msg[replies]->msg));
+			fstrcpy(current_prompt, msg[replies]->msg);
+			strlower(current_prompt);
+			for (t=pw_chat; t; t=t->next) {
+				if (ms_fnmatch(t->prompt, current_prompt) == 0) {
+					fstrcpy(current_reply, t->reply);
+					pwd_sub(current_reply, udp->PAM_username, udp->PAM_password, udp->PAM_newpassword);
+					DEBUG(10,("smb_pam_passchange_conv: PAM_PROMPT_ECHO_ON: We sent: %s\n", current_reply));
+					reply[replies].resp_retcode = PAM_SUCCESS;
+					reply[replies].resp = COPY_STRING(current_reply);
+					found = True;
+					break;
+				}
+			}
 			/* PAM frees resp */
-			break;
-
-		case PAM_PROMPT_ECHO_OFF:
-			reply[replies].resp_retcode = PAM_SUCCESS;
-			if (!msg[replies]->msg) {
+			if (!found) {
+				DEBUG(3,("smb_pam_passchange_conv: Could not find reply for PAM prompt: %s\n",msg[replies]->msg));
+				free_pw_chat(pw_chat);
 				free(reply);
 				reply = NULL;
 				return PAM_CONV_ERR;
 			}
+			break;
 
-			DEBUG(10,("smb_pam_passchange_conv: PAM_PROMPT_ECHO_OFF: Replied: %s\n", msg[replies]->msg));
-
-			fstrcpy(prompt_ret, msg[replies]->msg);
-			strlower(prompt_ret);
-
-			if (ms_fnmatch( oldpw_prompt, prompt_ret) == 0) {
-				reply[replies].resp = COPY_STRING(udp->PAM_password);
-			} else if (ms_fnmatch( newpw_prompt, prompt_ret) == 0) {
-				reply[replies].resp = COPY_STRING(udp->PAM_newpassword);
-			} else if (ms_fnmatch(repeatpw_prompt, prompt_ret) == 0) {
-				reply[replies].resp = COPY_STRING(udp->PAM_newpassword);
-			} else {
+		case PAM_PROMPT_ECHO_OFF:
+			DEBUG(10,("smb_pam_passchange_conv: PAM_PROMPT_ECHO_OFF: PAM said: %s\n", msg[replies]->msg));
+			fstrcpy(current_prompt, msg[replies]->msg);
+			strlower(current_prompt);
+			for (t=pw_chat; t; t=t->next) {
+				if (ms_fnmatch(t->prompt, current_prompt) == 0) {
+					fstrcpy(current_reply, t->reply);
+					DEBUG(10,("smb_pam_passchange_conv: PAM_PROMPT_ECHO_OFF: We sent: %s\n", current_reply));
+					pwd_sub(current_reply, udp->PAM_username, udp->PAM_password, udp->PAM_newpassword);
+					reply[replies].resp_retcode = PAM_SUCCESS;
+					reply[replies].resp = COPY_STRING(current_reply);
+#ifdef DEBUG_PASSWORD
+					DEBUG(100,("smb_pam_passchange_conv: PAM_PROMPT_ECHO_OFF: We actualy sent: %s\n", current_reply));
+#endif
+					found = True;
+					break;
+				}
+			}
+			/* PAM frees resp */
+			
+			if (!found) {
 				DEBUG(3,("smb_pam_passchange_conv: Could not find reply for PAM prompt: %s\n",msg[replies]->msg));
-				DEBUG(5,("smb_pam_passchange_conv: Prompts available:\n OldPW: \"%s\"\nNewPW: \"%s\"\n \
-RepeatPW: \"%s\"\n",oldpw_prompt, newpw_prompt,repeatpw_prompt));
+				free_pw_chat(pw_chat);
 				free(reply);
 				reply = NULL;
 				return PAM_CONV_ERR;
 			}
-			/* PAM frees resp */
 			break;
 
 		case PAM_TEXT_INFO:
@@ -262,15 +479,17 @@
 			reply[replies].resp_retcode = PAM_SUCCESS;
 			reply[replies].resp = NULL;
 			break;
-
+			
 		default:
 			/* Must be an error of some sort... */
+			free_pw_chat(pw_chat);
 			free(reply);
 			reply = NULL;
 			return PAM_CONV_ERR;
 		}
 	}
-
+		
+	free_pw_chat(pw_chat);
 	if (reply)
 		*resp = reply;
 	return PAM_SUCCESS;
@@ -386,7 +605,7 @@
 static uint32 smb_pam_auth(pam_handle_t *pamh, char *user)
 {
 	int pam_error;
-	uint32 nt_status = NT_STATUS_LOGON_FAILURE;
+	uint32 nt_status = NT_STATUS_UNSUCCESSFUL;
 
 	/*
 	 * To enable debugging set in /etc/pam.d/samba:
@@ -395,42 +614,8 @@
 	
 	DEBUG(4,("smb_pam_auth: PAM: Authenticate User: %s\n", user));
 	pam_error = pam_authenticate(pamh, PAM_SILENT | lp_null_passwords() ? 0 : PAM_DISALLOW_NULL_AUTHTOK);
-	switch( pam_error ){
-		case PAM_AUTH_ERR:
-			DEBUG(2, ("smb_pam_auth: PAM: Athentication Error for user %s\n", user));
-			nt_status = NT_STATUS_WRONG_PASSWORD;
-			break;
-		case PAM_CRED_INSUFFICIENT:
-			DEBUG(2, ("smb_pam_auth: PAM: Insufficient Credentials for user %s\n", user));
-			nt_status = NT_STATUS_INSUFFICIENT_LOGON_INFO;
-			break;
-		case PAM_AUTHINFO_UNAVAIL:
-			DEBUG(2, ("smb_pam_auth: PAM: Authentication Information Unavailable for user %s\n", user));
-			nt_status = NT_STATUS_LOGON_FAILURE;
-			break;
-		case PAM_USER_UNKNOWN:
-			DEBUG(2, ("smb_pam_auth: PAM: Username %s NOT known to Authentication system\n", user));
-			nt_status = NT_STATUS_NO_SUCH_USER;
-			break;
-		case PAM_MAXTRIES:
-			DEBUG(2, ("smb_pam_auth: PAM: One or more authentication modules reports user limit for user %s exceeeded\n", user));
-			nt_status = NT_STATUS_REMOTE_SESSION_LIMIT;
-			break;
-		case PAM_ABORT:
-			DEBUG(0, ("smb_pam_auth: PAM: One or more PAM modules failed to load for user %s\n", user));
-			nt_status = NT_STATUS_LOGON_FAILURE;
-			break;
-		case PAM_SUCCESS:
-			DEBUG(4, ("smb_pam_auth: PAM: User %s Authenticated OK\n", user));
-			nt_status = NT_STATUS_NOPROBLEMO;
-			break;
-		default:
-			DEBUG(0, ("smb_pam_auth: PAM: UNKNOWN ERROR while authenticating user %s\n", user));
-			nt_status = NT_STATUS_LOGON_FAILURE;
-			break;
-	}
 
-	smb_pam_nt_status_error_handler(pamh, pam_error, "Authentication Failure", 2, &nt_status);
+	smb_pam_nt_status_error_handler(pamh, pam_error, "Authentication Failure", 2, &nt_status, user);	
 	return nt_status;
 }
 
@@ -440,42 +625,12 @@
 static uint32 smb_pam_account(pam_handle_t *pamh, char * user)
 {
 	int pam_error;
-	uint32 nt_status = NT_STATUS_ACCOUNT_DISABLED;
+	uint32 nt_status = NT_STATUS_UNSUCCESSFUL;
 
 	DEBUG(4,("smb_pam_account: PAM: Account Management for User: %s\n", user));
 	pam_error = pam_acct_mgmt(pamh, PAM_SILENT); /* Is user account enabled? */
-	switch( pam_error ) {
-		case PAM_AUTHTOK_EXPIRED:
-			DEBUG(2, ("smb_pam_account: PAM: User %s is valid but password is expired\n", user));
-			nt_status = NT_STATUS_PASSWORD_EXPIRED;
-			break;
-		case PAM_ACCT_EXPIRED:
-			DEBUG(2, ("smb_pam_account: PAM: User %s no longer permitted to access system\n", user));
-			nt_status = NT_STATUS_ACCOUNT_EXPIRED;
-			break;
-		case PAM_AUTH_ERR:
-			DEBUG(2, ("smb_pam_account: PAM: There was an authentication error for user %s\n", user));
-			nt_status = NT_STATUS_LOGON_FAILURE;
-			break;
-		case PAM_PERM_DENIED:
-			DEBUG(0, ("smb_pam_account: PAM: User %s is NOT permitted to access system at this time\n", user));
-			nt_status = NT_STATUS_ACCOUNT_RESTRICTION;
-			break;
-		case PAM_USER_UNKNOWN:
-			DEBUG(0, ("smb_pam_account: PAM: User \"%s\" is NOT known to account management\n", user));
-			nt_status = NT_STATUS_NO_SUCH_USER;
-			break;
-		case PAM_SUCCESS:
-			DEBUG(4, ("smb_pam_account: PAM: Account OK for User: %s\n", user));
-			nt_status = NT_STATUS_NOPROBLEMO;
-			break;
-		default:
-			nt_status = NT_STATUS_ACCOUNT_DISABLED;
-			DEBUG(0, ("smb_pam_account: PAM: UNKNOWN PAM ERROR (%d) during Account Management for User: %s\n", pam_error, user));
-			break;
-	}
 
-	smb_pam_nt_status_error_handler(pamh, pam_error, "Account Check Failed", 2, &nt_status);
+	smb_pam_nt_status_error_handler(pamh, pam_error, "Account Check Failed", 2, &nt_status, user);
 	return nt_status;
 }
 
@@ -486,7 +641,7 @@
 static uint32 smb_pam_setcred(pam_handle_t *pamh, char * user)
 {
 	int pam_error;
-	uint32 nt_status = NT_STATUS_NO_TOKEN;
+	uint32 nt_status = NT_STATUS_UNSUCCESSFUL;
 
 	/*
 	 * This will allow samba to aquire a kerberos token. And, when
@@ -495,172 +650,110 @@
 
 	DEBUG(4,("PAM: Account Management SetCredentials for User: %s\n", user));
 	pam_error = pam_setcred(pamh, (PAM_ESTABLISH_CRED|PAM_SILENT)); 
-	switch( pam_error ) {
-		case PAM_CRED_UNAVAIL:
-			DEBUG(0, ("smb_pam_setcred: PAM: Credentials not found for user:%s\n", user ));
-			 nt_status = NT_STATUS_NO_TOKEN;
-			break;
-		case PAM_CRED_EXPIRED:
-			DEBUG(0, ("smb_pam_setcred: PAM: Credentials for user: \"%s\" EXPIRED!\n", user ));
-			nt_status = NT_STATUS_PASSWORD_EXPIRED;
-			break;
-		case PAM_USER_UNKNOWN:
-			DEBUG(0, ("smb_pam_setcred: PAM: User: \"%s\" is NOT known so can not set credentials!\n", user ));
-			nt_status = NT_STATUS_NO_SUCH_USER;
-			break;
-		case PAM_CRED_ERR:
-			DEBUG(0, ("smb_pam_setcred: PAM: Unknown setcredentials error - unable to set credentials for %s\n", user ));
-			nt_status = NT_STATUS_LOGON_FAILURE;
-			break;
-		case PAM_SUCCESS:
-			DEBUG(4, ("smb_pam_setcred: PAM: SetCredentials OK for User: %s\n", user));
-			nt_status = NT_STATUS_NOPROBLEMO;
-			break;
-		default:
-			DEBUG(0, ("smb_pam_setcred: PAM: UNKNOWN PAM ERROR (%d) during SetCredentials for User: %s\n", pam_error, user));
-			nt_status = NT_STATUS_NO_TOKEN;
-			break;
-	}
-
-	smb_pam_nt_status_error_handler(pamh, pam_error, "Set Credential Failure", 2, &nt_status);
+	
+	smb_pam_nt_status_error_handler(pamh, pam_error, "Set Credential Failure", 2, &nt_status, user);
 	return nt_status;
 }
 
 /*
  * PAM Internal Session Handler
  */
-static BOOL smb_internal_pam_session(pam_handle_t *pamh, char *user, char *tty, BOOL flag)
+static uint32 smb_internal_pam_session(pam_handle_t *pamh, char *user, char *tty, BOOL flag)
 {
 	int pam_error;
+	uint32 nt_status = NT_STATUS_UNSUCCESSFUL;
 
 #ifdef PAM_TTY
 	DEBUG(4,("smb_internal_pam_session: PAM: tty set to: %s\n", tty));
 	pam_error = pam_set_item(pamh, PAM_TTY, tty);
-	if (!smb_pam_error_handler(pamh, pam_error, "set tty failed", 0))
-		return False;
+	if (!smb_pam_nt_status_error_handler(pamh, pam_error, "set tty failed", 0, &nt_status, user))
+		return nt_status;
 #endif
 
 	if (flag) {
 		pam_error = pam_open_session(pamh, PAM_SILENT);
-		if (!smb_pam_error_handler(pamh, pam_error, "session setup failed", 0))
-			return False;
+		smb_pam_nt_status_error_handler(pamh, pam_error, "session setup failed", 0, &nt_status, user); 
+
 	} else {
 		pam_setcred(pamh, (PAM_DELETE_CRED|PAM_SILENT)); /* We don't care if this fails */
 		pam_error = pam_close_session(pamh, PAM_SILENT); /* This will probably pick up the error anyway */
-		if (!smb_pam_error_handler(pamh, pam_error, "session close failed", 0))
-			return False;
+		smb_pam_nt_status_error_handler(pamh, pam_error, "session close failed", 0, &nt_status, user);
 	}
-	return (True);
+	return nt_status;
 }
 
 /*
  * Internal PAM Password Changer.
  */
 
-static BOOL smb_pam_chauthtok(pam_handle_t *pamh, char * user)
+static uint32 smb_pam_chauthtok(pam_handle_t *pamh, char * user)
 {
 	int pam_error;
+	uint32 nt_status = NT_STATUS_UNSUCCESSFUL;
 
 	DEBUG(4,("smb_pam_chauthtok: PAM: Password Change for User: %s\n", user));
 
 	pam_error = pam_chauthtok(pamh, PAM_SILENT); /* Change Password */
 
-	switch( pam_error ) {
-	case PAM_AUTHTOK_ERR:
-		DEBUG(2, ("PAM: unable to obtain the new authentication token - is password to weak?\n"));
-		break;
-
-	/* This doesn't seem to be defined on Solaris. JRA */
-#ifdef PAM_AUTHTOK_RECOVER_ERR
-	case PAM_AUTHTOK_RECOVER_ERR:
-		DEBUG(2, ("PAM: unable to obtain the old authentication token - was the old password wrong?.\n"));
-		break;
-#endif
-
-	case PAM_AUTHTOK_LOCK_BUSY:
-		DEBUG(2, ("PAM: unable to change the authentication token since it is currently locked.\n"));
-		break;
-	case PAM_AUTHTOK_DISABLE_AGING:
-		DEBUG(2, ("PAM: Authentication token aging has been disabled.\n"));
-		break;
-	case PAM_PERM_DENIED:
-		DEBUG(0, ("PAM: Permission denied.\n"));
-		break;
-	case PAM_TRY_AGAIN:
-		DEBUG(0, ("PAM: Could not update all authentication token(s). No authentication tokens were updated.\n"));
-		break;
-	case PAM_USER_UNKNOWN:
-		DEBUG(0, ("PAM: User not known to PAM\n"));
-		break;
-	case PAM_SUCCESS:
-		DEBUG(4, ("PAM: Account OK for User: %s\n", user));
-		break;
-	default:
-		DEBUG(0, ("PAM: UNKNOWN PAM ERROR (%d) for User: %s\n", pam_error, user));
-	}
- 
-	if(!smb_pam_error_handler(pamh, pam_error, "Password Change Failed", 2)) {
-		return False;
-	}
+	smb_pam_nt_status_error_handler(pamh, pam_error, "Password Change Failed", 2, &nt_status, user);
 
-	/* If this point is reached, the password has changed. */
-	return True;
+	return nt_status;
 }
 
 /*
  * PAM Externally accessible Session handler
  */
 
-BOOL smb_pam_claim_session(char *user, char *tty, char *rhost)
+uint32 smb_pam_claim_session(char *user, char *tty, char *rhost)
 {
 	pam_handle_t *pamh = NULL;
 	struct pam_conv *pconv = NULL;
+	uint32 nt_status = NT_STATUS_UNSUCCESSFUL;
 
 	/* Ignore PAM if told to. */
 
 	if (!lp_obey_pam_restrictions())
-		return True;
+		return NT_STATUS_NOPROBLEMO;
 
 	if ((pconv = smb_setup_pam_conv(smb_pam_conv, user, NULL, NULL)) == NULL)
-		return False;
+		return nt_status;
 
 	if (!smb_pam_start(&pamh, user, rhost, pconv))
-		return False;
+		return nt_status;
 
-	if (!smb_internal_pam_session(pamh, user, tty, True)) {
-		smb_pam_end(pamh, pconv);
-		return False;
-	}
+	if ((nt_status = smb_internal_pam_session(pamh, user, tty, True)) != NT_STATUS_NOPROBLEMO)
+		DEBUG(0, ("smb_pam_close_session: PAM: Session Claim Failed for user %s!\n", user));
 
-	return smb_pam_end(pamh, pconv);
+	smb_pam_end(pamh, pconv);
+	return nt_status;
 }
 
 /*
  * PAM Externally accessible Session handler
  */
 
-BOOL smb_pam_close_session(char *user, char *tty, char *rhost)
+uint32 smb_pam_close_session(char *user, char *tty, char *rhost)
 {
 	pam_handle_t *pamh = NULL;
 	struct pam_conv *pconv = NULL;
+	uint32 nt_status = NT_STATUS_UNSUCCESSFUL;
 
 	/* Ignore PAM if told to. */
 
 	if (!lp_obey_pam_restrictions())
-		return True;
+		return NT_STATUS_NOPROBLEMO;
 
 	if ((pconv = smb_setup_pam_conv(smb_pam_conv, user, NULL, NULL)) == NULL)
-		return False;
+		return nt_status;
 
 	if (!smb_pam_start(&pamh, user, rhost, pconv))
-		return False;
+		return nt_status;
 
-	if (!smb_internal_pam_session(pamh, user, tty, False)) {
-		smb_pam_end(pamh, pconv);
-		return False;
-	}
+	if ((nt_status = smb_internal_pam_session(pamh, user, tty, False)) != NT_STATUS_NOPROBLEMO)
+		DEBUG(0, ("smb_pam_close_session: PAM: Session Close Failed for user %s!\n", user));
 
-	return smb_pam_end(pamh, pconv);
+	smb_pam_end(pamh, pconv);
+	return nt_status;
 }
 
 /*
@@ -679,7 +772,7 @@
 		return NT_STATUS_NOPROBLEMO;
 
 	if ((pconv = smb_setup_pam_conv(smb_pam_conv, user, NULL, NULL)) == NULL)
-		return False;
+		return NT_STATUS_UNSUCCESSFUL;
 
 	if (!smb_pam_start(&pamh, user, NULL, pconv))
 		return NT_STATUS_ACCOUNT_DISABLED;
@@ -739,25 +832,25 @@
  * PAM Password Change Suite
  */
 
-BOOL smb_pam_passchange(char * user, char * oldpassword, char * newpassword)
+uint32 smb_pam_passchange(char * user, char * oldpassword, char * newpassword)
 {
 	/* Appropriate quantities of root should be obtained BEFORE calling this function */
 	struct pam_conv *pconv = NULL;
 	pam_handle_t *pamh = NULL;
-
+	uint32 nt_status = NT_STATUS_UNSUCCESSFUL;
+	
 	if ((pconv = smb_setup_pam_conv(smb_pam_passchange_conv, user, oldpassword, newpassword)) == NULL)
-		return False;
-
-	if(!smb_pam_start(&pamh, user, NULL, pconv))
-		return False;
+		return nt_status;
+	
+	if (!smb_pam_start(&pamh, user, NULL, pconv))
+		return nt_status;
 
-	if (!smb_pam_chauthtok(pamh, user)) {
+	if ((nt_status = smb_pam_chauthtok(pamh, user)) != NT_STATUS_NOPROBLEMO) {
 		DEBUG(0, ("smb_pam_passchange: PAM: Password Change Failed for user %s!\n", user));
-		smb_pam_end(pamh, pconv);
-		return False;
 	}
 
-	return smb_pam_end(pamh, pconv);
+	smb_pam_end(pamh, pconv);
+	return nt_status;
 }
 
 #else
@@ -769,14 +862,19 @@
 }
 
 /* If PAM not used, also no PAM restrictions on sessions. */
- BOOL smb_pam_claim_session(char *user, char *tty, char *rhost)
+ uint32 smb_pam_claim_session(char *user, char *tty, char *rhost)
 {
-	return True;
+	return NT_STATUS_NOPROBLEMO;
 }
 
 /* If PAM not used, also no PAM restrictions on sessions. */
- BOOL smb_pam_close_session(char *in_user, char *tty, char *rhost)
+ uint32 smb_pam_close_session(char *in_user, char *tty, char *rhost)
 {
-	return True;
+	return NT_STATUS_NOPROBLEMO;
 }
 #endif /* WITH_PAM */
+
+
+
+
+
Index: source/passdb/pass_check.c
===================================================================
RCS file: /cvsroot/samba/source/passdb/pass_check.c,v
retrieving revision 1.11.4.6
diff -u -r1.11.4.6 pass_check.c
--- source/passdb/pass_check.c	1 May 2001 17:19:58 -0000	1.11.4.6
+++ source/passdb/pass_check.c	16 Jun 2001 03:40:08 -0000
@@ -28,8 +28,10 @@
 
 /* these are kept here to keep the string_combinations function simple */
 static char this_user[100] = "";
+#ifndef WITH_PAM
 static char this_salt[100] = "";
 static char this_crypted[100] = "";
+#endif
 
 #ifdef WITH_AFS
 
@@ -550,11 +552,12 @@
 offset is the first char to try and change (start with 0)
 it assumes the string starts lowercased
 ****************************************************************************/
-static BOOL string_combinations2(char *s, int offset, BOOL (*fn) (char *),
+static uint32 string_combinations2(char *s, int offset, uint32 (*fn) (char *),
 				 int N)
 {
 	int len = strlen(s);
 	int i;
+	uint32 nt_status;
 
 #ifdef PASSWORD_LENGTH
 	len = MIN(len, PASSWORD_LENGTH);
@@ -568,11 +571,11 @@
 		if (!islower(c))
 			continue;
 		s[i] = toupper(c);
-		if (string_combinations2(s, i + 1, fn, N - 1))
-			return (True);
+		if ((nt_status = string_combinations2(s, i + 1, fn, N - 1)) != NT_STATUS_WRONG_PASSWORD)
+			return (nt_status);
 		s[i] = c;
 	}
-	return (False);
+	return (NT_STATUS_WRONG_PASSWORD);
 }
 
 /****************************************************************************
@@ -582,67 +585,82 @@
 offset is the first char to try and change (start with 0)
 it assumes the string starts lowercased
 ****************************************************************************/
-static BOOL string_combinations(char *s, BOOL (*fn) (char *), int N)
+static uint32 string_combinations(char *s, uint32 (*fn) (char *), int N)
 {
 	int n;
+	uint32 nt_status;
 	for (n = 1; n <= N; n++)
-		if (string_combinations2(s, 0, fn, n))
-			return (True);
-	return (False);
+		if ((nt_status = string_combinations2(s, 0, fn, n)) != NT_STATUS_WRONG_PASSWORD)
+			return nt_status;
+	return (NT_STATUS_WRONG_PASSWORD);
 }
 
 
 /****************************************************************************
 core of password checking routine
 ****************************************************************************/
-static BOOL password_check(char *password)
+static uint32 password_check(char *password)
 {
-
 #ifdef WITH_PAM
-	return (smb_pam_passcheck(this_user, password) == NT_STATUS_NOPROBLEMO);
+	return smb_pam_passcheck(this_user, password);
+#else
+   BOOL ret; 
 #endif /* WITH_PAM */
 
 #ifdef WITH_AFS
 	if (afs_auth(this_user, password))
-		return (True);
+		return (NT_STATUS_NOPROBLEMO);
 #endif /* WITH_AFS */
 
 #ifdef WITH_DFS
 	if (dfs_auth(this_user, password))
-		return (True);
+		return (NT_STATUS_NOPROBLEMO);
 #endif /* WITH_DFS */
 
 #ifdef KRB5_AUTH
 	if (krb5_auth(this_user, password))
-		return (True);
+		return (NT_STATUS_NOPROBLEMO);
 #endif /* KRB5_AUTH */
 
 #ifdef KRB4_AUTH
 	if (krb4_auth(this_user, password))
-		return (True);
+		return (NT_STATUS_NOPROBLEMO);
 #endif /* KRB4_AUTH */
 
 #ifdef OSF1_ENH_SEC
-	{
-		BOOL ret =
-			(strcmp
-			 (osf1_bigcrypt(password, this_salt),
+	
+	        ret = (strcmp(osf1_bigcrypt(password, this_salt),
 			  this_crypted) == 0);
 		if (!ret) {
 			DEBUG(2,
 			      ("OSF1_ENH_SEC failed. Trying normal crypt.\n"));
 			ret = (strcmp((char *)crypt(password, this_salt), this_crypted) == 0);
 		}
-		return ret;
-	}
+	        if (ret) {
+		        return NT_STATUS_NOPROBLEMO;
+		} else {
+		        return NT_STATUS_WRONG_PASSWORD;
+		}
+
 #endif /* OSF1_ENH_SEC */
 
 #ifdef ULTRIX_AUTH
-	return (strcmp((char *)crypt16(password, this_salt), this_crypted) == 0);
+	ret = (strcmp((char *)crypt16(password, this_salt), this_crypted) == 0);
+        if (ret) {
+          return NT_STATUS_NOPROBLEMO;
+        } else {
+	  return NT_STATUS_WRONG_PASSWORD;
+	}
+
 #endif /* ULTRIX_AUTH */
 
 #ifdef LINUX_BIGCRYPT
-	return (linux_bigcrypt(password, this_salt, this_crypted));
+	ret = (linux_bigcrypt(password, this_salt, this_crypted));
+        if (ret) {
+	  return NT_STATUS_NOPROBLEMO;
+	} else {
+	  return NT_STATUS_WRONG_PASSWORD;
+	}
 #endif /* LINUX_BIGCRYPT */
 
 #if defined(HAVE_BIGCRYPT) && defined(HAVE_CRYPT) && defined(USE_BOTH_CRYPT_CALLS)
@@ -655,20 +673,35 @@
 	 */
 
 	if (strcmp(bigcrypt(password, this_salt), this_crypted) == 0)
-		return True;
+		return NT_STATUS_NOPROBLEMO;
 	else
-		return (strcmp((char *)crypt(password, this_salt), this_crypted) == 0);
+		ret = (strcmp((char *)crypt(password, this_salt), this_crypted) == 0);
+                if (ret) {
+		  return NT_STATUS_NOPROBLEMO;
+		} else {
+		  return NT_STATUS_WRONG_PASSWORD;
+		}
 #else /* HAVE_BIGCRYPT && HAVE_CRYPT && USE_BOTH_CRYPT_CALLS */
 
 #ifdef HAVE_BIGCRYPT
-	return (strcmp(bigcrypt(password, this_salt), this_crypted) == 0);
+	ret = (strcmp(bigcrypt(password, this_salt), this_crypted) == 0);
+        if (ret) {
+	  return NT_STATUS_NOPROBLEMO;
+	} else {
+	  return NT_STATUS_WRONG_PASSWORD;
+	}
 #endif /* HAVE_BIGCRYPT */
 
 #ifndef HAVE_CRYPT
 	DEBUG(1, ("Warning - no crypt available\n"));
-	return (False);
+	return (NT_STATUS_LOGON_FAILURE);
 #else /* HAVE_CRYPT */
-	return (strcmp((char *)crypt(password, this_salt), this_crypted) == 0);
+	ret = (strcmp((char *)crypt(password, this_salt), this_crypted) == 0);
+        if (ret) {
+	  return NT_STATUS_NOPROBLEMO;
+	} else {
+	  return NT_STATUS_WRONG_PASSWORD;
+	}
 #endif /* HAVE_CRYPT */
 #endif /* HAVE_BIGCRYPT && HAVE_CRYPT && USE_BOTH_CRYPT_CALLS */
 }
@@ -679,28 +712,28 @@
 check if a username/password is OK
 the function pointer fn() points to a function to call when a successful
 match is found and is used to update the encrypted password file 
-return True on correct match, False otherwise
+return NT_STATUS_NOPROBLEMO on correct match, NT_STATUS_WRONG_PASSWORD otherwise
 ****************************************************************************/
-
-BOOL pass_check(char *user, char *password, int pwlen, struct passwd *pwd,
+uint32 pass_check(char *user, char *password, int pwlen, struct passwd *pwd,
 		BOOL (*fn) (char *, char *))
 {
 	pstring pass2;
 	int level = lp_passwordlevel();
+	uint32 nt_status;
 	struct passwd *pass = NULL;
 
-	if (password)
-		password[pwlen] = 0;
-
 #if DEBUG_PASSWORD
 	DEBUG(100, ("checking user=[%s] pass=[%s]\n", user, password));
 #endif
 
+	if (password)
+		password[pwlen] = 0;
+
 	if (!password)
-		return (False);
+		return (NT_STATUS_WRONG_PASSWORD);
 
 	if (((!*password) || (!pwlen)) && !lp_null_passwords())
-		return (False);
+		return (NT_STATUS_WRONG_PASSWORD);
 
 	if (pwd && !user) {
 		pass = (struct passwd *)pwd;
@@ -726,7 +759,7 @@
 
 	if (!pass) {
 		DEBUG(3, ("Couldn't find user %s\n", user));
-		return (False);
+		return (NT_STATUS_NO_SUCH_USER);
 	}
 
 #ifdef HAVE_GETSPNAM
@@ -790,7 +823,6 @@
 #endif
 
 	/* extract relevant info */
-	fstrcpy(this_user, pass->pw_name);
 	fstrcpy(this_salt, pass->pw_passwd);
 
 #if defined(HAVE_TRUNCATED_SALT)
@@ -805,30 +837,34 @@
 		if (!lp_null_passwords()) {
 			DEBUG(2, ("Disallowing %s with null password\n",
 				  this_user));
-			return (False);
+			return (NT_STATUS_WRONG_PASSWORD);
 		}
 		if (!*password) {
 			DEBUG(3,
 			      ("Allowing access to %s with null password\n",
 			       this_user));
-			return (True);
+			return (NT_STATUS_NOPROBLEMO);
 		}
 	}
 
 #endif /* WITH_PAM */
 
 	/* try it as it came to us */
-	if (password_check(password)) {
-		if (fn)
-			fn(user, password);
-		return (True);
-	}
+        nt_status = password_check(password);
+        if (nt_status == NT_STATUS_NOPROBLEMO) {
+                if (fn)
+                        fn(user, password);
+		return (nt_status);
+	} else if (nt_status != NT_STATUS_WRONG_PASSWORD) {
+                /* No point continuing if its not the password thats to blame (ie PAM disabled). */
+                return (nt_status);
+        }
 
 	/* if the password was given to us with mixed case then we don't
-	   need to proceed as we know it hasn't been case modified by the
-	   client */
+	 * need to proceed as we know it hasn't been case modified by the
+	 * client */
 	if (strhasupper(password) && strhaslower(password)) {
-		return (False);
+		return (NT_STATUS_WRONG_PASSWORD);
 	}
 
 	/* make a copy of it */
@@ -837,10 +873,11 @@
 	/* try all lowercase if it's currently all uppercase */
 	if (strhasupper(password)) {
 		strlower(password);
-		if (password_check(password)) {
-			if (fn)
+		nt_status = password_check(password);
+		if (nt_status == NT_STATUS_NOPROBLEMO) {
+		        if (fn)
 				fn(user, password);
-			return (True);
+			return (nt_status);
 		}
 	}
 
@@ -848,20 +885,24 @@
 	if (level < 1) {
 		/* restore it */
 		fstrcpy(password, pass2);
-		return (False);
+		return (NT_STATUS_WRONG_PASSWORD);
 	}
 
 	/* last chance - all combinations of up to level chars upper! */
 	strlower(password);
 
-	if (string_combinations(password, password_check, level)) {
-		if (fn)
+        nt_status = (string_combinations(password, password_check, level)); 
+        if (nt_status == NT_STATUS_NOPROBLEMO) {
+                if (fn)
 			fn(user, password);
-		return (True);
+		return (NT_STATUS_NOPROBLEMO);
 	}
-
+        
 	/* restore it */
 	fstrcpy(password, pass2);
 
-	return (False);
+	return (NT_STATUS_WRONG_PASSWORD);
 }
+
+
+
Index: source/rpc_server/srv_pipe.c
===================================================================
RCS file: /cvsroot/samba/source/rpc_server/srv_pipe.c,v
retrieving revision 1.50.2.15
diff -u -r1.50.2.15 srv_pipe.c
--- source/rpc_server/srv_pipe.c	18 May 2001 01:24:07 -0000	1.50.2.15
+++ source/rpc_server/srv_pipe.c	16 Jun 2001 03:40:09 -0000
@@ -380,6 +380,13 @@
 			return False;
 		}
 
+		if (smb_pam_accountcheck(pipe_user_name) != NT_STATUS_NOPROBLEMO) {
+			DEBUG(1,("api_pipe_ntlmssp_verify: PAM denied account for user %s.\n",
+				pipe_user_name));
+			unbecome_root();
+			return False;
+		}
+
 		if(!(smb_pass = getsmbpwnam(pipe_user_name))) {
 			DEBUG(1,("api_pipe_ntlmssp_verify: Cannot find user %s in smb passwd database.\n",
 				pipe_user_name));
Index: source/smbd/chgpasswd.c
===================================================================
RCS file: /cvsroot/samba/source/smbd/chgpasswd.c,v
retrieving revision 1.64.4.3
diff -u -r1.64.4.3 chgpasswd.c
--- source/smbd/chgpasswd.c	2 May 2001 23:32:19 -0000	1.64.4.3
+++ source/smbd/chgpasswd.c	16 Jun 2001 03:40:10 -0000
@@ -495,7 +495,7 @@
 
 #ifdef WITH_PAM
 	if (lp_pam_password_change()) {
-		BOOL ret;
+		uint32 ret;
 
 		if (as_root)
 			become_root();
@@ -505,7 +505,7 @@
 		if (as_root)
 			unbecome_root();
 
-		return ret;
+		return (ret == NT_STATUS_NOPROBLEMO);
 	}
 #endif
 
Index: source/smbd/password.c
===================================================================
RCS file: /cvsroot/samba/source/smbd/password.c,v
retrieving revision 1.186.2.22
diff -u -r1.186.2.22 password.c
--- source/smbd/password.c	31 May 2001 14:14:27 -0000	1.186.2.22
+++ source/smbd/password.c	16 Jun 2001 03:40:14 -0000
@@ -628,7 +628,7 @@
 
 	return (pass_check(user, password, pwlen, pwd, 
 			  lp_update_encrypted() ? 
-			  update_smbpassword_file : NULL));
+			  update_smbpassword_file : NULL) == NT_STATUS_NOPROBLEMO);
 }
 
 /****************************************************************************
Index: source/smbd/session.c
===================================================================
RCS file: /cvsroot/samba/source/smbd/session.c,v
retrieving revision 1.1.2.7
diff -u -r1.1.2.7 session.c
--- source/smbd/session.c	8 Jun 2001 21:28:47 -0000	1.1.2.7
+++ source/smbd/session.c	16 Jun 2001 03:40:14 -0000
@@ -99,7 +99,7 @@
 	sessionid.id_num = i;
 	sessionid.pid = pid;
 
-	if (!smb_pam_claim_session(sessionid.username, sessionid.id_str, sessionid.hostname)) {
+	if (smb_pam_claim_session(sessionid.username, sessionid.id_str, sessionid.hostname) != NT_STATUS_NOPROBLEMO) {
 		DEBUG(1,("pam_session rejected the session for %s [%s]\n",
 				sessionid.username, sessionid.id_str));
 		tdb_delete(tdb, key);
Index: source/web/cgi.c
===================================================================
RCS file: /cvsroot/samba/source/web/cgi.c,v
retrieving revision 1.37.2.3
diff -u -r1.37.2.3 cgi.c
--- source/web/cgi.c	9 Mar 2001 01:06:59 -0000	1.37.2.3
+++ source/web/cgi.c	16 Jun 2001 03:40:16 -0000
@@ -377,7 +377,7 @@
 
 	tested_pass = True;
 
-	if(pass_check(user, user_pass, strlen(user_pass), NULL, NULL) == True) {
+	if(pass_check(user, user_pass, strlen(user_pass), NULL, NULL) == NT_STATUS_NOPROBLEMO) {
 
 		/*
 		 * Password was ok.

Return-Path: <pf-samba at mirkwood.net>
Delivered-To: samba at samba.org
Received: from eriador.mirkwood.net (cc668399-a.ewndsr1.nj.home.com
  [24.180.97.113]) by lists.samba.org (Postfix) with ESMTP id 2951E45B6
  for <samba at samba.org>; Fri, 15 Jun 2001 23:32:56 -0700 (PDT)
Received: (qmail 3813 invoked by uid 500); 16 Jun 2001 06:30:45 -0000
Date: Sat, 16 Jun 2001 02:30:45 -0400 (EDT)
From: PinkFreud <pf-samba at mirkwood.net>
To: samba at samba.org
Subject: Samba 2.2.0 crash
Message-ID: <Pine.LNX.4.20.0106160216241.568-100000 at eriador.mirkwood.net
  >
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm experiencing a crash in Samba 2.2.0, which seems to occur whenever a
user attempts to authenticate.

Logs report the following:
[2001/06/16 00:04:23, 0] lib/fault.c:fault_report(40)
  ===============================================================
[2001/06/16 00:04:23, 0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid 25345 (2.2.0)
  Please read the file BUGS.txt in the distribution
[2001/06/16 00:04:23, 0] lib/fault.c:fault_report(43)
  ===============================================================
[2001/06/16 00:04:23, 0] lib/util.c:smb_panic(1139)
  PANIC: internal error

The above is *not* reported when using a debug level.

configure script was run with the following options:
 --enable-debug --with-gnu-ld --with-readline --with-smbwrapper 
--with-automount --with-smbmount --with-nisplus --with-ssl 
--with-sslinc=/usr/include/openssl --with-profile --with-quotas
--with-utmp --with-msdfs --with-vfs

I believe the problem to be with NIS+ support, as seen in the output of a
stack backtrace in gdb, below.  I do not currently have NIS+ configured,
though, intending to set that up later.

By the way, thanks are in order to Gerald Carter <gcarter at valinux.com> for
his suggestion to compile with debugging enabled, and to use 'panic action
= /bin/sleep 90000' (found at
http://samba.cadcamlab.org/lists/samba-technical/Mar2001/00360.html), and
the followup by Michael Sweet <mike at easysw.com> with the suggestion to use
--enable-debug (found at
http://samba.cadcamlab.org/lists/samba-technical/Mar2001/00362.html).  I
would never have figured this out without those suggestions.  ;)


(gdb) bt
#0  0x401b3b29 in __wait4 () from /lib/libc.so.6
#1  0x4020bcf4 in __DTOR_END__ () from /lib/libc.so.6
#2  0x40166d3d in __libc_system (line=0x8191ee0 "/usr/bin/sleep 90000")
    at ../sysdeps/posix/system.c:136
#3  0x81008bf in smb_panic (why=0x814af74 "internal error") at
lib/util.c:1137
#4  0x80f253e in fault_report (sig=11) at lib/fault.c:45
#5  0x80f257f in sig_fault (sig=11) at lib/fault.c:65
#6  0x40145428 in __restore ()
    at ../sysdeps/unix/sysv/linux/i386/sigaction.c:127
#7  0x4011c0f6 in nis_list (
    name=0xbfffdb20 "[name=sauron],/usr/local/samba/private/smbpasswd", 
    flags=70, callback=0, userdata=0x0) at nis_table.c:191
#8  0x80ed572 in getnisp21pwnam (name=0xbfffe7e4 "sauron")
    at passdb/nispass.c:926
#9  0x80ed7cb in getnisppwnam (name=0xbfffe7e4 "sauron")
    at passdb/nispass.c:1015
#10 0x80e9050 in getsmbpwnam (name=0xbfffe7e4 "sauron") at
passdb/passdb.c:166
#11 0x8052b6e in pass_check_smb (user=0xbfffe7e4 "sauron", 
    domain=0x8170300 "MIRKWOOD", 
    chal=0xbfffdf7c "Unknown String Removed", 
    lm_pwd=0xbfffebe4 "Password Removed", 
    nt_pwd=0xbfffebe4 "Password Removed", pwd=0x0)
    at smbd/password.c:530
---Type <return> to continue, or q <return> to quit---
#12 0x8052dcd in password_ok (user=0xbfffe7e4 "sauron", 
    password=0xbfffebe4 "Password Removed", pwlen=24, 
    pwd=0x0) at smbd/password.c:596
#13 0x806504d in reply_sesssetup_and_X (conn=0x0, inbuf=0x819d889 "", 
    outbuf=0x81adc91 "", length=140, bufsize=65535) at smbd/reply.c:949
#14 0x8082293 in switch_message (type=115, inbuf=0x819d889 "", 
    outbuf=0x81adc91 "", size=140, bufsize=65535) at smbd/process.c:733
#15 0x808231c in construct_reply (inbuf=0x819d889 "", outbuf=0x81adc91 "", 
    size=140, bufsize=65535) at smbd/process.c:762
#16 0x8082586 in process_smb (inbuf=0x819d889 "", outbuf=0x81adc91 "")
    at smbd/process.c:850
#17 0x8082d12 in smbd_process () at smbd/process.c:1230
#18 0x804d4b1 in main (argc=1, argv=0xbffff514) at smbd/server.c:799



	Mike Edwards

Brainbench certified Master Linux Administrator
http://www.brainbench.com/transcript.jsp?pid=158188
-----------------------------------
Unsolicited advertisments to this address are not welcome.

Return-Path: <batestim at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (f20.law4.hotmail.com [216.33.149.20]) by
  lists.samba.org (Postfix) with ESMTP id 9ABC745A3 for
  <samba at lists.samba.org>; Sat, 16 Jun 2001 00:37:04 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Sat, 16 Jun 2001 00:41:43 -0700
Received: from 203.56.239.113 by lw4fd.law4.hotmail.msn.com with HTTP;
  Sat, 16 Jun 2001 07:41:43 GMT
X-Originating-IP: [203.56.239.113]
From: "Tim Bates" <batestim at hotmail.com>
To: samba at lists.samba.org
Subject: Windows ME refuses to authenticate.
Date: Sat, 16 Jun 2001 17:11:43 +0930
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F20lNY30kkZIhTrBoe200004503 at hotmail.com>
X-OriginalArrivalTime: 16 Jun 2001 07:41:43.0950 (UTC)
  FILETIME=[CA078AE0:01C0F637]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I had two Win98 machines and one Red Hat Linux machine happily serving my 
files to them with Samba until recently. I bought a laptop running Windows 
ME and tried to attach it to the network. However, it cannot even view what 
shares are available on the Samba because Samba will not accept my password 
for the "\\linux\IPC$" service. It will quite happily converse and share 
files with the other Win machines and vice versa, but it will not talk to 
the Linux server. Is anyone aware of conflicts with ME or is there something 
else I haven't set correctly.

                             Thanks,
                                    Tim Bates

BTW, it works if I add "laptop" to /etc/hosts.equiv and add "hosts equiv = 
/etc/hosts.equiv" to /etc/smb.conf but that creates a security hole...
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Return-Path: <nikolaus at erlm.siemens.de>
Delivered-To: samba at samba.org
Received: from atlantis.erlm.siemens.de (atlantis.erlm.siemens.de
  [212.114.202.14]) by lists.samba.org (Postfix) with ESMTP id CBB5F4221
  for <samba at samba.org>; Sat, 16 Jun 2001 01:58:37 -0700 (PDT)
Received: from tcenter.erlm.siemens.de (tcenter.erlm.siemens.de
  [146.254.160.14]) by atlantis.erlm.siemens.de (8.9.3/8.9.3) with ESMTP
  id LAA24827; Sat, 16 Jun 2001 11:02:55 +0200 (MET DST)
Received: from luxor.erlm.siemens.de (luxor.erlm.siemens.de
  [146.254.161.114]) by tcenter.erlm.siemens.de (8.9.0/8.9.0) with ESMTP
  id LAA09474; Sat, 16 Jun 2001 11:02:54 +0200 (MET DST)
Received: (from nikolaus at localhost) by luxor.erlm.siemens.de
  (8.9.3/8.9.3) id LAA02136; Sat, 16 Jun 2001 11:02:54 +0200 (MET DST)
Date: Sat, 16 Jun 2001 11:02:54 +0200
From: Michael Ott <Michael.Ott at erlm.siemens.de>
To: Murugappan <murugappan at hgsolutions.com>
Cc: samba at samba.org, Andrew Lyon <Administrator at josims.com>
Subject: Re: samba help pls
Message-ID: <20010616110254.A1917 at erlm.siemens.de>
Reply-To: Michael.Ott at erlm.siemens.de
References: <C2ADBF38E1F4D3118F9F0060082151A501F684 at CORE>
  <00d101c0f5a4$4a30d5d0$956d4040 at hg04>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-Mailer: Mutt 1.0i
In-Reply-To: <00d101c0f5a4$4a30d5d0$956d4040 at hg04>; from
  murugappan at hgsolutions.com on Fri, Jun 15, 2001 at 09:05:52AM -0500
Organization: Siemens AG, ATD IT PS 51 ERL, Erlangen, Germany
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

hallo!

> but when i do rpm -qa | grep -i samba
> it lists like this
> samba -client 2.0.x
> samba -2.0.x
> samba -common 2.0.x
>
> it doesn't list samba 2.2.0 why??
> now that I can remove samba 2.0.x by saying rpm -e <package> .
> my samba 2.0.x lies in etc/samba directory
>
> my samba 2.2 lies in usr/local/bin directory..
>
> can u help me in saying whats the procedure to completely remove all samba
> compnents and install samba 2.2.0 so that when i do
> rpm -q samba it lists samba 2.2.0
>

you have to install the samba-2.2.0-rpm, which you can download from the
samba-ftp. only rpms input into the rpm-database, no self-compiled sources.
but the redhat-rpms (i believe, you use redhat) is not the same as the rpm,
which you can downloads from samba. you have to deinstall the rpms

your self-compiled samba must you delete handly with rm -rf

--
Gru_ & bye

    Michael Ott

---------------------------------
- Siemens AG - I&S IT PS 51 ERL -
- Werner-von-Siemens-Strasse 60 -
- 91050 Erlangen                -
- Tel. +49 91 31 7 42 0 54      -
- Michael.Ott at erlm.siemens.de   -
---------------------------------

open-source and you have much fun

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id EBDDF4300 for <samba at samba.org>; Sat, 16 Jun
  2001 07:08:59 -0700 (PDT)
Received: from piglett.bartlett.house (as2-121.cbr.au.asiaonline.net
  [210.215.10.121]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5GEDDI19060; Sun, 17 Jun 2001 00:13:14 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  AAA31886; Sun, 17 Jun 2001 00:12:49 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  AAA32377; Sun, 17 Jun 2001 00:12:47 +1000
Message-ID: <3B2B695F.8A1FB301 at bartlett.house>
Date: Sun, 17 Jun 2001 00:12:47 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Barry Smoke <barry at arhosting.com>
Cc: jfeise at ics.uci.edu, samba at samba.org
Subject: Samba under cygwin? (was: Re: (no subject))
References: <IMEKIDMFAEBICGFFGJPKAEHDFMAA.barry at arhosting.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Has anybody actualy tried compiling samba under cygwin?  It would be
kind of neat, and considering the hostile enviroments it already
compiles in, I would not be that supprised if it actualy worked (at
least on the client side).

Andrew Bartlett

Barry Smoke wrote:
> 
> Well actually an ssl enabled smbclient would be really nice
> 
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Joachim Feise
> Sent: Thursday, June 14, 2001 9:59 AM
> To: samba at samba.org
> Subject: Re: (no subject)
> 
> Russ Ward wrote:
> >
> > Does anyone know of a port of smbclient to windows?
> 
> What for?
> SMB is native to Windows, so if you want to copy files, you can
> just use Explorer or a command prompt, or write a batch file.
> 
> -Joe
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
Andrew Bartlett
abartlet at pcug.org.au

Return-Path: <cb494 at cyberware.co.uk>
Delivered-To: samba at samba.org
Received: from maildrop.cyberware.co.uk (maildrop.cyberware.co.uk
  [194.74.221.3]) by lists.samba.org (Postfix) with ESMTP id DC45044BC
  for <samba at samba.org>; Sat, 16 Jun 2001 07:54:19 -0700 (PDT)
Received: from BLUE. (dial61-nat-dyn.cyberware.co.uk [62.172.180.189])
  by maildrop.cyberware.co.uk (8.9.3+Sun/8.7.2) with SMTP id QAA04508
  for <samba at samba.org>; Sat, 16 Jun 2001 16:03:36 +0100 (BST)
From: Jo_Mills <cb494 at cyberware.co.uk>
Date: Fri, 15 Jun 2001 15:56:17 GMT
Message-ID: <20010615.15561700 at BLUE.>
Subject: Query regarding embedded NT & known bugs with high traffic
  volumes
To: samba at samba.org
Reply-To: cb494 at cyberware.co.uk
X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.1; Linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Dear Sir,

	Please accept my apologies in advance, but I wasn't sure who else to
turn to for advice.

	I work in the Test & Integration dept. (some companies call such a
team the "V.V. & T. Dept") of a mobile communications Company based in
Cambridge, England.  To date our base stations and our base site
controllers run the VxWorks RTOS, and whilst it is far from perfect,
this RTOS handles the volumes of data thrown at it during testing
perfectly adequately.  Because of a tie up with a foreign firm, our
System Design team are considering moving across to using Embedded NT
as the RTOS.  This worries me - I have read various articles that
state that "ordinary" NT cannot cope with large quantities of traffic,
but I cannot find any definitive statements along the lines of:

	So much traffic of such a packet size at such a rate causes this
problem or that problem.

	I admit I'm biased - I like GNU/Linux & I don't like Microsoft.  All
our in house developed test tools - the real time air interface
channel monitor, our protocol test tool and its accompanying tool kit
(s/w MUX, U-Plane gateway, Fibre Optic & Ethernet interface etc.) -
are all written for GNU/Linux and these tools have proved very robust
and extremely useful.

	I would be very grateful if you would tell me where I should look to
find one or more detailed bug lists showing the problems people have
found with NT - preferably embedded NT.  Volume & stress & soak
failures are of particular interest as our kit is used in the public
safety market and needs to be extremely reliable.


		Hoping that you can get me started,


			Yours faithfully,


				Jonathan Mills.

Return-Path: <vincent.tam at aib.net>
Delivered-To: samba at samba.org
Received: from rex8.aib.net (unknown [202.181.178.18]) by
  lists.samba.org (Postfix) with ESMTP id 328C34210 for
  <samba at samba.org>; Sat, 16 Jun 2001 09:29:59 -0700 (PDT)
Received: from PERCYAPPSVR (gate.ptp-architects.com.hk
  [202.181.182.193]) by rex8.aib.net (8.9.3/8.9.3/) with SMTP id
  AAA31828 for <samba at samba.org>; Sun, 17 Jun 2001 00:33:47 +0800
X-Authentication-Warning: rex8.aib.net: Host gate.ptp-architects.com.hk
  [202.181.182.193] claimed to be PERCYAPPSVR
Message-ID: <001801c0f682$3236afc0$1100580a at win.hk.ptp>
From: "Vincent W.S. Tam" <vincent.tam at aib.net>
To: <samba at samba.org>
Subject: Samba 2.0.7 serious problem: file disappear in windows!
Date: Sun, 17 Jun 2001 00:34:21 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Dear all,

We were usd Samba 2.0.7 as a logon server in a Win95/98 clients network and
found that some of the files exist in Linux does not display in Windows
Explorer!

Now Windows 2000 Server took the role and all Win95/98 become Win2k clients
and the files are *still* disappear when browsing with Windows Explorer. We
tried to copy all the files in the directory that contains 'disappeared'
files, and after the copy all files re-appear again. However, seems the
problem didn't reproduce again so far.

What would be the cause of problem?

Please help!! Someone around us are started to worry about the stability of
Samba, thank you very much!!!
Vincent

Return-Path: <pdgtech at kalnet.com.au>
Delivered-To: samba at lists.samba.org
Received: from kalnet.com.au (svr.kalnet.com.au [203.57.128.33]) by
  lists.samba.org (Postfix) with ESMTP id 377EB477C for
  <samba at lists.samba.org>; Sat, 16 Jun 2001 11:20:49 -0700 (PDT)
Received: from kalnet.com.au (dyn232.kalnet.com.au [203.57.128.232]) by
  kalnet.com.au (8.9.3/8.9.3/Debian 8.9.3-6) with ESMTP id CAA28642;
  Sun, 17 Jun 2001 02:25:08 +0800
X-Authentication-Warning: svr.kalnet.com.au: Host dyn232.kalnet.com.au
  [203.57.128.232] claimed to be kalnet.com.au
Message-ID: <3B2BA456.BCD3E68A at kalnet.com.au>
Date: Sun, 17 Jun 2001 02:24:22 +0800
From: Peter de Groot <pdgtech at kalnet.com.au>
Reply-To: pdgtech at kalnet.com.au
Organization: PDG Technical Services Pty Ltd
X-Mailer: Mozilla 4.7 [en] (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Cc: Marc Blythe <Marc.Blythe at cme.com.au>
Subject: NT4 UN-encrypted passwords
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi guys ............. has there been any progress on
the problem with un-encrypted passwords coming
from an NT 4 machine ??

According to the "gotcha" in the docs directory, and recent 
experience.... when clicking on a samba share from an NT4 machine, it
brings up the username password panel.

It only happens once per session, but is a real pain ...

BTW ... I am using username mapping between the NT box
and the samba server ......If this is the case ... why
does the samba server even bother asking for a password ??

Replies please CC me also, thanks

Cheers
Peter

-- 


______________________________________________________________

              PDG Technical Services Pty Ltd
                      ABN 25077936933        
 Peter de Groot                             P.O. Box 10349   
  08) 90916817                              Kalgoorlie 6430  
 pdgtech at kalnet.com.au                      Western Australia
______________________________________________________________

Return-Path: <Dietrich.Restemeyer at t-online.de>
Delivered-To: samba at lists.samba.org
Received: from mailout00.sul.t-online.de (mailout00.sul.t-online.com
  [194.25.134.16]) by lists.samba.org (Postfix) with ESMTP id 411474509
  for <samba at lists.samba.org>; Sat, 16 Jun 2001 14:41:49 -0700 (PDT)
Received: from fwd04.sul.t-online.de  by mailout00.sul.t-online.de with
  smtp  id 15BNtg-000339-01; Sat, 16 Jun 2001 23:46:24 +0200
Received: from myserver.dens.net (0448692880-0001@[217.87.251.2]) by
  fmrl04.sul.t-online.com with esmtp id 15BNtb-26ymKeC; Sat, 16 Jun 2001
  23:46:19 +0200
Received: from DIDI (didi.dens.net [192.168.3.2]) by myserver.dens.net
  (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with SMTP id f5GLiJc11555 for
  <samba at lists.samba.org>; Sat, 16 Jun 2001 23:44:19 +0200
From: "Dietrich Restemeyer" <Dietrich.Restemeyer at t-online.de>
To: <samba at lists.samba.org>
Subject: =?iso-8859-1?Q?w2k_client_doesn=B4t_execute_logon_script_=2C_wh
  y=3F?=
Date: Sat, 16 Jun 2001 23:44:25 +0200
Message-ID: <FGEHJPOMFKNKPADFHIMECEALCAAA.Dietrich.Restemeyer at t-online.d
  e>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-Sender: 0448692880-0001 at t-dialin.net
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hallo,

I've succede to setup my Samba 2.2.0 (Suse7.2) to act as a PDC for
w2k and w98 clients.
but the w2k client doesn't execute the logon script; the w98 client does it.

here are a few lines from my smb.conf:

        encrypt passwords = yes
        smb passwd file = /etc/smbpasswd
        netbios name = SAMBA
        netbios aliases = MYSERVER
        security = user
        os level = 64
        domain master   = yes
        preferred master = yes
        local master = yes
        domain logons   = yes
        logon path = \\%N\profiles\%U
        logon drive = Y:
        logon home = \\%N\profiles\%U
        logon script    = %U.BAT
        dns proxy       = no
        wins support = true
        time server = yes

Where is my mistake ?

Thanks in advance,

Didi

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id 9F5274634 for <samba at lists.samba.org>; Sat, 16
  Jun 2001 22:28:03 -0700 (PDT)
Received: from piglett.bartlett.house (as1-223.cbr.au.asiaonline.net
  [210.215.9.223]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5H5WMI10735; Sun, 17 Jun 2001 15:32:26 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  PAA08393; Sun, 17 Jun 2001 15:31:56 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  PAA05083; Sun, 17 Jun 2001 15:31:49 +1000
Message-ID: <3B2C40C3.A1A407AD at bartlett.house>
Date: Sun, 17 Jun 2001 15:31:47 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: bhelms at nicusa.com
Cc: samba at lists.samba.org
Subject: Re: W2K semaphores revisited
References: <01061308372300.12889 at powder>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

"Benny D. Helms" wrote:
> 
> Thanks to Jon Gerdes, I was able to resolve the 10000 files issue.  But the
> semaphore timeout issue remains.
> 
> Basically, I have users on W2K connecting to a Linux Samba box.  They are
> mounting their home folders via drive mapping.  What happens is that they log
> off at night, come back the next morning, and when they log in, the drive
> will no longer map.  The error is that the semaphores have timed out.
> Restarting the W2K boxes does not help.  Oddly, if the user goes into network
> neighborhood, and selects the Samba box, then works his way through the
> shares and folders until he has reached his home folder, he can THEN go and
> map the drive with no errors.  Almost as though the computer had to be shown
> the way.
> 
> I saw the following in the Samba log for one of my users:
> 
> [2001/06/13 00:55:35, 0] lib/util_sock.c:write_socket_data(540)
>   write_socket_data: write failure. Error = Broken pipe
> [2001/06/13 00:55:35, 0] lib/util_sock.c:write_socket(566)
>   write_socket: Error writing 4 bytes to socket 6: ERRNO = Broken pipe
> [2001/06/13 00:55:35, 0] lib/util_sock.c:send_smb(754)
>   Error writing 4 bytes to client. -1. Exiting

This particular error has now been squashed (current SAMBA_2_2 cvs). 
Samba will now exit properly at this point, cleaning up the various tdbs
(mostly locking) as it goes.  This may or may not have anything to do
with your error, as that can only happen once per smbd.  The error in
this case is probably futher up your logfiles.

> 
> This error was being logged approximately every 30 minutes.  As a result of
> this error set, I surmised that the Samba box was not aware that the user had
> logged off of the network and was trying all night long to reestablish
> communication, and that this was causing the timeout.  

Samba shouldn't be starting any connections unless its for browsing,
connections to drive-shares can only be resumed by the client.

> So last night, I asked
> the user to manually reach out and unmap the drive before logging off and
> going home.  He did so, and as a result, easily re-mapped the drive this
> morning.  However, the log segment above is from last night, AFTER he had
> unmapped the drive AND logged off of the network.  So why is Samba trying to
> contact this machine all night long?  What is failing to happen here to let
> the Samba server know the user is no longer attempting to access the
> services?  And what is truly causing these semaphore timeout errors?  Is it
> Samba, or is it W2K?

This looks like a browsing issue to me, or somthing internal to samba. 
See if you can get per-pid logs and figure out what this particular smbd
was attempting to do.

Andrew Bartlett

-- 
Andrew Bartlett
abartlet at pcug.org.au

Return-Path: <spawn at rloteck.com>
Delivered-To: samba at lists.samba.org
Received: from magna.rloteck.com (rloteck.com [66.120.25.60]) by
  lists.samba.org (Postfix) with ESMTP id 921664856 for
  <samba at lists.samba.org>; Sun, 17 Jun 2001 00:04:14 -0700 (PDT)
Received: from SPAWN ([66.120.25.58]) by magna.rloteck.com with SMTP
  (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id
  MVB5L722; Sat, 16 Jun 2001 12:08:35 -0700
From: "Rafael Leiva-Ochoa" <spawn at rloteck.com>
To: <samba at lists.samba.org>
Subject: Win2k not letting me Go in the Samba share.....
Date: Sat, 16 Jun 2001 12:08:35 -0700
Message-ID: <LGENLHHKBCCCLPMMPGDMKEAACAAA.spawn at rloteck.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello Samba Team..

            I have set up my OSX with Samba and it config it. But i get a
"The account is not authorized to log in for this station" error every time
i try to access the Samba share. Any help will be great..

Rafael.

Return-Path: <dahouet at gmx.net>
Delivered-To: samba at lists.samba.org
Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by
  lists.samba.org (Postfix) with SMTP id DF9A44874 for
  <samba at lists.samba.org>; Sun, 17 Jun 2001 03:13:44 -0700 (PDT)
Received: (qmail 17155 invoked by uid 0); 17 Jun 2001 10:15:10 -0000
Received: from adsl-3-12.adsl.easynet.fr (HELO mail.gmx.de)
  (212.11.27.12) by mail.gmx.net (mp004-rz3) with SMTP; 17 Jun 2001
  10:15:10 -0000
Message-ID: <200106171218030360.0EF7A2DB at mail.gmx.de>
In-Reply-To: <LGENLHHKBCCCLPMMPGDMKEAACAAA.spawn at rloteck.com>
References: <LGENLHHKBCCCLPMMPGDMKEAACAAA.spawn at rloteck.com>
X-Mailer: Calypso Version 3.20.02.00 (4)
Date: Sun, 17 Jun 2001 12:18:03 +0200
From: "linux" <dahouet at gmx.net>
To: "Rafael Leiva-Ochoa" <spawn at rloteck.com>, samba at lists.samba.org
Subject: Re: Win2k not letting me Go in the Samba share.....
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Le 16/06/2001 ` 12:08 Rafael Leiva-Ochoa a icrit :

>Hello Samba Team..
>
>            I have set up my OSX with Samba and it config it. But i get a
>"The account is not authorized to log in for this station" error every time
>i try to access the Samba share. Any help will be great..

i've the same thing once. the only thing to recover i've change was
encrypt password from no to yes...

hope it works
@++
Nicon

Return-Path: <VladutaC at ca-ib.com>
Delivered-To: samba at lists.samba.org
Received: from vie-cs3.ca-ib.com (mail1.ca-ib.com [212.27.124.49]) by
  lists.samba.org (Postfix) with ESMTP id 95ABB48AC for
  <samba at lists.samba.org>; Sun, 17 Jun 2001 03:39:31 -0700 (PDT)
Received: by vie-cs3.ca-ib.com with Internet Mail Service (5.5.2653.19)
  id <M95362X0>; Sun, 17 Jun 2001 12:44:05 +0200
Message-ID: <F131C3737223D111962300805F0DD08F3CF721 at buh-cs0.ca-ib.com>
From: Vladuta Cristian <VladutaC at ca-ib.com>
To: "'Samba (E-mail)" <samba at lists.samba.org>
Subject: Security = server issue
Date: Sun, 17 Jun 2001 12:44:01 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Folks,
 
I guess it's a very simple question for samba experienced people:  What is
required to do on the samba box in order to enable a particular NT domain
user to use/modify a share IF Security is SERVER based ? I mean beside the
SMB.conf editing such as valid users =..,bla,bla..
 
My documentation says mirroring the username at the Unix level and disabling
the /etc/passwd corresponding entry would be enough . Seems like is not. My
NT user is still refused the share access. Likewise there was no such user
on the Unix level.
 
The reason I try to implement the server based security is that I don't want
to make Samba part of the domain and develop more complications like
profiles, log-on scripts and so-on (maybe later on ).
 
By the way, guys , I was complaining the other day about how long my NT
users took to map the Samba shares to their local systems. After digging a
bit I found out that simply by telling Samba to first try WINS among
Lmhosts, hosts file, etc. as default name resolution method was the answer.
Just mentioning the WINS ip had not been enough.
 
 
Thank you, 
 
 
 
 
 
Cristian Vladuta
Sys Admin ,CA IB Securities, CA IB Romania
Phone +401 315 20 30
Fax     +401 315 20 90
 

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id 4F1BF4261 for <samba at lists.samba.org>; Sun, 17
  Jun 2001 05:28:37 -0700 (PDT)
Received: from piglett.bartlett.house (as5-174.cbr.au.asiaonline.net
  [210.215.14.174]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5HCX2I20933; Sun, 17 Jun 2001 22:33:03 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  WAA10233; Sun, 17 Jun 2001 22:32:36 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  WAA09212; Sun, 17 Jun 2001 22:32:35 +1000
Message-ID: <3B2CA363.211D29F4 at bartlett.house>
Date: Sun, 17 Jun 2001 22:32:35 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
Reply-To: abartlet at samba.org
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Vladuta Cristian <VladutaC at ca-ib.com>
Cc: "'Samba (E-mail)" <samba at lists.samba.org>
Subject: Re: Security = server issue
References: <F131C3737223D111962300805F0DD08F3CF721 at buh-cs0.ca-ib.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Vladuta Cristian wrote:
> 
> Folks,
> 
> I guess it's a very simple question for samba experienced people:  What is
> required to do on the samba box in order to enable a particular NT domain
> user to use/modify a share IF Security is SERVER based ? I mean beside the
> SMB.conf editing such as valid users =..,bla,bla..
> 
> My documentation says mirroring the username at the Unix level and disabling
> the /etc/passwd corresponding entry would be enough . Seems like is not. My
> NT user is still refused the share access. Likewise there was no such user
> on the Unix level.
> 
> The reason I try to implement the server based security is that I don't want
> to make Samba part of the domain and develop more complications like
> profiles, log-on scripts and so-on (maybe later on ).

Samba interacts in the domains the same way a print-server does.  There
are not profiles, log-on scripts or the like in this situation.  It just
allows samba to tell the DC over a secure channel that this is the
challange and this is the password.  It also free's samba from needing
to keep a connection to the server for the entire length of the session.

-- 
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org

Return-Path: <sigrid.belbo at edbteamco.com>
Delivered-To: samba at samba.org
Received: from bdr-osl-25-005.oslo.telenor.no (BDR-OSL-25-005.telenor.no
  [134.47.108.13]) by lists.samba.org (Postfix) with SMTP id E0F674529
  for <samba at samba.org>; Sun, 17 Jun 2001 09:19:33 -0700 (PDT)
Received: from 134.47.108.96 by bdr-osl-25-005.oslo.telenor.no
  (InterScan E-Mail VirusWall NT); Sun, 17 Jun 2001 18:24:06 +0200
Received: by BDR-OSL-24-201 with Internet Mail Service (5.5.2653.19) id
  <M0X37WD1>; Sun, 17 Jun 2001 18:24:06 +0200
Message-ID: <59127C898DA6D21184180090271DDA93011AC701 at bdr-bo-24-200.nord
  .telenor.no>
From: sigrid.belbo at edbteamco.com
To: samba at samba.org
Date: Sun, 17 Jun 2001 18:24:04 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Subject: (no subject)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I hope someone can help me.....

We are running SAMBA 2.0.7 in a AIX 4.3.3 system.
Have made the share 'Kartdatabase', and use security=user. The users don't
need unix-account and password to get access to the filesystem. They have
only read access.
Is it possible to give some of the users  write-access to one particular
directory in the filesystem (share)? How?


mvh

Sigrid Belbo
EDB Teamco, Drift UNIX/NT
Jernbaneveien 69, 8012 BODX
e-mail:sigrid.belbo at edbteamco.com
Tlf:75513413
mob:95028564

Return-Path: <o.six at cahos.net>
Delivered-To: samba at lists.samba.org
Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de
  [195.20.224.200]) by lists.samba.org (Postfix) with ESMTP id D772D4409
  for <samba at lists.samba.org>; Sun, 17 Jun 2001 10:58:52 -0700 (PDT)
Received: from [195.20.224.209] (helo=mrvdom02.schlund.de) by
  moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id
  15BgtS-00002f-00 for samba at lists.samba.org; Sun, 17 Jun 2001 20:03:26
  +0200
Received: from pd9502693.dip.t-dialin.net ([217.80.38.147]
  helo=main.cahos.net) by mrvdom02.schlund.de with esmtp (Exim 2.12 #2)
  id 15BgsL-0002z6-00 for samba at lists.samba.org; Sun, 17 Jun 2001
  20:02:17 +0200
Received: from work (work.cahos.net [192.168.1.2]) by main.cahos.net
  (8.11.2/8.11.2/SuSE Linux 8.11.1-0.5) with SMTP id f5HI1mF25821 for
  <samba at lists.samba.org>; Sun, 17 Jun 2001 20:01:48 +0200
Message-Id: <SAK.2001.06.17.nbtghlin at work>
Date: Sun, 17 Jun 2001 20:01:48 +0200
From: Oliver Six <o.six at cahos.net>
X-Mailer: Mail Warrior
To: samba at lists.samba.org
MIME-Version: 1.0
Subject: FW:Samba under cygwin? (was: Re: (no subject))
Content-Type: Text/Plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Mailer-Version: v3.57
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On 16.06.01 16:12:47, Andrew Bartlett wrote:

>Has anybody actualy tried compiling samba under cygwin?  It would be
>kind of neat, and considering the hostile enviroments it already
>compiles in, I would not be that supprised if it actualy worked (at
>least on the client side).
>
>Andrew Bartlett
>
>Barry Smoke wrote:
>> 
>> Well actually an ssl enabled smbclient would be really nice
>> 
>> -----Original Message-----
>> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
>> Behalf Of Joachim Feise
>> Sent: Thursday, June 14, 2001 9:59 AM
>> To: samba at samba.org
>> Subject: Re: (no subject)
>> 
>> Russ Ward wrote:
>> >
>> > Does anyone know of a port of smbclient to windows?
>> 
>> What for?
>> SMB is native to Windows, so if you want to copy files, you can
>> just use Explorer or a command prompt, or write a batch file.
>> 
>> -Joe
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  http://lists.samba.org/mailman/listinfo/samba
>> --
>> To unsubscribe from this list go to the following URL and read the
>> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>-- 
>Andrew Bartlett
>abartlet at pcug.org.au
>-- 

Hi Andrew,

I tried it recently using the 2.0.9 source and cygwin 1.3.2. There are some "bad" messages during ./configure 
and I'm not experienced enough to fix/go around it:

checking target system type... Invalid configuration `i386-unknown-cygwin32': system `cygwin32' not 
recognized

I think this can be ignored safely. All other tests are running fine until:

ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config

I think this is relevant for the server side only but I can't find an option to disable server compilation. 
Any suggestions?

Ciao Oliver

Return-Path: <monyo at tomoyo.home.monyo.com>
Delivered-To: samba at lists.samba.org
Received: from tigris.allnet.ne.jp (tigris.allnet.ne.jp [210.228.3.47])
  by lists.samba.org (Postfix) with ESMTP id C1A3F4212 for
  <samba at lists.samba.org>; Sun, 17 Jun 2001 11:59:57 -0700 (PDT)
Received: from ganga.home.monyo.com (ganga.home.monyo.com
  [192.168.10.37]) by tigris.allnet.ne.jp
  (8.9.3+3.2W/3.7W-HOME-MONYO-COM) with ESMTP id EAA02889 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 04:04:30 +0900
Received: from tomoyo.home.monyo.com (tomoyo.home.monyo.com
  [192.168.10.36]) by ganga.home.monyo.com (8.9.3/8.9.3) with SMTP id
  EAA23351 for <samba at lists.samba.org>; Mon, 18 Jun 2001 04:04:29 +0900
Received: (qmail 3645 invoked from network); 17 Jun 2001 19:04:27 -0000
Received: from localhost (127.0.0.1) by localhost with SMTP; 17 Jun 2001
  19:04:27 -0000
To: tpot at valinux.com
Cc: samba at lists.samba.org, sugj-tech at samba.gr.jp
Subject: Re: limit on the share name to 13 characters?
In-Reply-To: <20010611171238.H23265 at va.samba.org>
References: <3B248CC3.A247FCB5 at farmexim.ro>
  <2fhexnufq7.wl at tomoyo.home.monyo.com>
  <20010611171238.H23265 at va.samba.org>
X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Crater Lake)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20010618040427N.monyo at tomoyo>
Date: Mon, 18 Jun 2001 04:04:27 +0900
From: TAKAHASHI Motonobu <monyo at tomoyo.home.monyo.com>
X-Dispatcher: imput version 20000228(IM140)
Lines: 40
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

>> We have already found this problem that ...
>> 
>> Also a share name with over 12 characters is not available against
>> Windows NT/2000.

I have a mistake. Against Windows 2000, a long share name with 127
characters is available. 

But Samba server is not completely same as Windows NT/2000 server.

Against Windows NT/2000 share, Windows 2000 clients can access a
share with 127 characters such as 

 \\server\<127chars>

Against Samba, Windows 2000 clients can access a share with 127
characters including the server name in UNC such as

\\server\<120chars>.

There are 7 chars in "server\" (we can ignore a '\\'), so only 120
chars share name is allowed.

>This bug is fixed in Samba 2.2.  It turns out it is actually a bug in
>the Windows NT handling of ascii smb clients. 
>
>Tim.

Is it true?

I tested Samba 2.2.0 and CVS SAMBA_2_2 branch against Windows NT 4.0
Service Pack 6, but they work same as Samba 2.0.9, Windows NT client
cannot access a share with over 13 characters.

-----
TAKAHASHI Motonobu                    mailto:monyo at samba.gr.jp
Samba Users Group Japan               http://www.samba.gr.jp/

Return-Path: <ctooley at amoa.org>
Delivered-To: samba at samba.org
Received: from amoa.org (amoa.org [207.207.51.226]) by lists.samba.org
  (Postfix) with SMTP id 3CDE243FE for <samba at samba.org>; Sun, 17 Jun
  2001 12:20:29 -0700 (PDT)
Received: by amoa.org(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id
  86256A6E.006AB9AB ; Sun, 17 Jun 2001 14:25:43 -0500
X-Lotus-FromDomain: AMOA
From: ctooley at amoa.org
To: samba at samba.org
Message-ID: <86256A6E.006AB922.00 at amoa.org>
Date: Sun, 17 Jun 2001 14:25:41 -0500
Subject: Printing Migraines
Mime-Version: 1.0
Content-type: text/plain; charset="us-ascii"
Content-Disposition: inline
X-Converted-To-Plain-Text: from multipart/mixed by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm trying madly to fix a printing related problem and seem to beating my head
against the wall.  If someone could help I'd be greatful.

Vitals:

Samba-2.2.0 acting as PDC
LPRng 3.6.26
Windows 9x clients (various versions of Windows 98)

smb.conf and printcap attached

Let me know what else would be helpful.

Chris Tooley


(See attached file: smb.conf)(See attached file: printcap)

[demime 0.98b removed an attachment of type application/octet-stream which had a name of smb.conf]

[demime 0.98b removed an attachment of type application/octet-stream which had a name of printcap]

Return-Path: <jan at artstor.de>
Delivered-To: samba at lists.samba.org
Received: from webstor1.artstor.de (unknown [195.243.248.130]) by
  lists.samba.org (Postfix) with SMTP id A210E472C for
  <samba at lists.samba.org>; Sun, 17 Jun 2001 13:59:15 -0700 (PDT)
Received: (qmail 16764 invoked from network); 17 Jun 2001 21:04:07 -0000
Received: from pd9043fb5.dip.t-dialin.net (HELO gate.strohbehn.de)
  (root at 217.4.63.181) by www.artstor.de with SMTP; 17 Jun 2001 21:04:07
  -0000
Received: from artstor.de (penguin.artnet-online.de [192.168.1.1]) by
  gate.strohbehn.de (8.9.3/8.8.8) with ESMTP id PAA01424 for
  <samba at lists.samba.org>; Sat, 21 Jul 2001 15:47:15 +0200
Message-ID: <3B2D1AEA.2EE12C15 at artstor.de>
Date: Sun, 17 Jun 2001 23:02:34 +0200
From: Jan Strohbehn <jan at artstor.de>
Organization: ArtStor AG
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.18 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: bug reporting
References: <SAK.2001.06.17.nbtghlin at work>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi !!

The last days we were working hard to integrate samba, especially with
acl support (xfs) and winbind. While working on that we found some small
bugs, which could mostly be fixed by ourselves. 
We are sure this might be helpful, but we are not sure where we could
report such bugs (and perhaps their fixes ;-)
Can anyone help??

Jan

Return-Path: <richard at sheflug.co.uk>
Delivered-To: samba at lists.samba.org
Received: from zetnet.co.uk (irwell.zetnet.co.uk [194.247.47.48]) by
  lists.samba.org (Postfix) with ESMTP id 20D7247FB for
  <samba at lists.samba.org>; Sun, 17 Jun 2001 14:10:56 -0700 (PDT)
Received: from sheflug (man-s179.dialup.zetnet.co.uk [194.247.45.50]) by
  zetnet.co.uk (8.11.3/8.11.3/Debian 8.11.2-1) with SMTP id f5HLFSZ31382
  for <samba at lists.samba.org>; Sun, 17 Jun 2001 22:15:28 +0100
Content-Type: text/plain; charset="iso-8859-1"
From: Richard Ibbotson <richard at sheflug.co.uk>
Organization: Sheffield Linux User's Group
To: Samba List <samba at lists.samba.org>
Subject: Configuration Problem
Date: Sun, 17 Jun 2001 22:14:56 +0100
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01061722145602.01407 at sheflug>
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Dear All

Recently a friend asked me to build and install a Samba server for
him.  I don't usually do that sort of thing.  However, on this
ocassion I thought I'd have a go.  I should have know better :)  I'm
not good at Samba configuration.

After building and installing the machine I find that five Win98
machines can see the server on the network and all of them can create
and delete files on the server with the help of windows explorer in
the way that the owner of the network wants it.  Security is minimal
because there is no internet connection and all users need to view
each others work.

However, when I open a document with Lotus Smartsuite - all of them
have been created with Smartsuite - I get an error message in windows
which explains that the docs are write protected and cannot be saved.

Furthermore, once I have used one Win98 machine to open or save a
document I find that I get other error messages from other Win98
machines until I reboot the complete network.  Examples are......


" In use by another program and cannot be opened by Wordpro"
"unable to create"
" Check security privileges over the network drive"

The documents are just copied over to the Samba server from the
windows machine where they were originally.  I did try a few
experiments where I did 'chmod 777 /home/docs' and 'chmod 755
/home/docs' but that doesn't produce results either.

Seems to me that something is fundamentally wrong with smb.conf but
because I'm new to this I'm not sure which part to change.  I've read
the Samba docs and man pages as well as O'Reilly's Using Samba.  Not
much help there.

So..... can anyone tell me what I've done wrong here ?  The smb.conf
file can be seen below.  Yes, I know all the stored docs on the
server should be under /usr but I chose /home for
convenience...............


# Global parameters
[global]
	public = yes
	workgroup = workgroup
	netbios name = penguin
	guest ok = yes
	security = user
	keepalive = 30
	logon script = %U.bat
	log file = /var/log/log.m%
	log level = 10
	domain logons = yes
	domain master = yes
	os level = 65
	wins support = yes
	kernel oplocks = no
	password level = 8
	hosts allow = 192.168.1., 127.

[homes]
	comment = home directory
	path = /home
	create mask = 0775
	directory mask = 0755
	browseable = yes
	writable = yes
	locking = no

[printers]
	comment = All Printers
	path = /tmp
	create mask = 0700
	printable = yes

[tmp]
	comment = temporary files
	path = /tmp
	read only = yes


--
Richard

Return-Path: <u13471 at hs-harz.de>
Delivered-To: samba at samba.org
Received: from steinadler.fh-harz.de (unknown [194.95.16.230]) by
  lists.samba.org (Postfix) with ESMTP id 52DCF4214 for
  <samba at samba.org>; Sun, 17 Jun 2001 15:17:04 -0700 (PDT)
Received: from hs-harz.de ([194.95.18.55]) by steinadler.fh-harz.de
  (Netscape Messaging Server 3.6)  with ESMTP id AAAE0F98 for
  <samba at samba.org>; Mon, 18 Jun 2001 00:21:36 +0200
Message-ID: <3B2D2D94.A5A8C26B at hs-harz.de>
Date: Mon, 18 Jun 2001 00:22:12 +0200
From: "Edgar Soldin" <u13471 at hs-harz.de>
Organization: Hochschule Harz
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at samba.org
Subject: [Fwd: Re: samba with DOMAIN security?]
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

U can search for a long time w/o any success. Its not in there.
Unlike a NTbox Server Samba doesn't create this share automatically. You
have to create it manually like any other share. you can use unix
premissions or smb.conf valid user setting to restrict access to.
Refer smb.conf Docs for that ;).

Peace-Ed

Andrew Lyon wrote:
> 
> Hi,
> 
> I've been trying to get samba working with DOMAIN security but I am getting
> nowhere, all I want is for user Administrator in domain Engineering to be
> able to access //LinuxServer/root which is / on the LinuxServer, I've been
> reading the doc's for 2 days and I'm sure ive done most things right, is
> there any more howto's or help available?
> 
> Andy
> 
> ************************************************************
> Registered Office:
> J.O. Sims Ltd
> Pudding Lane
> Pinchbeck
> Spalding
> Lincs
> PE11 3TJ
> Company reg No: 2084187 Vat reg No: GB 437 4621 47
> Tel: +44 (0) 1775 842100
> Fax: +44 (0) 1775 842101
> Web: www.josims.com
> Email: enquiries at josims.com
> 
> ************************************************************
> The information contained in this e-mail is confidential
> and is intended for the addressee only. The contents of
> this e-mail must not be disclosed or copied without the
> sender's consent. If you are not the intended recipient of
> the message, please notify the sender immediately, and
> delete the message.
> 
> The statements and opinions expressed in this message are
> those of the author and do not necessarily reflect those
> of the company. No commitment may be inferred from the
> contents unless explicitly stated.  The company does not
> take any responsibility for the personal views of the
> author.
> 
> This message has been scanned for viruses before sending,
> but the company does not accept any responsibility for
> infection and recommends that you scan any attachments.
> ************************************************************
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
public class WhoDidIt{ // A comment. I love comments 
  private static Person sender;

  public static void main (String[] foo){
      sender = new Student();

      sender.setName({"Edgar", "Soldin"});
      sender.setCourse("Computerscience for media and art");

      Adress address=new Adress();
      address.setStreet("Friedrichstr. 57-59 Wh 4.511");
      address.setZip(38855);
      address.setCity("Wernigerode");
      adress.setCountry("Germany");

      sender.setAdress(address);
      sender.setMobilePhone("+49171-2782880");
      sender.setWebSiteUrl(" http://www.soldin.de ");
      sender.setEmail(" edgar at soldin.de ");
      sender.setGender(true);

      System.out.println(sender.toString());
  }
}

Return-Path: <ctooley at amoa.org>
Delivered-To: samba at samba.org
Received: from amoa.org (amoa.org [207.207.51.226]) by lists.samba.org
  (Postfix) with SMTP id 4828E4542 for <samba at samba.org>; Sun, 17 Jun
  2001 15:35:50 -0700 (PDT)
Received: by amoa.org(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id
  86256A6E.007C9B66 ; Sun, 17 Jun 2001 17:41:02 -0500
X-Lotus-FromDomain: AMOA
From: ctooley at amoa.org
To: samba at samba.org
Message-ID: <86256A6E.007C9B53.00 at amoa.org>
Date: Sun, 17 Jun 2001 17:41:00 -0500
Subject: FIXED: Re: Printing Migraines
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Well, I finally found the solution to the problem.  However, I'm not sure why it
works now or what got changed on the linux box by making the permissions change
on the NT box.  If someone could enlighten me I'd be grateful.

After beating my head against the wall for numerous hours, I finally found a
solution to the problem.  I went into the "Permissions" of the printer from an
NT box (I don't use NT Workstation or 2000 Pro on my desktops) and noticed that
"Everyone" was set to Manage Documents.  After setting "Everyone" to Print, it
worked.  Viola, that was magic.  Now, I have no idea what got changed on the
Linux box so if I get into this situation again, I'll again be lost.  Also, I
understand the gui Windows tools aren't completely supported at the moment
(adding users to groups for example doesn't work) which doesn't bother me, but
how do I make the setting so all the users have management of the que?

I've been around Samba for quite a while and have always been impressed with
everything I've seen, even when it takes forever to find something minor, so I'm
glad I got this figure out.

Again, if someone who is in the know could enlighten me, I'd appreciate it.

Chris Tooley







ctooley at amoa.org on 06/17/2001 02:25:41 PM
                                                              
                                                              
                                                              
  To:          samba at samba.org                                
                                                              
  cc:          (bcc: Chris Tooley/AMOA)                       
                                                              
                                                              
                                                              
  Subject      Printing Migraines                             
  :                                                           
                                                              






I'm trying madly to fix a printing related problem and seem to beating my head
against the wall.  If someone could help I'd be greatful.

Vitals:

Samba-2.2.0 acting as PDC
LPRng 3.6.26
Windows 9x clients (various versions of Windows 98)

smb.conf and printcap attached

Let me know what else would be helpful.

Chris Tooley


(See attached file: smb.conf)(See attached file: printcap)

[demime 0.98b removed an attachment of type application/octet-stream which had a
name of smb.conf]

[demime 0.98b removed an attachment of type application/octet-stream which had a
name of printcap]
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <onethumb at onethumb.com>
Delivered-To: samba at lists.samba.org
Received: from femail2.sdc1.sfba.home.com (femail2.sdc1.sfba.home.com
  [24.0.95.82]) by lists.samba.org (Postfix) with ESMTP id 17C7048C2 for
  <samba at lists.samba.org>; Sun, 17 Jun 2001 15:36:25 -0700 (PDT)
Received: from vunicorn ([65.3.210.184]) by femail2.sdc1.sfba.home.com
  (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id
  <20010617224059.CYQF26828.femail2.sdc1.sfba.home.com at vunicorn> for
  <samba at lists.samba.org>; Sun, 17 Jun 2001 15:40:59 -0700
Message-ID: <013b01c0f77e$94e41750$637ba8c0 at vunicorn>
From: "Don MacAskill" <onethumb at onethumb.com>
To: <samba at lists.samba.org>
Subject: WindowsXP and samba 2.2
Date: Sun, 17 Jun 2001 15:40:59 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 6.00.2486.0000
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I've gotten WinXP and samba 2.2 to work together and thought others might like
to know.

After wrestling with trying to bind my existing WinXP install to a domain,
with absolutely no luck ("Procedure out of range" no matter what I tried), I
decided to install Win2K, bind it to a domain and then upgrade that install to
WinXP.

And it worked great!  I can login and use my shared profile and all the rest
of the good stuff.

Hope that helps some of the rest of you...

Don

Return-Path: <urban at teststation.com>
Delivered-To: samba at lists.samba.org
Received: from fungus.teststation.com (fungus.teststation.com
  [212.32.186.211]) by lists.samba.org (Postfix) with ESMTP id 3370B48F0
  for <samba at lists.samba.org>; Sun, 17 Jun 2001 16:00:55 -0700 (PDT)
Received: from cola.teststation.com (tron.teststation.com
  [212.32.186.212]) by fungus.teststation.com (8.11.2/8.11.2) with ESMTP
  id f5HN5B026845; Mon, 18 Jun 2001 01:05:11 +0200
Date: Mon, 18 Jun 2001 01:05:09 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Oliver Six <o.six at cahos.net>
Cc: <samba at lists.samba.org>
Subject: Re: FW:Samba under cygwin? (was: Re: (no subject))
In-Reply-To: <SAK.2001.06.17.nbtghlin at work>
Message-ID: <Pine.LNX.4.30.0106180054380.32736-100000 at cola.teststation.c
  om>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Sun, 17 Jun 2001, Oliver Six wrote:

> I tried it recently using the 2.0.9 source and cygwin 1.3.2. There are some "bad" messages during ./configure 
> and I'm not experienced enough to fix/go around it:
> 
> checking target system type... Invalid configuration `i386-unknown-cygwin32': system `cygwin32' not 
> recognized
> 
> I think this can be ignored safely. All other tests are running fine until:
> 
> ERROR: No locking available. Running Samba would be unsafe
> configure: error: summary failure. Aborting config

The error is caused by this bit in tests/summary.c:

#if !(defined(HAVE_FCNTL_LOCK) || defined(HAVE_STRUCT_FLOCK64))
        printf("ERROR: No locking available. Running Samba would be unsafe\n");
        exit(1);
#endif
(from 2.2.0, I'm sure 2.0.9 has the same test)

Either check what sort of locking cygwin really has, and fix configure.in
to detect it (may need to get it to handle 'i386-unknown-cygwin32' ...)
Or just disable this test in tests/summary.c, reconfigure and see if
smbclient works.

/Urban

Return-Path: <tpot at samba.org>
Delivered-To: samba at lists.samba.org
Received: by lists.samba.org (Postfix, from userid 1007) id B25B64909;
  Sun, 17 Jun 2001 16:06:09 -0700 (PDT)
From: Tim Potter <tpot at valinux.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15149.14431.627420.682748 at frungy.org>
Date: Mon, 18 Jun 2001 09:08:15 +1000 (EST)
To: Jan Strohbehn <jan at artstor.de>
Cc: samba at lists.samba.org
Subject: Re: bug reporting
In-Reply-To: <3B2D1AEA.2EE12C15 at artstor.de>
References: <SAK.2001.06.17.nbtghlin at work>
  <3B2D1AEA.2EE12C15 at artstor.de>
X-Mailer: VM 6.75 under Emacs 20.7.2
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Jan Strohbehn writes:

> Hi !!
> 
> The last days we were working hard to integrate samba, especially with
> acl support (xfs) and winbind. While working on that we found some small
> bugs, which could mostly be fixed by ourselves. 
> We are sure this might be helpful, but we are not sure where we could
> report such bugs (and perhaps their fixes ;-)
> Can anyone help??

Try samba-technical at lists.samba.org if you have patches and
stuff.  You may also want to cc: patches to
samba-patches at lists.samba.org so they don't get lost.


Tim.

> 
> Jan
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <spawn at rloteck.com>
Delivered-To: samba at lists.samba.org
Received: from magna.rloteck.com (rloteck.com [66.120.25.60]) by
  lists.samba.org (Postfix) with ESMTP id 770BC420D for
  <samba at lists.samba.org>; Sun, 17 Jun 2001 20:06:39 -0700 (PDT)
Received: from SPAWN ([66.120.25.58]) by magna.rloteck.com with SMTP
  (Microsoft Exchange Internet Mail Service Version 5.5.2650.21) id
  NDADW72K; Sun, 17 Jun 2001 08:11:13 -0700
From: "Rafael Leiva-Ochoa" <spawn at rloteck.com>
To: <samba at lists.samba.org>
Subject: Mac OSX with Samba give me no access no matter what user name i
  put or password...........
Date: Sun, 17 Jun 2001 08:11:13 -0700
Message-ID: <LGENLHHKBCCCLPMMPGDMIEABCAAA.spawn at rloteck.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello Samba Team.

         I have set up my samba server and it working great but one thing,
ever time i try to access the share it asks me for a user name and password.
I tried all the user name on the Win2k box and the Mac OSX Box. I can see
the share in my network but can not access it. What did i do wrong. Here is
the config i put.

[global]
workgroup = rloteck
netbios name = apple
server string = apple.rloteck.com
encrypt passwords = yes
domain admin group = @rloteck <------this is my win2k domain name (rloteck)
os level = 255.
prefered master = yes
domain master = yes
comment apple.rloteck.com
host allow = spawn, magna, magnia
log file = /var/log/samba/%m.log
log level = 3
syslog = 0
time server = yes
domain logons = yes
security = user
local master = yes
encrypt passwords = yes
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd program = /usr/bin/passwd %u
logon script = %U.bat
character set = ISO8859-1
client code page = 850

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at lists.samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 9C5984232 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 00:19:54 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5I7OOp00155; Mon, 18 Jun 2001 09:24:24 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id JAA27374; Mon, 18
  Jun 2001 09:24:24 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id JAA09914; Mon, 18 Jun
  2001 09:24:24 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: <samba at lists.samba.org>, "Rafael Leiva-Ochoa" <spawn at rloteck.com>
Date: Mon, 18 Jun 2001 09:24:23 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Mac OSX with Samba give me no access no matter what user
  name i  put or password...........
Message-ID: <3B2DC8C7.22663.14468C at localhost>
Priority: normal
In-reply-to: <LGENLHHKBCCCLPMMPGDMIEABCAAA.spawn at rloteck.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Hello Samba Team.
> 
>          I have set up my samba server and it working great but one thing,
> ever time i try to access the share it asks me for a user name and password.
> I tried all the user name on the Win2k box and the Mac OSX Box. I can see
> the share in my network but can not access it. What did i do wrong. Here is
> the config i put.
> 
> [global]
> workgroup = rloteck
> netbios name = apple
> server string = apple.rloteck.com
> encrypt passwords = yes
You have done all the steps to set them up? smbpasswd is full of user 
names and passwords ?

> domain admin group = @rloteck <------this is my win2k domain name (rloteck)
> os level = 255.
no dot,
62 should be enough

> prefered master = yes
> domain master = yes
> comment apple.rloteck.com
comment = apple.rloteck.com ?!

> host allow = spawn, magna, magnia
Do you still get the access denied if you comment this out, restart 
samba and try again?

> log file = /var/log/samba/%m.log
> log level = 3
What say the logs?

> syslog = 0
> time server = yes
> domain logons = yes
> security = user
> local master = yes
> encrypt passwords = yes
> passwd chat = *new*password* %n\n *new*password* %n\n *changed*
> passwd program = /usr/bin/passwd %u
> logon script = %U.bat
> character set = ISO8859-1
> client code page = 850
Any shares defined?

Just some quick thoughts,

Christian


> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 9C953426E for
  <samba at samba.org>; Mon, 18 Jun 2001 00:24:04 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5I7SYp00585; Mon, 18 Jun 2001 09:28:34 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id JAA28153; Mon, 18
  Jun 2001 09:28:35 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id JAA10168; Mon, 18 Jun
  2001 09:28:36 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: samba at samba.org, sigrid.belbo at edbteamco.com
Date: Mon, 18 Jun 2001 09:28:35 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: (no subject)
Message-ID: <3B2DC9C3.13485.181D54 at localhost>
Priority: normal
In-reply-to: <59127C898DA6D21184180090271DDA93011AC701 at bdr-bo-24-200.nor
  d  .telenor.no>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> I hope someone can help me.....
> 
> We are running SAMBA 2.0.7 in a AIX 4.3.3 system.
> Have made the share 'Kartdatabase', and use security=user. The users don't
> need unix-account and password to get access to the filesystem. They have
> only read access.
> Is it possible to give some of the users  write-access to one particular
> directory in the filesystem (share)? How?
Unix permissions and "write list = ", but then at least these useres 
should need a unix-account and password. The name is needed in any 
case to distinguish the users. May be "map to guest = bad user" may 
help you there. May be set up one guest share and the same directory 
as normal share for the guys that should have wirte access.

Christian


> 
> 
> mvh
> 
> Sigrid Belbo
> EDB Teamco, Drift UNIX/NT
> Jernbaneveien 69, 8012 BODX
> e-mail:sigrid.belbo at edbteamco.com
> Tlf:75513413
> mob:95028564
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at lists.samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 6016F4808 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 00:39:37 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5I7i7p02624; Mon, 18 Jun 2001 09:44:07 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id JAA00704; Mon, 18
  Jun 2001 09:44:08 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id JAA11113; Mon, 18 Jun
  2001 09:44:09 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: Samba List <samba at lists.samba.org>, Richard Ibbotson
  <richard at sheflug.co.uk>
Date: Mon, 18 Jun 2001 09:44:07 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Configuration Problem
Message-ID: <3B2DCD67.14832.2658BB at localhost>
Priority: normal
In-reply-to: <01061722145602.01407 at sheflug>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Dear All
> 
> Recently a friend asked me to build and install a Samba server for
> him.  I don't usually do that sort of thing.  However, on this
> ocassion I thought I'd have a go.  I should have know better :)  I'm
> not good at Samba configuration.
> 
> After building and installing the machine I find that five Win98
> machines can see the server on the network and all of them can create
> and delete files on the server with the help of windows explorer in
> the way that the owner of the network wants it.  Security is minimal
> because there is no internet connection and all users need to view
> each others work.
> 
> However, when I open a document with Lotus Smartsuite - all of them
> have been created with Smartsuite - I get an error message in windows
> which explains that the docs are write protected and cannot be saved.
> 
> Furthermore, once I have used one Win98 machine to open or save a
> document I find that I get other error messages from other Win98
> machines until I reboot the complete network.  Examples are......
> 
> 
> " In use by another program and cannot be opened by Wordpro"
> "unable to create"
> " Check security privileges over the network drive"
This sounds like a locking problem.
But I had similar messages on Win98 when the file transfer was 
aborded due to a brocken repeater on the network.
What do the samba logs say?

> 
> The documents are just copied over to the Samba server from the
> windows machine where they were originally.  I did try a few
> experiments where I did 'chmod 777 /home/docs' and 'chmod 755
> /home/docs' but that doesn't produce results either.
> 
> Seems to me that something is fundamentally wrong with smb.conf but
> because I'm new to this I'm not sure which part to change.  I've read
> the Samba docs and man pages as well as O'Reilly's Using Samba.  Not
> much help there.
> 
> So..... can anyone tell me what I've done wrong here ?  The smb.conf
> file can be seen below.  Yes, I know all the stored docs on the
> server should be under /usr but I chose /home for
> convenience...............
> 
> 
> # Global parameters
> [global]
> 	public = yes
> 	workgroup = workgroup
> 	netbios name = penguin
> 	guest ok = yes
> 	security = user
> 	keepalive = 30
> 	logon script = %U.bat
> 	log file = /var/log/log.m%
> 	log level = 10
> 	domain logons = yes
> 	domain master = yes
> 	os level = 65
> 	wins support = yes
> 	kernel oplocks = no
> 	password level = 8
> 	hosts allow = 192.168.1., 127.
> 
> [homes]
> 	comment = home directory
> 	path = /home
Homes has normaly not a path = line, becaues the path is automaticaly 
the users home directory

> 	create mask = 0775
> 	directory mask = 0755
You need wirte permissions on the directory to save a new (tmp-) 
file, or to delete a file. Try 0777 as a test.

> 	browseable = yes
> 	writable = yes
> 	locking = no
This would have been my proposal for your problem ....

Christian


> 
> [printers]
> 	comment = All Printers
> 	path = /tmp
> 	create mask = 0700
> 	printable = yes
> 
> [tmp]
> 	comment = temporary files
> 	path = /tmp
> 	read only = yes
> 
> 
> --
> Richard
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <famanfo at dymeds.com>
Delivered-To: samba at lists.samba.org
Received: from dymeds.com (unknown [212.153.3.11]) by lists.samba.org
  (Postfix) with ESMTP id 67FB549AA for <samba at lists.samba.org>; Mon, 18
  Jun 2001 01:47:50 -0700 (PDT)
Received: from einstein ([212.153.3.4]) by dymeds.com (8.11.0/8.11.0)
  with SMTP id f5I7nr212598 for <samba at lists.samba.org>; Mon, 18 Jun
  2001 09:49:53 +0200
Message-ID: <001201c0f7d3$abe3b140$74fea8c0 at einstein>
Reply-To: "Francis Amanfo" <famanfo at dymeds.com>
From: "Francis Amanfo" <famanfo at dymeds.com>
To: <samba at lists.samba.org>
Subject: can't find samba server in WIN2K, please help!
Date: Mon, 18 Jun 2001 10:50:05 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 6.00.2462.0000
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,
I have had my samba server running smoothly for sometime now until recently
when our internal network configuration was changed. The ip adress of the
server was an officially  assigned ip of 212.158.3.97 with netmask
255.255.255.0. All windows cleint had also offcially assigned IP of
212.153.3.x, x<255. Everything did run smoothly until we reconfigured all the
clients reassigning them with a private class C IP numbers, 192.168.254.x,
x<255 and netmask of  255.255.255.0. The samba server did however maintained
its original officially assigned IP number.
How can the windows clients access the samba server in this new network
configurations? Thanks in advance for your help.

Francis.

Return-Path: <riest at franksintl.nl>
Delivered-To: samba at samba.org
Received: from tiny.int.franksintl.nl (goblin.franksintl.nl
  [195.193.231.154]) by lists.samba.org (Postfix) with ESMTP id
  C72A7476C for <samba at samba.org>; Mon, 18 Jun 2001 01:52:06 -0700 (PDT)
Received: from cp35 (cp35.int.franksintl.nl [192.168.4.249]) by
  tiny.int.franksintl.nl (8.11.4/8.11.4/Debian 8.9.3-21) with ESMTP id
  f5I8rQl07283; Mon, 18 Jun 2001 10:53:26 +0200
From: "Ries van Twisk" <riest at franksintl.nl>
To: cb494 at cyberware.co.uk, samba at samba.org
Date: Mon, 18 Jun 2001 10:53:17 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Query regarding embedded NT & known bugs with high traffic 
  volumes
Reply-To: ries at franksintl.nl
Message-ID: <3B2DDD9D.17756.F9E8325 at localhost>
Priority: normal
In-reply-to: <20010615.15561700 at BLUE.>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Dear Sir,
> 
> 	Please accept my apologies in advance, but I wasn't sure who else to
> turn to for advice.
No problem.
> 
> 	I work in the Test & Integration dept. (some companies call such a
> team the "V.V. & T. Dept") of a mobile communications Company based in
> Cambridge, England.  To date our base stations and our base site
> controllers run the VxWorks RTOS, and whilst it is far from perfect,
> this RTOS handles the volumes of data thrown at it during testing
> perfectly adequately.  Because of a tie up with a foreign firm, our
> System Design team are considering moving across to using Embedded NT
> as the RTOS.  This worries me - I have read various articles that
> state that "ordinary" NT cannot cope with large quantities of traffic,
> but I cannot find any definitive statements along the lines of:
That should should worry me to. 

> 	So much traffic of such a packet size at such a rate causes this
> problem or that problem.
> 
> 	I admit I'm biased - I like GNU/Linux & I don't like Microsoft.  All
> our in house developed test tools - the real time air interface
> channel monitor, our protocol test tool and its accompanying tool kit
> (s/w MUX, U-Plane gateway, Fibre Optic & Ethernet interface etc.) -
> are all written for GNU/Linux and these tools have proved very robust
> and extremely useful.
> 
> 	I would be very grateful if you would tell me where I should look to
> find one or more detailed bug lists showing the problems people have
> found with NT - preferably embedded NT.  Volume & stress & soak
> failures are of particular interest as our kit is used in the public
> safety market and needs to be extremely reliable.
> 
Take a look at this site: www.qnx.com
Also read the attachments I've send you privatly (If anybody else need them 
please drop a private mail).

After reading the docs I think you know the answer, don't go for NT as a 
embedded system, at just was not desgined for it.

On the webside you can download a free version of QNX. It's posible to get a 
eval version and try it out. I had a realtime app created and compiled within 
30minutes. Hooking a function into a interrupt chain is real easy (calling two 
functions) Try this in NT, it's nearly impossible.
QNX runs a Unix like kernel which is capable of doing nearly everything Linux 
can do. Also note that the have a file system that is capable of doing fast 
recovery from power failures and QNX can be run from ROM.


Ok, I have said to much.....I like QNX :-)

Ries

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id B2AF24784 for
  <samba at samba.org>; Mon, 18 Jun 2001 02:38:53 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f5I1hAx15013; Mon, 18 Jun 2001 05:43:10 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  samera.com (8.9.3/8.9.3) with ESMTP id FAA31940; Mon, 18 Jun 2001
  05:41:53 -0400
Message-ID: <3B2DCCE3.4070304 at samera.com.py>
Date: Mon, 18 Jun 2001 05:41:55 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.1)
  Gecko/20010607 Netscape6/6.1b1
X-Accept-Language: en-us, es-py
MIME-Version: 1.0
To: Bharani Subramanian <bharanis at ssi-technologies.com>
Cc: samba at samba.org
Subject: Re: Text files
References: <CEDCC58BE65CD511985D00A0C9C8532F2460B6 at MADRAS>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

You have to do it manually.
Try dos2unix or unix2dos.
Also in Windows, open the files with wordpad and all should work fine

Oliver.

Bharani Subramanian wrote:

>Hi,
>i have successfully installed the samba server in our environment. but i
>have problems with text fiels. is there an option like "Text" mode transfer
>available.please help
>
>regards
>
>Bharani
>

-- 
Oliver Schulze L.
oliver at samera.com.py
Asuncion-Paraguay

Return-Path: <weber at susde.cjb.net>
Delivered-To: samba at samba.org
Received: from susde.cjb.net (pD950AB4F.dip.t-dialin.net
  [217.80.171.79]) by lists.samba.org (Postfix) with ESMTP id 85BBF4465
  for <samba at samba.org>; Mon, 18 Jun 2001 04:30:20 -0700 (PDT)
Received: from localhost (weber at localhost) by susde.cjb.net
  (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id NAA13462 for
  <samba at samba.org>; Mon, 18 Jun 2001 13:04:11 +0200
Date: Mon, 18 Jun 2001 13:04:10 +0200 (CEST)
From: Wendolin Weber <weber at susde.cjb.net>
To: samba at samba.org
Message-ID: <Pine.LNX.4.21.0106181304100.13460-100003 at susde.cjb.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from MULTIPART/MIXED by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Subject: (no subject)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Sehr geehrte Damen und Herren,

anbei erhalten Sie drei Seiten, die belegen, wie durch 
vorsaetzliche Vorverurteilung, 
eine beispiellose Vernichtungsaktion von Menschen,
Kapital, Firmen und Recht in Deutschland betrieben wurde 
und wird.

Diese beispiellose Vernichtung u.a. meiner Existenz, wurde
zur Vertuschung staatlicher Uebergriffe mit dem "Argument"
des Mietwuchers begruendet.

Dies war, wie sie selber lesen koennen, nicht nur eine 
unzulaessige Vorverurteilung, sondern schlicht weg 
eine Luege seitens staatlicher Organe !

In finsterster "Wildwestmanier" wurde Lynchjustiz betrieben
und dies wurde mit Luegen pseudo-legetimiert.

Es wurde dabei jedes Rechtsstaatsprinzip vorsaetzlich
aufgegeben.

Die als Anlage beigefuegten Dokumente sind Chronologisch
absteigend sortiert. Das heisst, das neuste Dokument zuerst
das aelteste zuletzt.

Diese Dokumente wurden mir  ueber einen Zeitram von rund sechs Jahren,
nach der Einstellung durch die Staatsanwaltschaft Duesseldorf
vorenthalten, um weiterhin die Vernichtung gaenzlich zuende zu fuehren,
und scheinbar legal ausehen zu lassen.


              yours sincerely               mit freundlichem Gruss
                              Wendolin Weber     
        http://susde.cjb.net          http://ChronikderWillkuer.atwork.to
              wendolinw at arcormail.de  wendolinw at mailcc.com  

********************************************************************************
Postanschrift:       Weber, Wendolin  !  Hausadresse:  Weber, Wendolin
                     Postfach 201402  !                Giesenkirchener Str. 55 
               41214 Moenchengladbach !                41238 MOENCHENGLADBACH 
                                      !                Tel:02166/120128
===============================================================================
                       e-mail : weber at susde.cjb.net
e-mail : wendolinw at mailcc.com             e-mail : wendolinw at arcormail.de

                       http://regierung.cjb.net
       http://susde.cjb.net  		   http://members.nbci.com/sus4050/ 
       http://ChronikderWillkuer.atwork.to   http://sus4050.atwork.to/
********************************************************************************

Da ich vom Rechtsweg voellig abgeschnitten wurde,
besteht auch nicht die Moeglichkeit "Recht" schnell wieder Herzustellen.

Hinzu kommt, das alle drei Gewalten ( Judikative, Legislative, Executive)
sich ueber quasi 10 Jahre hinweg als unfaehig und nicht willens gezeigt 
haben, den "Rechtsstaat als solchen sicher zu stellen"
Es handelt sich somit, nachweislich in Deutschland um ein Willkuer-
und Unrechtsregieme, in dem nach Auskunft des Verfaasungsschutzes ,
jeder nur an SEINE Pfreunde denkt. (Das Audio des verfassungschutzes steht
 Ihnen in vollem Umfang im Internet oder auf CD-ROM zur Verfuegung)

Sollten Sie die gesamte Dokumentation auf CD-ROM wuenschen
so teilen Sie mir dies bitte mit.

Sie sollten in keinem Fall Investitionen in einem Land taetigen, 
in dem keine Rechtssicherheit  herrscht und in dem Menschen 
nach Wildwestmanier gelyncht und Hingerichtet werden.

Es wurde mir unmoeglich gemacht, unversehrt eine Familie zu gruenden.

Meine Eltern wurden um ihre letzten Ersparnisse gebracht,
andere wurde ebenso vorsaetzlich gesachaedigt.

Verfahren und andere staatliche Organe  wurden durch diese 
staatlichen Organe vorsaetzlich manipuliert.
Und es wurde Genucid betrieben.
Darueber hinaus, haben diese staatlichen Organe alle moralischen
etischen und rechtsstaatlichen Prinzipien aufgegeben.

Zum Zeitpunkt der begonnen Vernichtung war Johannes Rau
oberster Dienstherr der Landesbehoerden Ministerpraesitdent Clement
war Leiter der Staatskanzlei und 
Helmuth Kohl der oberste Diensther der Bundesbehoerden,
 die diese Vernichtung durchgefuehrt haben. 


Sollten Sie noch irgend welche  Rueckfragen haben, koennen Sie sich gerne 
an mich  oder als Vermittler  an 

          HR.R.UFERMANN 
          DIAKONISCHES WERK D.EV.KIRCHE 
          EVANGELISCHE KIRCHENGEMEINDE 
          WILHELM-STRAUSS-STR.20 
     41236 MOENCHENGLADBACH RHEYDT 
      02166 -  948651 

      wenden.! 



              yours sincerely               mit freundlichem Gruss
                              Wendolin Weber     
        http://bundesregierung.cjb.net          http://www.susd.cjb.net.
   wendolinw at arcormail.de  wendolinw at mailcc.com  wendolinw at mail.flashmail.com

[demime 0.98b removed an attachment of type IMAGE/jpeg which had a name of filesavd7m.jpg]

[demime 0.98b removed an attachment of type IMAGE/jpeg which had a name of filecsczv1.jpg]

[demime 0.98b removed an attachment of type IMAGE/jpeg which had a name of filec6duja.jpg]

Return-Path: <riest at franksintl.nl>
Delivered-To: samba at samba.org
Received: from tiny.int.franksintl.nl (goblin.franksintl.nl
  [195.193.231.154]) by lists.samba.org (Postfix) with ESMTP id
  98D9949BE for <samba at samba.org>; Mon, 18 Jun 2001 04:33:01 -0700 (PDT)
Received: from cp35 (cp35.int.franksintl.nl [192.168.4.249]) by
  tiny.int.franksintl.nl (8.11.4/8.11.4/Debian 8.9.3-21) with ESMTP id
  f5IBVPl08762 for <samba at samba.org>; Mon, 18 Jun 2001 13:31:25 +0200
From: "Ries van Twisk" <riest at franksintl.nl>
To: samba at samba.org
Date: Mon, 18 Jun 2001 13:31:17 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: [OT] TO:cb494 at cyberware.co.uk
Reply-To: ries at franksintl.nl
Message-ID: <3B2E02A5.4127.102F33F6 at localhost>
Priority: normal
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

I wanted to send you the docs but could not reach you on thje mail address.
cb494 at cyberware.co.uk

Ries

Return-Path: <DavidB at mail.interclean.com>
Delivered-To: samba at samba.org
Received: from serverdell2200.interclean.com (mail.interclean.com
  [152.160.178.23]) by lists.samba.org (Postfix) with ESMTP id EFE1649D6
  for <samba at samba.org>; Mon, 18 Jun 2001 06:08:35 -0700 (PDT)
Received: by mail.interclean.com with Internet Mail Service
  (5.5.2650.21) id <NFH9VS2Z>; Mon, 18 Jun 2001 09:12:56 -0400
Message-ID: <0F9D3D919AADD211BE7E00A0C99B8420324381 at mail.interclean.com>
From: David Brodbeck <DavidB at mail.interclean.com>
To: "'samba at samba.org'" <samba at samba.org>
Subject: Can't CVS?
Date: Mon, 18 Jun 2001 09:12:55 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm having trouble getting the Samba source code via CVS.

I enter, as instructed, 'cvs -d :pserver:cvs at pserver.samba.org:/cvsroot
login'
I get: '(Logging in to cvs at pserver.samba.org)
        cvs [login aborted]: connect to pserver.samba.org:2401 failed:
         Connection refused'


----------

David Brodbeck, System Administrator
InterClean Equipment, Inc.
Ann Arbor, Michigan
davidb at mail.interclean.com
(734) 975-2967 x221

Return-Path: <jferruz at isoco.com>
Delivered-To: samba at lists.samba.org
Received: from mad.isoco.com (unknown [212.9.69.146]) by lists.samba.org
  (Postfix) with ESMTP id 23E9F42EB for <samba at lists.samba.org>; Mon, 18
  Jun 2001 06:38:33 -0700 (PDT)
Received: from isoco.com (baco.mad.isoco.net [192.168.2.95]) by
  mad.isoco.com (Postfix) with ESMTP id 5CB13358A6 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 15:48:56 +0200 (CEST)
Message-ID: <3B2E0567.4D462B91 at isoco.com>
Date: Mon, 18 Jun 2001 15:43:03 +0200
From: Javier Ferruz <jferruz at isoco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Printer, accounting
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

	Hello, my name is Javier. I've installed a printer
	server with Linux.

	I use the accounting feature. When an user send
	a job to the printer the log file said me user, machine
	and number of pages printed (only Linux). If windows OS
	all users are 'lp'. How can I Know the user and the
	host?

	My /etc/smb.conf file is


[global]
   workgroup = isocomad
   guest account = lp
   keep alive = 30
   os level = 2
   kernel oplocks = false
   security = user

   socket options = TCP_NODELAY

   map to guest = Bad User

   wins support = no

[homes]
   comment = Heimatverzeichnis
   browseable = no
   read only = no
   create mode = 0750

[printers]
   path=/var/spool/lpd/samba
   print ok=yes
   printing = lprng
   load printers = yes
   guest ok=yes
   printcap file=/etc/printcap
   print command = /usr/bin/lpr -P%p -r %s
   lpq command = /usr/bin/lpr -P%p
   lprm command = /usr/bin/lprm -P%p %j
   lppause command = /usr/sbin/lpc hold %p %j
   lpresume command = /usr/sbin/lpc release %p %j
   queuepause command = /usr/sbin/lpc -P%p stop
   queueresume command = /usr/sbin/lpc -P%p start

	Thanks fro advance,

--
Javier Ferruz Rodrmguez
IT Dept. @ iSOCO

Return-Path: <npralle at creativesolutionsunlimited.com>
Delivered-To: samba at lists.samba.org
Received: from smtp09.phx.gblx.net (smtp09.phx.gblx.net [64.211.219.58])
  by lists.samba.org (Postfix) with ESMTP id A8CA74869 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 06:39:21 -0700 (PDT)
Received: (from daemon at localhost) by smtp09.phx.gblx.net (8.9.3/8.9.3)
  id GAA454770 for <samba at lists.samba.org>; Mon, 18 Jun 2001 06:43:51
  -0700
Received: from 208-50-106-128.nas1.SHF.gblx.net(208.50.106.128),
  claiming to be "aristotle.creativesolutionsunlimited.com" via SMTP by
  smtp09.phx.gblx.net, id smtpd.c_Paa; Mon Jun 18 06:43:47 2001
Message-Id: <5.0.2.1.2.20010618084133.04563d00 at creativesolutionsunlimite
  d.com>
X-Sender: npralle at creativesolutionsunlimited.com
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Mon, 18 Jun 2001 08:44:36 -0500
To: samba at lists.samba.org
From: "Nathan E. Pralle" <npralle at creativesolutionsunlimited.com>
Subject: Can't Write Files
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello!

Using samba-current.

I have a share and I can read the files fine on a Winblows machine, but I 
can't write to that directory or modify files.  Help?

Here is the permissions for the directory.  As you can see, they're all 777:

drwxrwxrwx   2 root     root         4096 Jun 13 11:00 zip/

Here is the listing of my smb.conf.  The share in question is the [Zip 
Drive] share.

# Samba config file created using SWAT
# from aristotle.csu.com (90.0.0.11)
# Date: 2001/06/13 14:30:37

# Global parameters
[global]
         workgroup = INTERNET
         netbios name = ARIES
         server string = Aries
         interfaces = eth0
         security = SHARE
         preferred master = False
         local master = No
         domain master = False
         admin users = root, prallena

[Zip Drive]
         comment = ZIP Drive on Internet Proxy
         path = /zip
         writable = yes
         browseable = yes
         printable = no
         public = yes
#       root preexec = mount /zip
#       root postexec = eject /zip

[Root Partition]
         comment = The Whole Hard Drive
         path = /
         public = yes
         read only = yes
         browseable = yes
         printable = no

[TEMP]
         comment = Temp Drive
         path = /tmp
         public = yes
         writable = yes
         browseable = yes


---------------------------------------------
Nathan E. Pralle
Research and Development Specialist
Creative Solutions Unlimited, Inc.
PO Box 550
203 Gilman St
Sheffield, IA 50475-0550
PH: (641)892-4466
FAX: (641)892-4333
Email: npralle at creativesolutionsunlimited.com
----------------------------------------------

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at lists.samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id D460A47E1 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 07:04:07 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5IE8ag24802; Mon, 18 Jun 2001 16:08:36 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id QAA04566; Mon, 18
  Jun 2001 16:08:37 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id QAA01178; Mon, 18 Jun
  2001 16:08:42 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: samba at lists.samba.org, Javier Ferruz <jferruz at isoco.com>
Date: Mon, 18 Jun 2001 16:08:33 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Printer, accounting
Message-ID: <3B2E2781.16812.1864C4A at localhost>
Priority: normal
In-reply-to: <3B2E0567.4D462B91 at isoco.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> 	Hello, my name is Javier. I've installed a printer
> 	server with Linux.
> 
> 	I use the accounting feature. When an user send
> 	a job to the printer the log file said me user, machine
> 	and number of pages printed (only Linux). If windows OS
> 	all users are 'lp'. How can I Know the user and the
> 	host?
> 
> 	My /etc/smb.conf file is
> 

> [printers]
>    path=/var/spool/lpd/samba
>    print ok=yes
>    printing = lprng
>    load printers = yes
>    guest ok=yes

One way is to set guest ok = no, then the lpr command is then call 
with the uid of the autenticated user. This works for me.

Christian

_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <jferruz at isoco.com>
Delivered-To: samba at lists.samba.org
Received: from mad.isoco.com (unknown [212.9.69.146]) by lists.samba.org
  (Postfix) with ESMTP id 72BBA4A44 for <samba at lists.samba.org>; Mon, 18
  Jun 2001 07:39:25 -0700 (PDT)
Received: from isoco.com (baco.mad.isoco.net [192.168.2.95]) by
  mad.isoco.com (Postfix) with ESMTP id 19795358A6; Mon, 18 Jun 2001
  16:49:49 +0200 (CEST)
Message-ID: <3B2E13AC.6015846 at isoco.com>
Date: Mon, 18 Jun 2001 16:43:56 +0200
From: Javier Ferruz <jferruz at isoco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Christian Barth <barth at cck.uni-kl.de>
Cc: samba at lists.samba.org
Subject: Re: Printer, accounting
References: <3B2E2781.16812.1864C4A at localhost>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Christian Barth wrote:
> 
> 
> > [printers]
> >    path=/var/spool/lpd/samba
> >    print ok=yes
> >    printing = lprng
> >    load printers = yes
> >    guest ok=yes
> 
> One way is to set guest ok = no, then the lpr command is then call
> with the uid of the autenticated user. This works for me.
> 

	If I set 'guest ok = no' then I get error message
	in windows. I don't use NIS or any container (like
	LDAP) so samba can't autheticated the users.

	If anybody has another solution, please said me.

	Thanks,

--
Javier Ferruz Rodrmguez
IT Dept. @ iSOCO

Return-Path: <jbenedet at unm.edu>
Delivered-To: samba at lists.samba.org
Received: from linux06.unm.edu (linux06.unm.edu [129.24.15.38]) by
  lists.samba.org (Postfix) with SMTP id BD0E04400 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 07:54:24 -0700 (PDT)
Received: (qmail 8553 invoked by uid 124); 18 Jun 2001 14:58:52 -0000
Received: from jbenedet at unm.edu by linux06.unm.edu with
  qmail-scanner-0.96 (. Clean. Processed in 0.181982 secs); 18 Jun 2001
  14:58:52 -0000
Received: from bldg87-0053.unm.edu (129.24.204.111) by linux06.unm.edu
  with SMTP; 18 Jun 2001 14:58:51 -0000
Date: Mon, 18 Jun 2001 08:55:29 -0600
From: John Benedetto <jbenedet at unm.edu>
To: samba at lists.samba.org
Subject: Re: Mac OSX with Samba give me no access no matter what user 
  name i  put or password...........
Message-ID: <717083944.992854529 at bldg87-0053.unm.edu>
In-Reply-To: <3B2DC8C7.22663.14468C at localhost>
Originator-Info: login-token=Mulberry:01QEbC2qqoJ0jAqixZV/kuTIOYNFXJdAoD
  tQ==
X-Mailer: Mulberry/2.0.5 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

--On Monday, June 18, 2001 9:24 AM +0200 Christian Barth 
<barth at cck.uni-kl.de> wrote:

>> Hello Samba Team.
>>
>>          I have set up my samba server and it working great but one
>>          thing, ever time i try to access the share it asks me for a
>> user name and password. I tried all the user name on the Win2k box and
>> the Mac OSX Box. I can see the share in my network but can not access
>> it. What did i do wrong. Here is the config i put.
>>
<SNIP>
>> domain admin group = @rloteck <------this is my win2k domain name

I thought the "@" sign referred to a Unix Group by that name, not anything 
on the Windows side.  IS there a group called "rloteck" and are you a 
member of it?

That shouldn't affect you accessing the share, though. I agree with 
Christian's comment... have you defined any shares in the SMB.CONF file?

- john

Return-Path: <mekilroy at risingedge.com>
Delivered-To: samba at lists.samba.org
Received: from mailhost.digitalselect.net (unknown [209.225.164.170]) by
  lists.samba.org (Postfix) with ESMTP id 80C1F4917; Mon, 18 Jun 2001
  07:57:52 -0700 (PDT)
Received: from wizzard.rising-edge (risingedge.com [216.181.63.36]) by
  mailhost.digitalselect.net (8.11.1/8.11.1) with SMTP id f5IF4ES98670;
  Mon, 18 Jun 2001 11:04:14 -0400 (EDT)
Received: from diamondback (unverified [192.168.0.26]) by
  wizzard.rising-edge (EMWAC SMTPRS 0.83) with SMTP id
  <B0000083423 at wizzard.rising-edge>; Mon, 18 Jun 2001 11:02:00 -0400
Message-ID: <00e701c0f807$a00e11b0$1a00a8c0 at diamondback>
From: "M. Kilroy" <mekilroy at risingedge.com>
To: <grrltalk at linuxchix.org>, <samba at lists.samba.org>,
  <samba-ntdom at lists.samba.org>
Subject: Fw: ERRORS
Date: Mon, 18 Jun 2001 11:01:59 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-Antirelay: Good relay from local net2 192.168.0.0/24
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Can someone please help me with the following errors.  I am running winbind
from the HEAD version of samba on RHL7.1.  I can successfully get
groups/users from my NT PDC with getent group and wbinfo -u.

"wbinfo -t" returns:
Secret is bad
0xc00000e5

smb.log:
[2001/06/18 10:47:07, 1] smbd/files.c:file_init(215)
  file_init: Information only: requested 10000 open files, 1014 are
available.

log.winbindd:
[2001/06/18 10:47:26, 0] libsmb/cli_lsarpc.c:cli_lsa_enum_trust_dom(537)
  cli_lsa_enum_trust_dom(): out of memory


~Mary

"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)

"The girl got reasons.  They all got reasons." ~Scott Weiland

Return-Path: <monyo at tomoyo.home.monyo.com>
Delivered-To: samba at lists.samba.org
Received: from tigris.allnet.ne.jp (tigris.allnet.ne.jp [210.228.3.47])
  by lists.samba.org (Postfix) with ESMTP id B14574A47 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 08:16:51 -0700 (PDT)
Received: from ganga.home.monyo.com (ganga.home.monyo.com
  [192.168.10.37]) by tigris.allnet.ne.jp
  (8.9.3+3.2W/3.7W-HOME-MONYO-COM) with ESMTP id AAA07283 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 00:21:06 +0900
Received: from tomoyo.home.monyo.com (tomoyo.home.monyo.com
  [192.168.10.36]) by ganga.home.monyo.com (8.9.3/8.9.3) with SMTP id
  AAA26831 for <samba at lists.samba.org>; Tue, 19 Jun 2001 00:21:06 +0900
Received: (qmail 7615 invoked from network); 18 Jun 2001 15:21:06 -0000
Received: from localhost (127.0.0.1) by localhost with SMTP; 18 Jun 2001
  15:21:06 -0000
To: tpot at valinux.com
Cc: samba at lists.samba.org, sugj-tech at samba.gr.jp
Subject: Re: limit on the share name to 13 characters?
From: monyo at samba.gr.jp (Samba-JP TAKAHASHI Motonobu)
In-Reply-To: <20010611171238.H23265 at va.samba.org>
References: <3B248CC3.A247FCB5 at farmexim.ro>
  <2fhexnufq7.wl at tomoyo.home.monyo.com>
  <20010611171238.H23265 at va.samba.org>
X-Mailer: Mew version 1.94.2 on XEmacs 21.1 (Crater Lake)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20010619002106W.monyo at tomoyo>
Date: Tue, 19 Jun 2001 00:21:06 +0900
X-Dispatcher: imput version 20000228(IM140)
Lines: 40
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

>> We have already found this problem that ...
>> 
>> Also a share name with over 12 characters is not available against
>> Windows NT/2000.

Sorry, I mistook. Against Windows 2000, a long share name with 127
characters is available. 

But Samba server is not completely same as Windows NT/2000 server.

Against Windows NT/2000 share, Windows 2000 clients can access a
share with 127 characters such as 

 \\server\<127chars>

Against Samba, Windows 2000 clients can access a share with 127
characters including the server name in UNC such as

\\server\<120chars>.

There are 7 chars in "server\" (we can ignore a '\\'), so only 120
chars share name is allowed.

>This bug is fixed in Samba 2.2.  It turns out it is actually a bug in
>the Windows NT handling of ascii smb clients. 
>
>Tim.

Is it really true?

I tested Samba 2.2.0 and CVS SAMBA_2_2 branch against Windows NT 4.0
Service Pack 6, but they work same as Samba 2.0.9, Windows NT client
cannot access a share with over 13 characters.

Now I am making some patches for Samba 2.2.0.

-----
TAKAHASHI Motonobu                    mailto:monyo at samba.gr.jp
Samba Users Group Japan               http://www.samba.gr.jp/

Return-Path: <dragos.delcea at farmexim.ro>
Delivered-To: samba at lists.samba.org
Received: from mail.farmexim.ro (mail.farmexim.ro [193.230.163.129]) by
  lists.samba.org (Postfix) with SMTP id 870E94A69 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 08:27:16 -0700 (PDT)
Received: (qmail 17746 invoked from network); 18 Jun 2001 15:32:20 -0000
Received: from dragosd.farmexim.ro (HELO farmexim.ro) (192.168.1.60) by
  192.168.1.3 with SMTP; 18 Jun 2001 15:32:20 -0000
Message-ID: <3B2E1F3C.C38E2796 at farmexim.ro>
Date: Mon, 18 Jun 2001 18:33:16 +0300
From: Dragos Delcea <dragos.delcea at farmexim.ro>
Organization: Farmexim SA
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.4.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Samba-JP TAKAHASHI Motonobu <monyo at samba.gr.jp>
Cc: samba at lists.samba.org
Subject: Re: limit on the share name to 13 characters?
References: <3B248CC3.A247FCB5 at farmexim.ro>
  <2fhexnufq7.wl at tomoyo.home.monyo.com>
  <20010611171238.H23265 at va.samba.org> <20010619002106W.monyo at tomoyo>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Samba-JP TAKAHASHI Motonobu wrote:
> 
> >> We have already found this problem that ...
> >>
> >> Also a share name with over 12 characters is not available against
> >> Windows NT/2000.
> 
> Sorry, I mistook. Against Windows 2000, a long share name with 127
> characters is available.
> 
> But Samba server is not completely same as Windows NT/2000 server.
> 
> Against Windows NT/2000 share, Windows 2000 clients can access a
> share with 127 characters such as
> 
>  \\server\<127chars>
> 
> Against Samba, Windows 2000 clients can access a share with 127
> characters including the server name in UNC such as
> 
> \\server\<120chars>.
> 
> There are 7 chars in "server\" (we can ignore a '\\'), so only 120
> chars share name is allowed.
> 
> >This bug is fixed in Samba 2.2.  It turns out it is actually a bug in
> >the Windows NT handling of ascii smb clients.
> >
> >Tim.
> 
> Is it really true?
> 
> I tested Samba 2.2.0 and CVS SAMBA_2_2 branch against Windows NT 4.0
> Service Pack 6, but they work same as Samba 2.0.9, Windows NT client
> cannot access a share with over 13 characters.
> 
> Now I am making some patches for Samba 2.2.0.
I would be interested also in this patches...if you could 
post them on the samba user list, I would be grateful


dragos

Return-Path: <DavidB at mail.interclean.com>
Delivered-To: samba at samba.org
Received: from serverdell2200.interclean.com (mail.interclean.com
  [152.160.178.23]) by lists.samba.org (Postfix) with ESMTP id D53F4444F
  for <samba at samba.org>; Mon, 18 Jun 2001 08:47:12 -0700 (PDT)
Received: by mail.interclean.com with Internet Mail Service
  (5.5.2650.21) id <NFH9VSKZ>; Mon, 18 Jun 2001 11:51:32 -0400
Message-ID: <0F9D3D919AADD211BE7E00A0C99B8420324382 at mail.interclean.com>
From: David Brodbeck <DavidB at mail.interclean.com>
To: "'samba at samba.org'" <samba at samba.org>
Subject: RE: Can't CVS?
Date: Mon, 18 Jun 2001 11:51:31 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Figured it out.  The firewall was blocking it.  I feel like an idiot for not
figuring that out sooner.

-----Original Message-----
From: David Brodbeck 
Sent: Monday, June 18, 2001 9:13 AM
To: 'samba at samba.org'
Subject: Can't CVS?


I'm having trouble getting the Samba source code via CVS.

I enter, as instructed, 'cvs -d :pserver:cvs at pserver.samba.org:/cvsroot
login'
I get: '(Logging in to cvs at pserver.samba.org)
        cvs [login aborted]: connect to pserver.samba.org:2401 failed:
         Connection refused'


----------

David Brodbeck, System Administrator
InterClean Equipment, Inc.
Ann Arbor, Michigan
davidb at mail.interclean.com
(734) 975-2967 x221

Return-Path: <milend at ansco.com>
Delivered-To: samba at lists.samba.org
Received: from westmount.ansco.com (unknown [204.19.16.11]) by
  lists.samba.org (Postfix) with ESMTP id 5CBA64210 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 09:14:03 -0700 (PDT)
Received: from sanfrancisco ([192.168.5.44]) by westmount.ansco.com
  (8.10.2/8.10.2) with SMTP id f5IFxQx31229 for <samba at lists.samba.org>;
  Mon, 18 Jun 2001 11:59:26 -0400
Received: by localhost with Microsoft MAPI; Mon, 18 Jun 2001 12:21:57
  -0400
Message-ID: <01C0F7F1.44A5CEF0.milend at ansco.com>
From: Milen <milend at ansco.com>
To: "'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: Samba and RedHat Linux 7.1
Date: Mon, 18 Jun 2001 12:21:56 -0400
Organization: Ansco
X-Mailer: Microsoft Internet E-mail/MAPI - 8.0.0.4211
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello All!

I have Samba servers running on Red Hat Linux 7.0 and 6.2.

Now I want to have new samba server running on Red Hat Linux 7.1.
I use the same configuration file "smb.conf" on Linux 7.1 as 
it is on 7.0 and 6.2 machines.
I can "see" the new samba server from Windows clients but I can not 
browse it and I can not "see" the shared directories.
I get error message:
"\\NewSambaServer is not accessible
The network path was not found."

Once again-my "smb.conf" configuration files are the same for all 
samba servers. 
What's the difference between samba versions for Linux 6.2, 7.0, 7.1?
Do I need to make some changes in configuration file in order to make it running on 
RH Linux 7.1 or the problem is not in the configuration file?
Any sugestions?

Any help will be appreciated !!!
Thank you in advance!

Best regards:
Milen

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210]) by
  lists.samba.org (Postfix) with ESMTP id D047449A6 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 09:18:06 -0700 (PDT)
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com
  [15.45.89.191]) by atlrel1.hp.com (Postfix) with ESMTP id C3DB11993;
  Mon, 18 Jun 2001 12:22:37 -0400 (EDT)
Received: from xatlbh2.atl.hp.com (xatlbh2.atl.hp.com [15.45.89.187]) by
  xatlrelay2.atl.hp.com (Postfix) with ESMTP id D66241F50C; Mon, 18 Jun
  2001 12:21:39 -0400 (EDT)
Received: by xatlbh2.atl.hp.com with Internet Mail Service (5.5.2653.19)
  id <MZ6V68DJ>; Mon, 18 Jun 2001 12:22:35 -0400
Message-ID: <079FD72E42C9D311B854009027650E6F04050AD0 at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Francis Amanfo' <famanfo at dymeds.com>, samba at lists.samba.org
Subject: RE: can't find samba server in WIN2K, please help!
Date: Mon, 18 Jun 2001 12:22:28 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

You have two issues to resolve:
1. all of your clients will need to have a 'route' to get to the 212.153.2
network;
so each winclient will have to have an entry for its default gateway that
will be able to 
reach this network.
2. since your clients and your samba server are on different networks,
netbios broadcast
resolution of netbios names is no longer going to work.  You will have to
choose an alternate
netbios name resolution scheme, so the pc's can resolve your samba netbios
name to it's ip address.
Check out Chapter 7 of "Using Samba" (purchase or view online at
http://www.samba/org/samba/oreilly/using_samba ) "Printing and Name
Resolution" for a good discussion and directions on how to do this. (The
name resolution part starts on page 224).
Hope this helps,
Don

-----Original Message-----
From: Francis Amanfo [mailto:famanfo at dymeds.com]
Sent: Monday, June 18, 2001 4:50 AM
To: samba at lists.samba.org
Subject: can't find samba server in WIN2K, please help!


Hi,
I have had my samba server running smoothly for sometime now until recently
when our internal network configuration was changed. The ip adress of the
server was an officially  assigned ip of 212.158.3.97 with netmask
255.255.255.0. All windows cleint had also offcially assigned IP of
212.153.3.x, x<255. Everything did run smoothly until we reconfigured all
the
clients reassigning them with a private class C IP numbers, 192.168.254.x,
x<255 and netmask of  255.255.255.0. The samba server did however maintained
its original officially assigned IP number.
How can the windows clients access the samba server in this new network
configurations? Thanks in advance for your help.

Francis.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <teg at redhat.com>
Delivered-To: samba at lists.samba.org
Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by
  lists.samba.org (Postfix) with ESMTP id 600964A66 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 09:25:04 -0700 (PDT)
Received: from halden.devel.redhat.com (nat-pool.corp.redhat.com
  [199.183.24.200]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id
  f5IGSIb05235; Mon, 18 Jun 2001 12:28:18 -0400
Received: (from teg at localhost) by halden.devel.redhat.com
  (8.11.2/8.11.2) id f5IGTZj02832; Mon, 18 Jun 2001 12:29:35 -0400
X-Authentication-Warning: halden.devel.redhat.com: teg set sender to
  teg at redhat.com using -f
To: Milen <milend at ansco.com>
Cc: "'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: Re: Samba and RedHat Linux 7.1
References: <01C0F7F1.44A5CEF0.milend at ansco.com>
Organization: Red Hat, Inc.
From: teg at redhat.com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
Date: 18 Jun 2001 12:29:35 -0400
In-Reply-To: <01C0F7F1.44A5CEF0.milend at ansco.com>
Message-ID: <xuy8zipah00.fsf at halden.devel.redhat.com>
Lines: 10
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Milen <milend at ansco.com> writes:

> I have Samba servers running on Red Hat Linux 7.0 and 6.2.

Which version? Do you have the latest errata (samba and other
packages) applied to all of them?

-- 
Trond Eivind Glomsrxd
Red Hat, Inc.

Return-Path: <Kevin.Whitney at Sun.com>
Delivered-To: samba at lists.samba.org
Received: from patan.sun.com (patan.Sun.COM [192.18.98.43]) by
  lists.samba.org (Postfix) with ESMTP id 806824A98 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 09:40:05 -0700 (PDT)
Received: from null.East.Sun.COM ([129.148.9.202]) by patan.sun.com
  (8.9.3+Sun/8.9.3) with ESMTP id KAA06485; Mon, 18 Jun 2001 10:44:34
  -0600 (MDT)
Received: from Sun.com (dhcp-181-166 [129.148.181.166]) by
  null.East.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with ESMTP id
  MAA27121; Mon, 18 Jun 2001 12:39:12 -0400 (EDT)
Message-ID: <3B2E301E.797364D7 at Sun.com>
Date: Mon, 18 Jun 2001 12:45:18 -0400
From: Kevin Whitney <Kevin.Whitney at Sun.com>
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Trond Eivind =?iso-8859-1?Q?Glomsr=F8d?= <teg at redhat.com>
Cc: Milen <milend at ansco.com>, "'samba at lists.samba.org'"
  <samba at lists.samba.org>
Subject: Re: Samba and RedHat Linux 7.1
References: <01C0F7F1.44A5CEF0.milend at ansco.com>
  <xuy8zipah00.fsf at halden.devel.redhat.com>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

	Make sure you move the smb.conf file
	to /etc/samba, instead of /etc.

	Kevin

Trond Eivind Glomsrxd wrote:
> 
> Milen <milend at ansco.com> writes:
> 
> > I have Samba servers running on Red Hat Linux 7.0 and 6.2.
> 
> Which version? Do you have the latest errata (samba and other
> packages) applied to all of them?
> 
> --
> Trond Eivind Glomsrxd
> Red Hat, Inc.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <jstrohbehn at artstor.de>
Delivered-To: samba at lists.samba.org
Received: from webstor1.artstor.de (unknown [195.243.248.130]) by
  lists.samba.org (Postfix) with SMTP id 6691C4A9D for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 09:41:26 -0700 (PDT)
Received: (qmail 24728 invoked from network); 18 Jun 2001 16:46:18 -0000
Received: from zerberus.artstor.de (HELO sokrates.artstor.de)
  (195.243.248.115) by www.artstor.de with SMTP; 18 Jun 2001 16:46:18
  -0000
Date: Mon, 18 Jun 2001 18:45:55 +0200 (CEST)
From: Jan Strohbehn <jstrohbehn at artstor.de>
X-X-Sender: <jstrohbehn at sokrates.artnet.de>
To: <samba-technical at lists.samba.org>
Cc: <samba at lists.samba.org>
Subject: acls and W2k
Message-ID: <Pine.LNX.4.31.0106181834510.12355-100000 at sokrates.artnet.de
  >
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi !!

I have the following problem: When trying to set ACLs from a W2k client, I
get an error message, which says something like "unable to resolve
username" (I'm working with a german version). This happens just when I
try to submit my changes.
But this only happens with user-security and a W2k client. When I try the
same thing in domain-security or from a NT client, everything works
fine.

I'm working on this for several hours now, and the only thing I've found
out is that samba tries to handle my Group "users" as a printer?!?! (I've
attached this part from the logfile).

Please help me !!!!!!!


Thank you,
Jan





[2001/06/18 18:18:34, 4] rpc_server/srv_pipe_hnd.c:open_rpc_pipe_p(239)
  Opened pipe spoolss with handle 7036 (pipes_open=1)
[2001/06/18 18:18:34, 3] smbd/process.c:process_smb(831)
  Transaction 10 of length 140
[2001/06/18 18:18:34, 3] smbd/process.c:switch_message(650)
  switch message SMBwriteX (pid 12303)
[2001/06/18 18:18:34, 4] smbd/uid.c:become_user(119)
  Skipping become_user - already user
[2001/06/18 18:18:34, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(952)
  search for pipe pnum=7036
[2001/06/18 18:18:34, 3] rpc_server/srv_pipe.c:api_pipe_bind_req(763)
  api_pipe_bind_req: \PIPE\spoolss -> \PIPE\spoolss
[2001/06/18 18:18:34, 3] smbd/pipes.c:reply_pipe_write_and_X(200)
  writeX-IPC pnum=7036 nwritten=72
[2001/06/18 18:18:34, 3] smbd/process.c:process_smb(831)
  Transaction 11 of length 63
[2001/06/18 18:18:34, 3] smbd/process.c:switch_message(650)
  switch message SMBreadX (pid 12303)
[2001/06/18 18:18:34, 4] smbd/uid.c:become_user(119)
  Skipping become_user - already user
[2001/06/18 18:18:34, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(952)
  search for pipe pnum=7036
[2001/06/18 18:18:34, 3] smbd/pipes.c:reply_pipe_read_and_X(241)
  readX-IPC pnum=7036 min=1024 max=1024 nread=68
[2001/06/18 18:18:34, 3] smbd/process.c:process_smb(831)
  Transaction 12 of length 292
[2001/06/18 18:18:34, 3] smbd/process.c:switch_message(650)
  switch message SMBtrans (pid 12303)
[2001/06/18 18:18:34, 4] smbd/uid.c:become_user(119)
  Skipping become_user - already user
[2001/06/18 18:18:34, 3] smbd/ipc.c:reply_trans(485)
  trans <\PIPE\> data=212 params=0 setup=2
[2001/06/18 18:18:34, 3] smbd/ipc.c:named_pipe(336)
  named pipe command on <> name
[2001/06/18 18:18:34, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(952)
  search for pipe pnum=7036
[2001/06/18 18:18:34, 3] smbd/ipc.c:api_fd_reply(298)
  Got API command 0x26 on pipe "spoolss" (pnum 7036)free_pipe_context:
destroying talloc pool of size 0
[2001/06/18 18:18:34, 3] rpc_server/srv_pipe.c:api_pipe_request(1163)
  Doing \PIPE\spoolss
[2001/06/18 18:18:34, 4] rpc_server/srv_pipe.c:api_rpcTNP(1188)
  api_rpcTNP: api_spoolss_rpc op 0x45 - api_rpcTNP: rpc command:
SPOOLSS_OPENPRINTEREX
  checking name: \\SERVER\users
[2001/06/18 18:18:34, 4] rpc_server/srv_lsa_hnd.c:create_policy_hnd(130)
  Opened policy hnd[1] [000] 00 00 00 00 01 00 00 00  00 00 00 00 FA 45 2E
3B  ........ .....E.;
[2001/06/18 18:18:34, 4] lib/util.c:dump_data(1546)
  [010] 0F 30 00 00                                       .0..
[2001/06/18 18:18:34, 3]
rpc_server/srv_spoolss_nt.c:set_printer_hnd_printertype(373)
  Setting printer type=\\SERVER\users
  Printer is a printer
[2001/06/18 18:18:34, 4]
rpc_server/srv_spoolss_nt.c:set_printer_hnd_name(406)
  Setting printer name=\\SERVER\users (len=18)
  Printer not found
[2001/06/18 18:18:34, 4]
rpc_server/srv_lsa_hnd.c:find_policy_by_hnd_internal(150)
  Found policy hnd[0] [000] 00 00 00 00 01 00 00 00  00 00 00 00 FA 45 2E
3B  ........ .....E.;
[2001/06/18 18:18:34, 4] lib/util.c:dump_data(1546)
  [010] 0F 30 00 00                                       .0..
[2001/06/18 18:18:34, 4]
rpc_server/srv_lsa_hnd.c:find_policy_by_hnd_internal(150)
  Found policy hnd[0] [000] 00 00 00 00 01 00 00 00  00 00 00 00 FA 45 2E
3B  ........ .....E.;
[2001/06/18 18:18:34, 4] lib/util.c:dump_data(1546)
  [010] 0F 30 00 00                                       .0..

Return-Path: <bdrenni at catholicrelief.org>
Delivered-To: samba at lists.samba.org
Received: from gateway.catholicrelief.org (fw.catholicrelief.org
  [209.70.98.114]) by lists.samba.org (Postfix) with SMTP id CBB4C4A9C
  for <samba at lists.samba.org>; Mon, 18 Jun 2001 09:48:10 -0700 (PDT)
Received: from fw.catholicrelief.org [209.70.98.114] (HELO localhost) by
  gateway.catholicrelief.org (AltaVista Mail V2.0J/2.0J BL25J listener)
  id 0000_01cc_3b2e_316b_1c81; Mon, 18 Jun 2001 12:50:51 -0400
Received: from somewhere by smtpxd
Message-ID: <F748CB1980A1D111A00300A0C99DBBF0033FF307 at mail1>
From: Drenning Bruce <bdrenni at catholicrelief.org>
To: 'Milen' <milend at ansco.com>
Cc: "'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: RE: Samba and RedHat Linux 7.1
Date: Mon, 18 Jun 2001 12:52:25 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I've seen this & also have seen other posts regarding this. What I haven't
seen is an answer. Do you also have these other symptoms:

1. win NT can connect
2. win 2000 can't connect by name, but can connect by IP address

Here, win9x clients can connect only if they are on a different subnet than
the Samba server. I have tried 2.0.7 & 2.0.8 on RH 7.1 with the same
results. Everything works fine on our RH 6.1 & 6.2 servers. Might be some
issue between Samba & the 2.4 kernel.

If you have it, try commenting out the hosts allow param. That "fixed" it
for us. Even though my smb.conf looks good through testparam hostname.


-----Original Message-----
From: Milen [mailto:milend at ansco.com]
Sent: Monday, June 18, 2001 12:22 PM
To: 'samba at lists.samba.org'
Subject: Samba and RedHat Linux 7.1


Hello All!

I have Samba servers running on Red Hat Linux 7.0 and 6.2.

Now I want to have new samba server running on Red Hat Linux 7.1.
I use the same configuration file "smb.conf" on Linux 7.1 as 
it is on 7.0 and 6.2 machines.
I can "see" the new samba server from Windows clients but I can not 
browse it and I can not "see" the shared directories.
I get error message:
"\\NewSambaServer is not accessible
The network path was not found."

Once again-my "smb.conf" configuration files are the same for all 
samba servers. 
What's the difference between samba versions for Linux 6.2, 7.0, 7.1?
Do I need to make some changes in configuration file in order to make it
running on 
RH Linux 7.1 or the problem is not in the configuration file?
Any sugestions?

Any help will be appreciated !!!
Thank you in advance!

Best regards:
Milen
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <mekilroy at risingedge.com>
Delivered-To: samba at lists.samba.org
Received: from mailhost.digitalselect.net (unknown [209.225.164.170]) by
  lists.samba.org (Postfix) with ESMTP id 8DDA44AC4; Mon, 18 Jun 2001
  09:56:18 -0700 (PDT)
Received: from wizzard.rising-edge (risingedge.com [216.181.63.36]) by
  mailhost.digitalselect.net (8.11.1/8.11.1) with SMTP id f5IH2eS08780;
  Mon, 18 Jun 2001 13:02:40 -0400 (EDT)
Received: from diamondback (unverified [192.168.0.26]) by
  wizzard.rising-edge (EMWAC SMTPRS 0.83) with SMTP id
  <B0000083481 at wizzard.rising-edge>; Mon, 18 Jun 2001 13:00:29 -0400
Message-ID: <014601c0f818$2d4f2900$1a00a8c0 at diamondback>
From: "M. Kilroy" <mekilroy at risingedge.com>
To: <samba at lists.samba.org>, <samba-ntdom at lists.samba.org>
Subject: wbinfo_check_secret
Date: Mon, 18 Jun 2001 13:00:28 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-Antirelay: Good relay from local net2 192.168.0.0/24
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have a question about the following code from wbinfo.c.

In the function wbinfo_check_secret, response.data.num_entries is used as the
check for wether or not the secret file is good:
if (response.data.num_entries == 0) {
                        printf("Secret is good\n");
                } else {
                        printf("Secret is bad\n0x%08x\n",
          response.data.num_entries);
                }

I get 0xc00000e5 as the response.data.num_entries.  I cannot seem to find
where response.data.num_entries gets populated with data.  Maybe there's a bug
and that's why I have kooky data?  Does anyone know where this field gets his
data???

Thanks in advance.
~Mary
---------------
function below
---------------

static BOOL wbinfo_check_secret(void)
{
        struct winbindd_response response;
        BOOL result;

        ZERO_STRUCT(response);

        result = winbindd_request(WINBINDD_CHECK_MACHACC, NULL, &response) ==
                NSS_STATUS_SUCCESS;

        if (result) {

                if (response.data.num_entries == 0) {
                        printf("Secret is good\n");
                } else {
                        printf("Secret is bad\n0x%08x\n",
          response.data.num_entries);
                }

                return True;
        }

        return False;
}

Return-Path: <bruce at oec-sys.com>
Delivered-To: samba at lists.samba.org
Received: from iserver.oec-sys.com (unknown [207.189.131.105]) by
  lists.samba.org (Postfix) with SMTP id E0E1945AC for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 10:01:01 -0700 (PDT)
Received: (qmail 2512 invoked from network); 18 Jun 2001 17:08:43 -0000
Received: from unknown (HELO bruce) (207.189.131.106) by
  iserver.oec-sys.com with SMTP; 18 Jun 2001 17:08:43 -0000
Date: Mon, 18 Jun 2001 10:07:15 -0700
From: Bruce Sackett <bruce at oec-sys.com>
X-Mailer: The Bat! (v1.52f) Personal
Reply-To: Bruce Sackett <bruce at oec-sys.com>
Organization: Office Equipment Company
Message-ID: <69232326507.20010618100715 at oec-sys.com>
To: samba at lists.samba.org
Subject: Slowing down with small files
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

We recently upgraded our linux server from Redhat 6.2 to Redhat 7.0
and added a 70gb SCSI hard drive.  We save thousands of very small
files every day to the samba server.  Since the upgrade to the O/S and
drive, the system has slowed drastically.  Transfer times for approx.
6000 files now takes 8-12 hours, where it used to run in about 3
hours.

I've thought of upgrading to 2.2, but don't want to take the step
without some idea that it may help.

Thank you,
 Bruce     
 mailto:bruce at oec-sys.com
 Office Equipment Company
 http://www.oec-sys.com

Attachments:
<none>

Return-Path: <chris_winczewski at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from web14203.mail.yahoo.com (web14203.mail.yahoo.com
  [216.136.172.145]) by lists.samba.org (Postfix) with SMTP id E0C624AFA
  for <samba at lists.samba.org>; Mon, 18 Jun 2001 11:17:08 -0700 (PDT)
Message-ID: <20010618182135.48394.qmail at web14203.mail.yahoo.com>
Received: from [207.178.217.202] by web14203.mail.yahoo.com; Mon, 18 Jun
  2001 11:21:35 PDT
Date: Mon, 18 Jun 2001 11:21:35 -0700 (PDT)
From: Chris Winczewski <chris_winczewski at yahoo.com>
Subject: gethostbyaddr error
To: samba at lists.samba.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have Samba 2.0.7 running with about 30 users.  Today
I came in and 10 of them can log in but the others
cannot.  I checked the syslog and found that the
function "client_name" in the utility file
"util_sock.c" is giving an error:

Gethostbyaddr failed for 192.168  bla bla.

Anyone know why?

Chris

__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Return-Path: <cnorloff at norloff.com>
Delivered-To: samba at lists.samba.org
Received: from mail.toward.com (piglet.toward.com [204.194.180.31]) by
  lists.samba.org (Postfix) with ESMTP id DBDF04B05 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 11:42:33 -0700 (PDT)
Date: Mon, 18 Jun 2001 14:47:03 -0400
Message-Id: <200106181447.AA78709132 at mail.toward.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: "Chris Norloff" <cnorloff at norloff.com>
Reply-To: <cnorloff at norloff.com>
X-Sender: <cnorloff at mail.toward.com>
To: <samba at lists.samba.org>
Subject: STILL can't login from NT
X-Mailer: <IMail v6.05>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I still can't login from WinNT, even though I've:
-encrypted the passwords
-added the smbpasswd file

I can get in as guest when that's enabled, but I can't get in with any usernames (or root!).  

This is using security=user or share.  We don't use a PDC, so I just want to authenticate with the Unix server that's running Samba (Solaris 2.6). I'm not very familiar with Unix, but am trying to get away from Windows machines.

I've tried everything I can find, and have hunted through the archives here and the Using Samba book.

Any ideas?

thx
Chris Norloff

Return-Path: <mhkohne at discordia.org>
Delivered-To: samba at lists.samba.org
Received: from techno.discordia.org (techno.discordia.org
  [207.8.224.10]) by lists.samba.org (Postfix) with ESMTP id 291644B54
  for <samba at lists.samba.org>; Mon, 18 Jun 2001 12:02:49 -0700 (PDT)
Received: from kohnelap.discordia.org (techno.discordia.org
  [207.8.224.10]) by techno.discordia.org (8.11.0/8.9.3) with ESMTP id
  f5IJ7Hw30998; Mon, 18 Jun 2001 15:07:17 -0400
Message-Id: <5.1.0.14.2.20010618150408.00b05e20 at 127.0.0.1>
X-Sender: mhkohne at 127.0.0.1
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 18 Jun 2001 15:05:58 -0400
To: Chris Winczewski <chris_winczewski at yahoo.com>, samba at lists.samba.org
From: Michael Kohne <mhkohne at discordia.org>
Subject: Re: gethostbyaddr error
In-Reply-To: <20010618182135.48394.qmail at web14203.mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

At 11:21 AM 6/18/2001 -0700, Chris Winczewski wrote:
>I have Samba 2.0.7 running with about 30 users.  Today
>I came in and 10 of them can log in but the others
>cannot.  I checked the syslog and found that the
>function "client_name" in the utility file
>"util_sock.c" is giving an error:
>
>Gethostbyaddr failed for 192.168  bla bla.
>
>Anyone know why?

Not sure, but looking at the error you've given and looking at 
gethostbyaddr's documentation, I'd guess that you don't have working 
reverse DNS for all those addresses.

I could be wrong of course...


>Chris
>
>__________________________________________________
>Do You Yahoo!?
>Spot the hottest trends in music, movies, and more.
>http://buzz.yahoo.com/
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

Michael Kohne        mhkohne at discordia.org
3000 lbs of wood, 300 foot per minute - DO NOT get in the way.

Return-Path: <seatoast at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from web9607.mail.yahoo.com (web9607.mail.yahoo.com
  [216.136.129.186]) by lists.samba.org (Postfix) with SMTP id 569294B6E
  for <samba at lists.samba.org>; Mon, 18 Jun 2001 13:19:22 -0700 (PDT)
Message-ID: <20010618202353.83016.qmail at web9607.mail.yahoo.com>
Received: from [207.252.123.213] by web9607.mail.yahoo.com; Mon, 18 Jun
  2001 13:23:53 PDT
Date: Mon, 18 Jun 2001 13:23:53 -0700 (PDT)
From: craig secrist <seatoast at yahoo.com>
Subject: Question from a newbie...
To: samba at lists.samba.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello all,

I'm pretty new to samba-land and I have a few
questions regarding capabilities.

I have a working RedHat 7.1 installation on a 133mhz
IBM pc. (meager)Hardware = 80Meg RAM, 1 Teac CDRW, 1
sony CDROM, 1 Travan 2.0 gig tape drive. 

I would like to set up Samba as a PDC and file server.
I would also like to back up Win9x, Linux and Mac
systems to tape, share files and devices(specifically,
the CDRW, as I don't think my printer is supported)

Am I asking too much of my little tiny processor, or
will Samba allow me to do all of this? Will my
performance be gawdawful?

Thanks in advance-
Seatoast

__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Return-Path: <gosselinm at netscout.com>
Delivered-To: samba at lists.samba.org
Received: from nsmail2.netscout.com (unknown [208.159.61.32]) by
  lists.samba.org (Postfix) with ESMTP id D429E4B70 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 13:29:33 -0700 (PDT)
Subject: Passwords from old version don't work after upgrade
To: samba at lists.samba.org
X-Mailer: Lotus Notes Release 5.0.4  June 8, 2000
Message-ID: <OFC81A16BA.450B3DD7-ON85256A6F.007049BF at netscout.com>
From: "Mark Gosselin" <gosselinm at netscout.com>
Date: Mon, 18 Jun 2001 16:29:27 -0400
X-MIMETrack: Serialize by Router on NSMail2/NetScout(Release 5.0.7
  |March 21, 2001) at 06/18/2001 04:30:28 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

I just recently upgraded my install from 1.9.18 to 2.0.7 and am seeing some
funny issues with logins.
Some people cannot log in under 2.0.7 that could under 1.9.18, and vice
versa..... I should be checking for
UNIX passwords and all the users are rpesent in the UNIX password file. Has
anyone ever seen this before?
If so, do you know what I need to do to make sure everyone can log in???

Thanks,
Mark Gosselin
NetScout Systems

Return-Path: <chris_winczewski at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from web14204.mail.yahoo.com (web14204.mail.yahoo.com
  [216.136.172.146]) by lists.samba.org (Postfix) with SMTP id E43854B79
  for <samba at lists.samba.org>; Mon, 18 Jun 2001 13:35:16 -0700 (PDT)
Message-ID: <20010618203947.97701.qmail at web14204.mail.yahoo.com>
Received: from [207.178.217.202] by web14204.mail.yahoo.com; Mon, 18 Jun
  2001 13:39:47 PDT
Date: Mon, 18 Jun 2001 13:39:47 -0700 (PDT)
From: Chris Winczewski <chris_winczewski at yahoo.com>
Subject: Re: gethostbyaddr error
To: samba at lists.samba.org
In-Reply-To: <5.1.0.14.2.20010618150408.00b05e20 at 127.0.0.1>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

--- Michael Kohne <mhkohne at discordia.org> wrote:
> At 11:21 AM 6/18/2001 -0700, Chris Winczewski wrote:
> >I have Samba 2.0.7 running with about 30 users. 
> Today
> >I came in and 10 of them can log in but the others
> >cannot.  I checked the syslog and found that the
> >function "client_name" in the utility file
> >"util_sock.c" is giving an error:
> >
> >Gethostbyaddr failed for 192.168  bla bla.
> >
> >Anyone know why?
> 
> Not sure, but looking at the error you've given and
> looking at 
> gethostbyaddr's documentation, I'd guess that you
> don't have working 
> reverse DNS for all those addresses.
> 
> I could be wrong of course...
> 
> 
> >Chris
> >
> >__________________________________________________
> >Do You Yahoo!?
> >Spot the hottest trends in music, movies, and more.
> >http://buzz.yahoo.com/
> >--
> >To unsubscribe from this list go to the following
> URL and read the
> >instructions: 
> http://lists.samba.org/mailman/listinfo/samba
> 
> Michael Kohne        mhkohne at discordia.org
> 3000 lbs of wood, 300 foot per minute - DO NOT get
> in the way.
> 
 Where do I check on reverse DNS?

Chris

__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Return-Path: <murugappan at hgsolutions.com>
Delivered-To: samba at samba.org
Received: from host2.ecsecure.com (host2.ecsecure.com [209.239.38.173])
  by lists.samba.org (Postfix) with ESMTP id EC5A14B39 for
  <samba at samba.org>; Mon, 18 Jun 2001 13:42:53 -0700 (PDT)
Received: from hg04 ([64.64.109.149]) by host2.ecsecure.com
  (8.10.2/8.10.2) with SMTP id f5IKlNH05276 for <samba at samba.org>; Mon,
  18 Jun 2001 16:47:23 -0400
Message-ID: <00ca01c0f83f$deafb8a0$956d4040 at hg04>
From: "Murugappan" <murugappan at hgsolutions.com>
To: <samba at samba.org>
Subject: network path not found in samba
Date: Mon, 18 Jun 2001 16:44:09 -0500
Organization: Hourglass Solutions Inc.
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi everybody
I have installed Red hat Linux 7.1 and installed samba 2.0.7 .
I am in the process of creating my linx machine as a PDC for my Nt
workstations.
I have edited the smb.conf file and started samba.

Now In the network neighbourhood of an Nt machine I am able to see my
samba server appearing. But when I double click to access the shares created
it I am
unable to do and says network not found.

And when I try to change my domain in the NT machine , as what i have
mentioned mentioned in .conf file I am unable to do so

some times it says "unable to locate the domain".
Then i again I go to Linux server and do some research and now..
some times it says "have ur administrator check ur accounts on the
domain"
Is this suggest that I am doing something correct?

Help me out as I am trying this for past 2 days..

P.Murugappan

Return-Path: <Ross.Kennedy at Sun.COM>
Delivered-To: samba at lists.samba.org
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by
  lists.samba.org (Postfix) with ESMTP id A9AD34B89 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 13:51:02 -0700 (PDT)
Received: from rowlf.Central.Sun.COM ([129.153.128.28]) by
  mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id NAA04340 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 13:55:31 -0700 (PDT)
Received: from beaker (beaker [129.153.128.23]) by rowlf.Central.Sun.COM
  (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with SMTP id PAA17131 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 15:55:30 -0500 (CDT)
Message-Id: <200106182055.PAA17131 at rowlf.Central.Sun.COM>
Date: Mon, 18 Jun 2001 15:55:29 -0500 (CDT)
From: Ross Kennedy <Ross.Kennedy at Sun.COM>
Reply-To: Ross Kennedy <Ross.Kennedy at Sun.COM>
Subject: LOCKING Error - Super need to know
To: samba at lists.samba.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: PNERFi2dRlwdB6kIPXqNig==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4 SunOS 5.8 sun4u sparc 
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hey All,

I am at a dead end and in need of some help.  I leave on
business in a week and need to have a samba server set up
before I go.  I really hope someone knows the answer to this.
I run the configure script and this is what I get after a
bunch of that other info goes by...anythoughts?

checking if large file support can be enabled
no
checking configure summary
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config

Beggingly yours,
ross

Return-Path: <kyle at comanche.rawah.co.larimer.co.us>
Delivered-To: samba at lists.samba.org
Received: from rawah.co.larimer.co.us (unknown [204.133.54.49]) by
  lists.samba.org (Postfix) with ESMTP id E3BC54B50 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 14:35:57 -0700 (PDT)
Received: from comanche.rawah.co.larimer.co.us (comanche
  [205.169.12.67]) by rawah.co.larimer.co.us (8.9.1b+Sun/8.9.1) with
  ESMTP id PAA02577 for <samba at lists.samba.org>; Mon, 18 Jun 2001
  15:40:26 -0600 (MDT)
Received: from comanche (comanche [205.169.12.67]) by
  comanche.rawah.co.larimer.co.us (8.8.8+Sun/8.8.8) with SMTP id
  PAA19942 for <samba at lists.samba.org>; Mon, 18 Jun 2001 15:40:25 -0600
  (MDT)
Message-Id: <200106182140.PAA19942 at comanche.rawah.co.larimer.co.us>
Date: Mon, 18 Jun 2001 15:40:25 -0600 (MDT)
From: Kyle Freestone <kyle at rawah.co.larimer.co.us>
Reply-To: Kyle Freestone <kyle at rawah.co.larimer.co.us>
Subject: good Samba books
To: samba at lists.samba.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: jQ+iC89J5cAFX8oWStUPqA==
X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc 
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I realize its hard (and politically incorrect) to endorse one book over another,
but does anybody have some suggestions as to which book would be most beneficial
for somebody running Solaris 7 & 8 servers over a Novell network with M$
9x/NT/W2K clients?

Special Edition, Using Samba by Richard Sharpe, Tim Potter and Jim Morris
is a fairly recent book, but according to an online summary, centers around
Linux

Using Samba, by Robert Eckstein, David Collier-Brown and Peter Kelly
is an O'Reilly book (and I've usually found O'Reilly books to be very good)
but it might be a bit dated i.e. Nov. 1999

any recommendations from the list @ samba.org/samba/books.html or any other
ideas??

Thanks for any input
Kyle
GIS Systems Specialist

Return-Path: <peter.schuller at infidyne.com>
Delivered-To: samba at lists.samba.org
Received: from infidyne.com (unknown [193.13.9.98]) by lists.samba.org
  (Postfix) with SMTP id 216FE4AD0 for <samba at lists.samba.org>; Mon, 18
  Jun 2001 15:51:13 -0700 (PDT)
Received: (qmail 9841 invoked by uid 1000); 18 Jun 2001 22:55:26 -0000
From: "Peter Schuller" <peter.schuller at infidyne.com>
Date: Tue, 19 Jun 2001 00:55:26 +0200
To: samba at lists.samba.org
Cc: peter.schuller at infidyne.com
Subject: Win2K client joinging Samba 2.2.0 domain
Message-ID: <20010619005526.A9769 at infidyne.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Mutt/1.0.1i
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello,

I have a major problem trying to make a Win2K client join a domain served by
Samba 2.2.0.

The situation is this: We have a network of around 25 NT 4.0 clients. Today
the first Win2K client was introduced, so we upgraded to Samba 2.2.0. After
working around the disabled-account bug everything on the existing NT 4.0
clients worked perfectly.

But making the Win2K client join the domain seems impossible. We've created
the machine trust account as usual (add the entry in /etc/passwd, including
the $, and smbpasswd -a -m machinename). When attempting to join the domain,
the Win2K box wants a username and a password (this is different from NT 4.0
which basically just did it automatically). As far as we can tell,
machinename$/machinename is the correct user/password, because it yields a
different error message than what we get with any other combination.

The error message, roughly translated from Swedish, is:

   "The follwing error occurred while connecting to the domain
   DOMAIN_NAME: You are using a computer account. In order to access
   this server you must use your global or local user account."
   
Which is weird. We've tried entering existing samba accounts, inluding
making the account a domain admin, but to no avail. And in general, how are
we supposed to be logged in to the domain before join:ing it?

I just don't get it. The docs don't seem to mention any of this entering
user/password business, and I get the impression the docs aren't written
with Win2K in mind (or for som reason you are not normally supposed to have
to enter it).

Does anyone have any idea? Any hints would be much appreciated.

Thanks!
 

-- 
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0x5584BD98 or 'Peter Schuller <peter.schuller at infidyne.com>'
Key retrival: Send an E-Mail to getpgpkey at scode.org
E-Mail: peter.schuller at infidyne.com Web: http://scode.org

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from atlrel1.hp.com (atlrel1.hp.com [156.153.255.210]) by
  lists.samba.org (Postfix) with ESMTP id 2BE914596 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 16:04:09 -0700 (PDT)
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com
  [15.45.89.191]) by atlrel1.hp.com (Postfix) with ESMTP id 3A8BF58E;
  Mon, 18 Jun 2001 19:08:39 -0400 (EDT)
Received: from xatlbh2.atl.hp.com (xatlbh2.atl.hp.com [15.45.89.187]) by
  xatlrelay2.atl.hp.com (Postfix) with ESMTP id 3FCEB1F50B; Mon, 18 Jun
  2001 19:07:42 -0400 (EDT)
Received: by xatlbh2.atl.hp.com with Internet Mail Service (5.5.2653.19)
  id <MZ6V8C5C>; Mon, 18 Jun 2001 19:08:38 -0400
Message-ID: <079FD72E42C9D311B854009027650E6F04050AD4 at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Ross Kennedy' <Ross.Kennedy at Sun.COM>, samba at lists.samba.org
Subject: RE: LOCKING Error - Super need to know
Date: Mon, 18 Jun 2001 19:08:36 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Ross,
It's a poor unix implementation indeed that does not support file locking.
In my experience these messages are more often a result of the compiler that

you are using to compile samba;  The configure script actually creates and
compiles
some simple little programs to test what functionality exists on your
particular 
system, and if these test programs fail to compile or run for some reason,
it APPEARS
that the test itself failed.
I have seen this happen when the compiler you are using isn't ansi standard,
or you
have to add some cc flag to tell the compiler to be ansi compliant;  most
people have 
been able to pull gcc from the gnu web page and use that successfully...

You can get more info on whats actually failing by looking into the
config.log 
file for the tests for fcntl locking, etc and make sure you are not getting
any compiler
errors when building those tests.
For instance you might look for something like:

configure:9456: checking for fcntl locking
configure:9469: cc -o conftest -O +DA1.1 +DS1.1 -DUSING_DOMAINUSER_MAP
-DHAS_HPU
X_POSIX_ACLS -DWITH_SYSLOG -DDEBUG_PASSWORD  -Ae -D_HPUX_SOURCE
-D_POSIX_SOURCE
-D_LARGEFILE64_SOURCE  conftest.c -lgen -lsec  -lnsl 1>&5

(this is on a HP-UX system); the key is looking for "checking for fcntl
locking"...
Hope this helps,
Don

-----Original Message-----
From: Ross Kennedy [mailto:Ross.Kennedy at Sun.COM]
Sent: Monday, June 18, 2001 4:55 PM
To: samba at lists.samba.org
Subject: LOCKING Error - Super need to know


Hey All,

I am at a dead end and in need of some help.  I leave on
business in a week and need to have a samba server set up
before I go.  I really hope someone knows the answer to this.
I run the configure script and this is what I get after a
bunch of that other info goes by...anythoughts?

checking if large file support can be enabled
no
checking configure summary
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config

Beggingly yours,
ross
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <tpot at samba.org>
Delivered-To: samba at lists.samba.org
Received: by lists.samba.org (Postfix, from userid 1007) id 7C15F46DC;
  Mon, 18 Jun 2001 17:03:44 -0700 (PDT)
From: Tim Potter <tpot at valinux.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15150.38799.855902.263766 at frungy.org>
Date: Tue, 19 Jun 2001 10:06:39 +1000 (EST)
To: "M. Kilroy" <mekilroy at risingedge.com>
Cc: <samba at lists.samba.org>, <samba-ntdom at lists.samba.org>
Subject: Re: wbinfo_check_secret
In-Reply-To: <014601c0f818$2d4f2900$1a00a8c0 at diamondback>
References: <014601c0f818$2d4f2900$1a00a8c0 at diamondback>
X-Mailer: VM 6.75 under Emacs 20.7.2
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

M. Kilroy writes:

> I have a question about the following code from wbinfo.c.
> 
> In the function wbinfo_check_secret, response.data.num_entries is used as the
> check for wether or not the secret file is good:
> if (response.data.num_entries == 0) {
>                         printf("Secret is good\n");
>                 } else {
>                         printf("Secret is bad\n0x%08x\n",
>           response.data.num_entries);
>                 }
> 
> I get 0xc00000e5 as the response.data.num_entries.  I cannot seem to find
> where response.data.num_entries gets populated with data.  Maybe there's a bug
> and that's why I have kooky data?  Does anyone know where this field gets his
> data???

It's actually supposed to be the the NT status code returned when
trying to verify that samba is a member of a domain.  Look in
include/nterr.h for values.  0xc00000e5 is internal error.  (-:
FYI it's filled in in winbindd_misc.c at the end of the
winbindd_check_machine_acct() function.

There are a couple of problem areas with winbindd in head at the
moment.  The first is this one (not checking machine account
properly), secondly the pam_winbind module isn't fully working,
and thirdly it doesn't cope with large numbers of users/groups
just yet.  This may be the cause of your out of memory error
alluded to in another message.


TIm.

Return-Path: <S_Elble at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from falcon.mail.pas.earthlink.net
  (falcon.mail.pas.earthlink.net [207.217.120.74]) by lists.samba.org
  (Postfix) with ESMTP id B98B346DC for <samba at lists.samba.org>; Mon, 18
  Jun 2001 17:04:55 -0700 (PDT)
Received: from elbles (dhcp181-19-151-24.nm01-c3.cpe.charter-ne.com
  [24.151.19.181]) by falcon.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3)
  with SMTP id RAA24265; Mon, 18 Jun 2001 17:09:21 -0700 (PDT)
Message-ID: <000901c0f853$c4498360$0600a8c0 at elbles>
Reply-To: "Sean P. Elble" <S_Elble at yahoo.com>
From: "Sean P. Elble" <S_Elble at yahoo.com>
To: "Peter Schuller" <peter.schuller at infidyne.com>,
  <samba at lists.samba.org>
Cc: <peter.schuller at infidyne.com>
References: <20010619005526.A9769 at infidyne.com>
Subject: Re: Win2K client joinging Samba 2.2.0 domain
Date: Mon, 18 Jun 2001 20:06:57 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Peter,

In order for a Windows 2000 client to join a domain controlled by a Samba
2.2.0 PDC, you must have an entry for root in the smbpasswd file, with a
valid password; this is the account that is to be used when you join a
domain, and it asks you for a password. This _SHOULD_ work with a domain
admin account (at least that's how it works on NT/2000 servers), but, that
functionallity hasn't yet been implemented in Samba. Hope this helps, and
please let me know if it doesn't.

Sean Elble
----- Original Message -----
From: "Peter Schuller" <peter.schuller at infidyne.com>
To: <samba at lists.samba.org>
Cc: <peter.schuller at infidyne.com>
Sent: Monday, June 18, 2001 6:55 PM
Subject: Win2K client joinging Samba 2.2.0 domain


> Hello,
>
> I have a major problem trying to make a Win2K client join a domain served
by
> Samba 2.2.0.
>
> The situation is this: We have a network of around 25 NT 4.0 clients.
Today
> the first Win2K client was introduced, so we upgraded to Samba 2.2.0.
After
> working around the disabled-account bug everything on the existing NT 4.0
> clients worked perfectly.
>
> But making the Win2K client join the domain seems impossible. We've
created
> the machine trust account as usual (add the entry in /etc/passwd,
including
> the $, and smbpasswd -a -m machinename). When attempting to join the
domain,
> the Win2K box wants a username and a password (this is different from NT
4.0
> which basically just did it automatically). As far as we can tell,
> machinename$/machinename is the correct user/password, because it yields a
> different error message than what we get with any other combination.
>
> The error message, roughly translated from Swedish, is:
>
>    "The follwing error occurred while connecting to the domain
>    DOMAIN_NAME: You are using a computer account. In order to access
>    this server you must use your global or local user account."
>
> Which is weird. We've tried entering existing samba accounts, inluding
> making the account a domain admin, but to no avail. And in general, how
are
> we supposed to be logged in to the domain before join:ing it?
>
> I just don't get it. The docs don't seem to mention any of this entering
> user/password business, and I get the impression the docs aren't written
> with Win2K in mind (or for som reason you are not normally supposed to
have
> to enter it).
>
> Does anyone have any idea? Any hints would be much appreciated.
>
> Thanks!
>
>
> --
> / Peter Schuller, InfiDyne Technologies HB
>
> PGP userID: 0x5584BD98 or 'Peter Schuller <peter.schuller at infidyne.com>'
> Key retrival: Send an E-Mail to getpgpkey at scode.org
> E-Mail: peter.schuller at infidyne.com Web: http://scode.org
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <peter.schuller at infidyne.com>
Delivered-To: samba at lists.samba.org
Received: from infidyne.com (unknown [193.13.9.98]) by lists.samba.org
  (Postfix) with SMTP id 253924411 for <samba at lists.samba.org>; Mon, 18
  Jun 2001 17:49:00 -0700 (PDT)
Received: (qmail 11468 invoked from network); 19 Jun 2001 00:53:28 -0000
Received: from equinox.infidyne.com (HELO 127.0.0.1) (root at 193.13.9.98)
  by equinox.infidyne.com with SMTP; 19 Jun 2001 00:53:28 -0000
Received: (qmail 4802 invoked by uid 1000); 19 Jun 2001 00:47:24 -0000
From: "Peter Schuller" <peter.schuller at infidyne.com>
Date: Tue, 19 Jun 2001 02:47:24 +0200
To: "Sean P. Elble" <S_Elble at yahoo.com>
Cc: Peter Schuller <peter.schuller at infidyne.com>, samba at lists.samba.org
Subject: Re: Win2K client joinging Samba 2.2.0 domain
Message-ID: <20010619024724.E635 at prometheus>
References: <20010619005526.A9769 at infidyne.com>
  <000901c0f853$c4498360$0600a8c0 at elbles>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <000901c0f853$c4498360$0600a8c0 at elbles>; from
  S_Elble at yahoo.com on Mon, Jun 18, 2001 at 08:06:57PM -0400
X-Converted-To-Plain-Text: from multipart/signed by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> In order for a Windows 2000 client to join a domain controlled by a Samba
> 2.2.0 PDC, you must have an entry for root in the smbpasswd file, with a
> valid password; this is the account that is to be used when you join a
> domain, and it asks you for a password. This _SHOULD_ work with a domain
> admin account (at least that's how it works on NT/2000 servers), but, that
> functionallity hasn't yet been implemented in Samba. Hope this helps, and
> please let me know if it doesn't.

Ah, thanks! This crossed my mind, but I never gave it enough thought to
actually try it for some reason. I'll try it ASAP.

Thanks again,

--
/ Peter Schuller, InfiDyne Technologies HB

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller at infidyne.com>'
Key retrival: Send an E-Mail to getpgpkey at scode.org
E-Mail: peter.schuller at infidyne.com Web: http://www.scode.org

[demime 0.98b removed an attachment of type application/pgp-signature]

Return-Path: <S_Elble at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from avocet.mail.pas.earthlink.net
  (avocet.mail.pas.earthlink.net [207.217.121.50]) by lists.samba.org
  (Postfix) with ESMTP id AC853448F for <samba at lists.samba.org>; Mon, 18
  Jun 2001 18:21:50 -0700 (PDT)
Received: from elbles (dhcp181-19-151-24.nm01-c3.cpe.charter-ne.com
  [24.151.19.181]) by avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3)
  with SMTP id SAA27173; Mon, 18 Jun 2001 18:26:16 -0700 (PDT)
Message-ID: <001401c0f85e$8285e080$0600a8c0 at elbles>
Reply-To: "Sean P. Elble" <S_Elble at yahoo.com>
From: "Sean P. Elble" <S_Elble at yahoo.com>
To: "Peter Schuller" <peter.schuller at infidyne.com>
Cc: <samba at lists.samba.org>
References: <20010619005526.A9769 at infidyne.com> 
  <000901c0f853$c4498360$0600a8c0 at elbles>
  <20010619024724.E635 at prometheus>
Subject: Re: Win2K client joinging Samba 2.2.0 domain
Date: Mon, 18 Jun 2001 21:23:54 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Not a problem. Good luck!

Sean Elble
----- Original Message -----
From: "Peter Schuller" <peter.schuller at infidyne.com>
To: "Sean P. Elble" <S_Elble at yahoo.com>
Cc: "Peter Schuller" <peter.schuller at infidyne.com>; <samba at lists.samba.org>
Sent: Monday, June 18, 2001 8:47 PM
Subject: Re: Win2K client joinging Samba 2.2.0 domain


> > In order for a Windows 2000 client to join a domain controlled by a
Samba
> > 2.2.0 PDC, you must have an entry for root in the smbpasswd file, with a
> > valid password; this is the account that is to be used when you join a
> > domain, and it asks you for a password. This _SHOULD_ work with a domain
> > admin account (at least that's how it works on NT/2000 servers), but,
that
> > functionallity hasn't yet been implemented in Samba. Hope this helps,
and
> > please let me know if it doesn't.
>
> Ah, thanks! This crossed my mind, but I never gave it enough thought to
> actually try it for some reason. I'll try it ASAP.
>
> Thanks again,
>
> --
> / Peter Schuller, InfiDyne Technologies HB
>
> PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller at infidyne.com>'
> Key retrival: Send an E-Mail to getpgpkey at scode.org
> E-Mail: peter.schuller at infidyne.com Web: http://www.scode.org
>
> [demime 0.98b removed an attachment of type application/pgp-signature]
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <murali at epiphany.com>
Delivered-To: samba at lists.samba.org
Received: from smto-mail-02.epiphany.com (unknown [208.49.174.40]) by
  lists.samba.org (Postfix) with ESMTP id 1936D4A3F; Mon, 18 Jun 2001
  18:53:06 -0700 (PDT)
Received: by smto-mail-02.epiphany.com with Internet Mail Service
  (5.5.2653.19) id <M656Y2PJ>; Mon, 18 Jun 2001 18:53:33 -0700
Message-ID: <38A6C7D1B5A8D4118D5B00508B5E08E3145FA1 at goofy.epiphany.com>
From: murali at epiphany.com
To: samba-ntdom at lists.samba.org
Cc: samba at lists.samba.org
Subject: Samba 2.0.7 & Solaris 8 authenticate against NT PDC
Date: Mon, 18 Jun 2001 18:53:28 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Greetings Samba Guru's:

Samba 2.0.7 running on Solaris 8 configured to authenticate against our NT
BDC 
worked very well for quite some time. 

Now, I am getting the following problem. When I tried to connect to this
share
as myself, it asks the password, still I am not able to map this share to my
NT.

Here is the log file: (Somehow, samba thinks my username is nobody) 

  Invalid username/password for nobody
[2001/06/18 17:57:59, 2] smbd/service.c:make_connection(284)
  Invalid username/password for nobody
[2001/06/18 17:59:59, 2] param/loadparm.c:do_section(2481)
  Processing section "[homes]"
[2001/06/18 17:59:59, 2] lib/interface.c:add_interface(83)
  added interface ip=10.3.5.2 bcast=10.3.255.255 nmask=255.255.0.0     


Here is the smb.conf file:

[global]
        workgroup = EPIPHANY
        netbios name = ns1
        comment = EPNY server
        client code page = 437
        lock directory = /usr/local/samba/var/locks
        log file = /usr/local/samba/var/log.%m
        preserve case = Yes
        case sensitive = No
        security = server
        password server = 10.3.1.5
        socket options = TCP_NODELAY SO_KEEPALIVE
        wins server = 10.3.1.10
        local master = No
        load printers = No
        kernel oplocks = No
[homes]
        comment = None
        path = /homes
        read list = @eng
        write list = @eng
        create mask = 0740
        directory mask = 0740
        map archive = No

Your help & suggenstaions are very much appreciated.

Thanks,
Murali                 

Return-Path: <rradan at tycoint.com>
Delivered-To: samba at samba.org
Received: from gate.tycoint.com.au (unknown [202.139.121.81]) by
  lists.samba.org (Postfix) with ESMTP id CA0594BE1 for
  <samba at samba.org>; Mon, 18 Jun 2001 18:58:12 -0700 (PDT)
Received: from [10.1.1.38] by gate.tycoint.com.au for samba at samba.org id
  MAA26679; Tue Jun 19 12:01:57 2001
Received: from nswmh3.tycoint.com.au (nswmh3.tycoint.com.au
  [10.11.1.29]) by nswmh1.tycoint.com.au (8.9.3/8.9.3) with ESMTP id
  LAA14997 for <samba at samba.org>; Tue, 19 Jun 2001 11:46:12 +1000
Received: from netman (ray.tycoint.com.au [10.11.1.50]) by
  nswmh3.tycoint.com.au (8.9.3/8.9.3) with SMTP id LAA01751 for
  <samba at samba.org>; Tue, 19 Jun 2001 11:58:47 +1000
Subject: aix configure problem.
Date: Tue, 19 Jun 2001 12:05:46 +1000
Message-ID: <000e01c0f864$5bda11d0$32010b0a at tycoint.com.au>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0)
To: <samba at samba.org>
From: "Raymond Radan" <rradan at tycoint.com>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello,
i am new to Samba, and i am not getting very far with the install procedure
(see below), any help would be appreciated.

Thankyou.

- i have downloaded samba-2.2.0 copied to the /usr/local directory for
installation on AIX 4.2 and tried running ./configure with the following
results:

#
# pwd
/usr/local/samba-2.2.0/source
# ./configure
loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
# tail config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:772: checking for gcc
configure:802: checking for cc
#


regards,

Raymond Radan.
Systems Administrator
Tyco Services

( System Support Line - (02) 9414 2442, 7.30am To 7.00pm Mon-Fri.)

Return-Path: <blue at mail.gator.net>
Delivered-To: samba at samba.org
Received: from mail.gator.net (mail.gator.net [209.251.152.21]) by
  lists.samba.org (Postfix) with ESMTP id BBCA74BD1 for
  <samba at samba.org>; Mon, 18 Jun 2001 19:16:23 -0700 (PDT)
Received: from localhost (blue at localhost) by mail.gator.net
  (Switch-2.0.5/Switch-2.0.5) with ESMTP id f5J2Jjd26603; Mon, 18 Jun
  2001 22:19:45 -0400
Date: Mon, 18 Jun 2001 22:19:45 -0400 (EDT)
From: spot the dog <blue at gator.net>
To: Raymond Radan <rradan at tycoint.com>
Cc: <samba at samba.org>
Subject: Re: aix configure problem.
In-Reply-To: <000e01c0f864$5bda11d0$32010b0a at tycoint.com.au>
Message-ID: <Pine.LNX.4.30.0106182219160.14114-100000 at mail.gator.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Tue, 19 Jun 2001, Raymond Radan wrote:

> i am new to Samba, and i am not getting very far with the install procedure
> (see below), any help would be appreciated.

install a compiler, or, if you've done that, put it in your path. :)

Return-Path: <murali at epiphany.com>
Delivered-To: samba at samba.org
Received: from smto-mail-02.epiphany.com (unknown [208.49.174.40]) by
  lists.samba.org (Postfix) with ESMTP id EB1024BF4 for
  <samba at samba.org>; Mon, 18 Jun 2001 19:26:51 -0700 (PDT)
Received: by smto-mail-02.epiphany.com with Internet Mail Service
  (5.5.2653.19) id <M656Y2SY>; Mon, 18 Jun 2001 19:27:19 -0700
Message-ID: <38A6C7D1B5A8D4118D5B00508B5E08E3145FA4 at goofy.epiphany.com>
From: murali at epiphany.com
To: samba at samba.org
Subject: FW: Samba 2.0.7 & Solaris 8 authenticate against NT PDC
Date: Mon, 18 Jun 2001 19:27:15 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

-----Original Message-----
From: murali at epiphany.com [mailto:murali at epiphany.com]
Sent: Monday, June 18, 2001 6:53 PM
To: samba-ntdom at lists.samba.org
Cc: samba at lists.samba.org
Subject: Samba 2.0.7 & Solaris 8 authenticate against NT PDC


Greetings Samba Guru's:

Samba 2.0.7 running on Solaris 8 configured to authenticate against our NT
BDC 
worked very well for quite some time. 

Now, I am getting the following problem. When I tried to connect to this
share
as myself, it asks the password, still I am not able to map this share to my
NT.

Here is the log file: (Somehow, samba thinks my username is nobody) 

  Invalid username/password for nobody
[2001/06/18 17:57:59, 2] smbd/service.c:make_connection(284)
  Invalid username/password for nobody
[2001/06/18 17:59:59, 2] param/loadparm.c:do_section(2481)
  Processing section "[homes]"
[2001/06/18 17:59:59, 2] lib/interface.c:add_interface(83)
  added interface ip=10.3.5.2 bcast=10.3.255.255 nmask=255.255.0.0     


Here is the smb.conf file:

[global]
        workgroup = EPIPHANY
        netbios name = ns1
        comment = EPNY server
        client code page = 437
        lock directory = /usr/local/samba/var/locks
        log file = /usr/local/samba/var/log.%m
        preserve case = Yes
        case sensitive = No
        security = server
        password server = 10.3.1.5
        socket options = TCP_NODELAY SO_KEEPALIVE
        wins server = 10.3.1.10
        local master = No
        load printers = No
        kernel oplocks = No
[homes]
        comment = None
        path = /homes
        read list = @eng
        write list = @eng
        create mask = 0740
        directory mask = 0740
        map archive = No

Your help & suggenstaions are very much appreciated.

Thanks,
Murali                 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <jerome_baumgarten at yahoo.fr>
Delivered-To: samba at lists.samba.org
Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com
  [216.136.173.57]) by lists.samba.org (Postfix) with SMTP id C97FD4B36
  for <samba at lists.samba.org>; Mon, 18 Jun 2001 19:44:15 -0700 (PDT)
Received: from unknown (HELO mainpassjerome) (64.120.108.6) by
  smtp.mail.vip.sc5.yahoo.com with SMTP; 19 Jun 2001 02:48:45 -0000
X-Apparently-From: <jerome?baumgarten at yahoo.fr>
Message-ID: <017301c0f86a$c8ea8b50$6f01010a at nt.local>
From: "Jerome Baumgarten" <jerome_baumgarten at yahoo.fr>
To: <samba at lists.samba.org>
Subject: Samba CVS
Date: Mon, 18 Jun 2001 19:51:47 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

I would like to get the last Samba source from the CVS to compile it and I
would like to use it in an existing Win2000 domain. Thus I would like to get
winbind.
Right now I don't have any Samba installation on my machine.
So my question is which one do I need ?
Is it the HEAD or SAMBA_2_2 ?
Is it this command:
cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co samba
or that one ?
cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co -r SAMBA_2_2 samba

Thanks in advance.

Jerome


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Return-Path: <jerome_baumgarten at yahoo.fr>
Delivered-To: samba at samba.org
Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com
  [216.136.173.58]) by lists.samba.org (Postfix) with SMTP id A16024BFB
  for <samba at samba.org>; Mon, 18 Jun 2001 19:45:35 -0700 (PDT)
Received: from unknown (HELO mainpassjerome) (64.120.108.6) by
  smtp.mail.vip.sc5.yahoo.com with SMTP; 19 Jun 2001 02:50:04 -0000
X-Apparently-From: <jerome?baumgarten at yahoo.fr>
Message-ID: <018101c0f86a$f8285af0$6f01010a at nt.local>
From: "Jerome Baumgarten" <jerome_baumgarten at yahoo.fr>
To: <samba at samba.org>
Subject: Samba CVS
Date: Mon, 18 Jun 2001 19:53:06 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

I would like to get the last Samba source from the CVS to compile it and I
would like to use it in an existing Win2000 domain. Thus I would like to get
winbind.
Right now I don't have any Samba installation on my machine.
So my question is which one do I need ?
Is it the HEAD or SAMBA_2_2 ?
Is it this command:
cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co samba
or that one ?
cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co -r SAMBA_2_2 samba

Thanks in advance.

Jerome



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at lists.samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 373324C42 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 23:23:33 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5J6S0g23745; Tue, 19 Jun 2001 08:28:00 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id IAA21696; Tue, 19
  Jun 2001 08:28:00 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id IAA28938; Tue, 19 Jun
  2001 08:28:01 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: <samba at lists.samba.org>, <cnorloff at norloff.com>
Date: Tue, 19 Jun 2001 08:27:59 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: STILL can't login from NT
Message-ID: <3B2F0D0F.10540.F39AC at localhost>
Priority: normal
In-reply-to: <200106181447.AA78709132 at mail.toward.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> I still can't login from WinNT, even though I've:
> -encrypted the passwords
> -added the smbpasswd file
> 
> I can get in as guest when that's enabled, but I can't get in with any usernames (or root!).  
> 
> This is using security=user or share.  We don't use a PDC, so I just want to authenticate with the Unix server that's running Samba (Solaris 2.6). I'm not very familiar with Unix, but am trying to get away from Windows machines.
> 
> I've tried everything I can find, and have hunted through the archives here and the Using Samba book.
> 
> Any ideas?
Can you connect from Win95, Win98? Can you connect using smbclient (-
U user)? Do you have a host allow or a host deny line in smb.conf? 
What is the error message you get on NT? What do the samba logs say? 
Is the smbpasswd file where it is expected by your binary version of 
samba? Have you added the users to the smbpasswd file (smbpasswd -a 
user)? Try a smbpasswd -e user after that. An old samba version had 
the bug that a new user was disabled by default. Have you looked into 
the smbpasswd file with a text editor? Are the permissions correct?

Hops this helps,

Christian

_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at lists.samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 9EB374C49 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 23:42:17 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5J6kjg25714; Tue, 19 Jun 2001 08:46:45 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id IAA22778; Tue, 19
  Jun 2001 08:46:45 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id IAA29615; Tue, 19 Jun
  2001 08:46:46 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: samba at lists.samba.org, craig secrist <seatoast at yahoo.com>
Date: Tue, 19 Jun 2001 08:46:44 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Question from a newbie...
Message-ID: <3B2F1174.6599.20626F at localhost>
Priority: normal
In-reply-to: <20010618202353.83016.qmail at web9607.mail.yahoo.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Hello all,
> 
> I'm pretty new to samba-land and I have a few
> questions regarding capabilities.
> 
> I have a working RedHat 7.1 installation on a 133mhz
> IBM pc. (meager)Hardware = 80Meg RAM, 1 Teac CDRW, 1
> sony CDROM, 1 Travan 2.0 gig tape drive. 
> 
> I would like to set up Samba as a PDC and file server.
> I would also like to back up Win9x, Linux and Mac
> systems to tape, share files and devices(specifically,
> the CDRW, as I don't think my printer is supported)
Why do you think so? You can attach any printer to the parralel port 
of your linux machine. Most should be supported by ghostscript for 
the use form linux. For the use form Windows you don't need that: The 
clients have the printer dirver and all samba and linux do is to 
spool the port. 
 
> Am I asking too much of my little tiny processor, or
> will Samba allow me to do all of this? Will my
> performance be gawdawful?
I'm pretty sure it will work. How much clients do you have? On a 10 
Mbit/s network may be the network will be the bottle neck. It will 
probably be good for testing, learning, a small (home) network. If 
you need performance you should upgrade your hardware. But for 
nightly backups you don't need much performance. We are running a PII 
350 with 256 MB RAM as samba, nfs, mail, web server an a 100 Mbit/s 
networ for about 15 to 20 clients with no performance or stability 
problems (as long as you do not care about big MS access databases on 
the server).

How do you want to share the CDRW? Buring on the fly over the network?

Christian

_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at lists.samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 0C5DF43F7 for
  <samba at lists.samba.org>; Mon, 18 Jun 2001 23:50:59 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5J6tPg26596; Tue, 19 Jun 2001 08:55:25 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id IAA23114; Tue, 19
  Jun 2001 08:55:25 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id IAA30159; Tue, 19 Jun
  2001 08:55:26 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: samba at lists.samba.org, "Peter Schuller"
  <peter.schuller at infidyne.com>
Date: Tue, 19 Jun 2001 08:55:24 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Win2K client joinging Samba 2.2.0 domain
Cc: peter.schuller at infidyne.com
Message-ID: <3B2F137C.8992.285207 at localhost>
Priority: normal
In-reply-to: <20010619005526.A9769 at infidyne.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Hello,
> 
> I have a major problem trying to make a Win2K client join a domain served by
> Samba 2.2.0.
> 
> The situation is this: We have a network of around 25 NT 4.0 clients. Today
> the first Win2K client was introduced, so we upgraded to Samba 2.2.0. After
> working around the disabled-account bug everything on the existing NT 4.0
> clients worked perfectly.
> 
> But making the Win2K client join the domain seems impossible. We've created
> the machine trust account as usual (add the entry in /etc/passwd, including
> the $, and smbpasswd -a -m machinename). When attempting to join the domain,
> the Win2K box wants a username and a password (this is different from NT 4.0
> which basically just did it automatically). As far as we can tell,
> machinename$/machinename is the correct user/password, because it yields a
> different error message than what we get with any other combination.
You have to use root and it's password. For this root must be in 
smbpasswd and not as invalied user in [global]. I'm not sure if root 
must be in domain admin too. If you have set up the add user 
parameter correct the machine account is created on the fly. Do not 
install SP2 before you have jonied the domain or use the current cvs 
version

Christian


> 
> The error message, roughly translated from Swedish, is:
> 
>    "The follwing error occurred while connecting to the domain
>    DOMAIN_NAME: You are using a computer account. In order to access
>    this server you must use your global or local user account."
>    
> Which is weird. We've tried entering existing samba accounts, inluding
> making the account a domain admin, but to no avail. And in general, how are
> we supposed to be logged in to the domain before join:ing it?
> 
> I just don't get it. The docs don't seem to mention any of this entering
> user/password business, and I get the impression the docs aren't written
> with Win2K in mind (or for som reason you are not normally supposed to have
> to enter it).
> 
> Does anyone have any idea? Any hints would be much appreciated.
> 
> Thanks!
>  
> 
> -- 
> / Peter Schuller, InfiDyne Technologies HB
> 
> PGP userID: 0x5584BD98 or 'Peter Schuller <peter.schuller at infidyne.com>'
> Key retrival: Send an E-Mail to getpgpkey at scode.org
> E-Mail: peter.schuller at infidyne.com Web: http://scode.org
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <shakir_imran at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from web5103.mail.yahoo.com (web5103.mail.yahoo.com
  [216.115.106.73]) by lists.samba.org (Postfix) with SMTP id E33D04C4B
  for <samba at lists.samba.org>; Mon, 18 Jun 2001 23:52:20 -0700 (PDT)
Message-ID: <20010619065650.15725.qmail at web5103.mail.yahoo.com>
Received: from [63.100.210.187] by web5103.mail.yahoo.com; Mon, 18 Jun
  2001 23:56:50 PDT
Date: Mon, 18 Jun 2001 23:56:50 -0700 (PDT)
From: imran shakir <shakir_imran at yahoo.com>
Subject: Help Me
To: samba at lists.samba.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

please tell me how can i enable guest account when i
access from windows 98 to the linux running samba i
got a passwd window how can i remove this window
many many thanks to you please help me in this case.

__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Return-Path: <pronetsz at mail.externet.hu>
Delivered-To: samba at lists.samba.org
Received: from prins.externet.hu (Prins.externet.hu [212.40.96.161]) by
  lists.samba.org (Postfix) with ESMTP id 132264C71 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 00:45:12 -0700 (PDT)
Received: from marcigepe (Dial158-56.externet.hu [212.40.102.22]) by
  prins.externet.hu (8.9.3+3.2W/8.9.3/Debian 8.9.3-21) with SMTP id
  JAA10418 for <samba at lists.samba.org>; Tue, 19 Jun 2001 09:49:18 +0200
Message-ID: <001101c0f894$57b67f00$0100a8c0 at marcigepe>
From: "ProNet Kft" <pronetsz at mail.externet.hu>
To: <samba at lists.samba.org>
Subject: samba config
Date: Tue, 19 Jun 2001 09:49:04 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

hello,

does anybody know how can i setup my samba to operate on win9x network?

my samba is runing, but i don't see in network.
the linux pc's see all win9x workstations on the network.
the smb.conf is very simple ...

thx

prNET

Return-Path: <Administrator at josims.com>
Delivered-To: samba at samba.org
Received: from core.josims.com (core.josims.com [195.89.188.194]) by
  lists.samba.org (Postfix) with ESMTP id 431294C4A for
  <samba at samba.org>; Tue, 19 Jun 2001 01:23:45 -0700 (PDT)
Received: by CORE with Internet Mail Service (5.5.2650.21) id
  <MK1ZDKG5>; Tue, 19 Jun 2001 09:28:12 +0100
Message-ID: <C2ADBF38E1F4D3118F9F0060082151A501F689 at CORE>
From: Andrew Lyon <Administrator at josims.com>
To: "'samba at samba.org'" <samba at samba.org>
Subject: AIX 3.2 ?
Date: Tue, 19 Jun 2001 09:28:10 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

Does anybody have samba 2.2 binarys for AIX 3.2.x ? I have a AIX box here
that is still running a very old beta version, the box does not have a C
compiler installed so I cannot upgrade it :(.

Best Regards
Andrew Lyon
IT Manager
J.O. Sims Ltd




************************************************************ 
Registered Office: 
J.O. Sims Ltd 
Pudding Lane 
Pinchbeck 
Spalding 
Lincs 
PE11 3TJ 
Company reg No: 2084187 Vat reg No: GB 437 4621 47 
Tel: +44 (0) 1775 842100 
Fax: +44 (0) 1775 842101 
Web: www.josims.com 
Email: enquiries at josims.com 

************************************************************ 
The information contained in this e-mail is confidential 
and is intended for the addressee only. The contents of 
this e-mail must not be disclosed or copied without the 
sender's consent. If you are not the intended recipient of 
the message, please notify the sender immediately, and 
delete the message. 

The statements and opinions expressed in this message are 
those of the author and do not necessarily reflect those 
of the company. No commitment may be inferred from the 
contents unless explicitly stated.  The company does not 
take any responsibility for the personal views of the 
author. 

This message has been scanned for viruses before sending, 
but the company does not accept any responsibility for 
infection and recommends that you scan any attachments. 
************************************************************

Return-Path: <robert at hoekstra.nu>
Delivered-To: samba at lists.samba.org
Received: from cobalt01.skybernet.nl (unknown [217.17.128.197]) by
  lists.samba.org (Postfix) with ESMTP id A60C44CA4 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 01:25:27 -0700 (PDT)
Received: from snws52 ([217.17.139.4]) by cobalt01.skybernet.nl
  (8.10.2/8.10.2) with SMTP id f5J8TpI29279; Tue, 19 Jun 2001 10:29:51
  +0200
Message-ID: <003601c0f89a$496ee3f0$4801010a at skybernet>
From: "Robert Hoekstra" <robert at hoekstra.nu>
To: "Christian Barth" <barth at cck.uni-kl.de>, <samba at lists.samba.org>,
  "Peter Schuller" <peter.schuller at infidyne.com>
Cc: <peter.schuller at infidyne.com>
References: <3B2F137C.8992.285207 at localhost>
Subject: Re: Win2K client joinging Samba 2.2.0 domain
Date: Tue, 19 Jun 2001 10:31:49 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Even if you upgrade W2k to SP2 after joining, your account will be
'disabled', rendering the domain useless to Win2k.

----- Original Message -----
From: Christian Barth <barth at cck.uni-kl.de>
To: <samba at lists.samba.org>; Peter Schuller <peter.schuller at infidyne.com>
Cc: <peter.schuller at infidyne.com>
Sent: Tuesday, June 19, 2001 8:55 AM
Subject: Re: Win2K client joinging Samba 2.2.0 domain


> > Hello,
> >
> > I have a major problem trying to make a Win2K client join a domain
served by
> > Samba 2.2.0.
> >
> > The situation is this: We have a network of around 25 NT 4.0 clients.
Today
> > the first Win2K client was introduced, so we upgraded to Samba 2.2.0.
After
> > working around the disabled-account bug everything on the existing NT
4.0
> > clients worked perfectly.
> >
> > But making the Win2K client join the domain seems impossible. We've
created
> > the machine trust account as usual (add the entry in /etc/passwd,
including
> > the $, and smbpasswd -a -m machinename). When attempting to join the
domain,
> > the Win2K box wants a username and a password (this is different from NT
4.0
> > which basically just did it automatically). As far as we can tell,
> > machinename$/machinename is the correct user/password, because it yields
a
> > different error message than what we get with any other combination.
> You have to use root and it's password. For this root must be in
> smbpasswd and not as invalied user in [global]. I'm not sure if root
> must be in domain admin too. If you have set up the add user
> parameter correct the machine account is created on the fly. Do not
> install SP2 before you have jonied the domain or use the current cvs
> version
>
> Christian
>
>
> >
> > The error message, roughly translated from Swedish, is:
> >
> >    "The follwing error occurred while connecting to the domain
> >    DOMAIN_NAME: You are using a computer account. In order to access
> >    this server you must use your global or local user account."
> >
> > Which is weird. We've tried entering existing samba accounts, inluding
> > making the account a domain admin, but to no avail. And in general, how
are
> > we supposed to be logged in to the domain before join:ing it?
> >
> > I just don't get it. The docs don't seem to mention any of this entering
> > user/password business, and I get the impression the docs aren't written
> > with Win2K in mind (or for som reason you are not normally supposed to
have
> > to enter it).
> >
> > Does anyone have any idea? Any hints would be much appreciated.
> >
> > Thanks!
> >
> >
> > --
> > / Peter Schuller, InfiDyne Technologies HB
> >
> > PGP userID: 0x5584BD98 or 'Peter Schuller <peter.schuller at infidyne.com>'
> > Key retrival: Send an E-Mail to getpgpkey at scode.org
> > E-Mail: peter.schuller at infidyne.com Web: http://scode.org
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>
>
> _______________________________________________________________________
> In a world without walls and fences, who needs windows and gates? (SUN)
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <ygwang at prosten.com>
Delivered-To: samba at samba.org
Received: from www.uphosting.com.br (unknown [66.70.16.230]) by
  lists.samba.org (Postfix) with ESMTP id 9DCFF4CA4 for
  <samba at samba.org>; Tue, 19 Jun 2001 01:27:12 -0700 (PDT)
Received: from wangyouguo ([210.5.18.79]) by www.uphosting.com.br
  (8.11.1/8.11.1) with SMTP id f5J0e9192490 for <samba at samba.org>; Tue,
  19 Jun 2001 00:40:10 GMT (envelope-from ygwang at prosten.com)
Message-ID: <002401c0f89a$20956e90$7a0245a8 at wangyouguo>
From: "Wang Youguo" <ygwang at prosten.com>
To: <samba at samba.org>
Subject: Would you please help me?
Date: Tue, 19 Jun 2001 16:30:39 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2014.211
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Dear my Savior,

I have a big trouble in configuring SAMBA. I am wondering if I could get some help from you. My problem is descripted here:

SAMBA is installed in a RedHat Linux server and is configured, and 
The machine can be seen from my WinNT4 client, but I can not login when I want to open the shared folder! I got a 'no right' message every time.

The following steps have been done:
(1) 'encrypt password =yes' is added into /etc/smb.conf
(2) 'smbpasswd -a username' is done and I can see the added user in the file:  /usr/local/samba/private/smbpasswd

I have been confused for 2 days, would you please help me? PLEASE!
By the way, I am not familiar with Linux!
Thanks! Thanks! Thanks!

Best Regards,
Kerry Wang

Return-Path: <serge.gracia at turbomeca.fr>
Delivered-To: samba at samba.org
Received: from tm.turbomeca.fr (unknown [156.28.8.1]) by lists.samba.org
  (Postfix) with ESMTP id C1DE64C22 for <samba at samba.org>; Tue, 19 Jun
  2001 02:05:55 -0700 (PDT)
Received: from bdoisc.turbomeca.fr (unknown [156.28.97.7]) by
  tm.turbomeca.fr (Postfix) with ESMTP id 89D7B40014 for
  <samba at samba.org>; Tue, 19 Jun 2001 11:10:03 +0200 (CEST)
Received: from p3696 (p3696.clients.turbomeca.fr [156.28.109.1]) by
  bdoisc.turbomeca.fr (Mirapoint) with SMTP id ABF98946; Tue, 19 Jun
  2001 11:10:14 +0200 (CEST)
Message-ID: <000c01c0f89f$a5b847a0$016d1c9c at clients.turbomeca.fr>
From: "Serge Gracia" <serge.gracia at turbomeca.fr>
To: <samba at samba.org>
Cc: "Serge Gracia" <serge.gracia at turbomeca.fr>
Subject: Use of Samba 2.2.0
Date: Tue, 19 Jun 2001 11:09:02 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello,

I installed Samba 2.2.0 on a hp9000 / 700; I can use it correctly since PC NT
4; it works; but, I meet several difficulties:

- When I mount directories Unix since the PC under user's name xxxxx, I am
obliged to stop the session NT and to redo the login to be able to mount a
directory under another user's name yyyyy?
- The format of files is not the same between Windows and Unix: I can not read
correctly ,since the PC, a file created under Unix (not use of Unix2dos) and
the opposite as well?
- Samba says that it is better not to use locks?; I would like to avoid that
two persons modify a file at the same time; is this possible?

 Thank you if you can read to me and try it more to answer me.

Thank you still.

Goodbye.

serge.gracia at turbomeca.fr

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at lists.samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id 9CD51442E for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 02:19:18 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f5J1NkK29020; Tue, 19 Jun 2001 05:23:46 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  samera.com (8.9.3/8.9.3) with ESMTP id FAA19529; Tue, 19 Jun 2001
  05:23:01 -0400
Message-ID: <3B2F19F7.808 at samera.com.py>
Date: Tue, 19 Jun 2001 05:23:03 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.1)
  Gecko/20010607 Netscape6/6.1b1
X-Accept-Language: en-us, es-py
MIME-Version: 1.0
To: robert at hoekstra.nu
Cc: samba at lists.samba.org
Subject: Re: Win2K client joinging Samba 2.2.0 domain
References: <3B2F137C.8992.285207 at localhost>
  <003601c0f89a$496ee3f0$4801010a at skybernet>
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Will Samba 2.2.1 support Win2k SP2?

Thanks
Oliver

Robert Hoekstra wrote:

>Even if you upgrade W2k to SP2 after joining, your account will be
>'disabled', rendering the domain useless to Win2k.
>
>----- Original Message -----
>From: Christian Barth <barth at cck.uni-kl.de>
>To: <samba at lists.samba.org>; Peter Schuller <peter.schuller at infidyne.com>
>Cc: <peter.schuller at infidyne.com>
>Sent: Tuesday, June 19, 2001 8:55 AM
>Subject: Re: Win2K client joinging Samba 2.2.0 domain
>
>
>>>Hello,
>>>
>>>I have a major problem trying to make a Win2K client join a domain
>>>
>served by
>
>>>Samba 2.2.0.
>>>
>>>The situation is this: We have a network of around 25 NT 4.0 clients.
>>>
>Today
>
>>>the first Win2K client was introduced, so we upgraded to Samba 2.2.0.
>>>
>After
>
>>>working around the disabled-account bug everything on the existing NT
>>>
>4.0
>
>>>clients worked perfectly.
>>>
>>>But making the Win2K client join the domain seems impossible. We've
>>>
>created
>
>>>the machine trust account as usual (add the entry in /etc/passwd,
>>>
>including
>
>>>the $, and smbpasswd -a -m machinename). When attempting to join the
>>>
>domain,
>
>>>the Win2K box wants a username and a password (this is different from NT
>>>
>4.0
>
>>>which basically just did it automatically). As far as we can tell,
>>>machinename$/machinename is the correct user/password, because it yields
>>>
>a
>
>>>different error message than what we get with any other combination.
>>>
>>You have to use root and it's password. For this root must be in
>>smbpasswd and not as invalied user in [global]. I'm not sure if root
>>must be in domain admin too. If you have set up the add user
>>parameter correct the machine account is created on the fly. Do not
>>install SP2 before you have jonied the domain or use the current cvs
>>version
>>
>>Christian
>>
>>
>>>The error message, roughly translated from Swedish, is:
>>>
>>>   "The follwing error occurred while connecting to the domain
>>>   DOMAIN_NAME: You are using a computer account. In order to access
>>>   this server you must use your global or local user account."
>>>
>>>Which is weird. We've tried entering existing samba accounts, inluding
>>>making the account a domain admin, but to no avail. And in general, how
>>>
>are
>
>>>we supposed to be logged in to the domain before join:ing it?
>>>
>>>I just don't get it. The docs don't seem to mention any of this entering
>>>user/password business, and I get the impression the docs aren't written
>>>with Win2K in mind (or for som reason you are not normally supposed to
>>>
>have
>
>>>to enter it).
>>>
>>>Does anyone have any idea? Any hints would be much appreciated.
>>>
>>>Thanks!
>>>
>>>
>>>--
>>>/ Peter Schuller, InfiDyne Technologies HB
>>>
>>>PGP userID: 0x5584BD98 or 'Peter Schuller <peter.schuller at infidyne.com>'
>>>Key retrival: Send an E-Mail to getpgpkey at scode.org
>>>E-Mail: peter.schuller at infidyne.com Web: http://scode.org
>>>--
>>>To unsubscribe from this list go to the following URL and read the
>>>instructions:  http://lists.samba.org/mailman/listinfo/samba
>>>
>>
>>_______________________________________________________________________
>>In a world without walls and fences, who needs windows and gates? (SUN)
>>--
>>To unsubscribe from this list go to the following URL and read the
>>instructions:  http://lists.samba.org/mailman/listinfo/samba
>>

-- 
Oliver Schulze L.
oliver at samera.com.py
Asuncion-Paraguay

Return-Path: <samba at hoekstra.nu>
Delivered-To: samba at lists.samba.org
Received: from cobalt01.skybernet.nl (unknown [217.17.128.197]) by
  lists.samba.org (Postfix) with ESMTP id CFA2B4C55 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 02:23:42 -0700 (PDT)
Received: from snws52 ([217.17.139.4]) by cobalt01.skybernet.nl
  (8.10.2/8.10.2) with SMTP id f5J9RxI31686; Tue, 19 Jun 2001 11:28:01
  +0200
Message-ID: <006901c0f8a2$6972de60$4801010a at skybernet>
From: "Robert Hoekstra" <samba at hoekstra.nu>
To: "Oliver Schulze L." <oliver at samera.com.py>
Cc: <samba at lists.samba.org>
References: <3B2F137C.8992.285207 at localhost>
  <003601c0f89a$496ee3f0$4801010a at skybernet>
  <3B2F19F7.808 at samera.com.py>
Subject: Re: Win2K client joinging Samba 2.2.0 domain
Date: Tue, 19 Jun 2001 11:29:57 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

As stated the current cvs version hsould already support SP2, I haven't
checked though.
Version 2.2.1 of Samba will sure support it.

Grts,
Robert.

  ----- Original Message -----
  From: Oliver Schulze L.
  To: robert at hoekstra.nu
  Cc: samba at lists.samba.org
  Sent: Tuesday, June 19, 2001 11:23 AM
  Subject: Re: Win2K client joinging Samba 2.2.0 domain


  Will Samba 2.2.1 support Win2k SP2?

  Thanks
  Oliver

  Robert Hoekstra wrote:

Even if you upgrade W2k to SP2 after joining, your account will
be'disabled', rendering the domain useless to Win2k.----- Original
Message -----From: Christian Barth mailto:<barth at cck.uni-kl.deTo:
mailto:<samba at lists.samba.org; Peter Schuller
mailto:<peter.schuller at infidyne.comCc:
mailto:<peter.schuller at infidyne.comSent: Tuesday, June 19, 2001 8:55
AMSubject: Re: Win2K client joinging Samba 2.2.0 domain
Hello,I have a major problem trying to make a Win2K client join a domain
served by
Samba 2.2.0.The situation is this: We have a network of around 25 NT 4.0
clients.
Today
the first Win2K client was introduced, so we upgraded to Samba 2.2.0.
After
working around the disabled-account bug everything on the existing NT
4.0
clients worked perfectly.But making the Win2K client join the domain seems
impossible. We've
created
the machine trust account as usual (add the entry in /etc/passwd,
including
the $, and smbpasswd -a -m machinename). When attempting to join the
domain,
the Win2K box wants a username and a password (this is different from NT
4.0
which basically just did it automatically). As far as we can
tell,machinename$/machinename is the correct user/password, because it
yields
a
different error message than what we get with any other combination.
You have to use root and it's password. For this root must be insmbpasswd
and not as invalied user in [global]. I'm not sure if rootmust be in domain
admin too. If you have set up the add userparameter correct the machine
account is created on the fly. Do notinstall SP2 before you have jonied the
domain or use the current cvsversionChristian
The error message, roughly translated from Swedish, is:   "The follwing
error occurred while connecting to the domain   DOMAIN_NAME: You are using a
computer account. In order to access   this server you must use your global
or local user account."Which is weird. We've tried entering existing samba
accounts, inludingmaking the account a domain admin, but to no avail. And in
general, how
are
we supposed to be logged in to the domain before join:ing it?I just don't
get it. The docs don't seem to mention any of this enteringuser/password
business, and I get the impression the docs aren't writtenwith Win2K in mind
(or for som reason you are not normally supposed to
have
to enter it).Does anyone have any idea? Any hints would be much
appreciated.Thanks!--/ Peter Schuller, InfiDyne Technologies HBPGP userID:
0x5584BD98 or 'Peter Schuller <peter.schuller at infidyne.com>'Key retrival:
Send an E-Mail to getpgpkey at scode.orgE-Mail: peter.schuller at infidyne.com
Web: http://scode.org--To unsubscribe from this list go to the following URL
and read theinstructions:  http://lists.samba.org/mailman/listinfo/samba
_______________________________________________________________________In a
world without walls and fences, who needs windows and gates? (SUN)--To
unsubscribe from this list go to the following URL and read theinstructions:
http://lists.samba.org/mailman/listinfo/samba


--
Oliver Schulze L.
oliver at samera.com.py
Asuncion-Paraguay

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id DF5C64CAD for <samba at lists.samba.org>; Tue, 19
  Jun 2001 02:25:27 -0700 (PDT)
Received: from piglett.bartlett.house (as1-98.cbr.au.asiaonline.net
  [210.215.9.98]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2) with
  ESMTP id f5J9T5I17911; Tue, 19 Jun 2001 19:29:14 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  TAA03790; Tue, 19 Jun 2001 19:28:38 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  TAA10635; Tue, 19 Jun 2001 19:28:37 +1000
Message-ID: <3B2F1B44.3835B031 at bartlett.house>
Date: Tue, 19 Jun 2001 19:28:36 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
Reply-To: abartlet at samba.org
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "Oliver Schulze L." <oliver at samera.com.py>
Cc: robert at hoekstra.nu, samba at lists.samba.org
Subject: Re: Win2K client joinging Samba 2.2.0 domain
References: <3B2F137C.8992.285207 at localhost>
  <003601c0f89a$496ee3f0$4801010a at skybernet>
  <3B2F19F7.808 at samera.com.py>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Yes, the code to do support this (and apparently Windows XP as well) is
in current CVS.

Andrew Bartlett
abartlet at samba.org

"Oliver Schulze L." wrote:
> 
> Will Samba 2.2.1 support Win2k SP2?
> 
> Thanks
> Oliver
> 
> Robert Hoekstra wrote:
> 
> >Even if you upgrade W2k to SP2 after joining, your account will be
> >'disabled', rendering the domain useless to Win2k.
> >
> >----- Original Message -----
> >From: Christian Barth <barth at cck.uni-kl.de>
> >To: <samba at lists.samba.org>; Peter Schuller <peter.schuller at infidyne.com>
> >Cc: <peter.schuller at infidyne.com>
> >Sent: Tuesday, June 19, 2001 8:55 AM
> >Subject: Re: Win2K client joinging Samba 2.2.0 domain
> >
> >
> >>>Hello,
> >>>
> >>>I have a major problem trying to make a Win2K client join a domain
> >>>
> >served by
> >
> >>>Samba 2.2.0.
> >>>
> >>>The situation is this: We have a network of around 25 NT 4.0 clients.
> >>>
> >Today
> >
> >>>the first Win2K client was introduced, so we upgraded to Samba 2.2.0.
> >>>
> >After
> >
> >>>working around the disabled-account bug everything on the existing NT
> >>>
> >4.0
> >
> >>>clients worked perfectly.
> >>>
> >>>But making the Win2K client join the domain seems impossible. We've
> >>>
> >created
> >
> >>>the machine trust account as usual (add the entry in /etc/passwd,
> >>>
> >including
> >
> >>>the $, and smbpasswd -a -m machinename). When attempting to join the
> >>>
> >domain,
> >
> >>>the Win2K box wants a username and a password (this is different from NT
> >>>
> >4.0
> >
> >>>which basically just did it automatically). As far as we can tell,
> >>>machinename$/machinename is the correct user/password, because it yields
> >>>
> >a
> >
> >>>different error message than what we get with any other combination.
> >>>
> >>You have to use root and it's password. For this root must be in
> >>smbpasswd and not as invalied user in [global]. I'm not sure if root
> >>must be in domain admin too. If you have set up the add user
> >>parameter correct the machine account is created on the fly. Do not
> >>install SP2 before you have jonied the domain or use the current cvs
> >>version
> >>
> >>Christian
> >>
> >>
> >>>The error message, roughly translated from Swedish, is:
> >>>
> >>>   "The follwing error occurred while connecting to the domain
> >>>   DOMAIN_NAME: You are using a computer account. In order to access
> >>>   this server you must use your global or local user account."
> >>>
> >>>Which is weird. We've tried entering existing samba accounts, inluding
> >>>making the account a domain admin, but to no avail. And in general, how
> >>>
> >are
> >
> >>>we supposed to be logged in to the domain before join:ing it?
> >>>
> >>>I just don't get it. The docs don't seem to mention any of this entering
> >>>user/password business, and I get the impression the docs aren't written
> >>>with Win2K in mind (or for som reason you are not normally supposed to
> >>>
> >have
> >
> >>>to enter it).
> >>>
> >>>Does anyone have any idea? Any hints would be much appreciated.
> >>>
> >>>Thanks!
> >>>
> >>>
> >>>--
> >>>/ Peter Schuller, InfiDyne Technologies HB
> >>>
> >>>PGP userID: 0x5584BD98 or 'Peter Schuller <peter.schuller at infidyne.com>'
> >>>Key retrival: Send an E-Mail to getpgpkey at scode.org
> >>>E-Mail: peter.schuller at infidyne.com Web: http://scode.org
> >>>--
> >>>To unsubscribe from this list go to the following URL and read the
> >>>instructions:  http://lists.samba.org/mailman/listinfo/samba
> >>>
> >>
> >>_______________________________________________________________________
> >>In a world without walls and fences, who needs windows and gates? (SUN)
> >>--
> >>To unsubscribe from this list go to the following URL and read the
> >>instructions:  http://lists.samba.org/mailman/listinfo/samba
> >>
> 
> --
> Oliver Schulze L.
> oliver at samera.com.py
> Asuncion-Paraguay
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id 8C3674CD3 for <samba at lists.samba.org>; Tue, 19
  Jun 2001 02:52:39 -0700 (PDT)
Received: from piglett.bartlett.house (as2-199.cbr.au.asiaonline.net
  [210.215.10.199]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5J9uvI20972; Tue, 19 Jun 2001 19:56:57 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  TAA04108; Tue, 19 Jun 2001 19:56:30 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  TAA12173; Tue, 19 Jun 2001 19:56:29 +1000
Message-ID: <3B2F21CD.8D294B8E at bartlett.house>
Date: Tue, 19 Jun 2001 19:56:29 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
Reply-To: abartlet at samba.org
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Eric Boucher <eric_boucher60 at yahoo.com>
Cc: SAMBA <samba at lists.samba.org>
Subject: Re: security:everybody access home of anybody(re-post
References: <20010606182240.23780.qmail at web9401.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Eric Boucher wrote:
> 
> Hi there,
> 
> I have posted earlier this problem I have with some
> security and somebody told me to include my "smb.conf"
> description. So here it is. So the problem is this
> one:
> 
> I am using samba 2.2.0 and I have only one single
> Win2k client on it. Every user access there home
> directory via this single Win2k box. But everytime a
> user logout and a new user login, this new user has
> access to the home share of the user who whas log
> before. 

What are the directory permissions involved?
What can these users access when logged in interactivly to the server
(SSH, telent, console)?

Samba perfers not to second-guess the admin, and unless you specifty
'valid users = %S' (or somthing like that) then its all perfectly valid.

Set the home directories to mode 0700 and try again.

> And if this second use logout and a third user
> log in, he has access to the home share of the two
> other users, and so on. So at the end of the day, if
> everybody has logon at least once, everybody has
> access to anybody home share. 

Unfortunetly WinNT (and 2k I presume) keeps profile connections after a
user logs off - using the new users permissions but the same
connection.  This is not somthing I have particularly come across as I
don't do many domain logons at my site, and RedHat home dirs are 0700.

> If I HUP all the samba
> servers, the user who is login has only access to his
> home share, but the proccess only begin one more time.
> It's seems like the connection between all the users
> on that single machine stay until I reset the samba
> server. Can somebody help me?
> 
> Here's a sample of my "smb.conf" file:
> 
> [global]
>         debug level = 1
>         wins support = NO
>         wins server = 57.227.204.4
>         os level = 0
>         local master = NO
>         domain master = NO
>         security = domain
>         preferred master = NO
>         remote announce = 57.227.204.4
>         remote browse sync = 57.227.204.4
>         hosts allow = 57.227.204.20
>         browseable = YES
>         workgroup = MDM
>         netbios name = server2
>         socket options = TCP_NODELAY
>         password server = mdmmain
>         encrypt passwords = YES
>         smb passwd file = /usr/samba/private/smbpasswd
>         read only = YES
>         printcap name = /etc/printcap
>         printing = BSD
>         load printers = YES
>         print command = lpr -P %p %s; rm %s
>         username map = /usr/samba/usermap
>         logon script = startup.bat
>         max log size = 5000
>         max open files = 10000
>         browse list = YES
>         follow symlinks = YES
>         wide links = YES
>         panic action = /usr/samba/scripts/panic
>         hide dot files = YES
> 
> [homes]
>         read only = NO
>         browseable = NO
>         preexec = echo Login : %P : %T : Windows=%U.%G "<==>"
> Unix=%u.%g : sur %m : IP=%I : architecture=%a >>
> /usr/samba/var/login.log
>         postexec = echo Logout: %P : %T : Windows=%U.%G
> "<==>" Unix=%u.%g : sur %m : IP=%I : architecture=%a
> >> /usr/samba/var/login.log
> 
> [printer]
> 
>         comment = Imprimante sur le reseau Unix
>         print ok = YES
>         path = /var/spool/samba
>         browseable = NO
> 
> [transfer]
>         comment = Dossier de partage
>         path = /disk1/people/transfer
>         browseable = YES
>         read only = NO
>         create mask = 777
>         directory mask = 777
>         preexec = echo Login : %P : %T : Windows=%U.%G "<==>"
> Unix=%u.%g : sur %m : IP=%I : architecture=%a >>
> /usr/samba/var/login.log
>         postexec = echo Logout: %P : %T : Windows=%U.%G
> "<==>" Unix=%u.%g : sur %m : IP=%I : architecture=%a
> >> /usr/samba/var/login.log

BTW, if your trying to record logins/logouts then configure --with-utmp
and 'utmp = yes', as this works better and does not require
world-writable logs...

Andrew Bartlett

-- 
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org

Return-Path: <Wolfgang.Kretzschmar at abas.de>
Delivered-To: samba at samba.org
Received: from gate.abas.de (mail.abas.de [212.86.210.134]) by
  lists.samba.org (Postfix) with ESMTP id CEC514CDA for
  <samba at samba.org>; Tue, 19 Jun 2001 02:54:02 -0700 (PDT)
Received: by gate.abas.de (8.9.3/8.9.3) id LAA13195 for samba at samba.org;
  Tue, 19 Jun 2001 11:58:30 +0200 (CEST)
Received: (from localhost) by gate.abas.de (MSCAN) id
  2/gate.abas.de/smtp-gw/mscan; Tue Jun 19 11:58:30 2001
Message-ID: <3B2F2262.D69612BE at abas.de>
Date: Tue, 19 Jun 2001 11:58:58 +0200
From: Wolfgang Kretzschmar <Wolfgang.Kretzschmar at abas.de>
Organization: ABAS Software AG
X-Mailer: Mozilla 4.75 [de] (Windows NT 5.0; U)
X-Accept-Language: de,en
MIME-Version: 1.0
To: SAMBA <samba at samba.org>
Subject: smbmount/smbpasswd: specify path to smb.conf
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-MIME-Autoconverted: from 8bit to quoted-printable by as.abas.de id
  LAA01885
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Most samba tools (smbd, smbstatus, ...) have an option -s to use an arbitrary
smb.conf file.

smbmount and smbpasswd do not. Both always use <sambadir>/lib/smb.conf.

So I have to create a symbolic link.

It would be nice to have such an option of smbmount and
smbpasswd.

Wolfgang Kretzschmar

--
+--------------------------------------------------------------------+
| Wolfgang Kretzschmar          email: Wolfgang.Kretzschmar at abas.de  |
| ABAS Software AG              web  : http://www.abas.de            |
| S|dendstr. 42                                                      |
| 76135 Karlsruhe                                                    |
+--------------------------------------------------------------------+

Return-Path: <francia_a at yahoo.com>
Delivered-To: samba at samba.org
Received: from smtp013.mail.yahoo.com (smtp013.mail.yahoo.com
  [216.136.173.57]) by lists.samba.org (Postfix) with SMTP id 5B8D04B54
  for <samba at samba.org>; Tue, 19 Jun 2001 03:14:46 -0700 (PDT)
Received: from unknown (HELO goose) (203.167.86.146) by
  smtp.mail.vip.sc5.yahoo.com with SMTP; 19 Jun 2001 10:19:13 -0000
X-Apparently-From: <francia?a at yahoo.com>
Message-ID: <000901c0f8aa$32708ea0$8804a8c0 at goose>
From: "Francia Avila" <francia_a at yahoo.com>
To: <samba at samba.org>
Cc: "Francia B Avila" <francia_a at edsamail.com.ph>
Subject: Error messages in Samba 2.2
Date: Tue, 19 Jun 2001 18:25:40 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello Samba Team,

Samba is great!  Thanks.

We are running Samba 2.2 on Red Hat Linux 6.2.  The PDC is WinNT 4.0 and
clients are Win98, WinNT4 and Win2000 workstations.  They can access files but
I found these in log.smbd.  I have already gone though the mail lists but i
can't find anything that would help me fix the error ...
-------
[2001/06/17 04:02:02, 0] smbd/server.c:sig_hup(364)
Got SIGHUP
[2001/06/17 04:02:02, 0] lib/util_sock.c:set_socket_options(165)
Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2001/06/17 04:02:02, 0] lib/util_sock.c:set_socket_options(165)
Failed to set socket option TCP_NODELAY (Error Socket operation on
non-socket)
[2001/06/17 04:02:02, 0] lib/util_sock.c:set_socket_options(165)
Failed to set socket option SO_RCVBUF (Error Socket operation on non-socket)
[2001/06/17 04:02:02, 0] lib/util_sock.c:set_socket_options(165)
Failed to set socket option SO_SNDBUF (Error Socket operation on non-socket)
[2001/06/18 07:36:45, 0] smbd/nttrans.c:call_nt_transact_ioctl(1776)
call_nt_transact_ioctl: Currently not implemented.
[2001/06/18 09:05:45, 0] smbd/nttrans.c:call_nt_transact_ioctl(1776)
call_nt_transact_ioctl: Currently not implemented.
[2001/06/18 09:20:09, 0] smbd/nttrans.c:call_nt_transact_ioctl(1776)
call_nt_transact_ioctl: Currently not implemented.
-----

Please help.

Thanks again.

Franz Avila
Azeus Systems Philippines, Inc.

Return-Path: <uhe at stahl-groeditz.de>
Delivered-To: samba at lists.samba.org
Received: from gsw.stahl-groeditz.de (gsw.stahl-groeditz.de
  [194.122.13.233]) by lists.samba.org (Postfix) with ESMTP id 40B504CEB
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 03:18:15 -0700 (PDT)
Received: from mailto.stahl-groeditz.de (ns1.stahl-groeditz.de
  [192.168.3.1]) by gsw.stahl-groeditz.de (Postfix) with ESMTP id
  AC6CBEC983; Tue, 19 Jun 2001 12:28:48 +0200 (CEST)
Received: from lxhost.stahl-groeditz.de (lxhost.stahl-groeditz.de
  [192.168.0.10]) by mailto.stahl-groeditz.de (Postfix) with ESMTP id
  AA1A71F5B7; Tue, 19 Jun 2001 12:34:50 +0200 (CEST)
Received: by lxhost.stahl-groeditz.de (Postfix, from userid 1001) id
  05E44AFF93; Tue, 19 Jun 2001 12:28:58 +0000 (GMT)
Date: Tue, 19 Jun 2001 12:28:58 +0000
From: Uwe Hentzschel <uhe at stahl-groeditz.de>
To: Tim Potter <tpot at valinux.com>
Cc: samba at lists.samba.org
Subject: Re: wbinfo_check_secret
Message-ID: <20010619122858.B26102 at lxhost.stahl-groeditz.de>
References: <014601c0f818$2d4f2900$1a00a8c0 at diamondback>
  <15150.38799.855902.263766 at frungy.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
User-Agent: Mutt/1.2.5i
In-Reply-To: <15150.38799.855902.263766 at frungy.org>; from
  tpot at valinux.com on Tue, Jun 19, 2001 at 10:06:39 +1000
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Tim!

On Tue, 19 Jun 2001, Tim Potter wrote:

> M. Kilroy writes:
>
> > I have a question about the following code from wbinfo.c.
> There are a couple of problem areas with winbindd in head at the
> moment.  The first is this one (not checking machine account
> properly), secondly the pam_winbind module isn't fully working,
> and thirdly it doesn't cope with large numbers of users/groups
> just yet.  This may be the cause of your out of memory error
> alluded to in another message.
>
>
> TIm.

i have a question.
I use the winbindd from HEAD ( last sunday ). I my little environment it
seems
to work great ( 1 Citrixserver - NT4-SP6, 2 Domaincontroller - W2K and
1 Samba 2.2 Fileserver ). The testuser ( 5 user ) can authorized through the
DC and get there Shares from the Samba Fileserver.
BBBUUUTTT next week i will use it in an production environment ( 2
Citrixserver
W2K , 2 Domaincontroller - W2K and 1 Samba 2.2 Fileserver ). I think about
100
users should use the server.

Should i use winbindd or not.

Uwe

--
Uwe Hentzschel
Edelstahl Grvditz GmbH
Riesaer Str.
01609 Grvditz

Tel: +49-35263-62551
Fax: +49-35263-62542

Return-Path: <tpot at samba.org>
Delivered-To: samba at lists.samba.org
Received: by lists.samba.org (Postfix, from userid 1007) id 420384B9C;
  Tue, 19 Jun 2001 03:25:11 -0700 (PDT)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15151.10554.823735.983658 at frungy.org>
Date: Tue, 19 Jun 2001 20:28:10 +1000 (EST)
To: Uwe Hentzschel <uhe at stahl-groeditz.de>
Cc: samba at lists.samba.org
Subject: Re: wbinfo_check_secret
In-Reply-To: <20010619122858.B26102 at lxhost.stahl-groeditz.de>
References: <014601c0f818$2d4f2900$1a00a8c0 at diamondback>
  <15150.38799.855902.263766 at frungy.org>
  <20010619122858.B26102 at lxhost.stahl-groeditz.de>
X-Mailer: VM 6.75 under Emacs 20.7.2
From: Tim Potter <tpot at valinux.com>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Uwe Hentzschel writes:

> i have a question.
> I use the winbindd from HEAD ( last sunday ). I my little environment it seems
> to work great ( 1 Citrixserver - NT4-SP6, 2 Domaincontroller - W2K and 
> 1 Samba 2.2 Fileserver ). The testuser ( 5 user ) can authorized through the
> DC and get there Shares from the Samba Fileserver.
> BBBUUUTTT next week i will use it in an production environment ( 2 Citrixserver
> W2K , 2 Domaincontroller - W2K and 1 Samba 2.2 Fileserver ). I think about 100
> users should use the server. 
> 
> Should i use winbindd or not. 

I don't know.  Why don't you give it a try?  (-:

But seriously, to probe the limit of how many users/groups can be
resolved, try upping the number of users on your test system to a
similar level as your production system.


Tim.

Return-Path: <pronetsz at mail.externet.hu>
Delivered-To: samba at lists.samba.org
Received: from prins.externet.hu (Prins.externet.hu [212.40.96.161]) by
  lists.samba.org (Postfix) with ESMTP id AA28D4CEB for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 03:29:07 -0700 (PDT)
Received: from marcigepe (Dial038-56.externet.hu [212.40.107.38]) by
  prins.externet.hu (8.9.3+3.2W/8.9.3/Debian 8.9.3-21) with SMTP id
  MAA12765 for <samba at lists.samba.org>; Tue, 19 Jun 2001 12:33:34 +0200
Message-ID: <001e01c0f8ab$47ebb6a0$0100a8c0 at marcigepe>
From: "ProNet Kft" <pronetsz at mail.externet.hu>
To: <samba at lists.samba.org>
Subject: samba config
Date: Tue, 19 Jun 2001 12:33:29 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

hello,

does anybody know how can i setup my samba to operate on win9x network?

my samba is runing, but i don't see the linux pc on the win9x network.
the linux pc's see all win9x workstations on the network.
my smb.conf is very simple ...

thx

prNET

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id B1CD54466 for <samba at lists.samba.org>; Tue, 19
  Jun 2001 03:45:33 -0700 (PDT)
Received: from piglett.bartlett.house (as2-199.cbr.au.asiaonline.net
  [210.215.10.199]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5JAniI27260; Tue, 19 Jun 2001 20:49:45 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  UAA04292; Tue, 19 Jun 2001 20:49:13 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  UAA14467; Tue, 19 Jun 2001 20:49:12 +1000
Message-ID: <3B2F2E28.CA8603E3 at bartlett.house>
Date: Tue, 19 Jun 2001 20:49:12 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
Reply-To: abartlet at samba.org
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: ProNet Kft <pronetsz at mail.externet.hu>
Cc: samba at lists.samba.org
Subject: Re: samba config
References: <001e01c0f8ab$47ebb6a0$0100a8c0 at marcigepe>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

ProNet Kft wrote:
> 
> hello,
> 
> does anybody know how can i setup my samba to operate on win9x network?
> 
> my samba is runing, but i don't see the linux pc on the win9x network.
> the linux pc's see all win9x workstations on the network.
> my smb.conf is very simple ...

Then why wasn't it attached?

Seriously, without some detailed info, there are so many possiblities
and it makes it very hard to answer your questions.

Andrew Bartlett
abartlet at samba.org

-- 
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org

Return-Path: <shadow at webdev.ines.ro>
Delivered-To: samba at lists.samba.org
Received: from webdev.ines.ro (WebDev.iNES.RO [193.230.220.6]) by
  lists.samba.org (Postfix) with SMTP id 51EBF4CEA for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 03:49:45 -0700 (PDT)
Received: (qmail 26688 invoked by uid 501); 19 Jun 2001 10:54:15 -0000
Received: from localhost (sendmail-bs at 127.0.0.1) by localhost with SMTP;
  19 Jun 2001 10:54:15 -0000
Date: Tue, 19 Jun 2001 13:54:15 +0300 (EEST)
From: Umbra <shadow at webdev.ines.ro>
To: <samba at lists.samba.org>
Subject: Re: Win2K client joinging Samba 2.2.0 domain
In-Reply-To: <3B2F1B44.3835B031 at bartlett.house>
Message-ID: <Pine.LNX.4.30.0106191343010.26539-100000 at webdev.ines.ro>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,
I grabed the latest CVS, using
cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co -r SAMBA_2_2 samba.
I've installed it and I'm getting some warnings:

[2001/06/19 13:39:43, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/opt/samba/var/locks/unexpected.tdb): tdb_oob len -3880 beyond eof at 8192
[2001/06/19 13:39:43, 0] tdb/tdbutil.c:tdb_log(342)
  tdb(/opt/samba/var/locks/unexpected.tdb): tdb_free: left read failed at 4294963392 (4096)

Anyway, I still cannot join a domain with a win2k sp2 client.
I tell the client to become a member of the domain INTERACTIVE, he asks me
an account name and a password to join the domain, I type them(the account
is shadow, which works from a win98 client).

The windows machine then says:
The following error occurred attempting to join the domain "INTERACTIVE":

The procedure number is out of range.

The logs say(samba was started with -d 1, if you need more, just tell me):

[2001/06/19 13:39:04, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2001/06/19 13:39:04, 0] rpc_parse/parse_prs.c:prs_mem_get(441)
  prs_mem_get: reading data of size 2 would overrun buffer.
[2001/06/19 13:39:04, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672)
  api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2001/06/19 13:39:04, 0] rpc_server/srv_pipe.c:api_rpcTNP(1215)
  api_rpcTNP: api_samr_rpc: SAMR_SET_USERINFO failed.

Is there something I did wrong ?

On Tue, 19 Jun 2001, Andrew Bartlett wrote:

> Yes, the code to do support this (and apparently Windows XP as well) is
> in current CVS.
>
> Andrew Bartlett
> abartlet at samba.org
>
> "Oliver Schulze L." wrote:
> >
> > Will Samba 2.2.1 support Win2k SP2?
> >
> > Thanks
> > Oliver
> >
> > Robert Hoekstra wrote:
> >
> > >Even if you upgrade W2k to SP2 after joining, your account will be
> > >'disabled', rendering the domain useless to Win2k.
> > >
> > >----- Original Message -----
> > >From: Christian Barth <barth at cck.uni-kl.de>
> > >To: <samba at lists.samba.org>; Peter Schuller <peter.schuller at infidyne.com>
> > >Cc: <peter.schuller at infidyne.com>
> > >Sent: Tuesday, June 19, 2001 8:55 AM
> > >Subject: Re: Win2K client joinging Samba 2.2.0 domain
> > >
> > >
> > >>>Hello,
> > >>>
> > >>>I have a major problem trying to make a Win2K client join a domain
> > >>>
> > >served by
> > >
> > >>>Samba 2.2.0.
> > >>>
> > >>>The situation is this: We have a network of around 25 NT 4.0 clients.
> > >>>
> > >Today
> > >
> > >>>the first Win2K client was introduced, so we upgraded to Samba 2.2.0.
> > >>>
> > >After
> > >
> > >>>working around the disabled-account bug everything on the existing NT
> > >>>
> > >4.0
> > >
> > >>>clients worked perfectly.
> > >>>
> > >>>But making the Win2K client join the domain seems impossible. We've
> > >>>
> > >created
> > >
> > >>>the machine trust account as usual (add the entry in /etc/passwd,
> > >>>
> > >including
> > >
> > >>>the $, and smbpasswd -a -m machinename). When attempting to join the
> > >>>
> > >domain,
> > >
> > >>>the Win2K box wants a username and a password (this is different from NT
> > >>>
> > >4.0
> > >
> > >>>which basically just did it automatically). As far as we can tell,
> > >>>machinename$/machinename is the correct user/password, because it yields
> > >>>
> > >a
> > >
> > >>>different error message than what we get with any other combination.
> > >>>
> > >>You have to use root and it's password. For this root must be in
> > >>smbpasswd and not as invalied user in [global]. I'm not sure if root
> > >>must be in domain admin too. If you have set up the add user
> > >>parameter correct the machine account is created on the fly. Do not
> > >>install SP2 before you have jonied the domain or use the current cvs
> > >>version
> > >>
> > >>Christian
> > >>
> > >>
> > >>>The error message, roughly translated from Swedish, is:
> > >>>
> > >>>   "The follwing error occurred while connecting to the domain
> > >>>   DOMAIN_NAME: You are using a computer account. In order to access
> > >>>   this server you must use your global or local user account."
> > >>>
> > >>>Which is weird. We've tried entering existing samba accounts, inluding
> > >>>making the account a domain admin, but to no avail. And in general, how
> > >>>
> > >are
> > >
> > >>>we supposed to be logged in to the domain before join:ing it?
> > >>>
> > >>>I just don't get it. The docs don't seem to mention any of this entering
> > >>>user/password business, and I get the impression the docs aren't written
> > >>>with Win2K in mind (or for som reason you are not normally supposed to
> > >>>
> > >have
> > >
> > >>>to enter it).
> > >>>
> > >>>Does anyone have any idea? Any hints would be much appreciated.
> > >>>
> > >>>Thanks!
> > >>>
> > >>>
> > >>>--
> > >>>/ Peter Schuller, InfiDyne Technologies HB
> > >>>
> > >>>PGP userID: 0x5584BD98 or 'Peter Schuller <peter.schuller at infidyne.com>'
> > >>>Key retrival: Send an E-Mail to getpgpkey at scode.org
> > >>>E-Mail: peter.schuller at infidyne.com Web: http://scode.org
> > >>>--
> > >>>To unsubscribe from this list go to the following URL and read the
> > >>>instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >>>
> > >>
> > >>_______________________________________________________________________
> > >>In a world without walls and fences, who needs windows and gates? (SUN)
> > >>--
> > >>To unsubscribe from this list go to the following URL and read the
> > >>instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >>
> >
> > --
> > Oliver Schulze L.
> > oliver at samera.com.py
> > Asuncion-Paraguay
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>

Return-Path: <shadow at webdev.ines.ro>
Delivered-To: samba at lists.samba.org
Received: from webdev.ines.ro (WebDev.iNES.RO [193.230.220.6]) by
  lists.samba.org (Postfix) with SMTP id 6198B42F1 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 03:58:35 -0700 (PDT)
Received: (qmail 26768 invoked by uid 501); 19 Jun 2001 11:03:05 -0000
Received: from localhost (sendmail-bs at 127.0.0.1) by localhost with SMTP;
  19 Jun 2001 11:03:05 -0000
Date: Tue, 19 Jun 2001 14:03:05 +0300 (EEST)
From: Umbra <shadow at webdev.ines.ro>
To: <samba at lists.samba.org>
Subject: Re: Win2K client joinging Samba 2.2.0 domain
In-Reply-To: <003601c0f89a$496ee3f0$4801010a at skybernet>
Message-ID: <Pine.LNX.4.30.0106191401190.26539-100000 at webdev.ines.ro>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I don't understand. I upgraded the w2k to sp2 before joining the domain
anyway. And why would my account be disabled ? I can access shares(like my
home) on the samba server using this account.

On Tue, 19 Jun 2001, Robert Hoekstra wrote:

> Even if you upgrade W2k to SP2 after joining, your account will be
> 'disabled', rendering the domain useless to Win2k.
>
> ----- Original Message -----
> From: Christian Barth <barth at cck.uni-kl.de>
> To: <samba at lists.samba.org>; Peter Schuller <peter.schuller at infidyne.com>
> Cc: <peter.schuller at infidyne.com>
> Sent: Tuesday, June 19, 2001 8:55 AM
> Subject: Re: Win2K client joinging Samba 2.2.0 domain
>
>
> > > Hello,
> > >
> > > I have a major problem trying to make a Win2K client join a domain
> served by
> > > Samba 2.2.0.
> > >
> > > The situation is this: We have a network of around 25 NT 4.0 clients.
> Today
> > > the first Win2K client was introduced, so we upgraded to Samba 2.2.0.
> After
> > > working around the disabled-account bug everything on the existing NT
> 4.0
> > > clients worked perfectly.
> > >
> > > But making the Win2K client join the domain seems impossible. We've
> created
> > > the machine trust account as usual (add the entry in /etc/passwd,
> including
> > > the $, and smbpasswd -a -m machinename). When attempting to join the
> domain,
> > > the Win2K box wants a username and a password (this is different from NT
> 4.0
> > > which basically just did it automatically). As far as we can tell,
> > > machinename$/machinename is the correct user/password, because it yields
> a
> > > different error message than what we get with any other combination.
> > You have to use root and it's password. For this root must be in
> > smbpasswd and not as invalied user in [global]. I'm not sure if root
> > must be in domain admin too. If you have set up the add user
> > parameter correct the machine account is created on the fly. Do not
> > install SP2 before you have jonied the domain or use the current cvs
> > version
> >
> > Christian
> >
> >
> > >
> > > The error message, roughly translated from Swedish, is:
> > >
> > >    "The follwing error occurred while connecting to the domain
> > >    DOMAIN_NAME: You are using a computer account. In order to access
> > >    this server you must use your global or local user account."
> > >
> > > Which is weird. We've tried entering existing samba accounts, inluding
> > > making the account a domain admin, but to no avail. And in general, how
> are
> > > we supposed to be logged in to the domain before join:ing it?
> > >
> > > I just don't get it. The docs don't seem to mention any of this entering
> > > user/password business, and I get the impression the docs aren't written
> > > with Win2K in mind (or for som reason you are not normally supposed to
> have
> > > to enter it).
> > >
> > > Does anyone have any idea? Any hints would be much appreciated.
> > >
> > > Thanks!
> > >
> > >
> > > --
> > > / Peter Schuller, InfiDyne Technologies HB
> > >
> > > PGP userID: 0x5584BD98 or 'Peter Schuller <peter.schuller at infidyne.com>'
> > > Key retrival: Send an E-Mail to getpgpkey at scode.org
> > > E-Mail: peter.schuller at infidyne.com Web: http://scode.org
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >
> >
> >
> > _______________________________________________________________________
> > In a world without walls and fences, who needs windows and gates? (SUN)
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 709384403 for
  <samba at samba.org>; Tue, 19 Jun 2001 03:59:41 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5JB47u02189; Tue, 19 Jun 2001 13:04:07 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id NAA11995; Tue, 19
  Jun 2001 13:04:07 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id NAA15402; Tue, 19 Jun
  2001 13:04:10 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: <samba at samba.org>, "Wang Youguo" <ygwang at prosten.com>
Date: Tue, 19 Jun 2001 13:04:03 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Would you please help me?
Message-ID: <3B2F4DC3.20051.10BF834 at localhost>
Priority: normal
In-reply-to: <002401c0f89a$20956e90$7a0245a8 at wangyouguo>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Dear my Savior,
> 
> I have a big trouble in configuring SAMBA. I am wondering if I could get some help from you. My problem is descripted here:
> 
> SAMBA is installed in a RedHat Linux server and is configured, and 
> The machine can be seen from my WinNT4 client, but I can not login when I want to open the shared folder! I got a 'no right' message every time.
> 
> The following steps have been done:
> (1) 'encrypt password =yes' is added into /etc/smb.conf
> (2) 'smbpasswd -a username' is done and I can see the added user in the file:  /usr/local/samba/private/smbpasswd
Have you installed the compailed rpm-version or have you compailed 
samba your self? /etc/smb.conf looks like a file location of RedHat, 
/usr/local/samba/private/smbpasswd like a file location of a self 
compailed version. If you have compailed it your self: Have you 
deinstalled the samba that ships with RedHat? I suspect you have 2 
versions of samba installed: one is configured to use encrypted 
passwords, one has the smbpasswd file. BTW: Have you run testparam?

Christian


> 
> I have been confused for 2 days, would you please help me? PLEASE!
> By the way, I am not familiar with Linux!
> Thanks! Thanks! Thanks!
> 
> Best Regards,
> Kerry Wang
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <robert at hoekstra.nu>
Delivered-To: samba at lists.samba.org
Received: from cobalt01.skybernet.nl (unknown [217.17.128.197]) by
  lists.samba.org (Postfix) with ESMTP id 0FFA2459B for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 04:03:26 -0700 (PDT)
Received: from snws52 ([217.17.139.4]) by cobalt01.skybernet.nl
  (8.10.2/8.10.2) with SMTP id f5JB7oI03552; Tue, 19 Jun 2001 13:07:51
  +0200
Message-ID: <009701c0f8b0$5baef8a0$4801010a at skybernet>
From: "Robert Hoekstra" <robert at hoekstra.nu>
To: "Umbra" <shadow at webdev.ines.ro>, <samba at lists.samba.org>
References: <Pine.LNX.4.30.0106191343010.26539-100000 at webdev.ines.ro>
Subject: Re: Win2K client joinging Samba 2.2.0 domain
Date: Tue, 19 Jun 2001 13:09:49 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Thanks, those are my problems as well, including the log file.

I wanted to try with the cvs version... now I see I can postpone that test.

PS: I tried to install the cvs download, but I failed up to now to install
completely.
I did a './configure', 'make'  and 'make install' from the samba/sources
directory.. It compiles a whole lot, seemingly without any problems, but
then it put everything under the /usr/local/samba directory..

I try this for the first time.. do I have to finish the installation in one
way? or did I do something else wrong?

A rather newbie question, but it will help me trying the newest version more
often.. :-)

----- Original Message -----
From: Umbra <shadow at webdev.ines.ro>
To: <samba at lists.samba.org>
Sent: Tuesday, June 19, 2001 12:54 PM
Subject: Re: Win2K client joinging Samba 2.2.0 domain


> Hi,
> I grabed the latest CVS, using
> cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co -r SAMBA_2_2 samba.
> I've installed it and I'm getting some warnings:
>
> [2001/06/19 13:39:43, 0] tdb/tdbutil.c:tdb_log(342)
>   tdb(/opt/samba/var/locks/unexpected.tdb): tdb_oob len -3880 beyond eof
at 8192
> [2001/06/19 13:39:43, 0] tdb/tdbutil.c:tdb_log(342)
>   tdb(/opt/samba/var/locks/unexpected.tdb): tdb_free: left read failed at
4294963392 (4096)
>
> Anyway, I still cannot join a domain with a win2k sp2 client.
> I tell the client to become a member of the domain INTERACTIVE, he asks me
> an account name and a password to join the domain, I type them(the account
> is shadow, which works from a win98 client).
>
> The windows machine then says:
> The following error occurred attempting to join the domain "INTERACTIVE":
>
> The procedure number is out of range.
>
> The logs say(samba was started with -d 1, if you need more, just tell me):
>
> [2001/06/19 13:39:04, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672)
>   api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
> [2001/06/19 13:39:04, 0] rpc_parse/parse_prs.c:prs_mem_get(441)
>   prs_mem_get: reading data of size 2 would overrun buffer.
> [2001/06/19 13:39:04, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672)
>   api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
> [2001/06/19 13:39:04, 0] rpc_server/srv_pipe.c:api_rpcTNP(1215)
>   api_rpcTNP: api_samr_rpc: SAMR_SET_USERINFO failed.
>
> Is there something I did wrong ?
>
> On Tue, 19 Jun 2001, Andrew Bartlett wrote:
>
> > Yes, the code to do support this (and apparently Windows XP as well) is
> > in current CVS.
> >
> > Andrew Bartlett
> > abartlet at samba.org
> >
> > "Oliver Schulze L." wrote:
> > >
> > > Will Samba 2.2.1 support Win2k SP2?
> > >
> > > Thanks
> > > Oliver
> > >
> > > Robert Hoekstra wrote:
> > >
> > > >Even if you upgrade W2k to SP2 after joining, your account will be
> > > >'disabled', rendering the domain useless to Win2k.
> > > >
> > > >----- Original Message -----
> > > >From: Christian Barth <barth at cck.uni-kl.de>
> > > >To: <samba at lists.samba.org>; Peter Schuller
<peter.schuller at infidyne.com>
> > > >Cc: <peter.schuller at infidyne.com>
> > > >Sent: Tuesday, June 19, 2001 8:55 AM
> > > >Subject: Re: Win2K client joinging Samba 2.2.0 domain
> > > >
> > > >
> > > >>>Hello,
> > > >>>
> > > >>>I have a major problem trying to make a Win2K client join a domain
> > > >>>
> > > >served by
> > > >
> > > >>>Samba 2.2.0.
> > > >>>
> > > >>>The situation is this: We have a network of around 25 NT 4.0
clients.
> > > >>>
> > > >Today
> > > >
> > > >>>the first Win2K client was introduced, so we upgraded to Samba
2.2.0.
> > > >>>
> > > >After
> > > >
> > > >>>working around the disabled-account bug everything on the existing
NT
> > > >>>
> > > >4.0
> > > >
> > > >>>clients worked perfectly.
> > > >>>
> > > >>>But making the Win2K client join the domain seems impossible. We've
> > > >>>
> > > >created
> > > >
> > > >>>the machine trust account as usual (add the entry in /etc/passwd,
> > > >>>
> > > >including
> > > >
> > > >>>the $, and smbpasswd -a -m machinename). When attempting to join
the
> > > >>>
> > > >domain,
> > > >
> > > >>>the Win2K box wants a username and a password (this is different
from NT
> > > >>>
> > > >4.0
> > > >
> > > >>>which basically just did it automatically). As far as we can tell,
> > > >>>machinename$/machinename is the correct user/password, because it
yields
> > > >>>
> > > >a
> > > >
> > > >>>different error message than what we get with any other
combination.
> > > >>>
> > > >>You have to use root and it's password. For this root must be in
> > > >>smbpasswd and not as invalied user in [global]. I'm not sure if root
> > > >>must be in domain admin too. If you have set up the add user
> > > >>parameter correct the machine account is created on the fly. Do not
> > > >>install SP2 before you have jonied the domain or use the current cvs
> > > >>version
> > > >>
> > > >>Christian
> > > >>
> > > >>
> > > >>>The error message, roughly translated from Swedish, is:
> > > >>>
> > > >>>   "The follwing error occurred while connecting to the domain
> > > >>>   DOMAIN_NAME: You are using a computer account. In order to
access
> > > >>>   this server you must use your global or local user account."
> > > >>>
> > > >>>Which is weird. We've tried entering existing samba accounts,
inluding
> > > >>>making the account a domain admin, but to no avail. And in general,
how
> > > >>>
> > > >are
> > > >
> > > >>>we supposed to be logged in to the domain before join:ing it?
> > > >>>
> > > >>>I just don't get it. The docs don't seem to mention any of this
entering
> > > >>>user/password business, and I get the impression the docs aren't
written
> > > >>>with Win2K in mind (or for som reason you are not normally supposed
to
> > > >>>
> > > >have
> > > >
> > > >>>to enter it).
> > > >>>
> > > >>>Does anyone have any idea? Any hints would be much appreciated.
> > > >>>
> > > >>>Thanks!
> > > >>>
> > > >>>
> > > >>>--
> > > >>>/ Peter Schuller, InfiDyne Technologies HB
> > > >>>
> > > >>>PGP userID: 0x5584BD98 or 'Peter Schuller
<peter.schuller at infidyne.com>'
> > > >>>Key retrival: Send an E-Mail to getpgpkey at scode.org
> > > >>>E-Mail: peter.schuller at infidyne.com Web: http://scode.org
> > > >>>--
> > > >>>To unsubscribe from this list go to the following URL and read the
> > > >>>instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > >>>
> > > >>
> > >
>>_______________________________________________________________________
> > > >>In a world without walls and fences, who needs windows and gates?
(SUN)
> > > >>--
> > > >>To unsubscribe from this list go to the following URL and read the
> > > >>instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > >>
> > >
> > > --
> > > Oliver Schulze L.
> > > oliver at samera.com.py
> > > Asuncion-Paraguay
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> >
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <FLik at NNE.DK>
Delivered-To: samba at samba.org
Received: from srv130.novo.dk (srv130.novo.dk [152.73.7.2]) by
  lists.samba.org (Postfix) with SMTP id C74D44D0B for
  <samba at samba.org>; Tue, 19 Jun 2001 04:42:48 -0700 (PDT)
Received: (qmail 31267 invoked by uid 7794); 19 Jun 2001 11:47:00 -0000
Received: from FLik at NNE.DK by srv130 with scan4virus-0.19p8 (uvscan:
  v4.1.20/v4143. iscan: v3.1/v2.062-0402/899/34815. . Clean. Processed
  in 0.186288 secs); 19/06/2001 13:47:00
Received: from it3023.research.novo.dk (HELO NNE13.novo.dk)
  (xxx.xxx.xxx.xxx) by xxx.xxx.xxx.xxx with SMTP; 19 Jun 2001 11:47:00
  -0000
Received: by NNE13.novo.dk with Internet Mail Service (5.5.2653.19) id
  <NG9SNMX8>; Tue, 19 Jun 2001 13:47:29 +0200
Message-ID: <A181433EEE388E48A8DCA1536CED3A7415FBC7 at NNE25>
From: "FLIK (Frederik Likaj)" <FLik at NNE.DK>
To: "Samba (E-mail)" <samba at samba.org>, "Sambantdom (E-mail)"
  <samba-ntdom at samba.org>
Subject: Please help me with samba.
Date: Tue, 19 Jun 2001 13:47:27 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello.
>
> My w2k joined succesfully with wellcome to "samba" domain but when i tried
> to login after reboot i got the message "The system cannot log you on this
> domain because the system's computer account in its primary domain is
> missing or the password on that account is incorrect" and when i
> check samba
> log files i can see that it says "connection to w2k refused"
> I joined the domain as root and gave with smbpasswd -a root a password to
> root different from that on my linux box. (I am running samba tng
> 2.2.0 on a
> RedHat 7.1)
> No matter how i try (even with ny user account in /etc/password and
> smbpasswd -a) i cannot log in to my samba domain.
> Any help will be appreciated.
>
> Thanks.
>
> Frederik Likaj.
>
> p.s. I have tried to mail my question to different samba news
> groups without
> succes.
> It is important to get samba running as i have to replace
> win-servers to my
> work with samba.
> Thank you very much.


Med Venlig Hilsen

Frederik Likaj
Novo Nordisk Engineering A/S
Building, Automation.
dir. tlf. 44 42 46 69
Flik at nne.dk

NNE
Krogshxjvej 55
2880 Bagsvfrd

Return-Path: <tcpdump at techcellent.com>
Delivered-To: samba at samba.org
Received: from techcellent.com (unknown [207.176.39.66]) by
  lists.samba.org (Postfix) with ESMTP id 415B44417; Tue, 19 Jun 2001
  04:53:38 -0700 (PDT)
Received: from localhost (tcpdump at localhost) by techcellent.com
  (8.11.2/8.9.3) with ESMTP id f5JCwBB10209; Tue, 19 Jun 2001 07:58:11
  -0500
Date: Tue, 19 Jun 2001 07:58:11 -0500 (EST)
From: tcpdump <tcpdump at techcellent.com>
To: "FLIK (Frederik Likaj)" <FLik at NNE.DK>
Cc: "Samba (E-mail)" <samba at samba.org>, "Sambantdom (E-mail)"
  <samba-ntdom at samba.org>
Subject: Re: Please help me with samba.
In-Reply-To: <A181433EEE388E48A8DCA1536CED3A7415FBC7 at NNE25>
Message-ID: <Pine.LNX.4.30.0106190754300.9959-100000 at techcellent.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm having a problem which I fear it being addressed too much on this
mailing list and thence arising flames. I have just joined this mailing
list.

Anyways, I'm having trouble making a win2k box with SP2 to join a domain
where the domain controller is a samba 2.2.0

I understand MS has used new rpc calls in SP2 and XP for joining the
domain, but is there a patch for 2.2.0 which allows for the win2k+sp2 to
join smoothly?


Thanks, in advance.

~tcpdump

On Tue, 19 Jun 2001, FLIK (Frederik Likaj) wrote:

> Hello.
> >
> > My w2k joined succesfully with wellcome to "samba" domain but when i tried
> > to login after reboot i got the message "The system cannot log you on this
> > domain because the system's computer account in its primary domain is
> > missing or the password on that account is incorrect" and when i
> > check samba
> > log files i can see that it says "connection to w2k refused"
> > I joined the domain as root and gave with smbpasswd -a root a password to
> > root different from that on my linux box. (I am running samba tng
> > 2.2.0 on a
> > RedHat 7.1)
> > No matter how i try (even with ny user account in /etc/password and
> > smbpasswd -a) i cannot log in to my samba domain.
> > Any help will be appreciated.
> >
> > Thanks.
> >
> > Frederik Likaj.
> >
> > p.s. I have tried to mail my question to different samba news
> > groups without
> > succes.
> > It is important to get samba running as i have to replace
> > win-servers to my
> > work with samba.
> > Thank you very much.
>
>
> Med Venlig Hilsen
>
> Frederik Likaj
> Novo Nordisk Engineering A/S
> Building, Automation.
> dir. tlf. 44 42 46 69
> Flik at nne.dk
>
> NNE
> Krogshxjvej 55
> 2880 Bagsvfrd
>

Return-Path: <samba at hoekstra.nu>
Delivered-To: samba at samba.org
Received: from cobalt01.skybernet.nl (unknown [217.17.128.197]) by
  lists.samba.org (Postfix) with ESMTP id 81C804D36; Tue, 19 Jun 2001
  05:02:27 -0700 (PDT)
Received: from snws52 (SkyberNet [217.17.139.4]) by
  cobalt01.skybernet.nl (8.10.2/8.10.2) with SMTP id f5JC6nI06035; Tue,
  19 Jun 2001 14:06:49 +0200
Message-ID: <00ab01c0f8b8$9912a220$4801010a at skybernet>
From: "Robert Hoekstra" <samba at hoekstra.nu>
To: "tcpdump" <tcpdump at techcellent.com>, "FLIK (Frederik Likaj)"
  <FLik at NNE.DK>
Cc: "Samba (E-mail)" <samba at samba.org>, "Sambantdom (E-mail)"
  <samba-ntdom at samba.org>
References: <Pine.LNX.4.30.0106190754300.9959-100000 at techcellent.com>
Subject: Re: Please help me with samba.
Date: Tue, 19 Jun 2001 14:08:48 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I asked the same thing just yesterday...

Samba 2.2.0 doesn't support it. The current cvs is told to support it, but
negative reports have told me it doesn't either..

It is to be supported in the 2.2.1 release.

W2k SP1 can join, but SP2 has changes which causes it not to work anymore.

Only advice, have patience... :)

----- Original Message -----
From: tcpdump <tcpdump at techcellent.com>
To: FLIK (Frederik Likaj) <FLik at NNE.DK>
Cc: Samba (E-mail) <samba at samba.org>; Sambantdom (E-mail)
<samba-ntdom at samba.org>
Sent: Tuesday, June 19, 2001 2:58 PM
Subject: Re: Please help me with samba.


> I'm having a problem which I fear it being addressed too much on this
> mailing list and thence arising flames. I have just joined this mailing
> list.
>
> Anyways, I'm having trouble making a win2k box with SP2 to join a domain
> where the domain controller is a samba 2.2.0
>
> I understand MS has used new rpc calls in SP2 and XP for joining the
> domain, but is there a patch for 2.2.0 which allows for the win2k+sp2 to
> join smoothly?
>
>
> Thanks, in advance.
>
> ~tcpdump
>
> On Tue, 19 Jun 2001, FLIK (Frederik Likaj) wrote:
>
> > Hello.
> > >
> > > My w2k joined succesfully with wellcome to "samba" domain but when i
tried
> > > to login after reboot i got the message "The system cannot log you on
this
> > > domain because the system's computer account in its primary domain is
> > > missing or the password on that account is incorrect" and when i
> > > check samba
> > > log files i can see that it says "connection to w2k refused"
> > > I joined the domain as root and gave with smbpasswd -a root a password
to
> > > root different from that on my linux box. (I am running samba tng
> > > 2.2.0 on a
> > > RedHat 7.1)
> > > No matter how i try (even with ny user account in /etc/password and
> > > smbpasswd -a) i cannot log in to my samba domain.
> > > Any help will be appreciated.
> > >
> > > Thanks.
> > >
> > > Frederik Likaj.
> > >
> > > p.s. I have tried to mail my question to different samba news
> > > groups without
> > > succes.
> > > It is important to get samba running as i have to replace
> > > win-servers to my
> > > work with samba.
> > > Thank you very much.
> >
> >
> > Med Venlig Hilsen
> >
> > Frederik Likaj
> > Novo Nordisk Engineering A/S
> > Building, Automation.
> > dir. tlf. 44 42 46 69
> > Flik at nne.dk
> >
> > NNE
> > Krogshxjvej 55
> > 2880 Bagsvfrd
> >
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <cnorloff at norloff.com>
Delivered-To: samba at lists.samba.org
Received: from mail.toward.com (piglet.toward.com [204.194.180.31]) by
  lists.samba.org (Postfix) with ESMTP id F03CA4D3A for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 05:02:35 -0700 (PDT)
Date: Tue, 19 Jun 2001 08:07:00 -0400
Message-Id: <200106190807.AA186581506 at mail.toward.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: "Chris Norloff" <cnorloff at norloff.com>
Reply-To: <cnorloff at norloff.com>
X-Sender: <cnorloff at mail.toward.com>
To: "Christian Barth" <barth at cck.uni-kl.de>
Cc: <samba at lists.samba.org>
Subject: Re: STILL can't login from NT
X-Mailer: <IMail v6.05>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Thanks for the ideas!

Chris Norloff

---------- Original Message ----------------------------------
From: "Christian Barth" <barth at cck.uni-kl.de>
Date: Tue, 19 Jun 2001 08:27:59 +0200

>> I still can't login from WinNT, even though I've:
>> -encrypted the passwords
>> -added the smbpasswd file
>> 
>> I can get in as guest when that's enabled, but I can't get in with any usernames (or root!).  
>> 
>> This is using security=user or share.  We don't use a PDC, so I just want to authenticate with the Unix server that's running Samba (Solaris 2.6). I'm not very familiar with Unix, but am trying to get away from Windows machines.
>> 
>> I've tried everything I can find, and have hunted through the archives here and the Using Samba book.
>> 
>> Any ideas?
>Can you connect from Win95, Win98? Can you connect using smbclient (-
>U user)? Do you have a host allow or a host deny line in smb.conf? 
>What is the error message you get on NT? What do the samba logs say? 
>Is the smbpasswd file where it is expected by your binary version of 
>samba? Have you added the users to the smbpasswd file (smbpasswd -a 
>user)? Try a smbpasswd -e user after that. An old samba version had 
>the bug that a new user was disabled by default. Have you looked into 
>the smbpasswd file with a text editor? Are the permissions correct?
>
>Hops this helps,
>
>Christian
>
>_______________________________________________________________________
>In a world without walls and fences, who needs windows and gates? (SUN)
>

Return-Path: <steve at gbnet.org>
Delivered-To: samba at samba.org
Received: from ford.gbnet.org (ford.gbnet.org [192.188.96.10]) by
  lists.samba.org (Postfix) with SMTP id 0910E4D0E for
  <samba at samba.org>; Tue, 19 Jun 2001 05:33:25 -0700 (PDT)
Received: (qmail 17038 invoked by uid 100); 19 Jun 2001 12:37:52 -0000
Date: Tue, 19 Jun 2001 13:37:51 +0100
From: Steve Kennedy <steve at gbnet.org>
To: Robert Hoekstra <samba at hoekstra.nu>
Cc: tcpdump <tcpdump at techcellent.com>, "FLIK (Frederik Likaj)"
  <FLik at NNE.DK>, "Samba (E-mail)" <samba at samba.org>, "Sambantdom
  (E-mail)" <samba-ntdom at samba.org>
Subject: Re: Please help me with samba.
Message-ID: <20010619133751.A17033 at ford.gbnet.org>
References: <Pine.LNX.4.30.0106190754300.9959-100000 at techcellent.com>
  <00ab01c0f8b8$9912a220$4801010a at skybernet>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
In-Reply-To: <00ab01c0f8b8$9912a220$4801010a at skybernet>; from Robert
  Hoekstra <samba at hoekstra.nu> on Tue, Jun 19, 2001 at 02:08:48PM +0200
Organisation: NetTek Ltd
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Tue, Jun 19, 2001 at 02:08:48PM +0200, Robert Hoekstra wrote:

> I asked the same thing just yesterday...
> Samba 2.2.0 doesn't support it. The current cvs is told to support it, but
> negative reports have told me it doesn't either..
> It is to be supported in the 2.2.1 release.
> W2k SP1 can join, but SP2 has changes which causes it not to work anymore.
> Only advice, have patience... :)

Current cvs seems to work with Win2K SP2 ...

Steve

-- 
home steve at gbnet.org       * Flat 2, 43 Howitt Road, Belsize Pk, London NW3 4LU
work steve at thus.net        * tel +44-(0)207 483 1169    FAX +44-(0)207 483 2455
www  http://www.gbnet.net/ * Personal DFAX +44 (0)870 1600 842   (fax to email)
bits steve at gbnet.net       * mob +44-(0)7775755503  Epage steve-pager at gbnet.net

Return-Path: <FLik at NNE.DK>
Delivered-To: samba at samba.org
Received: from srv130.novo.dk (srv130.novo.dk [152.73.7.2]) by
  lists.samba.org (Postfix) with SMTP id 02D264417 for
  <samba at samba.org>; Tue, 19 Jun 2001 05:49:58 -0700 (PDT)
Received: (qmail 30469 invoked by uid 7794); 19 Jun 2001 12:54:26 -0000
Received: from FLik at NNE.DK by srv130 with scan4virus-0.19p8 (uvscan:
  v4.1.20/v4143. iscan: v3.1/v2.062-0402/899/34815. . Clean. Processed
  in 0.200215 secs); 19/06/2001 14:54:26
Received: from it3023.research.novo.dk (HELO NNE13.novo.dk)
  (xxx.xxx.xxx.xxx) by xxx.xxx.xxx.xxx with SMTP; 19 Jun 2001 12:54:26
  -0000
Received: by NNE13.novo.dk with Internet Mail Service (5.5.2653.19) id
  <NG9SNNLC>; Tue, 19 Jun 2001 14:54:55 +0200
Message-ID: <A181433EEE388E48A8DCA1536CED3A7415FBCA at NNE25>
From: "FLIK (Frederik Likaj)" <FLik at NNE.DK>
To: "Samba (E-mail)" <samba at samba.org>, "Sambantdom (E-mail)"
  <samba-ntdom at samba.org>
Subject: FW: Please help me with samba.
Date: Tue, 19 Jun 2001 14:54:55 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I am running samba 2.2.0 on redhat 7.1 and my w3k have no SP2 installed.
Med Venlig Hilsen

Frederik Likaj
Novo Nordisk Engineering A/S
Building, Automation.
dir. tlf. 44 42 46 69
Flik at nne.dk

NNE
Krogshxjvej 55
2880 Bagsvfrd


>  -----Original Message-----
> From: 	FLIK (Frederik Likaj)
> Sent:	19. juni 2001 13:47
> To:	Samba (E-mail); Sambantdom (E-mail)
> Subject:	Please help me with samba.
>
> Hello.
> >
> > My w2k joined succesfully with wellcome to "samba" domain but when i
> tried
> > to login after reboot i got the message "The system cannot log you on
> this
> > domain because the system's computer account in its primary domain is
> > missing or the password on that account is incorrect" and when i
> > check samba
> > log files i can see that it says "connection to w2k refused"
> > I joined the domain as root and gave with smbpasswd -a root a password
> to
> > root different from that on my linux box. (I am running samba tng
> > 2.2.0 on a
> > RedHat 7.1)
> > No matter how i try (even with ny user account in /etc/password and
> > smbpasswd -a) i cannot log in to my samba domain.
> > Any help will be appreciated.
> >
> > Thanks.
> >
> > Frederik Likaj.
> >
> > p.s. I have tried to mail my question to different samba news
> > groups without
> > succes.
> > It is important to get samba running as i have to replace
> > win-servers to my
> > work with samba.
> > Thank you very much.
>
>
> Med Venlig Hilsen
>
> Frederik Likaj
> Novo Nordisk Engineering A/S
> Building, Automation.
> dir. tlf. 44 42 46 69
> Flik at nne.dk
>
> NNE
> Krogshxjvej 55
> 2880 Bagsvfrd
>
>

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id 871A24DA7 for <samba at lists.samba.org>; Tue, 19
  Jun 2001 05:59:59 -0700 (PDT)
Received: from piglett.bartlett.house (as2-199.cbr.au.asiaonline.net
  [210.215.10.199]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5JD4FI12549; Tue, 19 Jun 2001 23:04:15 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  XAA04743; Tue, 19 Jun 2001 23:03:48 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  XAA15474; Tue, 19 Jun 2001 23:03:46 +1000
Message-ID: <3B2F4DB2.231D4AF9 at bartlett.house>
Date: Tue, 19 Jun 2001 23:03:46 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: AHYDLE at thq.com
Cc: samba at lists.samba.org
Subject: Re: A couple of questions
References: <44EAA1FB4AB8D411B03C00508B6D6E28012AF2AF at MAIL>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

AHYDLE at thq.com wrote:
> 
> 1.) We are currently implementing some new security features on our network
> and I think I may have found an interesting use for smbmount and samba. We
> are moving our FTP server (NT Server) on to the DMZ of our network.
> Unfortunately users still are going to be accessing the folder through
> network neighborhood on there desktops, so if the users are still going to
> access it that way we will need to open all kinds of ports to the DMZ for
> wins and all the other garbage M$ requires.  Now the idea we had was to use
> smbmount and mount the share to a linux box on the internal network and then
> share it out with samba from there.  It looks like it will work but when a
> new file is created or a user accesses a file it is using sambas permissions
> and not the NT servers. Do you think if I upgraded to samba 2.2 and added
> ACL support I could get this to work? Or am I wasting my time?
> 
> 2.) I am trying to configure apache with ntlm security authenticating to an
> NT domain. I have no problem authenticating but it is still prompting for a
> user name and password. Where NTLM should be pass-through authentication.
> Has anyone been able to get mod-ntlm to work? Or is there a better way to do
> pass-through authentication for apache?
> 

Both of these sound suspiciously like my own setup.  

1).  I just have my main server in a service network, with the WINS
server on the firewall/proxy.  There isn't actualy that much that needs
to go back out, particlularly if you turn off 'enhanced browsing'.   I
basicly allowd connections in, but no connections out (node status
requests excluded, ie port 138 UDP - I think).  

2).  mod_ntlm works (mod_ntlm.sf.net) but it not particularly well
implemented.  Its on my (rather long) todo list to clean it up and
intergrate it with winbind.  I use pam_smb and mod_auth_pam for my
plain-text clients, only over HTTPS.

Andrew Bartlett

-- 
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org

Return-Path: <mekilroy at risingedge.com>
Delivered-To: samba at lists.samba.org
Received: from mailhost.digitalselect.net (unknown [209.225.164.170]) by
  lists.samba.org (Postfix) with ESMTP id 3CCB544A0; Tue, 19 Jun 2001
  06:51:20 -0700 (PDT)
Received: from wizzard.rising-edge (risingedge.com [216.181.63.36]) by
  mailhost.digitalselect.net (8.11.1/8.11.1) with SMTP id f5JDvfS51980;
  Tue, 19 Jun 2001 09:57:41 -0400 (EDT)
Received: from diamondback (unverified [192.168.0.26]) by
  wizzard.rising-edge (EMWAC SMTPRS 0.83) with SMTP id
  <B0000083823 at wizzard.rising-edge>; Tue, 19 Jun 2001 09:55:34 -0400
Message-ID: <036601c0f8c7$827749d0$1a00a8c0 at diamondback>
From: "M. Kilroy" <mekilroy at risingedge.com>
To: <samba at lists.samba.org>, <samba-ntdom at lists.samba.org>
Subject: *working* winbindd
Date: Tue, 19 Jun 2001 09:55:33 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-Antirelay: Good relay from local net2 192.168.0.0/24
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Does anyone out there with winbind *working* and authenticating from an NT PDC
mind telling me what version of samba/winbind they are running?  The latest
head has probs with winbindd, and I need to get something running very soon.

THANKS!

"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)

"The girl got reasons.  They all got reasons." ~Scott Weiland

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at lists.samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 935AD4BD5 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 06:53:52 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5JDwDu27020; Tue, 19 Jun 2001 15:58:13 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id PAA21813; Tue, 19
  Jun 2001 15:58:13 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id PAA28297; Tue, 19 Jun
  2001 15:58:17 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: "Wang Youguo" <ygwang at prosten.com>
Date: Tue, 19 Jun 2001 15:58:07 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Would you please help me?
Cc: samba at lists.samba.org
Message-ID: <3B2F768F.20836.1AB5449 at localhost>
Priority: normal
In-reply-to: <000701c0f8bd$04c52430$7a0245a8 at wangyouguo>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Dear Mr. Barth,
> 
> It is very kind of you to give me the answer.
Please answer to the list as well, so that other can help you too.
 
> I download the Samba file(samba-2.2.0.tar.gz), decompressed, compiled and installed it step by step according to the docs in directory \docs\htmldocs\using_samba, all by myself. And there is no any problem in the case.
Good approach.
Have you specified any compaile time options wicht /.configure? If 
not, /etc/smb.conf should be left from the RedHat-Install (Or has 
this changed with 2.2???) and your smb.conf must be in 
/usr/local/samba/lib. Make install doesn't create one by default. 
Move your /etc/smb.conf to /usr/local/samba/lib and try again.

> Yes, the RedHat is shipped with samba, but the samba shipped seemed not running. I have not uninstalled the old one, but when I run the testparm, the results displayed seemed right. I run linuxconf to see the samba server configuration, it also seems right.
> 
> I am not farmiliar with linux. I am wondering if it is relevant to the privilege of the user account i used.
You must be root to start samba and to add a user to smbpasswd. But 
there should be errors if you are not.

Christian

> Would you please give me more suggestion? Thanks.
> 
> Best Regards,
> Kerry Wang
> 
> 
> ----- Original Message ----- 
> From: Christian Barth <barth at cck.uni-kl.de>
> To: <samba at samba.org>; Wang Youguo <ygwang at prosten.com>
> Sent: Tuesday, June 19, 2001 7:04 PM
> Subject: Re: Would you please help me?
> 
> 
> > > Dear my Savior,
> > > 
> > > I have a big trouble in configuring SAMBA. I am wondering if I could get some help from you. My problem is descripted here:
> > > 
> > > SAMBA is installed in a RedHat Linux server and is configured, and 
> > > The machine can be seen from my WinNT4 client, but I can not login when I want to open the shared folder! I got a 'no right' message every time.
> > > 
> > > The following steps have been done:
> > > (1) 'encrypt password =yes' is added into /etc/smb.conf
> > > (2) 'smbpasswd -a username' is done and I can see the added user in the file:  /usr/local/samba/private/smbpasswd
> > Have you installed the compailed rpm-version or have you compailed 
> > samba your self? /etc/smb.conf looks like a file location of RedHat, 
> > /usr/local/samba/private/smbpasswd like a file location of a self 
> > compailed version. If you have compailed it your self: Have you 
> > deinstalled the samba that ships with RedHat? I suspect you have 2 
> > versions of samba installed: one is configured to use encrypted 
> > passwords, one has the smbpasswd file. BTW: Have you run testparam?
> > 
> > Christian
> > 
> > 
> > > 
> > > I have been confused for 2 days, would you please help me? PLEASE!
> > > By the way, I am not familiar with Linux!
> > > Thanks! Thanks! Thanks!
> > > 
> > > Best Regards,
> > > Kerry Wang
> > > -- 
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > 
> > 
> > 
> > _______________________________________________________________________
> > In a world without walls and fences, who needs windows and gates? (SUN)
> > 


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <robert at hoekstra.nu>
Delivered-To: samba at samba.org
Received: from cobalt01.skybernet.nl (unknown [217.17.128.197]) by
  lists.samba.org (Postfix) with ESMTP id 90B504C78; Tue, 19 Jun 2001
  07:01:42 -0700 (PDT)
Received: from snws52 (SkyberNet [217.17.139.4]) by
  cobalt01.skybernet.nl (8.10.2/8.10.2) with SMTP id f5JE65I11029; Tue,
  19 Jun 2001 16:06:05 +0200
Message-ID: <00e901c0f8c9$42cf4a10$4801010a at skybernet>
From: "Robert Hoekstra" <robert at hoekstra.nu>
To: "FLIK (Frederik Likaj)" <FLik at NNE.DK>, "Samba (E-mail)"
  <samba at samba.org>, "Sambantdom (E-mail)" <samba-ntdom at samba.org>
References: <A181433EEE388E48A8DCA1536CED3A7415FBCA at NNE25>
Subject: Re: Please help me with samba.
Date: Tue, 19 Jun 2001 16:08:05 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Have you added your machine to unix as wel ass the smb password files?

adduser  -g machines ws$
(make a seperate group for machines and the machine with trailing $-sign)

smbpasswd -a -m ws$

and of course your user accounts..

Just a guess...?
----- Original Message -----
From: FLIK (Frederik Likaj) <FLik at NNE.DK>
To: Samba (E-mail) <samba at samba.org>; Sambantdom (E-mail)
<samba-ntdom at samba.org>
Sent: Tuesday, June 19, 2001 2:54 PM
Subject: FW: Please help me with samba.


> I am running samba 2.2.0 on redhat 7.1 and my w3k have no SP2 installed.
> Med Venlig Hilsen
>
> Frederik Likaj
> Novo Nordisk Engineering A/S
> Building, Automation.
> dir. tlf. 44 42 46 69
> Flik at nne.dk
>
> NNE
> Krogshxjvej 55
> 2880 Bagsvfrd
>
>
> >  -----Original Message-----
> > From: FLIK (Frederik Likaj)
> > Sent: 19. juni 2001 13:47
> > To: Samba (E-mail); Sambantdom (E-mail)
> > Subject: Please help me with samba.
> >
> > Hello.
> > >
> > > My w2k joined succesfully with wellcome to "samba" domain but when i
> > tried
> > > to login after reboot i got the message "The system cannot log you on
> > this
> > > domain because the system's computer account in its primary domain is
> > > missing or the password on that account is incorrect" and when i
> > > check samba
> > > log files i can see that it says "connection to w2k refused"
> > > I joined the domain as root and gave with smbpasswd -a root a password
> > to
> > > root different from that on my linux box. (I am running samba tng
> > > 2.2.0 on a
> > > RedHat 7.1)
> > > No matter how i try (even with ny user account in /etc/password and
> > > smbpasswd -a) i cannot log in to my samba domain.
> > > Any help will be appreciated.
> > >
> > > Thanks.
> > >
> > > Frederik Likaj.
> > >
> > > p.s. I have tried to mail my question to different samba news
> > > groups without
> > > succes.
> > > It is important to get samba running as i have to replace
> > > win-servers to my
> > > work with samba.
> > > Thank you very much.
> >
> >
> > Med Venlig Hilsen
> >
> > Frederik Likaj
> > Novo Nordisk Engineering A/S
> > Building, Automation.
> > dir. tlf. 44 42 46 69
> > Flik at nne.dk
> >
> > NNE
> > Krogshxjvej 55
> > 2880 Bagsvfrd
> >
> >
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <rshields at customcolor.com>
Delivered-To: samba at lists.samba.org
Received: from customcolor.com (customcolor.com [216.122.237.241]) by
  lists.samba.org (Postfix) with ESMTP id D0EEC4659 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 07:10:36 -0700 (PDT)
Received: from leedo ([209.248.198.166]) by customcolor.com
  (8.11.0/8.11.0) with SMTP id f5JEFfj21250 for <samba at lists.samba.org>;
  Tue, 19 Jun 2001 14:15:41 GMT (envelope-from rshields at customcolor.com)
From: "Richard Shields" <rshields at customcolor.com>
To: <samba at lists.samba.org>
Subject: Ownership privileges
Date: Tue, 19 Jun 2001 09:19:12 -0500
Message-ID: <NFBBKMHCKLFBEHOPKPMAOEELCAAA.rshields at customcolor.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I am running Samba 2.0.7 on a Macintosh OSX server ver 1.2 A file created,
copied or otherwise altered by a Windows client on this server is
unalterable by the Macintosh clients. Is there a way to fix this? A file
created, ETC by a Mac client can be altered by anyone... I have only limited
Unix/Linux exp so feel free to email me in person if the answer is too wordy
for the list server. Thank you for your help in advance...

Richard L. Shields
rshields at customcolor.com

Custom Color Corp.
300 W. 19th Terr.
K.C., MO 64108
ph. 816-474-3200
fx. 816-842-4909
http://www.customcolor.com

Return-Path: <eric_boucher60 at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from web9405.mail.yahoo.com (web9405.mail.yahoo.com
  [216.136.129.111]) by lists.samba.org (Postfix) with SMTP id 9D1804D7D
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 07:20:05 -0700 (PDT)
Message-ID: <20010619142433.47809.qmail at web9405.mail.yahoo.com>
Received: from [207.164.184.163] by web9405.mail.yahoo.com; Tue, 19 Jun
  2001 07:24:33 PDT
Date: Tue, 19 Jun 2001 07:24:33 -0700 (PDT)
From: Eric Boucher <eric_boucher60 at yahoo.com>
Subject: No Master Browser in Samba
To: SAMBA <samba at lists.samba.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi everyone,

I am using samba 2.2.0 on an IRIX machine. Our clients
are windows box. I am on an domain with windows NT as
our PDC. In all the documentation that I read, they
always said to let windows be the master browser if
there is a windows PDC on the network. So I put all
the parameter to tell samba to not be the Master
Browser, that is:

os level = 0
local master = NO
domain master = NO
security = domain

But when I try to check which one is the master
browser with the help of the "smbclient -NL
server_name", there is no name under the "MASTER"
section. Even with the command "nmblookup -M -" it
didn't find nothing (the message it gave me is:
name_query failed to find name __MSBROWSE__#01). So I
was wandering if I can let samba be the master browser
by putting "os level = 65" if windows don't want to be
it or if I can do something to tell windows (my PDC)
to be the master browser?

Thanks

Eric

__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at samba.org
Received: from palrel2.hp.com (palrel2.hp.com [156.153.255.234]) by
  lists.samba.org (Postfix) with ESMTP id DED024D7D for
  <samba at samba.org>; Tue, 19 Jun 2001 07:21:08 -0700 (PDT)
Received: from xparelay1.corp.hp.com (unknown [15.58.136.173]) by
  palrel2.hp.com (Postfix) with ESMTP id EDBBB829; Tue, 19 Jun 2001
  07:25:35 -0700 (PDT)
Received: from xpabh3.corp.hp.com (xpabh3.corp.hp.com [15.58.136.223])
  by xparelay1.corp.hp.com (Postfix) with ESMTP id D1DB51F507; Tue, 19
  Jun 2001 00:25:12 -0700 (PDT)
Received: by xpabh3.corp.hp.com with Internet Mail Service (5.5.2653.19)
  id <NG4XSRML>; Tue, 19 Jun 2001 07:25:34 -0700
Message-ID: <079FD72E42C9D311B854009027650E6F04050AD8 at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Serge Gracia' <serge.gracia at turbomeca.fr>, samba at samba.org
Subject: RE: Use of Samba 2.2.0
Date: Tue, 19 Jun 2001 07:25:33 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello Serge,
In answer to your questions,
1. Nt 4.0 only allows you to have one set of credentials (username/password)
when attached
to a particular server at a time.  So if you are accessing a share using
user1, then you cannot attach to another share on the same server as user2.
You can 'fool' NT 4.0 by making the second attachment with the IP address
instead, and then you could use user2; for instance
net use f: \\server1\share1 password1 /user:user1
net use g: \\ip.of.server1\share2 password2 /user:user2

You can also use netbios aliases (see chapter 4, section "virtual servers"
in "Using Samba" for details) and connect to different netbios names for the
same server as different users
to overcome this limitation of NT 4.0.

2. Windows uses cr/lf as a line terminator for ascii files, Unix uses just
lf. Samba does
not do any translation of this for you; this discussion has been had many
times on this list, and this is not ever likely to change.  If you don't
want to use dos2ux/ux2dos to do the conversion, then you will have to use an
editor on the pc that can deal with files whose
lines are terminated with just a lf, like microsoft word, or microsoft
write, etc.

3. Locking in samba is non-trivial; many people seem to have problems with
locks turned on,
and the various permutations of oplocks, strict locking, etc.  I can only
suggest that you read up on the various smb.conf parameters dealing with
this subject, and customize samba
to do locking only on the files/shares that you really NEED locking on.
Again the "Using Samba" from O'Reilly, or the "Special Edition Using Samba"
from QUE are excellent references for this subject - there are other books
as well, but these are the ones I am most familiar with.

I hope this helps,
Don

-----Original Message-----
From: Serge Gracia [mailto:serge.gracia at turbomeca.fr]
Sent: Tuesday, June 19, 2001 5:09 AM
To: samba at samba.org
Cc: Serge Gracia
Subject: Use of Samba 2.2.0


Hello,

I installed Samba 2.2.0 on a hp9000 / 700; I can use it correctly since PC
NT
4; it works; but, I meet several difficulties:

- When I mount directories Unix since the PC under user's name xxxxx, I am
obliged to stop the session NT and to redo the login to be able to mount a
directory under another user's name yyyyy?
- The format of files is not the same between Windows and Unix: I can not
read
correctly ,since the PC, a file created under Unix (not use of Unix2dos) and
the opposite as well?
- Samba says that it is better not to use locks?; I would like to avoid that
two persons modify a file at the same time; is this possible?

 Thank you if you can read to me and try it more to answer me.

Thank you still.

Goodbye.

serge.gracia at turbomeca.fr
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <tcpdump at techcellent.com>
Delivered-To: samba at samba.org
Received: from techcellent.com (unknown [207.176.39.66]) by
  lists.samba.org (Postfix) with ESMTP id 85ED3421F; Tue, 19 Jun 2001
  07:31:48 -0700 (PDT)
Received: from localhost (tcpdump at localhost) by techcellent.com
  (8.11.2/8.9.3) with ESMTP id f5JFax602475; Tue, 19 Jun 2001 10:36:59
  -0500
Date: Tue, 19 Jun 2001 10:36:59 -0500 (EST)
From: tcpdump <tcpdump at techcellent.com>
To: "FLIK (Frederik Likaj)" <FLik at NNE.DK>
Cc: "Samba (E-mail)" <samba at samba.org>, "Sambantdom (E-mail)"
  <samba-ntdom at samba.org>
Subject: Re: Please help me with samba.
In-Reply-To: <Pine.LNX.4.30.0106190754300.9959-100000 at techcellent.com>
Message-ID: <Pine.LNX.4.30.0106191033380.2399-100000 at techcellent.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Ok, now im getting a wierd error with the latest cvstree pull

when i try to join the domain with a win2k+sp2 box it tells me:
"The following error has occured while trying to join the domain
"NAMEOFDOMAIN". The account you are used is a computer account, please use
a local user account or a global user account to access this server."



Whats going on? am I doing something wrong?

Return-Path: <amacherv at musc.edu>
Delivered-To: samba at lists.samba.org
Received: from revere3.musc.edu (revere3.musc.edu [128.23.203.10]) by
  lists.samba.org (Postfix) with ESMTP id 8653845D2 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 07:57:38 -0700 (PDT)
Received: from musc.edu (aqua.rutledge.musc.edu [128.23.113.22]) by
  revere3.musc.edu (8.8.8/8.8.8) with ESMTP id LAA24645 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 11:02:01 -0400 (EDT)
Message-ID: <3B2F6A64.A60CAD42 at musc.edu>
Date: Tue, 19 Jun 2001 11:06:12 -0400
From: "Vincent B. Amacher" <amacherv at musc.edu>
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Win2k login to Samba domain
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I too am having problems logging into a Samba 2.2.0 domain with a Win2K
machine.  I added the root account to the smbpasswd file.  Now the error
is "Your computer could not be joined to the domain because the
following error has occured No Mapping between account names and
security IDs was done"

Thanks -

Vince Amacher
MUSC, Dept of Pediatrics

Return-Path: <MMcAtee at philamuseum.org>
Delivered-To: samba at lists.samba.org
Received: from mailhost.philamuseum.org (unknown [38.155.38.22]) by
  lists.samba.org (Postfix) with ESMTP id D420C4ACF for
  <samba at lists.samba.org.>; Tue, 19 Jun 2001 08:10:20 -0700 (PDT)
Received: by MAILHOST with Internet Mail Service (5.5.2653.19) id
  <MNKSP9B7>; Tue, 19 Jun 2001 11:15:40 -0400
Message-ID: <3CB23A9F8C3DD511BC2500508BC741332AA83E at MAILHOST>
From: "McAtee, Malcolm" <MMcAtee at philamuseum.org>
To: samba at lists.samba.org
Subject: writeable permissions?
Date: Tue, 19 Jun 2001 11:15:40 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Please excuse the newbie questions.
I am pretty new to Linux and Samba.
I have recently installed Linux 7.0 and Samba.
I have been able to successfully connect and browse my linux machine from my
windows 2000 workstation.
I am unable create or add files and directorys however.
 
I have setup my share in the smb.conf file as follows:
 
[website]
comment = website directory
path = /var/www
public = no
writeable = yes
write list = @website
printable = no
 
 
I am setup as a superuser on the Linux system do I need to make myself part
of the website group?
Are the permissions (creation permissions = 700) setup for the website group
sufficient? 
Do I need to add myself to the smbusers file?
 
Help please!
 
 
TIA Malcolm
 
 

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at lists.samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 9580A444F for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 08:40:13 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5JFidu13204; Tue, 19 Jun 2001 17:44:39 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id RAA00377; Tue, 19
  Jun 2001 17:44:39 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id RAA02037; Tue, 19 Jun
  2001 17:44:45 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: samba at lists.samba.org, "McAtee, Malcolm" <MMcAtee at philamuseum.org>
Date: Tue, 19 Jun 2001 17:44:33 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: writeable permissions?
Message-ID: <3B2F8F81.18725.20CC483 at localhost>
Priority: normal
In-reply-to: <3CB23A9F8C3DD511BC2500508BC741332AA83E at MAILHOST>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Please excuse the newbie questions.
> I am pretty new to Linux and Samba.
> I have recently installed Linux 7.0 and Samba.
> I have been able to successfully connect and browse my linux machine from my
> windows 2000 workstation.
> I am unable create or add files and directorys however.
>  
> I have setup my share in the smb.conf file as follows:
>  
> [website]
> comment = website directory
> path = /var/www
> public = no
> writeable = yes
> write list = @website
> printable = no
>  
>  
> I am setup as a superuser on the Linux system do I need to make myself part
> of the website group?
> Are the permissions (creation permissions = 700) setup for the website group
> sufficient? 
With this perimissions only the owner of the file can read and write 
it. Who is the owner? 

-- Begin "off topic"
Hopfully your web-server is not running as root or ordanary user! 
Normaly permissions in web directories are 
-rw-rw-r-- or -rw-r--r-- with the web server running as nobody or 
better as httpd (or what special user you like). Owner of the files 
is the human that maintains the web site.
-- End "off topic"

Can you read the files? Connet as the owner of the files and try 
again. Make the files group read/writable with website as group, put 
you self into website. Try again. You say you can connet, so this 
should work. (If the connection is refused we have to look at 
different things.) Take care that the permissions are maintened in 
the share (stick-bit, inherit permissions, create mode, ....)

> Do I need to add myself to the smbusers file?
If your unix and Windows user names are equel you do not need the 
file.

Christian


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <sravikumar at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from web9603.mail.yahoo.com (web9603.mail.yahoo.com
  [216.136.129.182]) by lists.samba.org (Postfix) with SMTP id BF76D4AE4
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 08:41:40 -0700 (PDT)
Message-ID: <20010619154608.68169.qmail at web9603.mail.yahoo.com>
Received: from [12.105.65.6] by web9603.mail.yahoo.com; Tue, 19 Jun 2001
  08:46:08 PDT
Date: Tue, 19 Jun 2001 08:46:08 -0700 (PDT)
From: Ravi Kumar <sravikumar at yahoo.com>
Subject: Newbie question on browse server
To: samba at lists.samba.org
Cc: sravikumar at yahoo.com
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have the following question on Samba and would
appreciate any feedback on this.

My scenario is as follows:

        LAN             WAN
  Home -----> Samba -----------> CIFS NAS
  LAN         Server          

- Home PCs and Samba Server are on the same workgroup.

I want to acheive the following. Samba server should
tell the Home PCs the list of shares and the url to
access them.

Thanks.

=====
-- ravi
sravikumar at yahoo.com


__________________________________________________
Do You Yahoo!?
Spot the hottest trends in music, movies, and more.
http://buzz.yahoo.com/

Return-Path: <rshields at customcolor.com>
Delivered-To: samba at lists.samba.org
Received: from customcolor.com (customcolor.com [216.122.237.241]) by
  lists.samba.org (Postfix) with ESMTP id 70E454B89 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 08:45:14 -0700 (PDT)
Received: from leedo ([209.248.198.166]) by customcolor.com
  (8.11.0/8.11.0) with SMTP id f5JFoJj44790 for <samba at lists.samba.org>;
  Tue, 19 Jun 2001 15:50:19 GMT (envelope-from rshields at customcolor.com)
From: "Richard Shields" <rshields at customcolor.com>
To: <samba at lists.samba.org>
Subject: Ownership privileges
Date: Tue, 19 Jun 2001 10:53:48 -0500
Message-ID: <NFBBKMHCKLFBEHOPKPMAAEEOCAAA.rshields at customcolor.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I am running Samba 2.0.7 on a Macintosh OSX server ver 1.2 A file created,
copied or otherwise altered by a Windows client on this server is
unalterable by the Macintosh clients. Is there a way to fix this? A file
created, ETC by a Mac client can be altered by anyone... I have only limited
Unix/Linux exp so feel free to email me in person if the answer is too wordy
for the list server. Thank you for your help in advance...

Richard L. Shields
rshields at customcolor.com

Custom Color Corp.
300 W. 19th Terr.
K.C., MO 64108
ph. 816-474-3200
fx. 816-842-4909
http://www.customcolor.com

Return-Path: <jerome_baumgarten at yahoo.fr>
Delivered-To: samba at samba.org
Received: from smtp017.mail.yahoo.com (smtp017.mail.yahoo.com
  [216.136.174.114]) by lists.samba.org (Postfix) with SMTP id 7873F4E50
  for <samba at samba.org>; Tue, 19 Jun 2001 09:41:53 -0700 (PDT)
Received: from unknown (HELO mainpassjerome) (64.120.108.6) by
  smtp.mail.vip.sc5.yahoo.com with SMTP; 19 Jun 2001 16:46:20 -0000
X-Apparently-From: <jerome?baumgarten at yahoo.fr>
Message-ID: <01f301c0f8df$cc048e60$6f01010a at nt.local>
From: "Jerome Baumgarten" <jerome_baumgarten at yahoo.fr>
To: <samba at samba.org>
Subject: Samba CVS, which one ?
Date: Tue, 19 Jun 2001 09:49:23 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

As far I did not get any response that could help me I post again my
question.

Hi,

I would like to get the last Samba source from the CVS to compile it and I
would like to use it in an existing Win2000 domain. Thus I would like to get
winbind.
Right now I don't have any Samba installation on my machine.
So my question is which one do I need ?
Is it the HEAD or SAMBA_2_2 ?
Is it this command:
cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co samba
or that one ?
cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co -r SAMBA_2_2 samba

Thanks in advance.

Jerome


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Return-Path: <mekilroy at risingedge.com>
Delivered-To: samba at samba.org
Received: from mailhost.digitalselect.net (unknown [209.225.164.170]) by
  lists.samba.org (Postfix) with ESMTP id 6C4104E49 for
  <samba at samba.org>; Tue, 19 Jun 2001 09:51:56 -0700 (PDT)
Received: from wizzard.rising-edge (risingedge.com [216.181.63.36]) by
  mailhost.digitalselect.net (8.11.1/8.11.1) with SMTP id f5JGwIS68030
  for <samba at samba.org>; Tue, 19 Jun 2001 12:58:18 -0400 (EDT)
Received: from diamondback (unverified [192.168.0.26]) by
  wizzard.rising-edge (EMWAC SMTPRS 0.83) with SMTP id
  <B0000083899 at wizzard.rising-edge>; Tue, 19 Jun 2001 12:56:19 -0400
Message-ID: <041601c0f8e0$c26e38a0$1a00a8c0 at diamondback>
From: "M. Kilroy" <mekilroy at risingedge.com>
To: "Jerome Baumgarten" <jerome_baumgarten at yahoo.fr>, <samba at samba.org>
References: <01f301c0f8df$cc048e60$6f01010a at nt.local>
Subject: Re: Samba CVS, which one ?
Date: Tue, 19 Jun 2001 12:56:18 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
X-Antirelay: Good relay from local net2 192.168.0.0/24
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

http://samba.org/samba/cvs.html will give you all the CVS info for
downloading.
As far as which one you need, you may want to just pick one and try it.  :)

----- Original Message -----
From: "Jerome Baumgarten" <jerome_baumgarten at yahoo.fr>
To: <samba at samba.org>
Sent: Tuesday, June 19, 2001 12:49 PM
Subject: Samba CVS, which one ?


As far I did not get any response that could help me I post again my
question.

Hi,

I would like to get the last Samba source from the CVS to compile it and I
would like to use it in an existing Win2000 domain. Thus I would like to get
winbind.
Right now I don't have any Samba installation on my machine.
So my question is which one do I need ?
Is it the HEAD or SAMBA_2_2 ?
Is it this command:
cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co samba
or that one ?
cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co -r SAMBA_2_2 samba

Thanks in advance.

Jerome


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <DavidB at mail.interclean.com>
Delivered-To: samba at lists.samba.org
Received: from serverdell2200.interclean.com (mail.interclean.com
  [152.160.178.23]) by lists.samba.org (Postfix) with ESMTP id B94DD4410
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 10:04:30 -0700 (PDT)
Received: by mail.interclean.com with Internet Mail Service
  (5.5.2650.21) id <NFH9VS5W>; Tue, 19 Jun 2001 13:08:45 -0400
Message-ID: <0F9D3D919AADD211BE7E00A0C99B842032438F at mail.interclean.com>
From: David Brodbeck <DavidB at mail.interclean.com>
To: "'M. Kilroy'" <mekilroy at risingedge.com>, samba at lists.samba.org
Subject: RE: *working* winbindd
Date: Tue, 19 Jun 2001 13:08:43 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

It worked for me using the version that was in the samba-appliance-0.5-1
rpm.  Unfortunately that's now been taken down as obsolete.  I'm not sure
what's been done since to break it, but the version in the current HEAD CVS
sure doesn't work.  Kinda seems like one step forward and two back
sometimes, doesn't it?

-----Original Message-----
From: M. Kilroy [mailto:mekilroy at risingedge.com]
Sent: Tuesday, June 19, 2001 9:56 AM
To: samba at lists.samba.org; samba-ntdom at lists.samba.org
Subject: *working* winbindd


Does anyone out there with winbind *working* and authenticating from an NT
PDC
mind telling me what version of samba/winbind they are running?  The latest
head has probs with winbindd, and I need to get something running very soon.

THANKS!

"I have not failed. I've just found 10,000 ways that won't work."
- Thomas Alva Edison (1847-1931)

"The girl got reasons.  They all got reasons." ~Scott Weiland
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <JVergara at equinox.com>
Delivered-To: samba at lists.samba.org
Received: from notes.EQUINOX.COM (notes.equinox.com [63.80.92.4]) by
  lists.samba.org (Postfix) with ESMTP id 78B424242 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 10:12:32 -0700 (PDT)
Subject: Samba log errors
To: samba at lists.samba.org
X-Mailer: Lotus Notes Release 5.0.6a  January 17, 2001
Message-ID: <OF4197630C.1DB39627-ON85256A70.005B36C9 at EQUINOX.COM>
From: JVergara at equinox.com
Date: Tue, 19 Jun 2001 10:02:29 -0700
X-MIMETrack: Serialize by Router on notes.EQUINOX.COM/EQNX(Release 5.0.5
  |September 22, 2000) at 06/19/2001 01:02:34 PM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have been using samba 2.0.7 and lprng with linux redhat 6.2 for a
while witth a windows multiuser database application that runs from a
share volume in the samba server.  The problem is that lately the
users are complaining of computer lock ups when trying to insert a
record , or they complain that they entered a record and later on the
record dissapeared from the database.  Also  I have linksys
printservers attached to the network so when a user sends a job from
the windows app. , it goes to the samba/lprng server that handles the
printer queues to send the jobs to the  Linksys printservers.  This is
suppossed to free the windows clients from spooling jobs directly to
the printers and get stuck with the async. communication
computer/printer with the known slowdown of the Microsoft  windows
computers.  The thing is that if several  printer jobs (let's say 20)
are sent from the same computer to the same printer queue (shared from
samba), the computer  gets frozen from the app. and afterwards the
whole computer gets frozen.  The user does not have other choice but
resetting the computer and to login again (obviously from the same ip
address) - samba does not clear the first connection and first locks
to the database files and shows a second brand new connection for the
same user.  This user opens the database app. and files and begins to
work.  Suddenly if somebody else tries to create records on the same
database files opened by the client with two conections on smbstatus -
they get lock up and they can not do anything until  manually
somebody checks smbstatus and kills the older conection of the person
(ip address) with two connections to the shared folders.

How can we fix the two problems described before?
- computer gets lock up when printing several jobs to printer shared
by samba.
- Samba does not clear connection when computer is reset, allowing
more than one connection to the same folder from     one computer (ip
address).

Below,  I show different errors from the samba logs for different
users.   I don't know if those errors are  harmless, or potentially
desastrous for a database integrity and multiuser set up.

thanks in advance for any recommendations in this matter,

Juan Vergara

----------

log.freddy:84:  write_socket_data: write failure. Error = Broken pipe
log.freddy:86:  write_socket: Error writing 206 bytes to socket 9:
ERRNO = Broke
n pipe
log.freddy:88:  Error writing 206 bytes to client. -1. Exiting
log.kathy.1.1:251:  read_socket_data: recv failure for 4. Error = No
route to ho
st
log.kathy.1.1:253:  receive_smb error (No route to host) exiting
log.lorenzo:36:  write_socket_data: write failure. Error = Broken pipe
log.lorenzo:38:  write_socket: Error writing 206 bytes to socket 9:
ERRNO = Brok
en pipe
log.lorenzo:40:  Error writing 206 bytes to client. -1. Exiting
log.lorenzo:60:  write_socket_data: write failure. Error = Broken pipe
log.lorenzo:62:  write_socket: Error writing 206 bytes to socket 9:
ERRNO = Brok
en pipe
log.lorenzo:64:  Error writing 206 bytes to client. -1. Exiting
log.lorenzo.1.1:437:  read_socket_data: recv failure for 4. Error =
Connection r
eset by peer
log.lorenzo.1.1:529:  write_socket_data: write failure. Error = Broken
pipe
log.lorenzo.1.1:531:  write_socket: Error writing 206 bytes to socket
9: ERRNO =
 Broken pipe
log.lorenzo.1.1:533:  Error writing 206 bytes to client. -1. Exiting
log.lorenzo.1.1:535:  write_socket_data: write failure. Error = Broken
pipe
log.lorenzo.1.1:537:  write_socket: Error writing 206 bytes to socket
9: ERRNO =
 Broken pipe
log.lorenzo.1.1:539:  Error writing 206 bytes to client. -1. Exiting
log.ruben.1:4:  read_socket_data: recv failure for 4. Error =
Connection reset b
y peer
log.smb.1.1.1:114:  Failed to set socket option SO_KEEPALIVE (Error
Bad file des
criptor)
log.smb.1.1.1:116:  Failed to set socket option TCP_NODELAY (Error Bad
file desc
riptor)
log.smb.1.1.1:118:  Failed to set socket option IPTOS_LOWDELAY (Error
Bad file d
escriptor)
log.zenaida.1.1:1410:  read_socket_data: recv failure for 4. Error =
Connection
reset by peer

Return-Path: <gtouron at intrasoft.com.uy>
Delivered-To: samba at lists.samba.org
Received: from mail.intrasoft.com.uy (r200-40-84-134.adinet.com.uy
  [200.40.84.134]) by lists.samba.org (Postfix) with ESMTP id 356184242
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 11:12:40 -0700 (PDT)
Received: (from apache at localhost) by mail.intrasoft.com.uy
  (8.11.2/8.11.2) id f5JIJuV09273 for samba at lists.samba.org; Tue, 19 Jun
  2001 15:19:56 -0300
From: Gaston Touron <gtouron at intrasoft.com.uy>
X-Authentication-Warning: mail.intrasoft.com.uy: apache set sender to
  gtouron at intrasoft.com.uy using -f
To: samba at lists.samba.org
Subject: Installation problem
Message-ID: <992974796.3b2f97cc87eb8 at mail.intrasoft.com.uy>
Date: Tue, 19 Jun 2001 15:19:56 -0300 (UYT)
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
User-Agent: IMP/PHP IMAP webmail program 2.2.4
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have a Red Hat 7.0 installed, I have just downloaded the samba.latest.tar.gz 
form us1.samba.org, issued the command tar -xzf, and everythings seems to be 
ok. 

When I issue the command "./configure" as I read in documentation
Linux gaves 
to me the following error :

loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

Could anyone help me with that ?

Thanks a lot !!!
Gaston

Return-Path: <mmortens at co.weber.ut.us>
Delivered-To: samba at lists.samba.org
Received: from screamer.co.weber.ut.us (unknown [168.180.151.69]) by
  lists.samba.org (Postfix) with ESMTP id D075B4E6D for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 11:26:00 -0700 (PDT)
Received: from co.weber.ut.us (thag.co.weber.ut.us [168.180.145.64]) by
  screamer.co.weber.ut.us with SMTP (Microsoft Exchange Internet Mail
  Service Version 5.5.2653.13) id NFRAQJWN; Tue, 19 Jun 2001 12:35:46
  -0600
Message-ID: <3B2F9A0C.8AF39BCD at co.weber.ut.us>
Date: Tue, 19 Jun 2001 12:29:32 -0600
From: Matt Mortensen <mmortens at co.weber.ut.us>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.16-22 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Samba list <samba at lists.samba.org>
Subject: Server freeze after upgrade to Redhat 7.1 and Samba 2.2
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have had three sever lockups after upgrading from RH6.0 & samba 2.0.7
to RH7.1 and samba 2.2.  This server is a dual xeon 700mhz w/(I think)
256k cache and 512M of RAM.  What appears to be happening is that smbd
processes eat up all of the memory.  This server only runs samba is a
time server for windows clients.  On average there are 80 samba
connection concurrently.  Any help in diagnosing is appreciated and
needed.  Before the upgrade this server had run for over 300 day strait.



--
Matt Mortensen
Network Administrator
Weber County Information Technology
(801)399-8629 Office (801)399-8864 Fax

Return-Path: <ctooley at amoa.org>
Delivered-To: samba at samba.org
Received: from amoa.org (amoa.org [207.207.51.226]) by lists.samba.org
  (Postfix) with SMTP id 1E9244E94 for <samba at samba.org>; Tue, 19 Jun
  2001 11:35:36 -0700 (PDT)
Received: by amoa.org(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id
  86256A70.00669A42 ; Tue, 19 Jun 2001 13:40:41 -0500
X-Lotus-FromDomain: AMOA
From: ctooley at amoa.org
To: samba at samba.org
Message-ID: <86256A70.006698D3.00 at amoa.org>
Date: Tue, 19 Jun 2001 13:40:36 -0500
Subject: Force User:Group
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Is there a way to force writes to a specific directory to write the file as a
different User or Group that the person writing to it.  The reason I ask is...

My Director of Finance and Administration is in the following groups:
ADMINISTRATION, ACCOUNTING, DIRECTORS.  The ADMINISTRATION group is her default
group.  But, whenever she edits a file in the ACCOUNTING department's folder it
gets written with a user:group of her username and ADMINISTRATION.  Since most
of the accounting department is not in the ADMINISTRATION group they can no
longer open the files after she has saved changes to them.

Chris Tooley

Return-Path: <ctooley at amoa.org>
Delivered-To: samba at lists.samba.org
Received: from amoa.org (amoa.org [207.207.51.226]) by lists.samba.org
  (Postfix) with SMTP id C825C4E9C for <samba at lists.samba.org>; Tue, 19
  Jun 2001 11:36:12 -0700 (PDT)
Received: by amoa.org(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id
  86256A70.0066AA23 ; Tue, 19 Jun 2001 13:41:22 -0500
X-Lotus-FromDomain: AMOA
From: ctooley at amoa.org
To: Gaston Touron <gtouron at intrasoft.com.uy>
Cc: samba at lists.samba.org
Message-ID: <86256A70.0066AA11.00 at amoa.org>
Date: Tue, 19 Jun 2001 13:41:20 -0500
Subject: Re: Installation problem
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

If you type cc at the command line what happens?

Chris







Gaston Touron <gtouron at intrasoft.com.uy> on 06/19/2001 01:19:56 PM
                                                              
                                                              
                                                              
  To:          samba at lists.samba.org                          
                                                              
  cc:          (bcc: Chris Tooley/AMOA)                       
                                                              
                                                              
                                                              
  Subject      Installation problem                           
  :                                                           
                                                              






I have a Red Hat 7.0 installed, I have just downloaded the samba.latest.tar.gz
form us1.samba.org, issued the command tar -xzf, and everythings seems to be
ok.

When I issue the command "./configure" as I read in documentation
Linux gaves
to me the following error :

loading cache ./config.cache
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH

Could anyone help me with that ?

Thanks a lot !!!
Gaston
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <cjay at engr.colostate.edu>
Delivered-To: samba at lists.samba.org
Received: from goku.engr.colostate.edu (goku.engr.colostate.edu
  [129.82.224.16]) by lists.samba.org (Postfix) with ESMTP id 17CEF44E4
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 12:16:10 -0700 (PDT)
Received: from wrigley_field.engr.colostate.edu
  (wrigley_field.engr.colostate.edu [129.82.224.14]) by
  goku.engr.colostate.edu (8.12.0.Beta7/8.12.0.Beta7) with ESMTP id
  f5JJKnQ3005476 for <samba at lists.samba.org>; Tue, 19 Jun 2001 13:20:49
  -0600 (MDT)
Message-Id: <5.1.0.14.0.20010619131820.00a4b390 at mail>
X-Sender: cjay at mail
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 19 Jun 2001 13:19:09 -0600
To: samba at lists.samba.org
From: "C. J. Keist" <cjay at engr.colostate.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Subject: (no subject)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

confirm 768502

Return-Path: <Ross.Kennedy at Sun.COM>
Delivered-To: samba at lists.samba.org
Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by
  lists.samba.org (Postfix) with ESMTP id D709C4EEC for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 12:34:09 -0700 (PDT)
Received: from rowlf.Central.Sun.COM ([129.153.128.28]) by
  mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id MAA26876 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 12:38:35 -0700 (PDT)
Received: from beaker (beaker [129.153.128.23]) by rowlf.Central.Sun.COM
  (8.10.2+Sun/8.10.2/ENSMAIL,v2.1p1) with SMTP id f5JJcZK25378 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 14:38:35 -0500 (CDT)
Message-Id: <200106191938.f5JJcZK25378 at rowlf.Central.Sun.COM>
Date: Tue, 19 Jun 2001 14:38:34 -0500 (CDT)
From: Ross Kennedy <Ross.Kennedy at Sun.COM>
Reply-To: Ross Kennedy <Ross.Kennedy at Sun.COM>
Subject: CHECK_FOR_MASTER_BROWSER_FAILED?    Um...err...ok?
To: samba at lists.samba.org
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: sHmi60+BGMHAqvaAIOGDYA==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4 SunOS 5.8 sun4u sparc 
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hey All,

I'm not having very good success getting this bad boy up.
I ran the smbclient thingy and it didn't spit out what I 
was hoping to see:

bash-2.03# ./smbclient -U% -L localhost
added interface ip=129.153.130.138 bcast=129.153.130.255 nmask=255.255.255.0
session request to LOCALHOST failed (Not listening for calling name)
session request to *SMBSERVER failed (Not listening for calling name)
bash-2.03# 


So I checked the logs and they say something about:

[2001/06/18 10:03:18, 0] nmbd/nmbd_elections.c:check_for_master_browser_fail(96)
check_for_master_browser_fail: Unable to find workgroup AUSTINCAMPUS.CE on subnet 129.153.130.138.=

The first thing I noted was that the workgroup name shoudln't be AUSTINCAMPUS.CE?  


Cheers,
Ross Kennedy

Return-Path: <cjay at engr.colostate.edu>
Delivered-To: samba at lists.samba.org
Received: from goku.engr.colostate.edu (goku.engr.colostate.edu
  [129.82.224.16]) by lists.samba.org (Postfix) with ESMTP id BFAC44F39
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 12:52:04 -0700 (PDT)
Received: from sunray (sunray.engr.colostate.edu [129.82.224.65]) by
  goku.engr.colostate.edu (8.12.0.Beta7/8.12.0.Beta7) with ESMTP id
  f5JJuhQ3007727 for <samba at lists.samba.org>; Tue, 19 Jun 2001 13:56:43
  -0600 (MDT)
Date: Tue, 19 Jun 2001 13:56:32 -0600 (MDT)
From: "Christopher \"C.J.\" Keist" <cjay at engr.colostate.edu>
X-Sender: cjay at sunray
To: samba at lists.samba.org
Subject: Log files
Message-ID: <Pine.GSO.4.05.10106191342350.21040-100000 at sunray>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello,
    I just installed Samba 2.2 on RH7.1.  Everything is running fine,
except for one small detail.  That is, samba is not creating any log files
when clients connect to the shares.  I specified my log file to point to
/var/log/samba/log/log.%m.  But no log files are being created.  Following
is the Global sections from the smb.conf file:

[global]
        workgroup = ENGR_DOM
        server string = Samba Server
        security = SERVER
        password server = stout bock
        username map = /etc/samba/smbusers
        password level = 8
        log file = /var/log/samba/log/log.%m
        max log size = 50
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE 
SO_RCVBUF=8192 SO_SNDBUF=8192
        load printers = No
        os level = 0
        dns proxy = No
        wins server = 129.82.224.21
        kernel oplocks = No
        remote announce = 129.82.224.21
        guest account = guest
        hosts allow = 129.82. 127.
        printing = lprng
        oplocks = No

I have double checked the path, I have also permissions on the log
directory to wide open (chmod 777), and still no log files are being
created.  What am I missing here?

Thanks...

 C. J. Keist                     Email: cjay at engr.colostate.edu
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-2465
College of Engineering, CSU
Ft. Collins, CO 80523-1301

Return-Path: <mike at rosco.ecc.engr.uky.edu>
Delivered-To: samba at lists.samba.org
Received: from rosco.ecc.engr.uky.edu (rosco.ecc.engr.uky.edu
  [128.163.145.25]) by lists.samba.org (Postfix) with ESMTP id 3CAF64EF9
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 13:20:33 -0700 (PDT)
Received: from mike by rosco.ecc.engr.uky.edu with local (Exim 3.22 #1
  (Debian)) id 15CS3Y-0000Ag-00 for <samba at lists.samba.org>; Tue, 19 Jun
  2001 16:25:00 -0400
Date: Tue, 19 Jun 2001 16:24:59 -0400
From: Mike Brancato <mike at engr.uky.edu>
To: samba at lists.samba.org
Subject: Multiple PDCs, one box ?
Message-ID: <20010619162459.A642 at rosco.ecc.engr.uky.edu>
Reply-To: mike at engr.uky.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.18i
X-Operating-System: Linux rosco 2.4.2-XFS 
X-Disclaimer: I am not responsible for anything I say.
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Is it possible to have samba control 2 domains?  I'm running
2.2.0 and have it as a PDC right now, but we want multiple groups
to use this one machine, can we have 2 or 3 domains controlled by
samba?  If not, would is be possible to add ?


-- 
Michael Brancato				Engineering Computing Services
e: mike at engr.uky.edu				Unix System Administration
p: (859) 257-3489				280 Anderson Hall
f: (859) 323-3848				University of Kentucky

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by
  lists.samba.org (Postfix) with ESMTP id A38284240 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 13:29:31 -0700 (PDT)
Received: from xparelay1.corp.hp.com (unknown [15.58.136.173]) by
  palrel1.hp.com (Postfix) with ESMTP id 7338B94E; Tue, 19 Jun 2001
  13:34:12 -0700 (PDT)
Received: from xpabh3.corp.hp.com (xpabh3.corp.hp.com [15.58.136.223])
  by xparelay1.corp.hp.com (Postfix) with ESMTP id 0B41E1F509; Tue, 19
  Jun 2001 06:33:35 -0700 (PDT)
Received: by xpabh3.corp.hp.com with Internet Mail Service (5.5.2653.19)
  id <NG4XTSVT>; Tue, 19 Jun 2001 13:33:57 -0700
Message-ID: <079FD72E42C9D311B854009027650E6F04050ADB at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Ross Kennedy' <Ross.Kennedy at Sun.COM>, "MCCALL,DON (HP-USA,ex1)"
  <don_mccall at hp.com>
Cc: "'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: RE: LOCKING Error - Super need to know
Date: Tue, 19 Jun 2001 13:33:56 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Ross,
when you run .configure, it SHOULD create a Makefile in the same 
directory where the .configure script is; at least thats what it 
does for me...
Don

-----Original Message-----
From: Ross Kennedy [mailto:Ross.Kennedy at Sun.COM]
Sent: Tuesday, June 19, 2001 10:21 AM
To: don_mccall at hp.com
Subject: RE: LOCKING Error - Super need to know


Don,

First I would like to thank you for the info.  You hit it right on
the head.  I set my PATH to look at another compiler we have on our
network (ANSI standard) and PRESTO!  It worked beautifully.  

I don't suppose you would know why it now isn't allowing me to 
'make' anything?  The only Makefile that appears in the source dir
is Makefile.in...do you get these same issues running it on HP?

I don't suppose you are in the Sacramento campus for HP?  I'll be
visiting that one at the end of this month.

Cheers,
Ross Kennedy


> From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
> To: "'Ross Kennedy'" <Ross.Kennedy at Sun.COM>, samba at lists.samba.org
> Subject: RE: LOCKING Error - Super need to know
> Date: Mon, 18 Jun 2001 19:08:36 -0400
> 
> Hi Ross,
> It's a poor unix implementation indeed that does not support file locking.
> In my experience these messages are more often a result of the compiler
that
> 
> you are using to compile samba;  The configure script actually creates and
> compiles
> some simple little programs to test what functionality exists on your
> particular 
> system, and if these test programs fail to compile or run for some reason,
> it APPEARS
> that the test itself failed.
> I have seen this happen when the compiler you are using isn't ansi
standard,
> or you
> have to add some cc flag to tell the compiler to be ansi compliant;  most
> people have 
> been able to pull gcc from the gnu web page and use that successfully...
> 
> You can get more info on whats actually failing by looking into the
> config.log 
> file for the tests for fcntl locking, etc and make sure you are not
getting
> any compiler
> errors when building those tests.
> For instance you might look for something like:
> 
> configure:9456: checking for fcntl locking
> configure:9469: cc -o conftest -O +DA1.1 +DS1.1 -DUSING_DOMAINUSER_MAP
> -DHAS_HPU
> X_POSIX_ACLS -DWITH_SYSLOG -DDEBUG_PASSWORD  -Ae -D_HPUX_SOURCE
> -D_POSIX_SOURCE
> -D_LARGEFILE64_SOURCE  conftest.c -lgen -lsec  -lnsl 1>&5
> 
> (this is on a HP-UX system); the key is looking for "checking for fcntl
> locking"...
> Hope this helps,
> Don
> 
> -----Original Message-----
> From: Ross Kennedy [mailto:Ross.Kennedy at Sun.COM]
> Sent: Monday, June 18, 2001 4:55 PM
> To: samba at lists.samba.org
> Subject: LOCKING Error - Super need to know
> 
> 
> Hey All,
> 
> I am at a dead end and in need of some help.  I leave on
> business in a week and need to have a samba server set up
> before I go.  I really hope someone knows the answer to this.
> I run the configure script and this is what I get after a
> bunch of that other info goes by...anythoughts?
> 
> checking if large file support can be enabled
> no
> checking configure summary
> ERROR: No locking available. Running Samba would be unsafe
> configure: error: summary failure. Aborting config
> 
> Beggingly yours,
> ross
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Cheers,
Ross Kennedy

Return-Path: <ctooley at amoa.org>
Delivered-To: samba at samba.org
Received: from amoa.org (amoa.org [207.207.51.226]) by lists.samba.org
  (Postfix) with SMTP id 76B8F4F16 for <samba at samba.org>; Tue, 19 Jun
  2001 13:30:13 -0700 (PDT)
Received: by amoa.org(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id
  86256A70.00711B1F ; Tue, 19 Jun 2001 15:35:25 -0500
X-Lotus-FromDomain: AMOA
From: ctooley at amoa.org
To: samba at samba.org
Message-ID: <86256A70.00711998.00 at amoa.org>
Date: Tue, 19 Jun 2001 15:35:20 -0500
Subject: Re:Force User:Group
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I need to be able to specify directories within a share, as some of the
directories have different user:group owners than others.  I think this may have
to be done at the filesystem level... is that possible?

Chris Tooley







Bill Grzanich <organix4 at mindspring.com> on 06/19/2001 03:15:57 PM
                                                              
                                                              
                                                              
  To:          Chris Tooley/AMOA at AMOA                         
                                                              
  cc:                                                         
                                                              
                                                              
                                                              
  Subject      Re:Force User:Group                            
  :                                                           
                                                              






Hi, Chris!

Original message from: ctooley at amoa.org
>Is there a way to force writes to a specific directory to write the file as a
>different User or Group that the person writing to it.  The reason I ask is...
>
<snip>

Yep... add "force user = [some name]" to your share definition.  For example:

[cmplianc]
        comment = Compliance share
        path=/home/groups/cmplianc
        valid users = @cmplianc, @it
        public = No
        writable = Yes
        printable = No
        force user = cmplianc

Hope this helps.

-Bill Grzanich
IT Manager
ORGANICS/LaGrange, Inc.

Return-Path: <urban at teststation.com>
Delivered-To: samba at samba.org
Received: from fungus.teststation.com (fungus.teststation.com
  [212.32.186.211]) by lists.samba.org (Postfix) with ESMTP id 1C49242A5
  for <samba at samba.org>; Tue, 19 Jun 2001 13:36:02 -0700 (PDT)
Received: from cola.teststation.com (tron.teststation.com
  [212.32.186.212]) by fungus.teststation.com (8.11.2/8.11.2) with ESMTP
  id f5JKeC007786; Tue, 19 Jun 2001 22:40:12 +0200
Date: Tue, 19 Jun 2001 22:40:09 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Wolfgang Kretzschmar <Wolfgang.Kretzschmar at abas.de>
Cc: SAMBA <samba at samba.org>
Subject: Re: smbmount/smbpasswd: specify path to smb.conf
In-Reply-To: <3B2F2262.D69612BE at abas.de>
Message-ID: <Pine.LNX.4.30.0106192231510.3239-100000 at cola.teststation.co
  m>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Tue, 19 Jun 2001, Wolfgang Kretzschmar wrote:

> Most samba tools (smbd, smbstatus, ...) have an option -s to use an arbitrary
> smb.conf file.
> 
> smbmount and smbpasswd do not. Both always use <sambadir>/lib/smb.conf.

smbmount can't accept -s, it has the syntax it has to be callable by 
mount. So the only place to pass that option is in the -o list.


The problem is that if you parse the configfile after other options then 
you may loose settings given on the commandline.

One idea is to try and read the configfile first, but not give an error if
it isn't found. And then if someone does:

mount -t smbfs -o cfg=/some/path.cfg,username=puw,workgroup=X ...

it will quietly fail to read /usr/local/samba/lib/smb.conf and then read
/some/path.cfg while parsing the options.

That has the ugly effect that this commandline is totally different from
the one above, as the workgroup option is lost to whatever /some/path.cfg
has for workgroup.

mount -t smbfs -o workgroup=X,cfg=/some/path.cfg,username=puw ...

/Urban

Return-Path: <dan.tappin at orourke-eng.com>
Delivered-To: samba at lists.samba.org
Received: from h-207-228-121-48.gen.cadvision.com
  (h-207-228-121-48.gen.cadvision.com [207.228.121.48]) by
  lists.samba.org (Postfix) with SMTP id 85D8842A5; Tue, 19 Jun 2001
  13:56:10 -0700 (PDT)
Received: from 192.168.0.27 by h-207-228-121-48.gen.cadvision.com; Tue,
  19 Jun 2001 15:00:35 -0600
Reply-To: <dan.tappin at orourke-eng.com>
From: "Dan Tappin" <dan.tappin at orourke-eng.com>
To: <samba-ntdom at lists.samba.org>, <samba at lists.samba.org>
Subject: Newbie SAMBA Help...
Date: Tue, 19 Jun 2001 15:01:07 -0600
Message-ID: <NEBBJHEDELJOHGLFBBFFIELLCGAA.dan.tappin at orourke-eng.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <20010619190200.BD9D94EDC at lists.samba.org>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

First Off... I am a total Linux Newbie.  Lots of command line stuff will get
me lost very fast.  Think of explaining this to your parents via e-mail
(unless your parents taught you UNIX!).  I don't mind if you take it slow
and go step by step.

Here is my situation:

Our company has purchased a Dell file server with Red Hat 7 pre-installed.

I have finally gotten Samba up and running after a Red Hat tech support call
but I am a bit lost when it comes to the SWAT utility.

Here is what I would like to accomplish:

I would like to have individual users login and be given specific
privileges.  For example:

Administrative Users

- file browsing, copying, moving and deleting etc in the Engineering
directories
- file browsing, copying, moving and deleting etc in the Administrative
directories
- file browsing, copying, moving and deleting etc in the Secretarial
directories

Secretarial Users

- file browsing, copying, moving and deleting etc in the Engineering
directories
- file browsing, copying, moving and deleting etc in the Secretarial
directories

Engineering Users

- file browsing, copying, moving and deleting etc in the Engineering
directories
- read only access to specific administrative and secretarial directories
- write access (drop box) to specific administrative and secretarial
directories

Home Accounts

- a home account for each user to store limited personal items

Here is how it would look to the root user...

Home
   User A (User A access only)
   User B (User B access only)
   User C (User C access only)
   User N  (User N access only etc...)

Secretarial
   In Box (Shared - write access for all)
   Projects (All Access for Secretarial and Admin users read-only for
others)

Administration
   In Box (Shared - write access for all)
   Projects (All Access for Admin users read-only for others)

Engineering
   Projects
      Project A
      Project B
      Project C

Now I can live with simple shares if the NT Domain controller in SAMBA is
beyond what I am trying to do here.  Ideally each user would login and the
shared they are allowed would show up in the NN.

Also I have been playing around with SAMBA and I set it up with the local
group that we have used here by default which is 'OROURKE' (our company
name).  Perhaps I am wrong here but do all my shares appear in the network
neighborhood under //FILESERVER/ADMIN/ or //FILESERVER/HOME/USER A/ etc.  or
do they appear as //ADMIN/ and //HOME/ (for USER X)???

Thanks in advance,

Dan

Return-Path: <ctooley at amoa.org>
Delivered-To: samba at samba.org
Received: from amoa.org (amoa.org [207.207.51.226]) by lists.samba.org
  (Postfix) with SMTP id CF1A04F4E for <samba at samba.org>; Tue, 19 Jun
  2001 13:58:35 -0700 (PDT)
Received: by amoa.org(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id
  86256A70.0073B1B6 ; Tue, 19 Jun 2001 16:03:41 -0500
X-Lotus-FromDomain: AMOA
From: ctooley at amoa.org
To: samba at samba.org
Message-ID: <86256A70.0073B0FE.00 at amoa.org>
Date: Tue, 19 Jun 2001 16:03:38 -0500
Subject: Re:Force User:Group
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

The problem with this is that everyone is supposed to have read access to
everything and only people in the correct groups have write access.  If I create
a different share for each department, not only am I going to have to map each
share to everyone's computer, I'm going to have to teach all those people what
each of those drive letters are for.  Plus, there aren't enough drive letters to
go around.

Chris Tooley







Bill Grzanich <organix4 at mindspring.com> on 06/19/2001 03:56:47 PM
                                                              
                                                              
                                                              
  To:          Chris Tooley/AMOA at AMOA                         
                                                              
  cc:                                                         
                                                              
                                                              
                                                              
  Subject      Re:Force User:Group                            
  :                                                           
                                                              






Hi, Chris.

>I need to be able to specify directories within a share, as some of the
>directories have different user:group owners than others.  I think this may
have
>to be done at the filesystem level... is that possible?

Yes.  Samba cannot grant privileges beyond what the file system has, so you do
have to pay attention to that.
However, you can create shares at each directory, and force different users at
each.  In my case, all users
belong to the Linux/UNIX user group called, appropriately, "users".  The shared
area of my server, /home,
contains all the user shared areas.  Within /home, I created a directory called
groups to contain the
departmental shares.  Some examples can help make a lot of this clearer:

Each of the user home directories, /home/bill for example, have privileges like
this:

drwxrwxr-x   21 bill     users        4096 Jun 19 13:02 bill

So, at the Linux/UNIX level, all users have read/write/execute privileges.
Samba, however, can restrict
access, so Beth's home directory in smb.conf is defined like this:

[Beth]
        comment = Beth's files
        path = /home/beth
        valid users = beth, laurel, bud
        public = No
        writable = Yes
        printable = No

Here, Beth's home directory may also be accessed by laurel and bud, but no one
else.  If only Beth should have
access, I could either eliminate the share entry entirely, and let Samba default
it, or simply remove the
other names from the valid users list.

For departments, like Quality Control, a number of people need access.  I have
this:

[quality]
        comment = Quality share
        path=/home/groups/quality
        valid users = @quality, @it
        public = No
        writable = Yes
        printable = No
        force user = quality

Here, only members of the Linux/UNIX groups "quality" and "it" have access.
Further, any files created will
be owned by a user called "quality".  That means, of course, that in addition to
the user groups "quality"
and "it", I also had to create a Linux/UNIX user called "quality".  Since this
user never logs in, the entry
in /etc/passwd looks like this:

quality:x:575:100:Quality Group:/dev/null:/dev/null

So the home directory and logon shell are set to /dev/null.  The permissions on
/home/groups/quality look like
this:

drwxrwxr-x   21 quality  quality      4096 Jun 19 08:52 /home/groups/quality

I hope this helps clear things up.

Best regards,

-Bill


>
>Chris Tooley
>
>
>
>
>
>
>
>Bill Grzanich <organix4 at mindspring.com> on 06/19/2001 03:15:57 PM
>
>
>
>  To:          Chris Tooley/AMOA at AMOA
>
>  cc:
>
>
>
>  Subject      Re:Force User:Group
>  :
>
>
>
>
>
>
>
>Hi, Chris!
>
>Original message from: ctooley at amoa.org
>>Is there a way to force writes to a specific directory to write the file as a
>>different User or Group that the person writing to it.  The reason I ask is...
>>
><snip>
>
>Yep... add "force user = [some name]" to your share definition.  For example:
>
>[cmplianc]
>        comment = Compliance share
>        path=/home/groups/cmplianc
>        valid users = @cmplianc, @it
>        public = No
>        writable = Yes
>        printable = No
>        force user = cmplianc
>
>Hope this helps.
>
>-Bill Grzanich
>IT Manager
>ORGANICS/LaGrange, Inc.

Return-Path: <ctooley at amoa.org>
Delivered-To: samba at samba.org
Received: from amoa.org (amoa.org [207.207.51.226]) by lists.samba.org
  (Postfix) with SMTP id 89BF74F66 for <samba at samba.org>; Tue, 19 Jun
  2001 14:04:41 -0700 (PDT)
Received: by amoa.org(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id
  86256A70.007441AD ; Tue, 19 Jun 2001 16:09:49 -0500
X-Lotus-FromDomain: AMOA
From: ctooley at amoa.org
To: samba at samba.org
Message-ID: <86256A70.0074404C.00 at amoa.org>
Date: Tue, 19 Jun 2001 16:09:45 -0500
Subject: Member Server User Accounts
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have an NT Server that a couple of apps are hosted on.  I joined the server to
the domain, all was well.  However, after the server joined the domain, no one
could access things on the server that required authenticating (ie getting at
shared directories).  I switch back to just being a standalone server not part
of the domain and all is well.  Any suggestions?

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202]) by
  lists.samba.org (Postfix) with ESMTP id 93E76453A for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 14:27:42 -0700 (PDT)
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com
  [15.45.89.191]) by atlrel2.hp.com (Postfix) with ESMTP id 060AEC96;
  Tue, 19 Jun 2001 17:32:08 -0400 (EDT)
Received: from xatlbh1.atl.hp.com (xatlbh1.atl.hp.com [15.45.89.186]) by
  xatlrelay2.atl.hp.com (Postfix) with ESMTP id 4A5251F50B; Tue, 19 Jun
  2001 17:31:09 -0400 (EDT)
Received: by xatlbh1.atl.hp.com with Internet Mail Service (5.5.2653.19)
  id <NFNNQTWT>; Tue, 19 Jun 2001 17:32:07 -0400
Message-ID: <079FD72E42C9D311B854009027650E6F04050ADC at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: "'Christopher \"C.J.\" Keist'" <cjay at engr.colostate.edu>,
  samba at lists.samba.org
Subject: RE: Log files
Date: Tue, 19 Jun 2001 17:32:05 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Chris,
You need 
log level = #
in your global section, where # is 0-10, the higher the number the more
debug
statements will be written to the log...
Don

-----Original Message-----
From: Christopher "C.J." Keist [mailto:cjay at engr.colostate.edu]
Sent: Tuesday, June 19, 2001 3:57 PM
To: samba at lists.samba.org
Subject: Log files


Hello,
    I just installed Samba 2.2 on RH7.1.  Everything is running fine,
except for one small detail.  That is, samba is not creating any log files
when clients connect to the shares.  I specified my log file to point to
/var/log/samba/log/log.%m.  But no log files are being created.  Following
is the Global sections from the smb.conf file:

[global]
        workgroup = ENGR_DOM
        server string = Samba Server
        security = SERVER
        password server = stout bock
        username map = /etc/samba/smbusers
        password level = 8
        log file = /var/log/samba/log/log.%m
        max log size = 50
        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE 
SO_RCVBUF=8192 SO_SNDBUF=8192
        load printers = No
        os level = 0
        dns proxy = No
        wins server = 129.82.224.21
        kernel oplocks = No
        remote announce = 129.82.224.21
        guest account = guest
        hosts allow = 129.82. 127.
        printing = lprng
        oplocks = No

I have double checked the path, I have also permissions on the log
directory to wide open (chmod 777), and still no log files are being
created.  What am I missing here?

Thanks...

 C. J. Keist                     Email: cjay at engr.colostate.edu
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-2465
College of Engineering, CSU
Ft. Collins, CO 80523-1301
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at samba.org
Received: from atlrel6.hp.com (atlrel6.hp.com [192.151.27.8]) by
  lists.samba.org (Postfix) with ESMTP id 24EC84F38 for
  <samba at samba.org>; Tue, 19 Jun 2001 14:46:54 -0700 (PDT)
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com
  [15.45.89.191]) by atlrel6.hp.com (Postfix) with ESMTP id EC3581FA07;
  Tue, 19 Jun 2001 17:51:17 -0400 (EDT)
Received: from xatlbh1.atl.hp.com (xatlbh1.atl.hp.com [15.45.89.186]) by
  xatlrelay2.atl.hp.com (Postfix) with ESMTP id 4DBB91F515; Tue, 19 Jun
  2001 17:50:18 -0400 (EDT)
Received: by xatlbh1.atl.hp.com with Internet Mail Service (5.5.2653.19)
  id <NFNNQVHB>; Tue, 19 Jun 2001 17:51:16 -0400
Message-ID: <079FD72E42C9D311B854009027650E6F04050ADD at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Wang Youguo' <ygwang at prosten.com>, samba at samba.org
Subject: RE: Would you please help me?
Date: Tue, 19 Jun 2001 17:51:14 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,
I see that you added the user to the smbpasswd file,
but did you add the user of the same name to your /etc/passwd file as well
(or is there already a linux user in the /etc/passwd file with the same
name?)
Hope this helps,
don

-----Original Message-----
From: Wang Youguo [mailto:ygwang at prosten.com]
Sent: Tuesday, June 19, 2001 4:31 AM
To: samba at samba.org
Subject: Would you please help me?


Dear my Savior,

I have a big trouble in configuring SAMBA. I am wondering if I could get
some help from you. My problem is descripted here:

SAMBA is installed in a RedHat Linux server and is configured, and 
The machine can be seen from my WinNT4 client, but I can not login when I
want to open the shared folder! I got a 'no right' message every time.

The following steps have been done:
(1) 'encrypt password =yes' is added into /etc/smb.conf
(2) 'smbpasswd -a username' is done and I can see the added user in the
file:  /usr/local/samba/private/smbpasswd

I have been confused for 2 days, would you please help me? PLEASE!
By the way, I am not familiar with Linux!
Thanks! Thanks! Thanks!

Best Regards,
Kerry Wang
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <cjay at engr.colostate.edu>
Delivered-To: samba at lists.samba.org
Received: from goku.engr.colostate.edu (goku.engr.colostate.edu
  [129.82.224.16]) by lists.samba.org (Postfix) with ESMTP id BA3224F51
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 14:51:01 -0700 (PDT)
Received: from wrigley_field.engr.colostate.edu
  (wrigley_field.engr.colostate.edu [129.82.224.14]) by
  goku.engr.colostate.edu (8.12.0.Beta7/8.12.0.Beta7) with ESMTP id
  f5JLsoQ3017204; Tue, 19 Jun 2001 15:54:50 -0600 (MDT)
Message-Id: <5.1.0.14.0.20010619155241.00a4ca10 at mail>
X-Sender: cjay at mail
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 19 Jun 2001 15:53:08 -0600
To: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>, samba at lists.samba.org
From: "C. J. Keist" <cjay at engr.colostate.edu>
Subject: RE: Log files
In-Reply-To: <079FD72E42C9D311B854009027650E6F04050ADC at xatl02.atl.hp.com
  >
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Thanks!!! That did it.

At 05:32 PM 6/19/01 -0400, MCCALL,DON (HP-USA,ex1) wrote:
>Hi Chris,
>You need
>log level = #
>in your global section, where # is 0-10, the higher the number the more
>debug
>statements will be written to the log...
>Don
>
>-----Original Message-----
>From: Christopher "C.J." Keist [mailto:cjay at engr.colostate.edu]
>Sent: Tuesday, June 19, 2001 3:57 PM
>To: samba at lists.samba.org
>Subject: Log files
>
>
>Hello,
>     I just installed Samba 2.2 on RH7.1.  Everything is running fine,
>except for one small detail.  That is, samba is not creating any log files
>when clients connect to the shares.  I specified my log file to point to
>/var/log/samba/log/log.%m.  But no log files are being created.  Following
>is the Global sections from the smb.conf file:
>
>[global]
>         workgroup = ENGR_DOM
>         server string = Samba Server
>         security = SERVER
>         password server = stout bock
>         username map = /etc/samba/smbusers
>         password level = 8
>         log file = /var/log/samba/log/log.%m
>         max log size = 50
>         socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
>SO_RCVBUF=8192 SO_SNDBUF=8192
>         load printers = No
>         os level = 0
>         dns proxy = No
>         wins server = 129.82.224.21
>         kernel oplocks = No
>         remote announce = 129.82.224.21
>         guest account = guest
>         hosts allow = 129.82. 127.
>         printing = lprng
>         oplocks = No
>
>I have double checked the path, I have also permissions on the log
>directory to wide open (chmod 777), and still no log files are being
>created.  What am I missing here?
>
>Thanks...
>
>  C. J. Keist                     Email: cjay at engr.colostate.edu
>UNIX/Network Manager            Phone: 970-491-0630
>Engineering Network Services    Fax:   970-491-2465
>College of Engineering, CSU
>Ft. Collins, CO 80523-1301
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

C. J. Keist                     Email: cjay at engr.colostate.edu
UNIX/Network Manager            Phone: 970-491-0630
Engineering Network Services    Fax:   970-491-5569
College of Engineering, CSU
Ft. Collins, CO 80523-1301

Return-Path: <dahouet at gmx.net>
Delivered-To: samba at lists.samba.org
Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by
  lists.samba.org (Postfix) with SMTP id 4B18442A5 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 14:57:55 -0700 (PDT)
Received: (qmail 8863 invoked by uid 0); 19 Jun 2001 21:42:20 -0000
Received: from adsl-4-105.adsl.easynet.fr (HELO mail.gmx.de)
  (195.114.94.105) by mail.gmx.net (mail06) with SMTP; 19 Jun 2001
  21:42:20 -0000
Message-ID: <200106192341500238.1BB66018 at mail.gmx.de>
In-Reply-To: <Pine.GSO.4.05.10106191342350.21040-100000 at sunray>
References: <Pine.GSO.4.05.10106191342350.21040-100000 at sunray>
X-Mailer: Calypso Version 3.20.02.00 (4)
Date: Tue, 19 Jun 2001 23:41:50 +0200
From: "linux" <dahouet at gmx.net>
To: "Christopher  Keist" <C.J.cjay at engr.colostate.edu>,
  samba at lists.samba.org
Subject: Re: Log files
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

i think your problem is that the samba 2.2 log everything to syslog
by default
so you have to put syslog=0 in your smb.conf to log to a log file

hope it helps !
@++
nico

Le 19/06/2001 ` 13:56 Christopher \ Keist a icrit :

>Hello,
>    I just installed Samba 2.2 on RH7.1.  Everything is running fine,
>except for one small detail.  That is, samba is not creating any log files
>when clients connect to the shares.  I specified my log file to point to
>/var/log/samba/log/log.%m.  But no log files are being created.  Following
>is the Global sections from the smb.conf file:
>
>[global]
>        workgroup = ENGR_DOM
>        server string = Samba Server
>        security = SERVER
>        password server = stout bock
>        username map = /etc/samba/smbusers
>        password level = 8
>        log file = /var/log/samba/log/log.%m
>        max log size = 50
>        socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
>SO_RCVBUF=8192 SO_SNDBUF=8192
>        load printers = No
>        os level = 0
>        dns proxy = No
>        wins server = 129.82.224.21
>        kernel oplocks = No
>        remote announce = 129.82.224.21
>        guest account = guest
>        hosts allow = 129.82. 127.
>        printing = lprng
>        oplocks = No
>
>I have double checked the path, I have also permissions on the log
>directory to wide open (chmod 777), and still no log files are being
>created.  What am I missing here?
>
>Thanks...
>
> C. J. Keist                     Email: cjay at engr.colostate.edu
>UNIX/Network Manager            Phone: 970-491-0630
>Engineering Network Services    Fax:   970-491-2465
>College of Engineering, CSU
>Ft. Collins, CO 80523-1301
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (oe44.law10.hotmail.com [64.4.14.16]) by
  lists.samba.org (Postfix) with ESMTP id 7A3CD42A5 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 15:06:45 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Tue, 19 Jun 2001 15:10:57 -0700
X-Originating-IP: [64.192.118.189]
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: <samba at lists.samba.org>
References: <Pine.LNX.4.30.0106180054380.32736-100000 at cola.teststation.c
  om>
Subject: Remote Domain Logons?
Date: Tue, 19 Jun 2001 18:13:33 -0400
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.3018.1300
Message-ID: <OE44DsiIWeTlhxvzSoB0000b0bf at hotmail.com>
X-OriginalArrivalTime: 19 Jun 2001 22:10:57.0608 (UTC)
  FILETIME=[B7457480:01C0F90C]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have set up a samba server at work where we have a dsl (telocity) and i
have a dsl at home (telocity) and i run windows 2000 at home is there any
way i can logon to the domain at work? If so how?

Brandon Caudle

Return-Path: <abeyn at monrovia.datadirectnet.com>
Delivered-To: samba at lists.samba.org
Received: from mail.monrovia.datadirectnet.com (unknown
  [64.213.193.140]) by lists.samba.org (Postfix) with ESMTP id 82F714D69
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 15:11:24 -0700 (PDT)
Received: (qmail 17538 invoked from network); 19 Jun 2001 21:07:48 -0000
Received: from guess.monrovia.datadirectnet.com (HELO
  monrovia.datadirectnet.com) (10.123.1.106) by
  dante.monrovia.datadirectnet.com with RC4-MD5 encrypted SMTP; 19 Jun
  2001 21:07:48 -0000
Message-ID: <3B2FCF16.2910156F at monrovia.datadirectnet.com>
Date: Tue, 19 Jun 2001 15:15:50 -0700
From: Alexander Beyn <abeyn at monrovia.datadirectnet.com>
X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Cc: abeyn at monrovia.datadirectnet.com
Subject: samba 2.2 hang + 100% cpu usage
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm in the process of setting up a file/print server using samba 2.2,
and i've ran into a problem. Logging in as guest and making a copy of a
file or a directory on a samba share causes the smbd process servicing
the request to use up 100% cpu usage and not return to the client. 

Server:	samba 2.2.0, compiled from Debian 2.2.0-2 package
	Linux 2.4.5 + XFS patch
	P3 600, 512MB ram

Client:	Win2k Pro SP2

Procedure:	locate samba server in My Network Places
		rightclick+drag directory to make a copy in the same share
		explorer will hang now, until it times out, and then reestablishes the
connection
		the "Copy of.." directory will be created, but the contents will not
have been copied.

Files:	http://www.geocities.com/alexbeyn/smb.conf.txt
	http://www.geocities.com/alexbeyn/log.smbd.txt
	http://www.geocities.com/alexbeyn/ifconfig.log.txt

I'll be happy to provide more info.

Please cc me any reponses as I'm not subscribed to the list


Thanks,
Alexander

Return-Path: <mgahagan at redhat.com>
Delivered-To: samba at lists.samba.org
Received: from phoenix.support.redhat.com (nat-pool-meridian.redhat.com
  [199.183.24.200]) by lists.samba.org (Postfix) with ESMTP id 7C2F44442
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 15:26:46 -0700 (PDT)
Received: from localhost (mgahagan at localhost) by
  phoenix.support.redhat.com (8.11.2/8.11.2) with ESMTP id f5JMVg502916
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 18:31:42 -0400
X-Authentication-Warning: phoenix.support.redhat.com: mgahagan owned
  process doing -bs
Date: Tue, 19 Jun 2001 18:31:42 -0400 (EDT)
From: Mike Gahagan <mgahagan at redhat.com>
X-X-Sender: <mgahagan at phoenix.support.redhat.com>
To: <samba at lists.samba.org>
Subject: Slow write performance with Win 98 and Samba
Message-ID: <Pine.LNX.4.33.0106191830420.1527-100000 at phoenix.support.red
  hat.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

 I have been researching a problem with Windows 98 and Samba. The problem
 is a significant slowdown in certain types of files transfers. This
 appears to be a problem specific to a Windows 98 client uploading a file
 to a Samba server which is in "server" security mode.

 Problem Description

 When the transfer is viewed with a network packet analyzer, two different
 protocol modes are seen. Normally, Windows 98 will upload files using
 large file chunks, of about 64K bytes in size. There are sent with either
 an SMBwrite or an SMBwriteraw packet, followed by enough continuation
 messages to transfer the 64K chunk. Windows 98 is free to send all 64K
 without waiting for a reply. This is what I will call fast transfer mode.

 The slow transfer mode is characterized by a small SMBwrite of only 1536
 or fewer bytes, followed by an SMBflush command. There are two reasons
 this is slow. The small packet size is all that Windows 98 can send before
 having to wait for a reply. The flush command causes the remote file
 system to write the bytes to disk before the flush reply can be sent back.
 The Windows 98 client has to wait for both requests to travel the net and
 be replied to before the next small chunk of the file can be sent.

 Characterization

 There are six conditions which must be in place in order for this problem
 to occur:
 1. The client must be Windows 98 (not Windows NT).
 2. The server must be Samba (not Windows NT).
 3. The Samba server must be in "security = server" mode (not share or
 domain mode)
 4. The file being transferred must be uploaded (not downloaded).
 5. The file must be transferred by the Windows explorer (not a command
 line copy).
 6. The drive must have been mapped by name (not by IP address).

 Using the six conditions, the problem is produced 100% of the time. If any
 one of the conditions are changed, the problem is not produced. If any of
 these six conditions are not met (are replaced by their alternative), then
 Windows 98 will choose fast transfer mode. In condition two, Samba is
 specified as the server. This is because we haven't tested with any other
 type of server which is not participating in the Microsoft Networking
 Domain as Windows NT would. Also, I did not mention Windows 98 in
 condition two, because I have not tested with Windows 98 as the server.
 Samba is certainly always affected by this, so it makes a good test
 platform for reproducing the problem.

 I have noticed during packet tracing that name resolution causes Windows
 98 to open a session with the Samba server directly. If the IP address of
 the Samba server is used instead, the name resolution system fails, and
 Windows 98 resorts to doing an NBSTAT request to the Samba server itself.
 This returns the full list of names the server has registered, which
 Windows 98 then uses to open a direct session. When the latter name
 resolution method is used, Windows 98 always chooses fast transfer mode in
 any uploads to the drive being mapped. If the same drive is mapped by name
 (even at the same time), all file uploads are in slow mode.

 Putting the Samba server into domain mode was also tested. Named mapping
 caused Windows 98 to choose fast transfer mode. The packet traces of a
 server mode versus a domain mode name lookup, drive mapping, and file
 transfer were compared, and no significant differences were found. What
 was different was the name of the Samba server (two were used), the
 session ID, the session key, the encrypted password, the multiplex ID, and
 the TCP port, acknowledgement, and sequence numbers.

 Test Data

 I used the following minimal smb.conf files to produce this problem. The
 tests were done on a Samba server running version 2.0.7, but I have
 reports that this same problem can be demonstrated on later releases of
 Samba. The Windows domain "CENTRAL" PDC, and the WINS server are the same
 machine: A Windows NT server at 10.240.27.29. The use "tester" is a
 valid user in the domain, and on the Samba server.

 Here is the share mode smb.conf, which causes fast transfers no matter how
 the drive is mapped:

 [global]
    workgroup = CENTRAL
    security = share

    interfaces = eth0

 [test]
     path = /test
     writable = yes
     guest ok = yes
     guest only = yes
 ;end_of_section -- Tag line do not remove

 Here is the server mode smb.conf I used. This configuration goes fast with
 IP address mapped drives, and slow with name mapped drives:

 [global]
    workgroup = CENTRAL
    security = server

    encrypt passwords = yes
    username level = 20
    interfaces = eth0
    password server = 10.240.27.29

 [test]
    path = /test
    writable = yes
    valid users = "tester"
 ;end_of_section -- Tag line do not remove


 I have captured two packet traces using a third host which is attached to
 the same 10baseT hub as the Windows 98 client. The first one shows a chunk
 of a file being transferred in fast mode. This was captured with the
 "security = server" smb.conf file in effect, with the drive mapped using
 its IP address. One write raw packet is shown (with the large buffer size)
 followed by one of the many continuation packets that are needed to write
 the remaining bytes up to 64K. I can post the packet traces here if
needed.

This seems to be a problem with Windows 98 forcing the use of the small
block size, possibly because it doesn't think that the Samba server is an
authenicated member of the domain. Is there any workaround for this that
would force the client to always use the 64k block size through Windows
Explorer?


Thanks in advance...

Mike



-- 
------------------------------------------------------------------------------
Mike Gahagan, RHCE                     | Red Hat Inc.
Commercial Services Group              | Meridian Office
mikeg at redhat.com                       | Durham, NC
-----------------------------------------------------------------------------

Return-Path: <kyoshida at mesco.com>
Delivered-To: samba at lists.samba.org
Received: from front1.mail.megapathdsl.net (front1.mail.megapathdsl.net
  [66.80.60.31]) by lists.samba.org (Postfix) with ESMTP id BD0E24FAB
  for <samba at lists.samba.org>; Tue, 19 Jun 2001 15:35:00 -0700 (PDT)
Received: from [64.32.131.46] (HELO hydro.mesco.com) by
  front1.mail.megapathdsl.net (CommuniGate Pro SMTP 3.4.7) with SMTP id
  675997 for samba at lists.samba.org; Tue, 19 Jun 2001 15:37:27 -0700
Content-Type: text/plain; charset="iso-8859-1"
From: Kohei Yoshida <kyoshida at mesco.com>
Organization: Municipal Engineering Services Co., P.A.
To: samba at lists.samba.org
Subject: Re: Slow write performance with Win 98 and Samba
Date: Tue, 19 Jun 2001 18:38:36 -0400
X-Mailer: KMail [version 1.2]
References: <Pine.LNX.4.33.0106191830420.1527-100000 at phoenix.support.red
  hat.com>
In-Reply-To: =?utf-8?q?=3CPine=2ELNX=2E4=2E33=2E0106191830420=2E1527-100
  000=40phoenix=2Esupport=2Ered?==?utf-8?q?
Message-ID: <auto-000000675997 at front1.mail.megapathdsl.net>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

=20=20hat=2Ecom=3E?=
MIME-Version: 1.0
Message-Id: <01061918383603.18220 at hydro.mesco.com>
Content-Transfer-Encoding: 8bit

Did you try this patch?  I don't know if it's related to your problem thou.

http://support.microsoft.com/support/kb/articles/Q236/9/26.asp

Kohei

On Tuesday 19 June 2001 18:31, you wrote:
>  I have been researching a problem with Windows 98 and Samba. The problem
>  is a significant slowdown in certain types of files transfers. This
>  appears to be a problem specific to a Windows 98 client uploading a file
>  to a Samba server which is in "server" security mode.
>
>  Problem Description
>
>  When the transfer is viewed with a network packet analyzer, two different
>  protocol modes are seen. Normally, Windows 98 will upload files using
>  large file chunks, of about 64K bytes in size. There are sent with either
>  an SMBwrite or an SMBwriteraw packet, followed by enough continuation
>  messages to transfer the 64K chunk. Windows 98 is free to send all 64K
>  without waiting for a reply. This is what I will call fast transfer mode.
>
>  The slow transfer mode is characterized by a small SMBwrite of only 1536
>  or fewer bytes, followed by an SMBflush command. There are two reasons
>  this is slow. The small packet size is all that Windows 98 can send before
>  having to wait for a reply. The flush command causes the remote file
>  system to write the bytes to disk before the flush reply can be sent back.
>  The Windows 98 client has to wait for both requests to travel the net and
>  be replied to before the next small chunk of the file can be sent.
>
>  Characterization
>
>  There are six conditions which must be in place in order for this problem
>  to occur:
>  1. The client must be Windows 98 (not Windows NT).
>  2. The server must be Samba (not Windows NT).
>  3. The Samba server must be in "security = server" mode (not share or
>  domain mode)
>  4. The file being transferred must be uploaded (not downloaded).
>  5. The file must be transferred by the Windows explorer (not a command
>  line copy).
>  6. The drive must have been mapped by name (not by IP address).
>
>  Using the six conditions, the problem is produced 100% of the time. If any
>  one of the conditions are changed, the problem is not produced. If any of
>  these six conditions are not met (are replaced by their alternative), then
>  Windows 98 will choose fast transfer mode. In condition two, Samba is
>  specified as the server. This is because we haven't tested with any other
>  type of server which is not participating in the Microsoft Networking
>  Domain as Windows NT would. Also, I did not mention Windows 98 in
>  condition two, because I have not tested with Windows 98 as the server.
>  Samba is certainly always affected by this, so it makes a good test
>  platform for reproducing the problem.
>
>  I have noticed during packet tracing that name resolution causes Windows
>  98 to open a session with the Samba server directly. If the IP address of
>  the Samba server is used instead, the name resolution system fails, and
>  Windows 98 resorts to doing an NBSTAT request to the Samba server itself.
>  This returns the full list of names the server has registered, which
>  Windows 98 then uses to open a direct session. When the latter name
>  resolution method is used, Windows 98 always chooses fast transfer mode in
>  any uploads to the drive being mapped. If the same drive is mapped by name
>  (even at the same time), all file uploads are in slow mode.
>
>  Putting the Samba server into domain mode was also tested. Named mapping
>  caused Windows 98 to choose fast transfer mode. The packet traces of a
>  server mode versus a domain mode name lookup, drive mapping, and file
>  transfer were compared, and no significant differences were found. What
>  was different was the name of the Samba server (two were used), the
>  session ID, the session key, the encrypted password, the multiplex ID, and
>  the TCP port, acknowledgement, and sequence numbers.
>
>  Test Data
>
>  I used the following minimal smb.conf files to produce this problem. The
>  tests were done on a Samba server running version 2.0.7, but I have
>  reports that this same problem can be demonstrated on later releases of
>  Samba. The Windows domain "CENTRAL" PDC, and the WINS server are the same
>  machine: A Windows NT server at 10.240.27.29. The use "tester" is a
>  valid user in the domain, and on the Samba server.
>
>  Here is the share mode smb.conf, which causes fast transfers no matter how
>  the drive is mapped:
>
>  [global]
>     workgroup = CENTRAL
>     security = share
>
>     interfaces = eth0
>
>  [test]
>      path = /test
>      writable = yes
>      guest ok = yes
>      guest only = yes
>  ;end_of_section -- Tag line do not remove
>
>  Here is the server mode smb.conf I used. This configuration goes fast with
>  IP address mapped drives, and slow with name mapped drives:
>
>  [global]
>     workgroup = CENTRAL
>     security = server
>
>     encrypt passwords = yes
>     username level = 20
>     interfaces = eth0
>     password server = 10.240.27.29
>
>  [test]
>     path = /test
>     writable = yes
>     valid users = "tester"
>  ;end_of_section -- Tag line do not remove
>
>
>  I have captured two packet traces using a third host which is attached to
>  the same 10baseT hub as the Windows 98 client. The first one shows a chunk
>  of a file being transferred in fast mode. This was captured with the
>  "security = server" smb.conf file in effect, with the drive mapped using
>  its IP address. One write raw packet is shown (with the large buffer size)
>  followed by one of the many continuation packets that are needed to write
>  the remaining bytes up to 64K. I can post the packet traces here if
> needed.
>
> This seems to be a problem with Windows 98 forcing the use of the small
> block size, possibly because it doesn't think that the Samba server is an
> authenicated member of the domain. Is there any workaround for this that
> would force the client to always use the 64k block size through Windows
> Explorer?
>
>
> Thanks in advance...
>
> Mike

Return-Path: <drankin at cox-internet.com>
Delivered-To: samba at us5.samba.org
Received: from europa.cox-internet.com (unknown [208.180.118.40]) by
  lists.samba.org (Postfix) with ESMTP id B176242A5 for
  <samba at us5.samba.org>; Tue, 19 Jun 2001 15:45:29 -0700 (PDT)
Received: from cox-internet.com ([66.76.41.210]) by
  europa.cox-internet.com (InterMail vK.4.02.00.10 201-232-116-110
  license dd72657b95c070b1853187e4f5a0d6a7) with ESMTP id
  <20010619224637.PJV1750.europa at cox-internet.com>; Tue, 19 Jun 2001
  17:46:37 -0500
Message-ID: <3B2FD7AD.733E30E7 at cox-internet.com>
Date: Tue, 19 Jun 2001 17:52:29 -0500
From: David Rankin <drankin at cox-internet.com>
X-Mailer: Mozilla 4.76 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Brandon Caudle <bcaudle at hotmail.com>
Cc: samba <samba at us5.samba.org>
Subject: Re: Remote Domain Logons?
References: <Pine.LNX.4.30.0106180054380.32736-100000 at cola.teststation.c
  om> <OE44DsiIWeTlhxvzSoB0000b0bf at hotmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Brandon Caudle wrote:

> I have set up a samba server at work where we have a dsl (telocity) and i
> have a dsl at home (telocity) and i run windows 2000 at home is there any
> way i can logon to the domain at work? If so how?
>
> Brandon Caudle
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

I'm not an expert on this, but I have a samba server at work with cable
access and Win98 at home also with cable access. I use the pptpd daemon that
is part of the poptop VPN package available at poptop.lineo.com to do domain
logins from home using CHAP authentication. From home, I can browse the
network at work with Windows explorer just as if I was at the office. Works
great! Only problem so far is dhcp times out after 1hr. on the VPN connection
(sometimes sooner) and won't automatically re-authenticate which means
(reboot Windows) to re-establish the VPN connection. I haven't had time to
solve this, but I am generally not logged in for more than an hour anyway.
Visually, my poptop VPN setup is as follows:

Office <==> Linux <==> Linksys <==> [internet] <==> Win98 at home
Lan              Samba        Cable/DSL
                    Server         Router

It takes a little tinkering to get it going, but works once configured. The
documentation is par for the state of development of the package. Give it a
look. Benefit -- It requires 1 less computer than IPSEC

--
David C. Rankin
Nacogdoches, Texas

Return-Path: <drankin at cox-internet.com>
Delivered-To: samba at us5.samba.org
Received: from europa.cox-internet.com (unknown [208.180.118.40]) by
  lists.samba.org (Postfix) with ESMTP id 5498A4F92 for
  <samba at us5.samba.org>; Tue, 19 Jun 2001 16:00:01 -0700 (PDT)
Received: from cox-internet.com ([66.76.41.210]) by
  europa.cox-internet.com (InterMail vK.4.02.00.10 201-232-116-110
  license dd72657b95c070b1853187e4f5a0d6a7) with ESMTP id
  <20010619230108.VDE1750.europa at cox-internet.com>; Tue, 19 Jun 2001
  18:01:08 -0500
Message-ID: <3B2FDB14.534FFF8A at cox-internet.com>
Date: Tue, 19 Jun 2001 18:07:00 -0500
From: David Rankin <drankin at cox-internet.com>
X-Mailer: Mozilla 4.76 [en] (Win95; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Mike Gahagan <mgahagan at redhat.com>
Cc: samba <samba at us5.samba.org>, rbpllc at cox-internet.com
Subject: Re: Slow write performance with Win 98 and Samba
References: <Pine.LNX.4.33.0106191830420.1527-100000 at phoenix.support.red
  hat.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have posted this same problem numerous times but I have never been able to
provide the detailed info Make has.

This is a real problem and it affects Win95 as well as Win98 (haven't tried
WinME). What is even stranger is that this problem comes and goes. (I don't know
what you have seen Mike, but I have cussed this problem for hours just to try the
transfer the next day and have it dissapear? - go figure)

I have generally experienced this problem trying to transfer files larger than
500K from within Windows Explorer to the Samba box. Like Mike says the Samba Box
to Windows transfer doesn't appear to be affected. I however have experienced this
problem while in user level security.


Mike Gahagan wrote:

>  I have been researching a problem with Windows 98 and Samba. The problem
>  is a significant slowdown in certain types of files transfers. This
>  appears to be a problem specific to a Windows 98 client uploading a file
>  to a Samba server which is in "server" security mode.
>
>  Problem Description
>
>  When the transfer is viewed with a network packet analyzer, two different
>  protocol modes are seen. Normally, Windows 98 will upload files using
>  large file chunks, of about 64K bytes in size. There are sent with either
>  an SMBwrite or an SMBwriteraw packet, followed by enough continuation
>  messages to transfer the 64K chunk. Windows 98 is free to send all 64K
>  without waiting for a reply. This is what I will call fast transfer mode.
>
>  The slow transfer mode is characterized by a small SMBwrite of only 1536
>  or fewer bytes, followed by an SMBflush command. There are two reasons
>  this is slow. The small packet size is all that Windows 98 can send before
>  having to wait for a reply. The flush command causes the remote file
>  system to write the bytes to disk before the flush reply can be sent back.
>  The Windows 98 client has to wait for both requests to travel the net and
>  be replied to before the next small chunk of the file can be sent.
>
>  Characterization
>
>  There are six conditions which must be in place in order for this problem
>  to occur:
>  1. The client must be Windows 98 (not Windows NT).
>  2. The server must be Samba (not Windows NT).
>  3. The Samba server must be in "security = server" mode (not share or
>  domain mode)
>  4. The file being transferred must be uploaded (not downloaded).
>  5. The file must be transferred by the Windows explorer (not a command
>  line copy).
>  6. The drive must have been mapped by name (not by IP address).
>
>  Using the six conditions, the problem is produced 100% of the time. If any
>  one of the conditions are changed, the problem is not produced. If any of
>  these six conditions are not met (are replaced by their alternative), then
>  Windows 98 will choose fast transfer mode. In condition two, Samba is
>  specified as the server. This is because we haven't tested with any other
>  type of server which is not participating in the Microsoft Networking
>  Domain as Windows NT would. Also, I did not mention Windows 98 in
>  condition two, because I have not tested with Windows 98 as the server.
>  Samba is certainly always affected by this, so it makes a good test
>  platform for reproducing the problem.
>
>  I have noticed during packet tracing that name resolution causes Windows
>  98 to open a session with the Samba server directly. If the IP address of
>  the Samba server is used instead, the name resolution system fails, and
>  Windows 98 resorts to doing an NBSTAT request to the Samba server itself.
>  This returns the full list of names the server has registered, which
>  Windows 98 then uses to open a direct session. When the latter name
>  resolution method is used, Windows 98 always chooses fast transfer mode in
>  any uploads to the drive being mapped. If the same drive is mapped by name
>  (even at the same time), all file uploads are in slow mode.
>
>  Putting the Samba server into domain mode was also tested. Named mapping
>  caused Windows 98 to choose fast transfer mode. The packet traces of a
>  server mode versus a domain mode name lookup, drive mapping, and file
>  transfer were compared, and no significant differences were found. What
>  was different was the name of the Samba server (two were used), the
>  session ID, the session key, the encrypted password, the multiplex ID, and
>  the TCP port, acknowledgement, and sequence numbers.
>
>  Test Data
>
>  I used the following minimal smb.conf files to produce this problem. The
>  tests were done on a Samba server running version 2.0.7, but I have
>  reports that this same problem can be demonstrated on later releases of
>  Samba. The Windows domain "CENTRAL" PDC, and the WINS server are the same
>  machine: A Windows NT server at 10.240.27.29. The use "tester" is a
>  valid user in the domain, and on the Samba server.
>
>  Here is the share mode smb.conf, which causes fast transfers no matter how
>  the drive is mapped:
>
>  [global]
>     workgroup = CENTRAL
>     security = share
>
>     interfaces = eth0
>
>  [test]
>      path = /test
>      writable = yes
>      guest ok = yes
>      guest only = yes
>  ;end_of_section -- Tag line do not remove
>
>  Here is the server mode smb.conf I used. This configuration goes fast with
>  IP address mapped drives, and slow with name mapped drives:
>
>  [global]
>     workgroup = CENTRAL
>     security = server
>
>     encrypt passwords = yes
>     username level = 20
>     interfaces = eth0
>     password server = 10.240.27.29
>
>  [test]
>     path = /test
>     writable = yes
>     valid users = "tester"
>  ;end_of_section -- Tag line do not remove
>
>  I have captured two packet traces using a third host which is attached to
>  the same 10baseT hub as the Windows 98 client. The first one shows a chunk
>  of a file being transferred in fast mode. This was captured with the
>  "security = server" smb.conf file in effect, with the drive mapped using
>  its IP address. One write raw packet is shown (with the large buffer size)
>  followed by one of the many continuation packets that are needed to write
>  the remaining bytes up to 64K. I can post the packet traces here if
> needed.
>
> This seems to be a problem with Windows 98 forcing the use of the small
> block size, possibly because it doesn't think that the Samba server is an
> authenicated member of the domain. Is there any workaround for this that
> would force the client to always use the 64k block size through Windows
> Explorer?
>
> Thanks in advance...
>
> Mike
>
> --
> ------------------------------------------------------------------------------
> Mike Gahagan, RHCE                     | Red Hat Inc.
> Commercial Services Group              | Meridian Office
> mikeg at redhat.com                       | Durham, NC
> -----------------------------------------------------------------------------
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




--
David C. Rankin
Nacogdoches, Texas

Return-Path: <tpot at samba.org>
Delivered-To: samba at lists.samba.org
Received: by lists.samba.org (Postfix, from userid 1007) id 9224B4FBF;
  Tue, 19 Jun 2001 16:49:16 -0700 (PDT)
From: Tim Potter <tpot at valinux.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15151.58590.185873.562159 at frungy.org>
Date: Wed, 20 Jun 2001 09:48:46 +1000 (EST)
To: David Brodbeck <DavidB at mail.interclean.com>
Cc: "'M. Kilroy'" <mekilroy at risingedge.com>, samba at lists.samba.org
Subject: RE: *working* winbindd
In-Reply-To: <0F9D3D919AADD211BE7E00A0C99B842032438F at mail.interclean.com
  >
References: <0F9D3D919AADD211BE7E00A0C99B842032438F at mail.interclean.com>
X-Mailer: VM 6.75 under Emacs 20.7.2
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

David Brodbeck writes:

> It worked for me using the version that was in the samba-appliance-0.5-1
> rpm.  Unfortunately that's now been taken down as obsolete.  I'm not sure
> what's been done since to break it, but the version in the current HEAD CVS
> sure doesn't work.  Kinda seems like one step forward and two back
> sometimes, doesn't it?

OK - I've reinstated the 0.5-1 rpms due to popular demand.  (-:


Tim.

Return-Path: <blue at mail.gator.net>
Delivered-To: samba at lists.samba.org
Received: from mail.gator.net (mail.gator.net [209.251.152.21]) by
  lists.samba.org (Postfix) with ESMTP id 38B4B4FD7 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 17:28:09 -0700 (PDT)
Received: from localhost (blue at localhost) by mail.gator.net
  (Switch-2.0.5/Switch-2.0.5) with ESMTP id f5K0Vgd27877; Tue, 19 Jun
  2001 20:31:42 -0400
Date: Tue, 19 Jun 2001 20:31:41 -0400 (EDT)
From: spot the dog <blue at gator.net>
To: Alexander Beyn <abeyn at monrovia.datadirectnet.com>
Cc: <samba at lists.samba.org>
Subject: Re: samba 2.2 hang + 100% cpu usage
In-Reply-To: <3B2FCF16.2910156F at monrovia.datadirectnet.com>
Message-ID: <Pine.LNX.4.30.0106192027320.11692-100000 at mail.gator.net>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Tue, 19 Jun 2001, Alexander Beyn wrote:

> I'm in the process of setting up a file/print server using samba 2.2,
> and i've ran into a problem. Logging in as guest and making a copy of a
> file or a directory on a samba share causes the smbd process servicing
> the request to use up 100% cpu usage and not return to the client.

if it makes you feel any better, i had the same behavior under stock
redhat 7.1. i solved it by upgrading to 2.0.8. :) i was using 2.2
downloaded from CVS yesterday, RH7.1 on a pIII 800, 100GB software RAID0
w/ext2.

> Procedure: locate samba server in My Network Places
> 		rightclick+drag directory to make a copy in the same
> share
> 		explorer will hang now, until it times out, and then
> reestablishes the connection
> 		the "Copy of.." directory will be created, but the
> contents will not have been copied.

oh, actually, mine was different.. i was deleting a couple GB of files and
closed explorer in the middle of the operation. samba went to 100% and sat
there. i already had 2.0.8 installed, so i just shut 2.2 down and switched
it over.
(emergency server build, didn't have time to play with it, sorry for the
half-assed bug report.)

-- 
blue

Return-Path: <ygwang at prosten.com>
Delivered-To: samba at samba.org
Received: from www.uphosting.com.br (unknown [66.70.16.230]) by
  lists.samba.org (Postfix) with ESMTP id 43288421F for
  <samba at samba.org>; Tue, 19 Jun 2001 18:53:23 -0700 (PDT)
Received: from wangyouguo ([210.5.18.79]) by www.uphosting.com.br
  (8.11.1/8.11.1) with SMTP id f5JI5YM05043; Tue, 19 Jun 2001 18:05:34
  GMT (envelope-from ygwang at prosten.com)
Message-ID: <000b01c0f92c$2a7ee390$7a0245a8 at wangyouguo>
From: "Wang Youguo" <ygwang at prosten.com>
To: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>, <samba at samba.org>
References: <079FD72E42C9D311B854009027650E6F04050ADD at xatl02.atl.hp.com>
Subject: Re: Would you please help me?
Date: Wed, 20 Jun 2001 09:55:59 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2014.211
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

It is very kind of you to give me the answer. 

The steps I have done list below:
(1) Download samba-2.2.0.tar.gz and decompress it
(2) Compile and install samba step by step according to the docs in directory \docs\htmldocs\using_samba, and everything is OK
(3) Add 'encrypt password = yes' to /etc/smb.conf
(4) Run adduser to add a Linix user, then run smbpasswd to add the same user to smbpasswd. It seemed OK.
(5) Edit /etc/smb.conf to share one directory, run testparm, the result is ok
(6) At Winnt4 client, the shared samba machine can be seen, but when I want to open the folder, I always got the 'no right to login' message.

So, my big trouble is I can see the beautiful apple but I can not eat it!
Would you please give me more suggestion?Thanks.

Best Regards,
Kerry Wang


----- Original Message ----- 
From: MCCALL,DON (HP-USA,ex1) <don_mccall at hp.com>
To: 'Wang Youguo' <ygwang at prosten.com>; <samba at samba.org>
Sent: Wednesday, June 20, 2001 5:51 AM
Subject: RE: Would you please help me?


> Hi,
> I see that you added the user to the smbpasswd file,
> but did you add the user of the same name to your /etc/passwd file as well
> (or is there already a linux user in the /etc/passwd file with the same
> name?)
> Hope this helps,
> don
> 
> -----Original Message-----
> From: Wang Youguo [mailto:ygwang at prosten.com]
> Sent: Tuesday, June 19, 2001 4:31 AM
> To: samba at samba.org
> Subject: Would you please help me?
> 
> 
> Dear my Savior,
> 
> I have a big trouble in configuring SAMBA. I am wondering if I could get
> some help from you. My problem is descripted here:
> 
> SAMBA is installed in a RedHat Linux server and is configured, and 
> The machine can be seen from my WinNT4 client, but I can not login when I
> want to open the shared folder! I got a 'no right' message every time.
> 
> The following steps have been done:
> (1) 'encrypt password =yes' is added into /etc/smb.conf
> (2) 'smbpasswd -a username' is done and I can see the added user in the
> file:  /usr/local/samba/private/smbpasswd
> 
> I have been confused for 2 days, would you please help me? PLEASE!
> By the way, I am not familiar with Linux!
> Thanks! Thanks! Thanks!
> 
> Best Regards,
> Kerry Wang
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

Return-Path: <ygwang at prosten.com>
Delivered-To: samba at samba.org
Received: from www.uphosting.com.br (unknown [66.70.16.230]) by
  lists.samba.org (Postfix) with ESMTP id CE16C440D for
  <samba at samba.org>; Tue, 19 Jun 2001 19:13:03 -0700 (PDT)
Received: from wangyouguo ([210.5.18.79]) by www.uphosting.com.br
  (8.11.1/8.11.1) with SMTP id f5JIPpM05159; Tue, 19 Jun 2001 18:25:52
  GMT (envelope-from ygwang at prosten.com)
Message-ID: <001701c0f92e$ffeb81d0$7a0245a8 at wangyouguo>
From: "Wang Youguo" <ygwang at prosten.com>
To: "Christian Barth" <barth at cck.uni-kl.de>, <samba at samba.org>
References: <3B2F768F.20836.1AB5449 at localhost>
Subject: Re: Would you please help me?
Date: Wed, 20 Jun 2001 10:16:20 +0800
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2014.211
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

Thanks for your answer.

I have not specified any option when I ran ./configure. 

You said that the smb.conf used by samba is in /usr/local/samba/lib directory?! But I found that it used the one in /etc directory! When I deleted /etc/smb.conf, the testparm did not run and samba server in linuxconf could not be configured!

So, perhaps this is the point. But how could I solve this problem?

Best Regards,
Kerry Wang


----- Original Message ----- 
From: Christian Barth <barth at cck.uni-kl.de>
To: Wang Youguo <ygwang at prosten.com>
Cc: <samba at lists.samba.org>
Sent: Tuesday, June 19, 2001 9:58 PM
Subject: Re: Would you please help me?


> > Dear Mr. Barth,
> > 
> > It is very kind of you to give me the answer.
> Please answer to the list as well, so that other can help you too.
>  
> > I download the Samba file(samba-2.2.0.tar.gz), decompressed, compiled and installed it step by step according to the docs in directory \docs\htmldocs\using_samba, all by myself. And there is no any problem in the case.
> Good approach.
> Have you specified any compaile time options wicht /.configure? If 
> not, /etc/smb.conf should be left from the RedHat-Install (Or has 
> this changed with 2.2???) and your smb.conf must be in 
> /usr/local/samba/lib. Make install doesn't create one by default. 
> Move your /etc/smb.conf to /usr/local/samba/lib and try again.
> 
> > Yes, the RedHat is shipped with samba, but the samba shipped seemed not running. I have not uninstalled the old one, but when I run the testparm, the results displayed seemed right. I run linuxconf to see the samba server configuration, it also seems right.
> > 
> > I am not farmiliar with linux. I am wondering if it is relevant to the privilege of the user account i used.
> You must be root to start samba and to add a user to smbpasswd. But 
> there should be errors if you are not.
> 
> Christian
> 
> > Would you please give me more suggestion? Thanks.
> > 
> > Best Regards,
> > Kerry Wang
> > 
> > 
> > ----- Original Message ----- 
> > From: Christian Barth <barth at cck.uni-kl.de>
> > To: <samba at samba.org>; Wang Youguo <ygwang at prosten.com>
> > Sent: Tuesday, June 19, 2001 7:04 PM
> > Subject: Re: Would you please help me?
> > 
> > 
> > > > Dear my Savior,
> > > > 
> > > > I have a big trouble in configuring SAMBA. I am wondering if I could get some help from you. My problem is descripted here:
> > > > 
> > > > SAMBA is installed in a RedHat Linux server and is configured, and 
> > > > The machine can be seen from my WinNT4 client, but I can not login when I want to open the shared folder! I got a 'no right' message every time.
> > > > 
> > > > The following steps have been done:
> > > > (1) 'encrypt password =yes' is added into /etc/smb.conf
> > > > (2) 'smbpasswd -a username' is done and I can see the added user in the file:  /usr/local/samba/private/smbpasswd
> > > Have you installed the compailed rpm-version or have you compailed 
> > > samba your self? /etc/smb.conf looks like a file location of RedHat, 
> > > /usr/local/samba/private/smbpasswd like a file location of a self 
> > > compailed version. If you have compailed it your self: Have you 
> > > deinstalled the samba that ships with RedHat? I suspect you have 2 
> > > versions of samba installed: one is configured to use encrypted 
> > > passwords, one has the smbpasswd file. BTW: Have you run testparam?
> > > 
> > > Christian
> > > 
> > > 
> > > > 
> > > > I have been confused for 2 days, would you please help me? PLEASE!
> > > > By the way, I am not familiar with Linux!
> > > > Thanks! Thanks! Thanks!
> > > > 
> > > > Best Regards,
> > > > Kerry Wang
> > > > -- 
> > > > To unsubscribe from this list go to the following URL and read the
> > > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > > > 
> > > 
> > > 
> > > _______________________________________________________________________
> > > In a world without walls and fences, who needs windows and gates? (SUN)
> > > 
> 
> 
> _______________________________________________________________________
> In a world without walls and fences, who needs windows and gates? (SUN)
> 

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id 84A99421F for <samba at lists.samba.org>; Tue, 19
  Jun 2001 19:16:38 -0700 (PDT)
Received: from piglett.bartlett.house (as5-89.cbr.au.asiaonline.net
  [210.215.14.89]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5K2KtI12596; Wed, 20 Jun 2001 12:20:56 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  MAA08612; Wed, 20 Jun 2001 12:20:28 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  MAA04194; Wed, 20 Jun 2001 12:20:27 +1000
Message-ID: <3B30086B.504E42BE at bartlett.house>
Date: Wed, 20 Jun 2001 12:20:27 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
Reply-To: abartlet at samba.org
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: JVergara at equinox.com
Cc: samba at lists.samba.org
Subject: Re: Samba log errors
References: <OF4197630C.1DB39627-ON85256A70.005B36C9 at EQUINOX.COM>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

JVergara at equinox.com wrote:
> 
> I have been using samba 2.0.7 and lprng with linux redhat 6.2 for a
> while witth a windows multiuser database application that runs from a
> share volume in the samba server.  The problem is that lately the
> users are complaining of computer lock ups when trying to insert a
> record , or they complain that they entered a record and later on the
> record dissapeared from the database.  

I would need your smb.conf file to comment any futher, as samba has a
plethora of locking options available.  What database app is it?  MS
Access?

Snip printing problems.

> The user does not have other choice but
> resetting the computer and to login again (obviously from the same ip
> address) - samba does not clear the first connection and first locks
> to the database files and shows a second brand new connection for the
> same user.  This user opens the database app. and files and begins to
> work.  Suddenly if somebody else tries to create records on the same
> database files opened by the client with two conections on smbstatus -
> they get lock up and they can not do anything until  manually
> somebody checks smbstatus and kills the older conection of the person
> (ip address) with two connections to the shared folders.
> 
> How can we fix the two problems described before?
> - computer gets lock up when printing several jobs to printer shared
> by samba.

Can't help you here, but one of the big things with Samba 2.2 was
sorting out printing, so you might give it a shot.

> - Samba does not clear connection when computer is reset, allowing
> more than one connection to the same folder from     one computer (ip
> address).

This is fixed is current CVS, with samba doing a better job of cleaning
up when it is forced to shutdown (broken pipes and the like) and with
samba doing a better job of cleaning up after other dead smbds.
 
> Below,  I show different errors from the samba logs for different
> users.   I don't know if those errors are  harmless, or potentially
> desastrous for a database integrity and multiuser set up.

The latter, unfotunetly.  Data won't get lost, but users won't get any
work done either.

I understand that Andrew Tridgell is doing some work on Oplocks at the
moment, so the underlying cause should be sorted out pretty soon. 
(Apparently we are actualy pretty broken at the moment, becouse we
didn't have any tests for it.  He is fixing that...)

I would suggest that you run 2.2.1 when it comes out, as it looks like
it will have knocked off many of these issues.  Samba 2.2.0 was meant to
fix many of these things, and introduced support for kenel oplocks with
2.4 kernels, but there have been mixed experiences amoungst others on
the list - so while it might be worth a try, keep a close eye on it.

Andrew Bartlett
abartlet at samba.org

> 
> log.freddy:84:  write_socket_data: write failure. Error = Broken pipe
> log.freddy:86:  write_socket: Error writing 206 bytes to socket 9:
> ERRNO = Broke
> n pipe
> log.freddy:88:  Error writing 206 bytes to client. -1. Exiting
> log.kathy.1.1:251:  read_socket_data: recv failure for 4. Error = No
> route to ho
> st
> log.kathy.1.1:253:  receive_smb error (No route to host) exiting
> log.lorenzo:36:  write_socket_data: write failure. Error = Broken pipe
> log.lorenzo:38:  write_socket: Error writing 206 bytes to socket 9:
> ERRNO = Brok
> en pipe
> log.lorenzo:40:  Error writing 206 bytes to client. -1. Exiting
> log.lorenzo:60:  write_socket_data: write failure. Error = Broken pipe
> log.lorenzo:62:  write_socket: Error writing 206 bytes to socket 9:
> ERRNO = Brok
> en pipe
> log.lorenzo:64:  Error writing 206 bytes to client. -1. Exiting
> log.lorenzo.1.1:437:  read_socket_data: recv failure for 4. Error =
> Connection r
> eset by peer
> log.lorenzo.1.1:529:  write_socket_data: write failure. Error = Broken
> pipe
> log.lorenzo.1.1:531:  write_socket: Error writing 206 bytes to socket
> 9: ERRNO =
>  Broken pipe
> log.lorenzo.1.1:533:  Error writing 206 bytes to client. -1. Exiting
> log.lorenzo.1.1:535:  write_socket_data: write failure. Error = Broken
> pipe
> log.lorenzo.1.1:537:  write_socket: Error writing 206 bytes to socket
> 9: ERRNO =
>  Broken pipe
> log.lorenzo.1.1:539:  Error writing 206 bytes to client. -1. Exiting
> log.ruben.1:4:  read_socket_data: recv failure for 4. Error =
> Connection reset b
> y peer
> log.smb.1.1.1:114:  Failed to set socket option SO_KEEPALIVE (Error
> Bad file des
> criptor)
> log.smb.1.1.1:116:  Failed to set socket option TCP_NODELAY (Error Bad
> file desc
> riptor)
> log.smb.1.1.1:118:  Failed to set socket option IPTOS_LOWDELAY (Error
> Bad file d
> escriptor)
> log.zenaida.1.1:1410:  read_socket_data: recv failure for 4. Error =
> Connection
> reset by peer
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org

Return-Path: <Makis.Marmaridis at learnnow.com.au>
Delivered-To: samba at samba.org
Received: from exchange.angusknight.com.au (unknown [203.111.32.252]) by
  lists.samba.org (Postfix) with ESMTP id 62C33421C for
  <samba at samba.org>; Tue, 19 Jun 2001 19:29:54 -0700 (PDT)
Received: from akln01 (203.111.32.252 [203.111.32.252]) by
  exchange.angusknight.com.au with SMTP (Microsoft Exchange Internet
  Mail Service Version 5.5.2653.13) id N1T1M480; Wed, 20 Jun 2001
  12:32:18 +1000
From: "Makis Marmaridis" <Makis.Marmaridis at learnnow.com.au>
To: <ctooley at amoa.org>
Cc: <samba at samba.org>
Subject: RE: Force User:Group
Date: Wed, 20 Jun 2001 12:35:03 +1000
Message-ID: <000801c0f931$9ce4d4d0$943c0a0a at akln01>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <86256A70.00711998.00 at amoa.org>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Yes, this is very possible!

You can certainly have directories inside a share and using the permissions
on the filesystem you can then set appropriate permissions for users and/or
groups for either entire directories or files within them.

Say you have in your file system

 /common
	/dir1
	/dir2
	/dir3

you can share "common" so when people connect to this share they'll
effectively see the three directories inside it. Then depending on the
filesystem permissions you set on the directories they will or won't be able
to access them.

HTH,

Cheers,
Makis.

-----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
Behalf Of ctooley at amoa.org
Sent: Wednesday, 20 June 2001 6:35 AM
To: samba at samba.org
Subject: Re:Force User:Group


I need to be able to specify directories within a share, as some of the
directories have different user:group owners than others.  I think this may
have
to be done at the filesystem level... is that possible?

Chris Tooley







Bill Grzanich <organix4 at mindspring.com> on 06/19/2001 03:15:57 PM



  To:          Chris Tooley/AMOA at AMOA

  cc:



  Subject      Re:Force User:Group
  :







Hi, Chris!

Original message from: ctooley at amoa.org
>Is there a way to force writes to a specific directory to write the file as
a
>different User or Group that the person writing to it.  The reason I ask
is...
>
<snip>

Yep... add "force user = [some name]" to your share definition.  For
example:

[cmplianc]
        comment = Compliance share
        path=/home/groups/cmplianc
        valid users = @cmplianc, @it
        public = No
        writable = Yes
        printable = No
        force user = cmplianc

Hope this helps.

-Bill Grzanich
IT Manager
ORGANICS/LaGrange, Inc.
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at us5.samba.org
Received: from hotmail.com (oe23.law10.hotmail.com [64.4.14.80]) by
  lists.samba.org (Postfix) with ESMTP id 78B44421C for
  <samba at us5.samba.org>; Tue, 19 Jun 2001 19:48:31 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Tue, 19 Jun 2001 19:52:57 -0700
X-Originating-IP: [64.192.118.189]
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: <samba at us5.samba.org>
References: <Pine.LNX.4.30.0106180054380.32736-100000 at cola.teststation.c
  om> <OE44DsiIWeTlhxvzSoB0000b0bf at hotmail.com>
  <3B2FD7AD.733E30E7 at cox-internet.com>
Subject: Re: Remote Domain Logons?
Date: Tue, 19 Jun 2001 22:55:34 -0400
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.3018.1300
Message-ID: <OE23DUWpcOGoMPqXQGW0000b37e at hotmail.com>
X-OriginalArrivalTime: 20 Jun 2001 02:52:57.0844 (UTC)
  FILETIME=[1C849340:01C0F934]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

If we do not use dhcp does it matter?

Brandon Caudle
----- Original Message -----
From: "David Rankin" <drankin at cox-internet.com>
To: "Brandon Caudle" <bcaudle at hotmail.com>
Cc: "samba" <samba at us5.samba.org>
Sent: Tuesday, June 19, 2001 6:52 PM
Subject: Re: Remote Domain Logons?


> Brandon Caudle wrote:
>
> > I have set up a samba server at work where we have a dsl (telocity) and
i
> > have a dsl at home (telocity) and i run windows 2000 at home is there
any
> > way i can logon to the domain at work? If so how?
> >
> > Brandon Caudle
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
> I'm not an expert on this, but I have a samba server at work with cable
> access and Win98 at home also with cable access. I use the pptpd daemon
that
> is part of the poptop VPN package available at poptop.lineo.com to do
domain
> logins from home using CHAP authentication. From home, I can browse the
> network at work with Windows explorer just as if I was at the office.
Works
> great! Only problem so far is dhcp times out after 1hr. on the VPN
connection
> (sometimes sooner) and won't automatically re-authenticate which means
> (reboot Windows) to re-establish the VPN connection. I haven't had time to
> solve this, but I am generally not logged in for more than an hour anyway.
> Visually, my poptop VPN setup is as follows:
>
> Office <==> Linux <==> Linksys <==> [internet] <==> Win98 at home
> Lan              Samba        Cable/DSL
>                     Server         Router
>
> It takes a little tinkering to get it going, but works once configured.
The
> documentation is par for the state of development of the package. Give it
a
> look. Benefit -- It requires 1 less computer than IPSEC
>
> --
> David C. Rankin
> Nacogdoches, Texas
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at us5.samba.org
Received: from hotmail.com (oe31.law10.hotmail.com [64.4.14.88]) by
  lists.samba.org (Postfix) with ESMTP id E62C24411 for
  <samba at us5.samba.org>; Tue, 19 Jun 2001 19:49:22 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Tue, 19 Jun 2001 19:53:49 -0700
X-Originating-IP: [64.192.118.189]
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: <samba at us5.samba.org>
References: <Pine.LNX.4.30.0106180054380.32736-100000 at cola.teststation.c
   om> <OE44DsiIWeTlhxvzSoB0000b0bf at hotmail.com>
  <3B2FD7AD.733E30E7 at cox-internet.com>
Subject: Re: Remote Domain Logons?
Date: Tue, 19 Jun 2001 22:56:27 -0400
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.3018.1300
Message-ID: <OE31X4SKJ0XgixKVVgx00001ce1 at hotmail.com>
X-OriginalArrivalTime: 20 Jun 2001 02:53:49.0435 (UTC)
  FILETIME=[3B44BCB0:01C0F934]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Sorry But i will also be using windows 2000 pro/server

Brandon
----- Original Message -----
From: "David Rankin" <drankin at cox-internet.com>
To: "Brandon Caudle" <bcaudle at hotmail.com>
Cc: "samba" <samba at us5.samba.org>
Sent: Tuesday, June 19, 2001 6:52 PM
Subject: Re: Remote Domain Logons?


> Brandon Caudle wrote:
>
> > I have set up a samba server at work where we have a dsl (telocity) and
i
> > have a dsl at home (telocity) and i run windows 2000 at home is there
any
> > way i can logon to the domain at work? If so how?
> >
> > Brandon Caudle
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
>
> I'm not an expert on this, but I have a samba server at work with cable
> access and Win98 at home also with cable access. I use the pptpd daemon
that
> is part of the poptop VPN package available at poptop.lineo.com to do
domain
> logins from home using CHAP authentication. From home, I can browse the
> network at work with Windows explorer just as if I was at the office.
Works
> great! Only problem so far is dhcp times out after 1hr. on the VPN
connection
> (sometimes sooner) and won't automatically re-authenticate which means
> (reboot Windows) to re-establish the VPN connection. I haven't had time to
> solve this, but I am generally not logged in for more than an hour anyway.
> Visually, my poptop VPN setup is as follows:
>
> Office <==> Linux <==> Linksys <==> [internet] <==> Win98 at home
> Lan              Samba        Cable/DSL
>                     Server         Router
>
> It takes a little tinkering to get it going, but works once configured.
The
> documentation is par for the state of development of the package. Give it
a
> look. Benefit -- It requires 1 less computer than IPSEC
>
> --
> David C. Rankin
> Nacogdoches, Texas
>
>
>

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at samba.org
Received: from Eng.Auburn.EDU (dns.eng.auburn.edu [131.204.10.13]) by
  lists.samba.org (Postfix) with ESMTP id 7139342FF; Tue, 19 Jun 2001
  21:26:37 -0700 (PDT)
Received: from localhost (root at ettin.eng.auburn.edu [131.204.12.72]) by
  Eng.Auburn.EDU (8.9.3/8.9.3) with ESMTP id XAA14106; Tue, 19 Jun 2001
  23:31:00 -0500 (CDT)
Date: Tue, 19 Jun 2001 23:34:03 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Patrick Goetz <pgoetz at mail.ma.utexas.edu>
Cc: <samba at samba.org>
Subject: Re: Making Samba printers available to All Domain Users
In-Reply-To: <Pine.LNX.4.21.0104252034470.18395-100000 at linux97.ma.utexas
  .edu>
Message-ID: <Pine.LNX.4.33.0106192214240.1834-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

OK.  Here is the low down from all my experience over the past
couple of months.

In Samba 2.0 all printers were installed as local printers
on NT clients because we did not support the SPOOLSS set of
MSRPCs.  Windows NT/2000 views local printers as available
for all users.  However "printer connections" are available for
the user who installed it.

This explains the new behavior people are seeing with Samba 2.2
when using the "point & print" features.  The interesting thing
is that Win NT 4.0 did it the same way as Win2k, it's just that
Samba only support lanman printing and so these "local printers"
on the Nt clients were seem by all users who logged in.

If you want a printer to be vieable for all users, it must be
installed on the NT/2000 client as a local printer.

Now the bad news, a design flaw in 2.2.0 prevents you from
installing a local printer driver of your choice for a Samba
printer.  This has been fixed for 2.2.1 and you will be able
to install these as "local" printers.  The fix was
literally one line of code. :-)  This solution is not
pretty, nor is it without shortcomings, but it will get the
job done.

Apparently what is happening is that Samba print servers allow
us to do things which a Windows NT print server will not allow
(like sharing a printer which has not printer driver assigned
to it).  Of course, you can get the same behavior with Windows
NT if you connect to an NT print server of one arch (e.g. i386)
from a client of another arch (e.g. alpha) and try to connect to
a printer which doesn't have a driver for the client arch
installed.  But I digress....




Cheers, jerry


On Thu, 26 Apr 2001, Patrick Goetz wrote:

> Progress Report:
>
> I've done a little more research on this issue, trolling the Microsoft
> support database and deja.com.  Apparently setting up network printers
> on W2K machines so that they are available to any domain user who logs
> in on the machine is not at all straight forward, and requires one to
> invoke bizarre and convoluted logon script commands - see, for example
>
>    http://support.microsoft.com/support/kb/articles/Q189/1/05.ASP
>
>
> If anyone knows a simpler way to do this, I'd love to hear about it.
> Apparently the idea that everyone who uses a particular machine might
> want to have a particular printer availalble to them never occurred to
> Microsoft.  Well, at least Active Directory Services are simple and
> elegant.  >;-)
>
>

-- 
----------------------------------------------------------------------
   /\  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.plainjoe.org/                     jerry at plainjoe.org

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

Return-Path: <jordan at digital6.net>
Delivered-To: samba at lists.samba.org
Received: from mail4.mmcable.com (fe4.rdc-kc.rr.com [24.94.163.51]) by
  lists.samba.org (Postfix) with ESMTP id 1D3CF4247 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 21:49:09 -0700 (PDT)
Received: from mango ([65.26.221.78]) by mail4.mmcable.com  with
  Microsoft SMTPSVC(5.5.1877.537.53); Tue, 19 Jun 2001 23:53:34 -0500
From: "Jordan Snyder" <jordan at digital6.net>
To: <samba at lists.samba.org>
Subject: weird problem
Date: Tue, 19 Jun 2001 23:55:01 -0500
Message-ID: <NFBBKDFEOLCOLAGANIAEIEIICAAA.jordan at digital6.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello,

I'm connecting from a win98 box at home, to my Unix server that is colocated
with a different ISP.  So, our IPs aren't on the same subnet.

Anyway, I'm running the nmbd and smbd on the Unix server, and I created
shares in my smb.conf file, and I'm trying to connect from my win98 machine
at home.  I added the file c:\windows\Lmhosts and put

$ipOfServer   wwwServer    #PRE

in that file.

then I try to map a drive letter to

\\wwwServer\www

It sometimes asks for a password for that share, sometimes it will say
"Network is busy" and exit.
If it does happen to ask for a password, it will accept the password and
wait a while and then say "The computer or share name could not be found.
Please check that you typed it correctly and try again."
Sometimes it will give this message without even asking me for a password!!

So, to me, it's impossible to find out what's going on.  I don't know if I
missed something on the Windows side, Unix side, or if the problem arises
from the fact that the boxes are across the Internet from each other.  In
any case, I would greatly appreciate any help anyone has to offer.  I've had
my share of TFM, that's why I'm here. (:


Thanks,

Jordan Snyder

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 7BF884210 for
  <samba at samba.org>; Tue, 19 Jun 2001 22:42:19 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5K5kVu19793; Wed, 20 Jun 2001 07:46:31 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id HAA16226; Wed, 20
  Jun 2001 07:46:29 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id HAA15020; Wed, 20 Jun
  2001 07:46:29 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: <ctooley at amoa.org>, "Makis Marmaridis"
  <Makis.Marmaridis at learnnow.com.au>
Date: Wed, 20 Jun 2001 07:46:27 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: RE: Force User:Group
Cc: <samba at samba.org>
Message-ID: <3B3054D3.26881.E2D5B at localhost>
Priority: normal
In-reply-to: <000801c0f931$9ce4d4d0$943c0a0a at akln01>
References: <86256A70.00711998.00 at amoa.org>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Yes, this is very possible!
> 
> You can certainly have directories inside a share and using the permissions
> on the filesystem you can then set appropriate permissions for users and/or
> groups for either entire directories or files within them.
> 
> Say you have in your file system
> 
>  /common
> 	/dir1
> 	/dir2
> 	/dir3
> 
> you can share "common" so when people connect to this share they'll
> effectively see the three directories inside it. Then depending on the
> filesystem permissions you set on the directories they will or won't be able
> to access them.
And for the new files to get the group you want, do a "chgrp newgroup 
directory" and then a chmod g+s directory. This stick-bit forces new 
files to get the group auf the directory and not the primary group of 
the creator on the unix level. Unfortunatly this is only respected by 
samba with "inherit permissions = yes" in smb.conf. But this is a 
cool thing, too, which conforms to NT standard.

Christian



> 
> HTH,
> 
> Cheers,
> Makis.
> 
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of ctooley at amoa.org
> Sent: Wednesday, 20 June 2001 6:35 AM
> To: samba at samba.org
> Subject: Re:Force User:Group
> 
> 
> I need to be able to specify directories within a share, as some of the
> directories have different user:group owners than others.  I think this may
> have
> to be done at the filesystem level... is that possible?
> 
> Chris Tooley
> 
> 
> 
> 
> 
> 
> 
> Bill Grzanich <organix4 at mindspring.com> on 06/19/2001 03:15:57 PM
> 
> 
> 
>   To:          Chris Tooley/AMOA at AMOA
> 
>   cc:
> 
> 
> 
>   Subject      Re:Force User:Group
>   :
> 
> 
> 
> 
> 
> 
> 
> Hi, Chris!
> 
> Original message from: ctooley at amoa.org
> >Is there a way to force writes to a specific directory to write the file as
> a
> >different User or Group that the person writing to it.  The reason I ask
> is...
> >
> <snip>
> 
> Yep... add "force user = [some name]" to your share definition.  For
> example:
> 
> [cmplianc]
>         comment = Compliance share
>         path=/home/groups/cmplianc
>         valid users = @cmplianc, @it
>         public = No
>         writable = Yes
>         printable = No
>         force user = cmplianc
> 
> Hope this helps.
> 
> -Bill Grzanich
> IT Manager
> ORGANICS/LaGrange, Inc.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <omega at temple-baptist.com>
Delivered-To: samba at lists.samba.org
Received: from mail3.aracnet.com (mail3.aracnet.com [216.99.193.38]) by
  lists.samba.org (Postfix) with ESMTP id 3BC924C23 for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 23:09:20 -0700 (PDT)
Received: from alpha.temple-baptist.com (temple-baptist.com
  [216.99.217.68]) by mail3.aracnet.com (8.11.4/8.11.0) with ESMTP id
  f5K6Df612253; Tue, 19 Jun 2001 23:13:42 -0700
Received: from localhost (localhost [127.0.0.1]) by
  alpha.temple-baptist.com (8.11.0/8.8.7) with ESMTP id f5K6E2l02070;
  Tue, 19 Jun 2001 23:14:02 -0700
Date: Tue, 19 Jun 2001 23:14:02 -0700 (PDT)
From: Erik Walthinsen <omega at temple-baptist.com>
To: <samba at lists.samba.org>
Cc: Paul Flood <paul at temple-baptist.com>, Gregory Leblanc
  <gleblanc at cu-portland.edu>
Subject: Extremely slow transfers into Windoze clients
Message-ID: <Pine.LNX.4.30.0106192236020.29339-100000 at alpha.temple-bapti
  st.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have a network that consists of about a half-dozen Windoze clients, all
Win98SE except one (that one is getting upgraded soon), and a Linux
server/masquerading gateway.  We're not using Samba much on the server
yet, but people in the office are starting to realize that when the
secretary shuts off her computer at night, the 'database' goes away <g>

The network has a D-Link 24-port 100Mbps switch at the center, with cat5
to the machines (run in the last couple months), and Netgear FA-310TX
boards in most of the machine (eepro100 in the linux box).  Transfer
speeds from linux to linux over ttcp and ftp and such are just fine.
Transfering files from the Windoze box to the Linux box via FTP (initiated
on the Windoze box obviously) are also reasonably fast.

The problem comes when the Windoze machine tries to copy a file from an
SMB share, whether it's on the Linux machine or any of the Windoze
machines.  I timed several transfers from the Linux machine at almost
exactly 128Kbps.  Switch obviously won't let me snoop windoze->windoze
traffic, but it seems to take about the same time.  Copying from the
Windoze box to any other machine is lightning fast, like all other
transfers.

Using smbclient to push files onto the Windoze machine I think takes
forever, but I can't remember at this instant.  I'll test it tomorrow when
some of the machines are back on.  For reference, two Win95 machines on
the network function perfectly, getting 500KB and 2MB/sec for 10Mbps and
100Mbps-connected machines, resp.

IPX/SPX was installed on two of the Windoze machines as a test, and the
transfers suddenly sped up to full speed, both directions.  However,
that's not going to be a solution when we start using the Linux machine
more as a heavy file server.

I've searched all over the net and through the archives, and I've found
some similar situations, but mostly with the speed problem the other way,
typically caused by some socket option issue on the Samba side.  Several
mentioned switching from full to half duplex, but this only affects SMB IP
traffic going one way.

I've also heard rumors of Microsoft intentionally crippling Windoze
clients in the absense of a WindozeNT server, but I can't find information
on that on the web at the moment.

I could use some pointers here as to what to check out.  I've messed with
all the normal parameters in the samba config, but I'm pretty sure it's
not a samba-releted problem, per se.  I should try powering down the Linux
machine for a few minutes and see if there's any change in the behavior of
the Windoze machines...  I can try that tomorrow some time.

Attached is my current smb.conf.  Please send replies directly, as I'm not
on the list (on enough lists as it is <g>).

TIA,
   Omega

      Erik Walthinsen <omega at temple-baptist.com> - System Administrator
        __
       /  \                GStreamer - The only way to stream!
      |    | M E G A        ***** http://gstreamer.net/ *****
      _\  /_

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at lists.samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 53901425E for
  <samba at lists.samba.org>; Tue, 19 Jun 2001 23:37:43 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5K6g7u24486; Wed, 20 Jun 2001 08:42:07 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id IAA17594; Wed, 20
  Jun 2001 08:42:06 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id IAA16701; Wed, 20 Jun
  2001 08:42:07 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: <samba at lists.samba.org>, Mike Gahagan <mgahagan at redhat.com>
Date: Wed, 20 Jun 2001 08:42:05 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7bit
Subject: Re: Slow write performance with Win 98 and Samba
Cc: allesysadmins at cck.uni-kl.de
Message-ID: <3B3061DD.28119.411904 at localhost>
Priority: normal
In-reply-to: <Pine.LNX.4.33.0106191830420.1527-100000 at phoenix.support.re
  d  hat.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Good work Mike!

The big performance difference between mapping to name or to IP
address happens as well with some file transfers (by applications,
not by copying) from samba 2.0.7 to NT4 SP6a (5?) on a quite fast 100
Mbit network.

Christian

P.S. (for my colleagues):
Beim kopieren beobachte ich es nicht, aber bei unserem tesatast-
Programm ld_t es sich sehr gut zeigen. Kann jemand bitte mal Access
ausprobieren?



>  I have been researching a problem with Windows 98 and Samba. The problem
>  is a significant slowdown in certain types of files transfers. This
>  appears to be a problem specific to a Windows 98 client uploading a file
>  to a Samba server which is in "server" security mode.
>
>  Problem Description
>
>  When the transfer is viewed with a network packet analyzer, two different
>  protocol modes are seen. Normally, Windows 98 will upload files using
>  large file chunks, of about 64K bytes in size. There are sent with either
>  an SMBwrite or an SMBwriteraw packet, followed by enough continuation
>  messages to transfer the 64K chunk. Windows 98 is free to send all 64K
>  without waiting for a reply. This is what I will call fast transfer mode.
>
>  The slow transfer mode is characterized by a small SMBwrite of only 1536
>  or fewer bytes, followed by an SMBflush command. There are two reasons
>  this is slow. The small packet size is all that Windows 98 can send before
>  having to wait for a reply. The flush command causes the remote file
>  system to write the bytes to disk before the flush reply can be sent back.
>  The Windows 98 client has to wait for both requests to travel the net and
>  be replied to before the next small chunk of the file can be sent.
>
>  Characterization
>
>  There are six conditions which must be in place in order for this problem
>  to occur:
>  1. The client must be Windows 98 (not Windows NT).
>  2. The server must be Samba (not Windows NT).
>  3. The Samba server must be in "security = server" mode (not share or
>  domain mode)
>  4. The file being transferred must be uploaded (not downloaded).
>  5. The file must be transferred by the Windows explorer (not a command
>  line copy).
>  6. The drive must have been mapped by name (not by IP address).
>
>  Using the six conditions, the problem is produced 100% of the time. If any
>  one of the conditions are changed, the problem is not produced. If any of
>  these six conditions are not met (are replaced by their alternative), then
>  Windows 98 will choose fast transfer mode. In condition two, Samba is
>  specified as the server. This is because we haven't tested with any other
>  type of server which is not participating in the Microsoft Networking
>  Domain as Windows NT would. Also, I did not mention Windows 98 in
>  condition two, because I have not tested with Windows 98 as the server.
>  Samba is certainly always affected by this, so it makes a good test
>  platform for reproducing the problem.
>
>  I have noticed during packet tracing that name resolution causes Windows
>  98 to open a session with the Samba server directly. If the IP address of
>  the Samba server is used instead, the name resolution system fails, and
>  Windows 98 resorts to doing an NBSTAT request to the Samba server itself.
>  This returns the full list of names the server has registered, which
>  Windows 98 then uses to open a direct session. When the latter name
>  resolution method is used, Windows 98 always chooses fast transfer mode in
>  any uploads to the drive being mapped. If the same drive is mapped by name
>  (even at the same time), all file uploads are in slow mode.
>
>  Putting the Samba server into domain mode was also tested. Named mapping
>  caused Windows 98 to choose fast transfer mode. The packet traces of a
>  server mode versus a domain mode name lookup, drive mapping, and file
>  transfer were compared, and no significant differences were found. What
>  was different was the name of the Samba server (two were used), the
>  session ID, the session key, the encrypted password, the multiplex ID, and
>  the TCP port, acknowledgement, and sequence numbers.
>
>  Test Data
>
>  I used the following minimal smb.conf files to produce this problem. The
>  tests were done on a Samba server running version 2.0.7, but I have
>  reports that this same problem can be demonstrated on later releases of
>  Samba. The Windows domain "CENTRAL" PDC, and the WINS server are the same
>  machine: A Windows NT server at 10.240.27.29. The use "tester" is a
>  valid user in the domain, and on the Samba server.
>
>  Here is the share mode smb.conf, which causes fast transfers no matter how
>  the drive is mapped:
>
>  [global]
>     workgroup = CENTRAL
>     security = share
>
>     interfaces = eth0
>
>  [test]
>      path = /test
>      writable = yes
>      guest ok = yes
>      guest only = yes
>  ;end_of_section -- Tag line do not remove
>
>  Here is the server mode smb.conf I used. This configuration goes fast with
>  IP address mapped drives, and slow with name mapped drives:
>
>  [global]
>     workgroup = CENTRAL
>     security = server
>
>     encrypt passwords = yes
>     username level = 20
>     interfaces = eth0
>     password server = 10.240.27.29
>
>  [test]
>     path = /test
>     writable = yes
>     valid users = "tester"
>  ;end_of_section -- Tag line do not remove
>
>
>  I have captured two packet traces using a third host which is attached to
>  the same 10baseT hub as the Windows 98 client. The first one shows a chunk
>  of a file being transferred in fast mode. This was captured with the
>  "security = server" smb.conf file in effect, with the drive mapped using
>  its IP address. One write raw packet is shown (with the large buffer size)
>  followed by one of the many continuation packets that are needed to write
>  the remaining bytes up to 64K. I can post the packet traces here if
> needed.
>
> This seems to be a problem with Windows 98 forcing the use of the small
> block size, possibly because it doesn't think that the Samba server is an
> authenicated member of the domain. Is there any workaround for this that
> would force the client to always use the 64k block size through Windows
> Explorer?
>
>
> Thanks in advance...
>
> Mike
>
>
>
> --
>
-----------------------------------------------------------------------------
-
> Mike Gahagan, RHCE                     | Red Hat Inc.
> Commercial Services Group              | Meridian Office
> mikeg at redhat.com                       | Durham, NC
>
-----------------------------------------------------------------------------
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <peter.foster at motorcharge.com.au>
Delivered-To: samba at samba.org
Received: from postoffice.motorcharge.com.au (unknown [203.48.28.130])
  by lists.samba.org (Postfix) with ESMTP id D9D3644CC for
  <samba at samba.org>; Wed, 20 Jun 2001 00:58:27 -0700 (PDT)
Received: by POSTOFFICE with Internet Mail Service (5.5.2653.19) id
  <NHFL2BKS>; Wed, 20 Jun 2001 16:00:12 +0800
Message-ID: <ED10D084B1C1D41182BA00508BB1E131272F69 at POSTOFFICE>
From: "Foster, Peter" <peter.foster at motorcharge.com.au>
To: "'samba at samba.org'" <samba at samba.org>
Subject: Is this a problem?
Date: Wed, 20 Jun 2001 15:58:22 +0800
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/mixed by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

I have just downloaded the latest SAMBA version 2.2.0.  I am using it on a
COMPAQ AlphaServer 4000 and a DS10.  The default compiler is "cc".  In both
cases the OS is COMPAQ Tru64 v5.1.  I've done all the usual (gunzip and tar)
to extract the SAMBA-2.2.0 directory, ran "./configure" and then "make" from
the "source" subdirectory.  A warning appears in the compiler output.  It
doesn't seem to affect SAMBA at all, but I thought that I would report it
anyway.

Please find attached a screen capture of the warning inserted in a MS Word
document.  I've wrapped the screen shot in a MS Word document just in case
your e-mail system can't handle bitmap attachments.


Regards,


Peter Foster
Manager Information Technology
Motorcharge Limited

Telephone: (08) 9202 4080
Facsimile:  (08) 9242 2756
Mobile: 0417 932 042
Switch: (08) 9202 4000
E-mail: peter.foster at motorcharge.com.au

[demime 0.98b removed an attachment of type application/msword which had a name of SAMBA compiler warning.doc]

Return-Path: <lcorr at katamail.com>
Delivered-To: samba at samba.org
Received: from mta3.alephint.it (unknown [194.153.172.219]) by
  lists.samba.org (Postfix) with ESMTP id E93DA4C87 for
  <samba at samba.org>; Wed, 20 Jun 2001 01:37:39 -0700 (PDT)
Received: from [194.153.172.197] by mta3.alephint.it with SMTP id
  <20010620083651.HOOW14622.mta3@[194.153.172.197]> for
  <samba at samba.org>; Wed, 20 Jun 2001 10:36:51 +0200
From: <lcorr at katamail.com>
To: samba at samba.org
Subject: Problem with winbind
Date: Wed, 20 Jun 2001 10:39:47 CEST
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Message-Id: <20010620083651.HOOW14622.mta3@[194.153.172.197]>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

 Dear Sirs,
 I am writing because I have a problem with winbind.
 I am using RedHat 7.1 with Linux ACLs. I have compiled
 Samba 3.0 with the option "--with-acl-support".
 When I try to connect to the samba server from
 a Win client winbindd sends the following message for
 each group in my domain:

 Could not lookup domain group MYDOMAIN\MYGROUP
 cli_pipe: return critical error. Error was ERRDOS - ERRpipebusy
 (All instances of the requested pipe are busy)

 It looks like as winbindd could read the list of the group but that
 it cannot look at the list of users in each group.

 Can you hekp me?

 Thank you very much,
 Lorenzo Corradini.

Return-Path: <jferruz at isoco.com>
Delivered-To: samba at samba.org
Received: from mad.isoco.com (unknown [212.9.69.146]) by lists.samba.org
  (Postfix) with ESMTP id D3A1E4C58 for <samba at samba.org>; Wed, 20 Jun
  2001 01:49:34 -0700 (PDT)
Received: from isoco.com (baco.mad.isoco.net [192.168.2.95]) by
  mad.isoco.com (Postfix) with ESMTP id 38EC4358A7 for
  <samba at samba.org>; Wed, 20 Jun 2001 10:59:55 +0200 (CEST)
Message-ID: <3B3064A6.45A27C8E at isoco.com>
Date: Wed, 20 Jun 2001 10:53:58 +0200
From: Javier Ferruz <jferruz at isoco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at samba.org
Subject: samba y ldap
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

	I use Suse 7.0 and I've installed openldap y samba
	packages which are in the distribution.

	I would like to Know if samba was compiled with
	--with-ldap. How could I know it?

	Thanks,

--
Javier Ferruz Rodrmguez
IT Dept. @ iSOCO

Return-Path: <edv at rauheshaus.de>
Delivered-To: samba at samba.org
Received: from mgate.lantana.net (unknown [194.175.202.6]) by
  lists.samba.org (Postfix) with ESMTP id EEF0D4578 for
  <samba at samba.org>; Wed, 20 Jun 2001 01:58:50 -0700 (PDT)
Received: from mail.rnb.de (unverified) by mgate.lantana.net (Content
  Technologies SMTPRS 4.1.5) with SMTP id
  <Tc2afca065441e9746b at mgate.lantana.net> for <samba at samba.org>; Wed, 20
  Jun 2001 11:04:31 +0200
Received: from mailgate1.rnb.de ([194.49.51.139]) by mail.rnb.de (Lotus
  SMTP MTA v4.6.3  (733.2 10-16-1998)) with SMTP id 41256A71.0032C6B9;
  Wed, 20 Jun 2001 10:14:36 +0100
Received: from win2000-srv.rauheshaus.de ([192.168.252.106]) by
  mailgate1.rnb.de (Lotus SMTP MTA  v4.6.2  (693.3 8-11-1998)) with SMTP
  id 41256A71.00361120; Wed, 20 Jun 2001 10:50:33 +0100
Subject: taking ownership
Date: Wed, 20 Jun 2001 11:07:04 +0200
Message-ID: <6A48864DC7CCF14E9500D91451458952C78B at WIN2000-SRV.WIN2000.ra
  uheshaus.de>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Thread-Topic: taking ownership
Thread-Index: AcD5aF+nlWomMPYTT8W1qSuRrQZHRA==
content-class: urn:content-classes:message
From: "Jan Strohbehn" <edv at rauheshaus.de>
To: <samba at samba.org>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi !!

I just tried to take the ownership of a file. It worked neither from a
NT nor from a W2K client, although I saw that the set_nt_acl function
was called when using W2k. Isn't this yet implemented or is it my fault
????

Thanks,
Jan

Return-Path: <riest at franksintl.nl>
Delivered-To: samba at samba.org
Received: from tiny.int.franksintl.nl (goblin.franksintl.nl
  [195.193.231.154]) by lists.samba.org (Postfix) with ESMTP id
  B498E4399 for <samba at samba.org>; Wed, 20 Jun 2001 02:18:33 -0700 (PDT)
Received: from cp35 (cp35.int.franksintl.nl [192.168.4.249]) by
  tiny.int.franksintl.nl (8.11.4/8.11.4/Debian 8.9.3-21) with ESMTP id
  f5K9IoK05101 for <samba at samba.org>; Wed, 20 Jun 2001 11:18:50 +0200
From: "Ries van Twisk" <riest at franksintl.nl>
To: samba at samba.org
Date: Wed, 20 Jun 2001 11:15:27 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: samba y ldap
Reply-To: ries at franksintl.nl
Message-ID: <3B3085CF.822.796B24 at localhost>
Priority: normal
In-reply-to: <3B3064A6.45A27C8E at isoco.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi 

Samba and Ldap is work in progress. I think it's even not stable in CVS.
We have to wait....

Ries

On 20 Jun 2001, at 10:53, Javier Ferruz wrote:

> 	I use Suse 7.0 and I've installed openldap y samba
> 	packages which are in the distribution.
> 
> 	I would like to Know if samba was compiled with
> 	--with-ldap. How could I know it?
> 
> 	Thanks,
> 
> --
> Javier Ferruz Rodrmguez
> IT Dept. @ iSOCO
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

Return-Path: <jferruz at isoco.com>
Delivered-To: samba at samba.org
Received: from mad.isoco.com (unknown [212.9.69.146]) by lists.samba.org
  (Postfix) with ESMTP id 4ECE94264 for <samba at samba.org>; Wed, 20 Jun
  2001 02:32:09 -0700 (PDT)
Received: from isoco.com (baco.mad.isoco.net [192.168.2.95]) by
  mad.isoco.com (Postfix) with ESMTP id D381B358A8; Wed, 20 Jun 2001
  11:42:30 +0200 (CEST)
Message-ID: <3B306EA1.F0019CFA at isoco.com>
Date: Wed, 20 Jun 2001 11:36:33 +0200
From: Javier Ferruz <jferruz at isoco.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.3 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: ries at franksintl.nl
Cc: samba at samba.org
Subject: Re: samba y ldap
References: <3B3085CF.822.796B24 at localhost>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Ries van Twisk wrote:
> 
> Hi
> 
> Samba and Ldap is work in progress. I think it's even not stable in CVS.
> We have to wait....
>
	So I suppose my samba doesn't --with-ldap option.

	Did anybody download sources CVS and use LDAP?

	Thanks,

--
Javier Ferruz Rodrmguez
IT Dept. @ iSOCO

Return-Path: <petr.adamek at antek.cz>
Delivered-To: samba at lists.samba.org
Received: from saturnin.antek.cz (antek-cs.customer.vol.cz
  [195.250.137.143]) by lists.samba.org (Postfix) with SMTP id EB9B3450C
  for <samba at lists.samba.org>; Wed, 20 Jun 2001 03:18:16 -0700 (PDT)
Received: (qmail 26804 invoked from network); 20 Jun 2001 10:22:40 -0000
Received: from petr.antek.cz (HELO petr) (195.250.137.237) by
  saturnin.antek.cz with SMTP; 20 Jun 2001 10:22:40 -0000
From: "AdaMcPetr" <petr.adamek at antek.cz>
Organization: ANTEK CS
To: samba at lists.samba.org
Date: Wed, 20 Jun 2001 12:22:40 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: samba 2.2.0 vs. removable media
Priority: normal
X-mailer: Pegasus Mail for Win32 (v3.12b)
Message-Id: <20010620101816.EB9B3450C at lists.samba.org>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have a small problem with using samba 2.2.0 and zip. The smbd 
daemon which handles the connection with /mnt/zip keeps its 
current directory at the zip, so zip cannot be unmounted and 
therefore subsequently ejected. The daemon dies withing some 
minutes after connection have been closed. I am not able to find 
any directive to be placed into smb.conf to disable such a 
behaviour.
The only solution in my mind is to run, via root postexec, script 
which will wait till there (/mnt/zip) is only current directory of smbd 
(using fuser in cycle) and then kill that smbd. But it seems to me 
to be a little bit brutal:-))
AdaMcPetr
petr.adamek at antek.cz
http://www.antek.cz

Return-Path: <barth at cck.uni-kl.de>
Delivered-To: samba at lists.samba.org
Received: from mail.uni-kl.de (mail.uni-kl.de [131.246.137.52]) by
  lists.samba.org (Postfix) with ESMTP id 776BC4DB1 for
  <samba at lists.samba.org>; Wed, 20 Jun 2001 03:48:17 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f5KAqdC27333; Wed, 20 Jun 2001 12:52:39 +0200 (MET DST)
Received: from fbk.mv.uni-kl.de (fbk.mv.uni-kl.de [131.246.201.62]) by
  enterprise.cck.uni-kl.de (8.9.2/8.9.2) with ESMTP id MAA04436; Wed, 20
  Jun 2001 12:52:40 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id MAA02455; Wed, 20 Jun
  2001 12:52:43 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: samba at lists.samba.org, "AdaMcPetr" <petr.adamek at antek.cz>
Date: Wed, 20 Jun 2001 12:52:36 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: samba 2.2.0 vs. removable media
Message-ID: <3B309C94.17525.1267598 at localhost>
Priority: normal
In-reply-to: <20010620101816.EB9B3450C at lists.samba.org>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> I have a small problem with using samba 2.2.0 and zip. The smbd 
> daemon which handles the connection with /mnt/zip keeps its 
> current directory at the zip, so zip cannot be unmounted and 
> therefore subsequently ejected. The daemon dies withing some 
> minutes after connection have been closed. I am not able to find 
> any directive to be placed into smb.conf to disable such a 
> behaviour.
> The only solution in my mind is to run, via root postexec, script 
> which will wait till there (/mnt/zip) is only current directory of smbd 
> (using fuser in cycle) and then kill that smbd. But it seems to me 
> to be a little bit brutal:-))
What happens if you put " cd / ; mount /mnt/zip " in the postexec 
script? I Havn't tried it, besause I don't need it with my CD's.

Christian



> AdaMcPetr
> petr.adamek at antek.cz
> http://www.antek.cz
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id 6E1114F0C for <samba at samba.org>; Wed, 20 Jun
  2001 04:15:38 -0700 (PDT)
Received: from piglett.bartlett.house (as3-99.cbr.au.asiaonline.net
  [210.215.11.99]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5KBJcI23476; Wed, 20 Jun 2001 21:19:42 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  VAA10419; Wed, 20 Jun 2001 21:18:13 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  VAA13629; Wed, 20 Jun 2001 21:18:08 +1000
Message-ID: <3B308670.736C7736 at bartlett.house>
Date: Wed, 20 Jun 2001 21:18:08 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
Reply-To: abartlet at samba.org
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "Foster, Peter" <peter.foster at motorcharge.com.au>
Cc: "'samba at samba.org'" <samba at samba.org>
Subject: Re: Is this a problem?
References: <ED10D084B1C1D41182BA00508BB1E131272F69 at POSTOFFICE>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

"Foster, Peter" wrote:
> 
> Hi,
> 
> I have just downloaded the latest SAMBA version 2.2.0.  I am using it on a
> COMPAQ AlphaServer 4000 and a DS10.  The default compiler is "cc".  In both
> cases the OS is COMPAQ Tru64 v5.1.  I've done all the usual (gunzip and tar)
> to extract the SAMBA-2.2.0 directory, ran "./configure" and then "make" from
> the "source" subdirectory.  A warning appears in the compiler output.  It
> doesn't seem to affect SAMBA at all, but I thought that I would report it
> anyway.
> 
> Please find attached a screen capture of the warning inserted in a MS Word
> document.  I've wrapped the screen shot in a MS Word document just in case
> your e-mail system can't handle bitmap attachments.

It dislikes any form of binary attachment.  Send it as plain text.

The Samba team uses a 'build farm' to attempt to keep on top of these
issues, at build.samba.org.  If your error matches the output of this
URL:

http://build.samba.org:80/build.pl?function=View+Build&host=usf-cf-alpha-tru64-1&tree=samba_2_2&compiler=cc

Then at least in theory the samba team knows about it...  
(Whether they pay any attention to it is another matter).  If it
differs, then replying with it in plain text might be helpful to
somebody familiar with that particular section of code.

Andrew Bartlett
abartlet at samba.org
-- 
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org

Return-Path: <jakob.reuter at wimmex.com>
Delivered-To: samba at lists.samba.org
Received: from moutvdom01.kundenserver.de (moutvdom01.kundenserver.de
  [195.20.224.200]) by lists.samba.org (Postfix) with ESMTP id 0EAF5439A
  for <samba at lists.samba.org>; Wed, 20 Jun 2001 04:35:26 -0700 (PDT)
Received: from [195.20.224.219] (helo=mrvdom03.kundenserver.de) by
  moutvdom01.kundenserver.de with esmtp (Exim 2.12 #2) id
  15CgKs-0000PF-00 for samba at lists.samba.org; Wed, 20 Jun 2001 13:39:50
  +0200
Received: from pc19f6c19.dip.t-dialin.net ([193.159.108.25] helo=bri) by
  mrvdom03.kundenserver.de with smtp (Exim 2.12 #2) id 15CgK5-00061D-00
  for samba at lists.samba.org; Wed, 20 Jun 2001 13:39:01 +0200
Reply-To: <jakob.reuter at wimmex.com>
From: "Jakob Reuter Wimmex AG" <jakob.reuter at wimmex.com>
To: <samba at lists.samba.org>
Subject: just an conclusion
Date: Wed, 20 Jun 2001 13:47:40 +0200
Message-ID: <000c01c0f97e$cf3c3980$034da8c0 at net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi folks,
	   i had problems with samba 2.0.5a and 2.0.7 running on SUSE 7.1 and 6.3.
log.smb said something like,

broken_pipe...

and the clients couldnt connect to shares. It solved the problem to remove
the "host allow = 10.0.0./24",
not an good thing for a server which is online.

After some cups of tee(black and with lot of sugar), i found out that my
"hosts" was messie. It mapped not local ip-addresses on local users. This
worked as long as the server was online, but didnt when my isp crashed.
What i dont understand is that the "resolve order" didnt mention "hosts",
just lmhost which is ok.

jakob

Return-Path: <aaa at netman.dk>
Delivered-To: samba at lists.samba.org
Received: from teapot.netman.dk (teapot.netman.dk [193.88.72.6]) by
  lists.samba.org (Postfix) with ESMTP id 87EAA44AC for
  <samba at lists.samba.org>; Wed, 20 Jun 2001 05:18:12 -0700 (PDT)
Received: from netman.dk (manpc64.netman.dk [193.88.72.75]) by
  teapot.netman.dk (8.9.3/8.9.3) with ESMTP id OAA07261 for
  <samba at lists.samba.org>; Wed, 20 Jun 2001 14:22:32 +0200 (MET DST)
Message-ID: <3B3094F7.9A68B663 at netman.dk>
Date: Wed, 20 Jun 2001 14:20:07 +0200
From: Alaa AlAmood <aaa at netman.dk>
Organization: NetMan A/S
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.16-22 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Unsubcribe
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/


Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
  (dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
  (Postfix) with ESMTP id AB3304499 for <samba at lists.samba.org>; Wed, 20
  Jun 2001 05:29:21 -0700 (PDT)
Received: from piglett.bartlett.house (as3-99.cbr.au.asiaonline.net
  [210.215.11.99]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
  with ESMTP id f5KCXcI01948; Wed, 20 Jun 2001 22:33:39 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
  [192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
  WAA10612; Wed, 20 Jun 2001 22:33:11 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
  [192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
  WAA14114; Wed, 20 Jun 2001 22:33:11 +1000
Message-ID: <3B309805.65DCB691 at bartlett.house>
Date: Wed, 20 Jun 2001 22:33:09 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
Reply-To: abartlet at samba.org
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: jakob.reuter at wimmex.com
Cc: samba at lists.samba.org
Subject: Re: just an conclusion
References: <000c01c0f97e$cf3c3980$034da8c0 at net>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Jakob Reuter Wimmex AG wrote:
> 
> Hi folks,
>            i had problems with samba 2.0.5a and 2.0.7 running on SUSE 7.1 and 6.3.
> log.smb said something like,
> 
> broken_pipe...
> 
> and the clients couldnt connect to shares. It solved the problem to remove
> the "host allow = 10.0.0./24",
> not an good thing for a server which is online.
> 
> After some cups of tee(black and with lot of sugar), i found out that my
> "hosts" was messie. It mapped not local ip-addresses on local users. This
> worked as long as the server was online, but didnt when my isp crashed.
> What i dont understand is that the "resolve order" didnt mention "hosts",
> just lmhost which is ok.

While this is probably not very well documented, the 'resolve order'
refers only to samba's activites as a client (be that in smbd itself or
in things like smbclient) and not to its activies as a server.

Server side names are resolved by the standard gethostbyname()
interface, controlled by /etc/nsswitch.conf and /etc/resolv.conf.

Andrew Bartlett
abartlet at samba.org

-- 
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org

Return-Path: <ctooley at amoa.org>
Delivered-To: samba at samba.org
Received: from amoa.org (amoa.org [207.207.51.226]) by lists.samba.org
  (Postfix) with SMTP id 87D4B4514 for <samba at samba.org>; Wed, 20 Jun
  2001 05:47:19 -0700 (PDT)
Received: by amoa.org(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id
  86256A71.0046B6F2 ; Wed, 20 Jun 2001 07:52:23 -0500
X-Lotus-FromDomain: AMOA
From: ctooley at amoa.org
To: "Christian Barth" <barth at cck.uni-kl.de>
Cc: "Makis Marmaridis" <Makis.Marmaridis at learnnow.com.au>,
  samba at samba.org
Message-ID: <86256A71.0046B5A1.00 at amoa.org>
Date: Wed, 20 Jun 2001 07:52:19 -0500
Subject: RE: Force User:Group
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Great, this is exactly what I was looking for.

Chris







"Christian Barth" <barth at cck.uni-kl.de> on 06/20/2001 12:46:27 AM
                                                              
                                                              
                                                              
  To:          Chris Tooley/AMOA at AMOA, "Makis Marmaridis"     
               <Makis.Marmaridis at learnnow.com.au>             
                                                              
  cc:          samba at samba.org                                
                                                              
                                                              
                                                              
  Subject      RE: Force User:Group                           
  :                                                           
                                                              








> Yes, this is very possible!
>
> You can certainly have directories inside a share and using the permissions
> on the filesystem you can then set appropriate permissions for users and/or
> groups for either entire directories or files within them.
>
> Say you have in your file system
>
>  /common
>    /dir1
>    /dir2
>    /dir3
>
> you can share "common" so when people connect to this share they'll
> effectively see the three directories inside it. Then depending on the
> filesystem permissions you set on the directories they will or won't be able
> to access them.
And for the new files to get the group you want, do a "chgrp newgroup
directory" and then a chmod g+s directory. This stick-bit forces new
files to get the group auf the directory and not the primary group of
the creator on the unix level. Unfortunatly this is only respected by
samba with "inherit permissions = yes" in smb.conf. But this is a
cool thing, too, which conforms to NT standard.

Christian



>
> HTH,
>
> Cheers,
> Makis.
>
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of ctooley at amoa.org
> Sent: Wednesday, 20 June 2001 6:35 AM
> To: samba at samba.org
> Subject: Re:Force User:Group
>
>
> I need to be able to specify directories within a share, as some of the
> directories have different user:group owners than others.  I think this may
> have
> to be done at the filesystem level... is that possible?
>
> Chris Tooley
>
>
>
>
>
>
>
> Bill Grzanich <organix4 at mindspring.com> on 06/19/2001 03:15:57 PM
>
>
>
>   To:          Chris Tooley/AMOA at AMOA
>
>   cc:
>
>
>
>   Subject      Re:Force User:Group
>   :
>
>
>
>
>
>
>
> Hi, Chris!
>
> Original message from: ctooley at amoa.org
> >Is there a way to force writes to a specific directory to write the file as
> a
> >different User or Group that the person writing to it.  The reason I ask
> is...
> >
> <snip>
>
> Yep... add "force user = [some name]" to your share definition.  For
> example:
>
> [cmplianc]
>         comment = Compliance share
>         path=/home/groups/cmplianc
>         valid users = @cmplianc, @it
>         public = No
>         writable = Yes
>         printable = No
>         force user = cmplianc
>
> Hope this helps.
>
> -Bill Grzanich
> IT Manager
> ORGANICS/LaGrange, Inc.
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>


_______________________________________________________________________
In a world without walls and fences, who needs windows and gates? (SUN)

Return-Path: <DavidB at mail.interclean.com>
Delivered-To: samba at lists.samba.org
Received: from serverdell2200.interclean.com (mail.interclean.com
  [152.160.178.23]) by lists.samba.org (Postfix) with ESMTP id AA86F4480
  for <samba at lists.samba.org>; Wed, 20 Jun 2001 06:07:45 -0700 (PDT)
Received: by mail.interclean.com with Internet Mail Service
  (5.5.2650.21) id <NFH9VTB0>; Wed, 20 Jun 2001 09:11:56 -0400
Message-ID: <0F9D3D919AADD211BE7E00A0C99B8420324398 at mail.interclean.com>
From: David Brodbeck <DavidB at mail.interclean.com>
To: 'Tim Potter' <tpot at valinux.com>, David Brodbeck
  <DavidB at mail.interclean.com>
Cc: "'M. Kilroy'" <mekilroy at risingedge.com>, samba at lists.samba.org
Subject: RE: *working* winbindd
Date: Wed, 20 Jun 2001 09:11:54 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

<grin>  Thanks, though I'd really rather see it working again in the latest
version.

(Yeah, yeah, I know.  It's open source, fix it yourself.) ;)

-----Original Message-----
From: Tim Potter [mailto:tpot at valinux.com]
Sent: Tuesday, June 19, 2001 7:49 PM
To: David Brodbeck
Cc: 'M. Kilroy'; samba at lists.samba.org
Subject: RE: *working* winbindd


David Brodbeck writes:

> It worked for me using the version that was in the samba-appliance-0.5-1
> rpm.  Unfortunately that's now been taken down as obsolete.  I'm not sure
> what's been done since to break it, but the version in the current HEAD
CVS
> sure doesn't work.  Kinda seems like one step forward and two back
> sometimes, doesn't it?

OK - I've reinstated the 0.5-1 rpms due to popular demand.  (-:


Tim.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <palme at uni-wuppertal.de>
Delivered-To: samba at samba.org
Received: from mail.urz.uni-wuppertal.de (mail.urz.uni-wuppertal.de
  [132.195.64.1]) by lists.samba.org (Postfix) with ESMTP id 3C9AE45DB
  for <samba at samba.org>; Wed, 20 Jun 2001 06:08:11 -0700 (PDT)
Received: from wrpc3.urz.uni-wuppertal.de (wrpc3.urz.uni-wuppertal.de
  [132.195.20.7]) by mail.urz.uni-wuppertal.de (8.9.3/8.9.3) with ESMTP
  id PAA347927250; Wed, 20 Jun 2001 15:12:30 +0200 (MDT)
Received: (from palme at localhost) by wrpc3.urz.uni-wuppertal.de
  (8.9.3/8.9.3/Debian 8.9.3-21) id PAA29259; Wed, 20 Jun 2001 15:12:30
  +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Message-ID: <15152.41197.376623.575325 at wrpc3.urz.uni-wuppertal.de>
Date: Wed, 20 Jun 2001 15:11:09 +0200 (CEST)
From: palme at uni-wuppertal.de (Hubert Palme)
To: debian-user at lists.debian.org, Samba Liste <samba at samba.org>,
  debian-user-de at lehmanns.de
Cc: Hubert Palme <palme at uni-wuppertal.de>
Subject: Samba: Can't Rename the Log File
X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
X-Converted-To-Plain-Text: from multipart/mixed by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hmm..., I'll try it once more because I can't beleive that nobody can
give me a hint...
Received: (from palme at localhost) by wrpc3.urz.uni-wuppertal.de
  (8.9.3/8.9.3/Debian 8.9.3-21) id OAA05903; Mon, 11 Jun 2001 14:26:42
  +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Message-ID: <15140.47352.452773.624270 at wrpc3.urz.uni-wuppertal.de>
X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid
From: palme at uni-wuppertal.de (Hubert Palme)
To: debian-user at lists.debian.org, Samba Liste <samba at samba.org>
Cc: Hubert Palme <palme>
Subject: Samba: Problem mit check_log_size
Date: Mon, 11 Jun 2001 14:26:32 +0200 (CEST)

Hi,

in the syslog file I repeatedly find the following messages:

Jun  8 08:19:40 wrpc3 smbd[8296]: [2001/06/08 08:19:40, 0] lib/debug.c:check_log_size(311)
Jun  8 08:19:40 wrpc3 smbd[8296]:   check_log_size: open of debug file /var/log/smb failed - using console.

The file /var/log/smb has the following attributes:

-rw-r--r--    1 root     root      1024067 Jun  6 12:14 smb

(Thus being writable for smbd!?)

The concerning entry in smb.conf is:

        max log size = 1000

(obviously just exceeded)

I run Debian Potato with

ii  samba          2.0.7-3.3      A LanManager like file and printer server fo 
ii  samba-common   2.0.7-3.3      Samba common files used by both the server a 
ii  samba-doc      2.0.7-3.3      Samba documentation. 
ii  swat           2.0.7-3.3      Samba Web Administration Tool

Samba runs as a daemon, not via inetd -- could there be a coherence?

Waiting for a hint...

Thanks in advance,

-- 
======================================================================
Hubert Palme         Bergische Universitaet-Gesamthochschule Wuppertal
                                      Computing  Center
                                      D-42097 Wuppertal
E-Mail: palme at uni-wuppertal.de             (Germany)
http://www.hrz.uni-wuppertal.de/hrz/personen/h_palme.html
- can someone explain me the mechanism how smbd/nmbd rename their
  files?

- How else can I interpret the error message? (The permits of the file
  seem to be OK)

- What if I run smnd/nmbd via inetd? Are the files ever renamed then?

- Could there be a bug that smbd keeps the file open and thus cannot
  "re"open it? And how to ship around then? 

That's all very strange...

Thanks in advance,

-- 
======================================================================
Hubert Palme         Bergische Universitaet-Gesamthochschule Wuppertal
                                      Computing  Center
                                      D-42097 Wuppertal
E-Mail: palme at uni-wuppertal.de             (Germany)
http://www.hrz.uni-wuppertal.de/hrz/personen/h_palme.html

Return-Path: <DavidB at mail.interclean.com>
Delivered-To: samba at samba.org
Received: from serverdell2200.interclean.com (mail.interclean.com
  [152.160.178.23]) by lists.samba.org (Postfix) with ESMTP id BF7284E54
  for <samba at samba.org>; Wed, 20 Jun 2001 06:09:15 -0700 (PDT)
Received: by mail.interclean.com with Internet Mail Service
  (5.5.2650.21) id <NFH9VTCC>; Wed, 20 Jun 2001 09:13:26 -0400
Message-ID: <0F9D3D919AADD211BE7E00A0C99B8420324399 at mail.interclean.com>
From: David Brodbeck <DavidB at mail.interclean.com>
To: "'lcorr at katamail.com'" <lcorr at katamail.com>, samba at samba.org
Subject: RE: Problem with winbind
Date: Wed, 20 Jun 2001 09:13:21 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

It does that to me, too.  I think the consensus is that winbind is currently
broken.

-----Original Message-----
From: lcorr at katamail.com [mailto:lcorr at katamail.com]
Sent: Wednesday, June 20, 2001 6:40 AM
To: samba at samba.org
Subject: Problem with winbind


 Dear Sirs,
 I am writing because I have a problem with winbind.
 I am using RedHat 7.1 with Linux ACLs. I have compiled
 Samba 3.0 with the option "--with-acl-support".
 When I try to connect to the samba server from
 a Win client winbindd sends the following message for
 each group in my domain:

 Could not lookup domain group MYDOMAIN\MYGROUP
 cli_pipe: return critical error. Error was ERRDOS - ERRpipebusy
 (All instances of the requested pipe are busy)

 It looks like as winbindd could read the list of the group but that
 it cannot look at the list of users in each group.

 Can you hekp me?

 Thank you very much,
 Lorenzo Corradini.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at samba.org
Received: from Eng.Auburn.EDU (dns.eng.auburn.edu [131.204.10.13]) by
  lists.samba.org (Postfix) with ESMTP id F038044AC for
  <samba at samba.org>; Wed, 20 Jun 2001 06:13:49 -0700 (PDT)
Received: from localhost (root at ettin.eng.auburn.edu [131.204.12.72]) by
  Eng.Auburn.EDU (8.9.3/8.9.3) with ESMTP id IAA05361; Wed, 20 Jun 2001
  08:18:11 -0500 (CDT)
Date: Wed, 20 Jun 2001 08:21:13 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Jan Strohbehn <edv at rauheshaus.de>
Cc: <samba at samba.org>
Subject: Re: taking ownership
In-Reply-To: <6A48864DC7CCF14E9500D91451458952C78B at WIN2000-SRV.WIN2000.r
  a  uheshaus.de>
Message-ID: <Pine.LNX.4.33.0106200820120.1006-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Wed, 20 Jun 2001, Jan Strohbehn wrote:

> Hi !!
>
> I just tried to take the ownership of a file. It worked neither from a
> NT nor from a W2K client, although I saw that the set_nt_acl function
> was called when using W2k. Isn't this yet implemented or is it my fault
> ????

Only root can take/set ownership of a file in UNIX.  were you
connected as root?  I thought we had this working.






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.plainjoe.org/                     jerry at plainjoe.org

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

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at samba.org
Received: from Eng.Auburn.EDU (dns.eng.auburn.edu [131.204.10.13]) by
  lists.samba.org (Postfix) with ESMTP id 9A6CD4ED1; Wed, 20 Jun 2001
  06:33:57 -0700 (PDT)
Received: from localhost (root at ettin.eng.auburn.edu [131.204.12.72]) by
  Eng.Auburn.EDU (8.9.3/8.9.3) with ESMTP id IAA07088; Wed, 20 Jun 2001
  08:38:20 -0500 (CDT)
Date: Wed, 20 Jun 2001 08:41:22 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: <samba-technical at samba.org>
Cc: <crh at samba.org>, Mike Gahagan <mgahagan at redhat.com>
Subject: Slow write performance with Win 98 and Samba (fwd)
Message-ID: <Pine.LNX.4.33.0106200840100.1006-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

[moved to samba-technica...]


Chris,

This looks like the problem you were working on.  Any progress?






cheers, jerry

---------- Forwarded message ----------
Date: Tue, 19 Jun 2001 18:31:42 -0400 (EDT)
From: Mike Gahagan <mgahagan at redhat.com>
To: samba at lists.samba.org
Subject: Slow write performance with Win 98 and Samba

 I have been researching a problem with Windows 98 and Samba. The problem
 is a significant slowdown in certain types of files transfers. This
 appears to be a problem specific to a Windows 98 client uploading a file
 to a Samba server which is in "server" security mode.

 Problem Description

 When the transfer is viewed with a network packet analyzer, two different
 protocol modes are seen. Normally, Windows 98 will upload files using
 large file chunks, of about 64K bytes in size. There are sent with either
 an SMBwrite or an SMBwriteraw packet, followed by enough continuation
 messages to transfer the 64K chunk. Windows 98 is free to send all 64K
 without waiting for a reply. This is what I will call fast transfer mode.

 The slow transfer mode is characterized by a small SMBwrite of only 1536
 or fewer bytes, followed by an SMBflush command. There are two reasons
 this is slow. The small packet size is all that Windows 98 can send before
 having to wait for a reply. The flush command causes the remote file
 system to write the bytes to disk before the flush reply can be sent back.
 The Windows 98 client has to wait for both requests to travel the net and
 be replied to before the next small chunk of the file can be sent.

 Characterization

 There are six conditions which must be in place in order for this problem
 to occur:
 1. The client must be Windows 98 (not Windows NT).
 2. The server must be Samba (not Windows NT).
 3. The Samba server must be in "security = server" mode (not share or
 domain mode)
 4. The file being transferred must be uploaded (not downloaded).
 5. The file must be transferred by the Windows explorer (not a command
 line copy).
 6. The drive must have been mapped by name (not by IP address).

 Using the six conditions, the problem is produced 100% of the time. If any
 one of the conditions are changed, the problem is not produced. If any of
 these six conditions are not met (are replaced by their alternative), then
 Windows 98 will choose fast transfer mode. In condition two, Samba is
 specified as the server. This is because we haven't tested with any other
 type of server which is not participating in the Microsoft Networking
 Domain as Windows NT would. Also, I did not mention Windows 98 in
 condition two, because I have not tested with Windows 98 as the server.
 Samba is certainly always affected by this, so it makes a good test
 platform for reproducing the problem.

 I have noticed during packet tracing that name resolution causes Windows
 98 to open a session with the Samba server directly. If the IP address of
 the Samba server is used instead, the name resolution system fails, and
 Windows 98 resorts to doing an NBSTAT request to the Samba server itself.
 This returns the full list of names the server has registered, which
 Windows 98 then uses to open a direct session. When the latter name
 resolution method is used, Windows 98 always chooses fast transfer mode in
 any uploads to the drive being mapped. If the same drive is mapped by name
 (even at the same time), all file uploads are in slow mode.

 Putting the Samba server into domain mode was also tested. Named mapping
 caused Windows 98 to choose fast transfer mode. The packet traces of a
 server mode versus a domain mode name lookup, drive mapping, and file
 transfer were compared, and no significant differences were found. What
 was different was the name of the Samba server (two were used), the
 session ID, the session key, the encrypted password, the multiplex ID, and
 the TCP port, acknowledgement, and sequence numbers.

 Test Data

 I used the following minimal smb.conf files to produce this problem. The
 tests were done on a Samba server running version 2.0.7, but I have
 reports that this same problem can be demonstrated on later releases of
 Samba. The Windows domain "CENTRAL" PDC, and the WINS server are the same
 machine: A Windows NT server at 10.240.27.29. The use "tester" is a
 valid user in the domain, and on the Samba server.

 Here is the share mode smb.conf, which causes fast transfers no matter how
 the drive is mapped:

 [global]
    workgroup = CENTRAL
    security = share

    interfaces = eth0

 [test]
     path = /test
     writable = yes
     guest ok = yes
     guest only = yes
 ;end_of_section -- Tag line do not remove

 Here is the server mode smb.conf I used. This configuration goes fast with
 IP address mapped drives, and slow with name mapped drives:

 [global]
    workgroup = CENTRAL
    security = server

    encrypt passwords = yes
    username level = 20
    interfaces = eth0
    password server = 10.240.27.29

 [test]
    path = /test
    writable = yes
    valid users = "tester"
 ;end_of_section -- Tag line do not remove


 I have captured two packet traces using a third host which is attached to
 the same 10baseT hub as the Windows 98 client. The first one shows a chunk
 of a file being transferred in fast mode. This was captured with the
 "security = server" smb.conf file in effect, with the drive mapped using
 its IP address. One write raw packet is shown (with the large buffer size)
 followed by one of the many continuation packets that are needed to write
 the remaining bytes up to 64K. I can post the packet traces here if
needed.

This seems to be a problem with Windows 98 forcing the use of the small
block size, possibly because it doesn't think that the Samba server is an
authenicated member of the domain. Is there any workaround for this that
would force the client to always use the 64k block size through Windows
Explorer?


Thanks in advance...

Mike



-- 
------------------------------------------------------------------------------
Mike Gahagan, RHCE                     | Red Hat Inc.
Commercial Services Group              | Meridian Office
mikeg at redhat.com                       | Durham, NC
-----------------------------------------------------------------------------
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at lists.samba.org
Received: from Eng.Auburn.EDU (dns.eng.auburn.edu [131.204.10.13]) by
  lists.samba.org (Postfix) with ESMTP id 7DF454EDD for
  <samba at lists.samba.org>; Wed, 20 Jun 2001 06:43:14 -0700 (PDT)
Received: from localhost (root at ettin.eng.auburn.edu [131.204.12.72]) by
  Eng.Auburn.EDU (8.9.3/8.9.3) with ESMTP id IAA08141; Wed, 20 Jun 2001
  08:47:31 -0500 (CDT)
Date: Wed, 20 Jun 2001 08:50:33 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Mark Gosselin <gosselinm at netscout.com>
Cc: <samba at lists.samba.org>
Subject: Re: Passwords from old version don't work after upgrade
In-Reply-To: <OFC81A16BA.450B3DD7-ON85256A6F.007049BF at netscout.com>
Message-ID: <Pine.LNX.4.33.0106200850000.1006-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Mon, 18 Jun 2001, Mark Gosselin wrote:

> Hi,
>
> I just recently upgraded my install from 1.9.18 to 2.0.7 and am seeing
> some funny issues with logins. Some people cannot log in under 2.0.7
> that could under 1.9.18, and vice versa..... I should be checking for
> UNIX passwords and all the users are rpesent in the UNIX password
> file. Has anyone ever seen this before? If so, do you know what I need
> to do to make sure everyone can log in???

The default value for 'security' changed from share to user between 1.9
and 2.0.  Does this affect your setup?





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.plainjoe.org/                     jerry at plainjoe.org

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

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at lists.samba.org
Received: from Eng.Auburn.EDU (dns.eng.auburn.edu [131.204.10.13]) by
  lists.samba.org (Postfix) with ESMTP id EFDF54FD2 for
  <samba at lists.samba.org>; Wed, 20 Jun 2001 07:05:26 -0700 (PDT)
Received: from localhost (root at ettin.eng.auburn.edu [131.204.12.72]) by
  Eng.Auburn.EDU (8.9.3/8.9.3) with ESMTP id JAA10841; Wed, 20 Jun 2001
  09:09:46 -0500 (CDT)
Date: Wed, 20 Jun 2001 09:12:48 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: <phil.hardern at bt.com>
Cc: <samba at lists.samba.org>
Subject: Re: Problem running ./configure on a HP-UX 11.0 system.
In-Reply-To: <851244722352D21180550000F8EFA23C040800E4 at melds1nt01.nor.bt
  .  com>
Message-ID: <Pine.LNX.4.33.0106200912220.1006-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Fri, 15 Jun 2001 phil.hardern at bt.com wrote:

> 	I am getting the following message when running the ./configure
> script on a HP-UX 11.0 system.
>
> 	checking configure summary
>       WARNING: No automated network interface determination
>       ERROR: no seteuid method available

Did you run the configure script as root?




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.plainjoe.org/                     jerry at plainjoe.org

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

Return-Path: <Emmanuel.Ferey at cdc.u-cergy.fr>
Delivered-To: samba at samba.org
Received: from berlin.cdc.u-cergy.fr (berlin.cdc.u-cergy.fr
  [193.54.113.5]) by lists.samba.org (Postfix) with ESMTP id 2482C4FE9
  for <samba at samba.org>; Wed, 20 Jun 2001 07:10:39 -0700 (PDT)
Received: from cdc.u-cergy.fr (lima.cdc.u-cergy.fr [193.54.113.19]) by
  berlin.cdc.u-cergy.fr (Postfix) with ESMTP id 4F3F1427E for
  <samba at samba.org>; Wed, 20 Jun 2001 16:15:02 +0200 (CEST)
Message-ID: <3B30AFE5.336E64C4 at cdc.u-cergy.fr>
Date: Wed, 20 Jun 2001 16:15:01 +0200
From: Emmanuel Ferey <Emmanuel.Ferey at cdc.u-cergy.fr>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17-21mdk i686)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at samba.org
Subject: Accentuated characters in filename badly translated under HEAD
  3.0?
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello,

If I try to rename a non-accentuated name file with an e-acute, I get
instead a U-acute.

For instance, "newdocument.txt" -> "sis.txt" gives "sUs.txt", on Linux
and NT.
But "sis.txt" created on Linux is seen as "sis.txt" on NT client.

All goes as if it was translating from 0x82 to 0x00e9  #LATIN SMALL
LETTER E WITH ACUTE,
then once more from 0xe9 to 0x00da  #LATIN CAPITAL LETTER U WITH ACUTE.

With 2.07, I didn't have this problem.

In smb.conf :
   client code page = 850
   character set = ISO8859-1  

Obviously, I need some help, so ..

Thanks,
ef



PS : some logs

############ HEAD 3.0
>>
[2001/06/20 15:05:54, 5] lib/util.c:show_msg(308)
  smb_bcc=69
[2001/06/20 15:05:54, 10] lib/util.c:dump_data(1477)
  [000] 04 5C 00 4E 00 6F 00 75  00 76 00 65 00 61 00 75  .\.N.o.u
.v.e.a.u
[2001/06/20 15:05:54, 10] lib/util.c:dump_data(1485)
  [010] 00 20 00 44 00 6F 00 63  00 75 00 6D 00 65 00 6E  . .D.o.c
.u.m.e.n
[2001/06/20 15:05:54, 10] lib/util.c:dump_data(1485)
  [020] 00 74 00 20 00 74 00 65  00 78 00 74 00 65 00 2E  .t. .t.e
.x.t.e..
[2001/06/20 15:05:54, 10] lib/util.c:dump_data(1485)
  [030] 00 74 00 78 00 74 00 00  00 04 00 5C 00 73 00 E9  .t.x.t..
...\.s..
[2001/06/20 15:05:54, 10] lib/util.c:dump_data(1485)
  [040] 00 73 00 00 00                                    .s...
[2001/06/20 15:05:54, 3] smbd/process.c:switch_message(650)
  switch message SMBmv (pid 9195)
[2001/06/20 15:05:54, 0] smbd/process.c:smb_dump(603)
  created /tmp/SMBmv.11.req len 110
[2001/06/20 15:05:54, 4] smbd/uid.c:become_user(119)
  Skipping become_user - already user
[2001/06/20 15:05:54, 3] smbd/reply.c:reply_mv(3922)
  reply_mv : \Nouveau Document texte.txt -> \sis
[2001/06/20 15:05:54, 5] smbd/filename.c:unix_convert(146)
  unix_convert called on file "\Nouveau Document texte.txt"
[2001/06/20 15:05:54, 3] lib/util.c:unix_clean_name(403)
  unix_clean_name [/Nouveau Document texte.txt]
[2001/06/20 15:05:54, 5] smbd/filename.c:unix_convert(216)
  conversion finished Nouveau Document texte.txt -> Nouveau Document
texte.txt
[2001/06/20 15:05:54, 5] smbd/filename.c:unix_convert(146)
  unix_convert called on file "\sis"
[2001/06/20 15:05:54, 3] lib/util.c:unix_clean_name(403)
  unix_clean_name [/sis]
[2001/06/20 15:05:54, 5] smbd/filename.c:unix_convert(222)
  unix_convert begin: name = sis, dirpath = , start = sis
[2001/06/20 15:05:54, 5] smbd/mangle.c:is_8_3(338)
  Checking Nouveau Document texte.txt for 8.3
[2001/06/20 15:05:54, 3] smbd/reply.c:rename_internals(3765)
  rename_internals: case_sensitive = 1, case_preserve = 1, short case
preserve = 1, directory = ./Nouveau Document texte.txt, newname = ./sis,
newname_last_component = sis, is_8_3 = 0
[2001/06/20 15:05:54, 3] smbd/reply.c:rename_internals(3824)
  rename_internals: succeeded doing rename on ./Nouveau Document
texte.txt -> ./sis[
>>


############ SAMBA 2.07
>>
[2001/06/20 14:53:09, 3] smbd/process.c:process_smb(618)
  Transaction 65 of length 86
[2001/06/20 14:53:09, 5] lib/util.c:show_msg(430)
  size=82
  smb_com=0x7
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=24
  smb_flg2=3
[2001/06/20 14:53:09, 5] lib/util.c:show_msg(436)
  smb_tid=1
  smb_pid=51966
  smb_uid=100
  smb_mid=3904
  smt_wct=1
[2001/06/20 14:53:09, 5] lib/util.c:show_msg(441)
  smb_vwv[0]=22 (0x16)
[2001/06/20 14:53:09, 5] lib/util.c:show_msg(446)
  smb_bcc=45
[2001/06/20 14:53:09, 10] lib/util.c:dump_data(2918)
  [000] 04 5C 74 65 6D 70 5C 4E  6F 75 76 65 61 75 20 44  .\temp\N
ouveau D
[2001/06/20 14:53:09, 10] lib/util.c:dump_data(2926)
  [010] 6F 63 75 6D 65 6E 74 20  74 65 78 74 65 2E 74 78  ocument 
texte.tx
[2001/06/20 14:53:09, 10] lib/util.c:dump_data(2926)
  [020] 74 00 04 5C 74 65 6D 70  5C 73 82 73 00           t..\temp \s.s.
[2001/06/20 14:53:09, 3] smbd/process.c:switch_message(448)
  switch message SMBmv (pid 1374)
[2001/06/20 14:53:09, 4] smbd/uid.c:become_user(186)
  Skipping become_user - already user
[2001/06/20 14:53:09, 3] smbd/reply.c:reply_mv(3699)
  reply_mv : \temp\Nouveau Document texte.txt -> \temp\s,s
[2001/06/20 14:53:09, 5] smbd/filename.c:unix_convert(329)
  unix_convert called on file "\temp\Nouveau Document texte.txt"
[2001/06/20 14:53:09, 3] lib/util.c:unix_clean_name(522)
  unix_clean_name [/temp/Nouveau Document texte.txt]
[2001/06/20 14:53:09, 5] smbd/filename.c:unix_convert(429)
  conversion finished temp/Nouveau Document texte.txt -> temp/Nouveau
Document texte.txt
[2001/06/20 14:53:09, 5] smbd/filename.c:unix_convert(329)
  unix_convert called on file "\temp\s,s"
[2001/06/20 14:53:09, 3] lib/util.c:unix_clean_name(522)
  unix_clean_name [/temp/s,s]
[2001/06/20 14:53:09, 5] smbd/filename.c:unix_convert(436)
  unix_convert begin: name = temp/s,s, dirpath = , start = temp/s,s
[2001/06/20 14:53:09, 5] smbd/mangle.c:is_8_3(338)
  Checking Nouveau Document texte.txt for 8.3
[2001/06/20 14:53:09, 3] smbd/reply.c:rename_internals(3558)
  rename_internals: case_sensitive = 1, case_preserve = 1, short case
preserve = 1, directory = temp/Nouveau Document texte.txt, newname =
temp/s,s, newname_last_component = s,s, is_8_3 = 0
[2001/06/20 14:53:09, 5] locking/locking_shm.c:shm_get_share_modes(120)
  get_share_modes hash bucket 1 empty
[2001/06/20 14:53:09, 3] smbd/reply.c:rename_internals(3613)
  rename_internals: succeeded doing rename on temp/Nouveau Document
texte.txt -> temp/s,s[
>>


dump_data shows UNICODE in the former and DOS 850 CP in the latter?

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at lists.samba.org
Received: from Eng.Auburn.EDU (dns.eng.auburn.edu [131.204.10.13]) by
  lists.samba.org (Postfix) with ESMTP id 4AE8E4FE6 for
  <samba at lists.samba.org>; Wed, 20 Jun 2001 07:15:51 -0700 (PDT)
Received: from localhost (root at ettin.eng.auburn.edu [131.204.12.72]) by
  Eng.Auburn.EDU (8.9.3/8.9.3) with ESMTP id JAA12107; Wed, 20 Jun 2001
  09:20:08 -0500 (CDT)
Date: Wed, 20 Jun 2001 09:23:10 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Christian Barth <barth at cck.uni-kl.de>
Cc: <samba at lists.samba.org>, Jeff Riegel <riegel at almaden.ibm.com>
Subject: Re: Win2k Terminal Server: SMB uid's
In-Reply-To: <3B28C161.30861.42C9A1 at localhost>
Message-ID: <Pine.LNX.4.33.0106200920450.1006-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Thu, 14 Jun 2001, Christian Barth wrote:

> May be apply the follwing registry key, found in the docs-directory
> of the samba distributions:
>
> REGEDIT4
>
> ;Subject:	Registry file to force multiple NT terminal server
> users to have their own connections.
>
> [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Rdr\Parameters]
> "MultipleUsersOnConnection"=dword:00000001

This doesn't work with Win2k TSE.  There is no known workaround
for running all connections over a single tcp connection
with Win2k TSE.



> > I have been experimenting with the Win2k terminal server and have
> > noticed some strange behavior with SMB: Win2k seems to use the same
> > UID for different login sessions.  I logged in from the terminal server
> > machine's console and browsed a share via network neighborhood, and it
> > demanded a password before I could view the contents.  Next, I logged into
> > the terminal server from another machine and did the same thing; this
> > time, I could view the contents of the share with no password required.
> > It appears to be using the same UID for both users, so authentication
> > was only needed the first time.

Same connection to IPC$.  Only a single tcp session is used and the
SMB session UID is multiplexed on the wire.  I would have to look
at our code to refresh my memory what this does to us internally, but
IIRC it is not good :-(








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.plainjoe.org/                     jerry at plainjoe.org

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

Return-Path: <rshields at customcolor.com>
Delivered-To: samba at lists.samba.org
Received: from customcolor.com (customcolor.com [216.122.237.241]) by
  lists.samba.org (Postfix) with ESMTP id 190F744A4 for
  <samba at lists.samba.org>; Wed, 20 Jun 2001 07:18:23 -0700 (PDT)
Received: from leedo ([209.248.198.166]) by customcolor.com
  (8.11.0/8.11.0) with SMTP id f5KENXj41227 for <samba at lists.samba.org>;
  Wed, 20 Jun 2001 14:23:33 GMT (envelope-from rshields at customcolor.com)
From: "Richard Shields" <rshields at customcolor.com>
To: <samba at lists.samba.org>
Subject: Second Post same question...Ownership privileges
Date: Wed, 20 Jun 2001 09:27:19 -0500
Message-ID: <NFBBKMHCKLFBEHOPKPMAGEFHCAAA.rshields at customcolor.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I am running Samba 2.0.7 on a Macintosh OSX server ver 1.2 A file created,
copied or otherwise altered by a Windows client on this server is
unalterable by the Macintosh clients. Is there a way to fix this? A file
created, ETC by a Mac client can be altered by anyone... I have only limited
Unix/Linux exp so feel free to email me in person if the answer is too wordy
for the list server. Thank you for your help in advance...

Richard L. Shields
rshields at customcolor.com

Custom Color Corp.
300 W. 19th Terr.
K.C., MO 64108
ph. 816-474-3200
fx. 816-842-4909
http://www.customcolor.com

Return-Path: <jstrohbehn at artstor.de>
Delivered-To: samba at samba.org
Received: from webstor1.artstor.de (unknown [195.243.248.130]) by
  lists.samba.org (Postfix) with SMTP id 2C3D74FFE for
  <samba at samba.org>; Wed, 20 Jun 2001 07:28:01 -0700 (PDT)
Received: (qmail 23258 invoked from network); 20 Jun 2001 14:32:43 -0000
Received: from zerberus.artstor.de (HELO sokrates.artstor.de)
  (195.243.248.115) by www.artstor.de with SMTP; 20 Jun 2001 14:32:43
  -0000
Date: Wed, 20 Jun 2001 16:32:18 +0200 (CEST)
From: Jan Strohbehn <jstrohbehn at artstor.de>
X-X-Sender: <jstrohbehn at sokrates.artnet.de>
To: Gerald Carter <gcarter at valinux.com>
Cc: Jan Strohbehn <edv at rauheshaus.de>, <samba at samba.org>
Subject: Re: taking ownership
In-Reply-To: <Pine.LNX.4.33.0106200820120.1006-100000 at pogo.plainjoe.org>
Message-ID: <Pine.LNX.4.31.0106201629480.2595-100000 at sokrates.artnet.de>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> > I just tried to take the ownership of a file. It worked neither from a
> > NT nor from a W2K client, although I saw that the set_nt_acl function
> > was called when using W2k. Isn't this yet implemented or is it my fault
> > ????
>
> Only root can take/set ownership of a file in UNIX.  were you
> connected as root?  I thought we had this working.
>

Hi !!

I just tried it again as a member of "admin users", and it worked.
But it only works if samba is a domain member and only from W2k clients.
There is still no chance to get it working from NT :-(
Any ideas???

Thanks,
Jan

Return-Path: <gosselinm at netscout.com>
Delivered-To: samba at lists.samba.org
Received: from nsmail4.netscout.com (unknown [208.159.61.34]) by
  lists.samba.org (Postfix) with ESMTP id 33B975005 for
  <samba at lists.samba.org>; Wed, 20 Jun 2001 07:29:23 -0700 (PDT)
Subject: Re: Passwords from old version don't work after upgrade
To: Gerald Carter <gcarter at valinux.com>
Cc: <samba at lists.samba.org>
X-Mailer: Lotus Notes Release 5.0.4  June 8, 2000
Message-ID: <OF859B7581.95C4B585-ON85256A71.004F26AD at netscout.com>
From: "Mark Gosselin" <gosselinm at netscout.com>
Date: Wed, 20 Jun 2001 10:26:30 -0400
X-MIMETrack: Serialize by Router on NSMail4/NetScout(Release 5.0.7
  |March 21, 2001) at 06/20/2001 10:27:30 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Jerry,

Thanks for the reply. It doesn't appear that this is the issue as we were
using user for security anyway.
The particular machine that was having the problem began working once we
upgrade the Service Pack
from Microsoft from SP6 to SP6a.......

Thanks,

Mark Gosselin



                                                                                                                                       
                    Gerald Carter                                                                                                      
                    <gcarter at vali        To:     Mark Gosselin <gosselinm at netscout.com>                                                
                    nux.com>             cc:     <samba at lists.samba.org>                                                               
                                         Subject:     Re: Passwords from old version don't work after upgrade                          
                    06/20/01                                                                                                           
                    09:50 AM                                                                                                           
                                                                                                                                       
                                                                                                                                       




On Mon, 18 Jun 2001, Mark Gosselin wrote:

> Hi,
>
> I just recently upgraded my install from 1.9.18 to 2.0.7 and am seeing
> some funny issues with logins. Some people cannot log in under 2.0.7
> that could under 1.9.18, and vice versa..... I should be checking for
> UNIX passwords and all the users are rpesent in the UNIX password
> file. Has anyone ever seen this before? If so, do you know what I need
> to do to make sure everyone can log in???

The default value for 'security' changed from share to user between 1.9
and 2.0.  Does this affect your setup?





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.plainjoe.org/                     jerry at plainjoe.org

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

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at samba.org
Received: from Eng.Auburn.EDU (dns.eng.auburn.edu [131.204.10.13]) by
  lists.samba.org (Postfix) with ESMTP id 125175006 for
  <samba at samba.org>; Wed, 20 Jun 2001 07:29:41 -0700 (PDT)
Received: from localhost (root at ettin.eng.auburn.edu [131.204.12.72]) by
  Eng.Auburn.EDU (8.9.3/8.9.3) with ESMTP id JAA13587; Wed, 20 Jun 2001
  09:33:52 -0500 (CDT)
Date: Wed, 20 Jun 2001 09:36:54 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Jan Strohbehn <jstrohbehn at artstor.de>
Cc: Jan Strohbehn <edv at rauheshaus.de>, <samba at samba.org>
Subject: Re: taking ownership
In-Reply-To: <Pine.LNX.4.31.0106201629480.2595-100000 at sokrates.artnet.de
  >
Message-ID: <Pine.LNX.4.33.0106200936390.1006-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Wed, 20 Jun 2001, Jan Strohbehn wrote:

> > > I just tried to take the ownership of a file. It worked neither from a
> > > NT nor from a W2K client, although I saw that the set_nt_acl function
> > > was called when using W2k. Isn't this yet implemented or is it my fault
> > > ????
> >
> > Only root can take/set ownership of a file in UNIX.  were you
> > connected as root?  I thought we had this working.
> >
>
> Hi !!
>
> I just tried it again as a member of "admin users", and it worked. But
> it only works if samba is a domain member and only from W2k clients.
> There is still no chance to get it working from NT :-( Any ideas???

Maybe.  We'll look into it.






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.plainjoe.org/                     jerry at plainjoe.org

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

Return-Path: <robert.meiners at gonicus.de>
Delivered-To: samba at samba.org
Received: from mail1.dinet.de (mail1.dinet.de [212.8.0.3]) by
  lists.samba.org (Postfix) with SMTP id C100F500D for
  <samba at samba.org>; Wed, 20 Jun 2001 07:32:24 -0700 (PDT)
Received: (qmail 9286 invoked from network); 20 Jun 2001 13:30:53 -0000
Received: from relay-1.dinet.de (HELO ots-1) (@212.8.0.36) by
  mail1.dinet.de with SMTP; 20 Jun 2001 13:30:53 -0000
Content-Type: text/plain; charset="iso-8859-1"
From: Robert Meiners <robert.meiners at gonicus.de>
To: jferruz at isoco.com
Subject: Re: samba y ldap
Date: Wed, 20 Jun 2001 16:36:28 +0200
X-Mailer: KMail [version 1.2]
Cc: samba at samba.org
MIME-Version: 1.0
Message-Id: <01062016362801.21371 at ots-1>
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hallo,

we use Samba2.2 and RedHat  7.1 with LDAP 1.2.

You only have to insert the pam-modules in the
pam.d/samba

But then you have to disable the cypted 
authentication on the Windows-clients
and the Account managing is no longer
possible via SWAT.

Greeting

Robert

>Message: 36
>Date: Wed, 20 Jun 2001 10:53:58 +0200
>From: Javier Ferruz <jferruz at isoco.com>
>To: samba at samba.org
>Subject: samba y ldap
>
>         I use Suse 7.0 and I've installed openldap y samba
>         packages which are in the distribution.
>
>         I would like to Know if samba was compiled with
>         --with-ldap. How could I know it?
>
>         Thanks,
- -- 
Besuchen Sie uns auf dem LINUXTAG in Stuttgart vom 5.-8.7.2001.
Halle 5.0, Stand 5.0.213

* Dipl.-Inf. R. Meiners <meiners at gonicus.de> Consulting
* Gonicus GmbH * Moehnestr. 11-17 * 59755 Arnsberg
* Tel.: +492932 916-0 * Fax.: +492932 916-255
* http://www.gonicus.de





-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.5 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7MLTswozIcziS6EIRArLKAKDfECb4T3fBfcuoo+5zu94QGOkweACg0mfh
w9PXHpGgHNoxh5f+hhllVYI=
=GrHd
-----END PGP SIGNATURE-----

Return-Path: <pierre.metrailler at epfl.ch>
Delivered-To: samba at samba.org
Received: from mail0.epfl.ch (mail0.epfl.ch [128.178.50.57]) by
  lists.samba.org (Postfix) with SMTP id 73B3C45C3 for
  <samba at samba.org>; Wed, 20 Jun 2001 07:54:00 -0700 (PDT)
Received: (qmail 21224 invoked from network); 20 Jun 2001 14:58:23 -0000
Received: from shockfishpc19.epfl.ch (128.179.48.21) by mail0.epfl.ch
  with SMTP; 20 Jun 2001 14:58:23 -0000
Message-Id: <5.1.0.14.0.20010620165655.026b9e18 at imap.epfl.ch>
X-Sender: pimetrai at imap.epfl.ch
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Wed, 20 Jun 2001 16:57:08 +0200
To: samba at samba.org
From: Pierre Metrailler <pierre.metrailler at epfl.ch>
Subject: Re: Accentuated characters in filename badly translated under
  HEAD 3.0?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

This issue is weird but I solved it the following way : (i assume samba 
HEAD is installed in /usr/local/sambahead)

1) in smb.conf, be sure to COMMENT the lines client code page =... and 
character set =
2) in /usr/local/sambahead/lib/codepages, remove all the files

and afterward it worked.

Has anybody else another fix ?

Regards,

Pierre


At 16:15 20.06.2001 +0200, you wrote:
>Hello,
>
>If I try to rename a non-accentuated name file with an e-acute, I get
>instead a U-acute.
>
>For instance, "newdocument.txt" -> "sis.txt" gives "sUs.txt", on Linux
>and NT.
>But "sis.txt" created on Linux is seen as "sis.txt" on NT client.
>
>All goes as if it was translating from 0x82 to 0x00e9  #LATIN SMALL
>LETTER E WITH ACUTE,
>then once more from 0xe9 to 0x00da  #LATIN CAPITAL LETTER U WITH ACUTE.
>
>With 2.07, I didn't have this problem.
>
>In smb.conf :
>    client code page = 850
>    character set = ISO8859-1
>
>Obviously, I need some help, so ..
>
>Thanks,
>ef
>
>
>
>PS : some logs
>
>############ HEAD 3.0
> >>
>[2001/06/20 15:05:54, 5] lib/util.c:show_msg(308)
>   smb_bcc=69
>[2001/06/20 15:05:54, 10] lib/util.c:dump_data(1477)
>   [000] 04 5C 00 4E 00 6F 00 75  00 76 00 65 00 61 00 75  .\.N.o.u
>.v.e.a.u
>[2001/06/20 15:05:54, 10] lib/util.c:dump_data(1485)
>   [010] 00 20 00 44 00 6F 00 63  00 75 00 6D 00 65 00 6E  . .D.o.c
>.u.m.e.n
>[2001/06/20 15:05:54, 10] lib/util.c:dump_data(1485)
>   [020] 00 74 00 20 00 74 00 65  00 78 00 74 00 65 00 2E  .t. .t.e
>.x.t.e..
>[2001/06/20 15:05:54, 10] lib/util.c:dump_data(1485)
>   [030] 00 74 00 78 00 74 00 00  00 04 00 5C 00 73 00 E9  .t.x.t..
>...\.s..
>[2001/06/20 15:05:54, 10] lib/util.c:dump_data(1485)
>   [040] 00 73 00 00 00                                    .s...
>[2001/06/20 15:05:54, 3] smbd/process.c:switch_message(650)
>   switch message SMBmv (pid 9195)
>[2001/06/20 15:05:54, 0] smbd/process.c:smb_dump(603)
>   created /tmp/SMBmv.11.req len 110
>[2001/06/20 15:05:54, 4] smbd/uid.c:become_user(119)
>   Skipping become_user - already user
>[2001/06/20 15:05:54, 3] smbd/reply.c:reply_mv(3922)
>   reply_mv : \Nouveau Document texte.txt -> \sis
>[2001/06/20 15:05:54, 5] smbd/filename.c:unix_convert(146)
>   unix_convert called on file "\Nouveau Document texte.txt"
>[2001/06/20 15:05:54, 3] lib/util.c:unix_clean_name(403)
>   unix_clean_name [/Nouveau Document texte.txt]
>[2001/06/20 15:05:54, 5] smbd/filename.c:unix_convert(216)
>   conversion finished Nouveau Document texte.txt -> Nouveau Document
>texte.txt
>[2001/06/20 15:05:54, 5] smbd/filename.c:unix_convert(146)
>   unix_convert called on file "\sis"
>[2001/06/20 15:05:54, 3] lib/util.c:unix_clean_name(403)
>   unix_clean_name [/sis]
>[2001/06/20 15:05:54, 5] smbd/filename.c:unix_convert(222)
>   unix_convert begin: name = sis, dirpath = , start = sis
>[2001/06/20 15:05:54, 5] smbd/mangle.c:is_8_3(338)
>   Checking Nouveau Document texte.txt for 8.3
>[2001/06/20 15:05:54, 3] smbd/reply.c:rename_internals(3765)
>   rename_internals: case_sensitive = 1, case_preserve = 1, short case
>preserve = 1, directory = ./Nouveau Document texte.txt, newname = ./sis,
>newname_last_component = sis, is_8_3 = 0
>[2001/06/20 15:05:54, 3] smbd/reply.c:rename_internals(3824)
>   rename_internals: succeeded doing rename on ./Nouveau Document
>texte.txt -> ./sis[
> >>
>
>
>############ SAMBA 2.07
> >>
>[2001/06/20 14:53:09, 3] smbd/process.c:process_smb(618)
>   Transaction 65 of length 86
>[2001/06/20 14:53:09, 5] lib/util.c:show_msg(430)
>   size=82
>   smb_com=0x7
>   smb_rcls=0
>   smb_reh=0
>   smb_err=0
>   smb_flg=24
>   smb_flg2=3
>[2001/06/20 14:53:09, 5] lib/util.c:show_msg(436)
>   smb_tid=1
>   smb_pid=51966
>   smb_uid=100
>   smb_mid=3904
>   smt_wct=1
>[2001/06/20 14:53:09, 5] lib/util.c:show_msg(441)
>   smb_vwv[0]=22 (0x16)
>[2001/06/20 14:53:09, 5] lib/util.c:show_msg(446)
>   smb_bcc=45
>[2001/06/20 14:53:09, 10] lib/util.c:dump_data(2918)
>   [000] 04 5C 74 65 6D 70 5C 4E  6F 75 76 65 61 75 20 44  .\temp\N
>ouveau D
>[2001/06/20 14:53:09, 10] lib/util.c:dump_data(2926)
>   [010] 6F 63 75 6D 65 6E 74 20  74 65 78 74 65 2E 74 78  ocument
>texte.tx
>[2001/06/20 14:53:09, 10] lib/util.c:dump_data(2926)
>   [020] 74 00 04 5C 74 65 6D 70  5C 73 82 73 00           t..\temp \s.s.
>[2001/06/20 14:53:09, 3] smbd/process.c:switch_message(448)
>   switch message SMBmv (pid 1374)
>[2001/06/20 14:53:09, 4] smbd/uid.c:become_user(186)
>   Skipping become_user - already user
>[2001/06/20 14:53:09, 3] smbd/reply.c:reply_mv(3699)
>   reply_mv : \temp\Nouveau Document texte.txt -> \temp\s,s
>[2001/06/20 14:53:09, 5] smbd/filename.c:unix_convert(329)
>   unix_convert called on file "\temp\Nouveau Document texte.txt"
>[2001/06/20 14:53:09, 3] lib/util.c:unix_clean_name(522)
>   unix_clean_name [/temp/Nouveau Document texte.txt]
>[2001/06/20 14:53:09, 5] smbd/filename.c:unix_convert(429)
>   conversion finished temp/Nouveau Document texte.txt -> temp/Nouveau
>Document texte.txt
>[2001/06/20 14:53:09, 5] smbd/filename.c:unix_convert(329)
>   unix_convert called on file "\temp\s,s"
>[2001/06/20 14:53:09, 3] lib/util.c:unix_clean_name(522)
>   unix_clean_name [/temp/s,s]
>[2001/06/20 14:53:09, 5] smbd/filename.c:unix_convert(436)
>   unix_convert begin: name = temp/s,s, dirpath = , start = temp/s,s
>[2001/06/20 14:53:09, 5] smbd/mangle.c:is_8_3(338)
>   Checking Nouveau Document texte.txt for 8.3
>[2001/06/20 14:53:09, 3] smbd/reply.c:rename_internals(3558)
>   rename_internals: case_sensitive = 1, case_preserve = 1, short case
>preserve = 1, directory = temp/Nouveau Document texte.txt, newname =
>temp/s,s, newname_last_component = s,s, is_8_3 = 0
>[2001/06/20 14:53:09, 5] locking/locking_shm.c:shm_get_share_modes(120)
>   get_share_modes hash bucket 1 empty
>[2001/06/20 14:53:09, 3] smbd/reply.c:rename_internals(3613)
>   rename_internals: succeeded doing rename on temp/Nouveau Document
>texte.txt -> temp/s,s[
> >>
>
>
>dump_data shows UNICODE in the former and DOS 850 CP in the latter?
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <JVergara at equinox.com>
Delivered-To: samba at lists.samba.org
Received: from notes.EQUINOX.COM (notes.equinox.com [63.80.92.4]) by
  lists.samba.org (Postfix) with ESMTP id 578CA4FF4 for
  <samba at lists.samba.org>; Wed, 20 Jun 2001 07:58:09 -0700 (PDT)
Subject: Re: Samba log errors
To: abartlet at samba.org
Cc: samba at lists.samba.org
X-Mailer: Lotus Notes Release 5.0.6a  January 17, 2001
Message-ID: <OF86B1872D.D9C8FFA3-ON85256A71.004D5520 at EQUINOX.COM>
From: JVergara at equinox.com
Date: Wed, 20 Jun 2001 10:47:57 -0400
X-MIMETrack: Serialize by Router on notes.EQUINOX.COM/EQNX(Release 5.0.5
  |September 22, 2000) at 06/20/2001 10:48:04 AM
MIME-Version: 1.0
Content-type: text/plain; charset="us-ascii"
Content-Disposition: inline
X-Converted-To-Plain-Text: from multipart/mixed by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Thanks, for the answers to