No subject


Mon Dec 1 11:34:25 GMT 2003


However....

When I try the command
nmblookup -M LINUXSERVER
querying  TESTGROUP on 192.168.255.255
name_query failed to find name TESTGROUP #1d

My /etc/hosts file is
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost localhost.localdomain
192.168.100.101 testpc
192.168.100.100 linuxserver

/etc/samba/lmhosts is
127.0.0.1 localhost
LINUXSERVER LINUXSERVER
TESTPC TESTPC

/etc/samba/smb.conf is
workgroup = TESTGROUP
server string = Samba Server
netbios name = LINUXSERVER
printcap name = /etc/printcap
load printers = yes
guest account =
log file = /var/log/samba/log.%m
max log size = 50
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
domain master = yes
preferred master = yes
wins support = yes
dns proxy = no
#============================ Share Definitions
==============================
[homes]
comment = Home Directories
browseable = no
writable = yes

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = n
printable = yes

[tmp]
comment = Temporary file space
path = /tmp
read only = no
public = yes

[public]
comment = Public Stuff
path = /home/samba
public = yes
read only = yes
write list = @staff

I've been working on this on and off for a week now with no results. Any
help would be greatly appreciated.

Return-Path: <samba at careered.com>
Delivered-To: samba at lists.samba.org
Received: from mail.careered.com (unknown [12.107.107.130]) by
  lists.samba.org (Postfix) with ESMTP id 43F124415 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 12:22:55 -0700 (PDT)
Received: by MAIL with Internet Mail Service (5.5.2653.19) id
  <QCMG5SBD>; Wed, 1 Aug 2001 14:27:36 -0500
Message-ID: <C6FE71855897D411A5E400508BAEDBEDA838AA at MAIL>
From: Samba User <samba at careered.com>
To: samba at lists.samba.org
Subject: SWAT login trouble
Date: Wed, 1 Aug 2001 14:27:35 -0500 
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/

I recently installed Slackware 8.0 and am trying to get Samba 2.2.1a to be
happy on it.  This is my first try with the 2.2.x samba tree.

Everything seems to be just fine when I compile and install using the normal
./configure; make; make install method.  When I try to connect to swat on my
local host, I am prompted for the username and password, I respond with root
and the appropriate password which is when it tells me "Authorization
failed. Retry?".  I am sure that I am using the correct password and there
is nothing in hosts.deny that would be denying this.  I have also tried
another non-root user with the same result.  Is there something in Slackware
8.0 that isn't "normal"?  

Any suggestions would be appreciated.

Thanks in advance,

Bryan Greenawalt

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 A54754D2B
  for <samba at samba.org>; Wed,  1 Aug 2001 12:23:24 -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 f71JRr315007; Wed, 1 Aug 2001 21:27:53 +0200
Date: Wed, 1 Aug 2001 21:27:53 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Michel Franckart <michel.franckart at worlonline.be.worldonline.be>
Cc: <samba at samba.org>
Subject: Re: mount -t smbf
In-Reply-To: <3B66BDB3.2AE2E71A at worlonline.be>
Message-ID: <Pine.LNX.4.30.0108012121130.9860-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, 31 Jul 2001, Michel Franckart wrote:

> Although smbclient works OK for dealing with my second PC running under
> windows 95,
> mount -t smbfs //192.168.0.2/intel_c /provis returns the following error
> message :

It needs to know the netbios name of the win95 box, otherwise the win95 
will refuse to answer.

mount -t smbfs //win95name/intel_c /provis
   - or -
mount -t smbfs -o ip=192.168.0.2 //win95name/intel_c /provis
   in case win95name can't be resolved by the netbios code.

Which samba version? I didn't know smbclient did anything more clever than
smbmount in a case like this.


> SMB connection failed
> 12729: session request to 192.168.0.2 failed (Called name not present)
> 12729: session request to 192 failed (Called name not present)
> 12729: session request to *SMBSERVER failed (Called name not present)

It tries the string you provided as name, "192.168.0.2"
  fails because the name isn't that.
So it tries to cut at the first dot (assumption: foo.domain.org is
  likely to have foo as the netbios name) but it isn't named 192 either.
So it tries the magical name "*SMBSERVER", which is understood by NT,
  win2k and samba (probably XP too) but not old things, like win95.

/Urban

Return-Path: <jeremy at valinux.com>
Delivered-To: samba at lists.samba.org
Received: from mail.valinux.com (mail.valinux.com [198.186.202.175]) by
  lists.samba.org (Postfix) with ESMTP id BCAF34D36 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 12:24:16 -0700 (PDT)
Received: from legion.engr.valinux.com ([10.12.1.31] helo=valinux.com)
  by mail.valinux.com with esmtp  (Cipher SSLv3:RC4-MD5:128) (Exim
  3.31-VA-mm2 #1 (Debian)) id 15S1fp-0005Ej-00; Wed, 01 Aug 2001
  12:28:53 -0700
Message-ID: <3B68589F.6B595B0F at valinux.com>
Date: Wed, 01 Aug 2001 12:29:35 -0700
From: Jeremy Allison <jeremy at valinux.com>
Organization: VA Linux Systems
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-beta1va3.10 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "DICKENS,CARY (HP-Loveland,ex2)" <cary_dickens2 at hp.com>
Cc: "'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: Re: quotas and small files
References: <C5C45572D968D411A1B500D0B74FF4A80418D4D3 at xfc01.fc.hp.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 took a quick look at this log. The client rdr is doing
an SMBwrite at offset 0xCA (202 decimal) of zero bytes.
This causes Samba to do an ftruncate to extend the file
to that size. As this is a sparse extend there is no
"disk full" error. Then the client does a real write
of 0xCA bytes - to which we successfully return "disk
full", and error it seems the client ignores.

As quick test would be to change the ftruncate extend
call to try and commit the data at this point (as it
would on an NT system) and see if this causes the client
to fail as expected.

Jeremy.

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

Return-Path: <christoph.beyer at desy.de>
Delivered-To: samba at lists.samba.org
Received: from mail2-195.desy.de (mailserver2.desy.de [131.169.87.110])
  by lists.samba.org (Postfix) with ESMTP id DA0E1415A for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 12:28:25 -0700 (PDT)
Received: from desy.de (chbeyer-rem.desy.de [131.169.242.106]) by
  mail2-195.desy.de (8.8.5/8.8.5/R) with ESMTP id VAA22306; Wed, 1 Aug
  2001 21:32:56 +0200 (MET DST)
From: christoph.beyer at desy.de
Message-ID: <3B685926.9AC23804 at desy.de>
Date: Wed, 01 Aug 2001 21:31:50 +0200
X-Mailer: Mozilla 4.77 [en] (Win95; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Christian Barth <barth at cck.uni-kl.de>
Cc: samba at lists.samba.org, Mike Kennedy <mikek at syrinx.ucr.edu>
Subject: Re: Samba Infrastructure
References: <3B6867E4.10284.2D13E08 at localhost>
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,

did you try the deadtime entry I did put it to one minute and had some good
experience with it...

regards
        ~christoph



Christian Barth wrote:

> > Hello,
> >
> > I was hoping someone could give me some advice on our infrastructure. I
> > work for a University that has 5 public labs of about 50 NT 4.0
> > workstations each. Each lab uses a Sun Netra T1 w/ 256mb memory running
> > samba 2.1.0 as a PDC (different domains) on Solaris 2.7.
> >
> > All PDCs share one smbpasswd file exported via NFS. And all PDC's are in
> > one NIS domain so that student's UNIX accounts are correctly mapped. I
> > currently have 18171 samba accounts.
> Have you tested what happens if the smbpasswd file is on a local
> disk? If this is faster you could use 5 smbpasswd files and rsync
> them.
>
> > Because of the huge amount of accounts, it takes a long time for students
> > to log in. If a class uses the labs and students log in all at once, the
> > domain controller's load average goes above 200 on some occasions and
> > becomes unresponsive. I have to end up restarting the smbd/nmdb processes.
> Have you tested if your servers have engouh RAM? smbd's should not
> swap.
>
> Christian
>
> >
> > My initial hunch is that it takes so long because of the size of the
> > smbpasswd file and the fact that it is just a flat file. Are there any
> > plans to add DBM hooks in?
> >
> > We do have an LDAP server that I would like to use. From what I understand
> > that LDAP support isn't available currently, although I do see some source
> > code involving it.
> >
> > Can anyone give me any ideas here? I've been tortured with this problem
> > for a while now. I really don't want to... God forbid... use native NT!!
> > :)
> >
> > Thanks in advance,
> >
> > Mike
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
>
>                _(_)_                          wWWWw   _
>    @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
>   @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
>    @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
>     /      Y       \|    \|/    /(_)    \|      |/      |
>  \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
> jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|//
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <sgmayo at mail.bloomfield.k12.mo.us>
Delivered-To: samba at lists.samba.org
Received: from mail.bloomfield.k12.mo.us (mail.bloomfield.k12.mo.us
  [204.184.27.92]) by lists.samba.org (Postfix) with ESMTP id 27C074415
  for <samba at lists.samba.org>; Wed,  1 Aug 2001 12:37:37 -0700 (PDT)
Received: from mayoscot9 (unknown [204.184.27.119]) by
  mail.bloomfield.k12.mo.us (Postfix) with SMTP id 857D33434C for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 14:38:23 -0400 (EDT)
Message-ID: <02ff01c11ac4$03707b60$771bb8cc at phibred.com>
From: "Scott Mayo" <sgmayo at mail.bloomfield.k12.mo.us>
To: <samba at lists.samba.org>
Subject: Changing passwords  from windows clients
Date: Wed, 1 Aug 2001 14:56:11 -0500
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/

I am new to linux and have just set up a new server.  I have samba and postfix
running on my linux server.  Is there some way for users to change their
passwords from their windows 98 workstations.  I really would like to set it
up so that the first time they check their mail that the linux box will ask
them to enter a new password for their user.  Thanks.

Scott Mayo
Tech Coordinator
Bloomfield Schools
(573) 568-4562 (Elem)
(573) 568-4564 (Supt)
(573) 568-4565 (Fax)
(800) 264-2535 Pager # 2549

Return-Path: <orobitai at ca.ibm.com>
Delivered-To: samba at lists.samba.org
Received: from e32.bld.us.ibm.com (e32.co.us.ibm.com [32.97.110.130]) by
  lists.samba.org (Postfix) with ESMTP id 2D6824155 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 13:02:41 -0700 (PDT)
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com
  [9.99.140.23]) by e32.bld.us.ibm.com (8.9.3/8.9.3) with ESMTP id
  QAA89284 for <samba at lists.samba.org>; Wed, 1 Aug 2001 16:05:18 -0400
From: orobitai at ca.ibm.com
Received: from brmoe1.bromont.ibm.com (brmoesy2.bromont.ibm.com
  [9.54.4.227]) by westrelay02.boulder.ibm.com (8.11.1m3/NCO v4.97) with
  ESMTP id f71K7K279454 for <samba at lists.samba.org>; Wed, 1 Aug 2001
  14:07:20 -0600
Subject: Samba and locks
To: samba at lists.samba.org
X-Mailer: Lotus Notes Release 5.0.5  September 22, 2000
Message-ID: <OF129F71EF.5EF526B6-ON85256A9B.0069A936 at bromont.ibm.com>
Date: Wed, 1 Aug 2001 16:02:11 -0400
X-MIMETrack: Serialize by Router on brmoe1/Bromont(Release 5.0.6a
  |January 22, 2001) at 08/01/2001 04:07:33 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 all,

Return-Path: <herb at sgi.com>
Delivered-To: samba at lists.samba.org
Received: from zok.corp.sgi.com (zok.SGI.COM [204.94.215.101]) by
  lists.samba.org (Postfix) with ESMTP id 30B954524 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 13:09:05 -0700 (PDT)
Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2])
  by zok.corp.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.0) with
  ESMTP id f71KIcm02857; Wed, 1 Aug 2001 13:18:38 -0700
Received: from chomps.engr.sgi.com (chomps.engr.sgi.com [163.154.35.63])
  by cthulhu.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id NAA79411; Wed,
  1 Aug 2001 13:13:12 -0700 (PDT)
Received: from sgi.com (chomps.engr.sgi.com [163.154.35.63]) by
  chomps.engr.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id NAA19232; Wed, 1
  Aug 2001 13:13:12 -0700 (PDT)
Message-ID: <3B6862D7.1B2AF91F at sgi.com>
Date: Wed, 01 Aug 2001 13:13:11 -0700
From: Herb Lewis <herb at sgi.com>
Organization: Silicon Graphics Inc.
X-Mailer: Mozilla 4.77C-SGI [en] (X11; I; IRIX 6.5 IP22)
X-Accept-Language: en
MIME-Version: 1.0
To: "Fernando M. Maresca" <fmaresca at monssa.com.ar>
Cc: samba at lists.samba.org
Subject: Re: Anti virus
References: <3B682A1F.13474.5BF6C5 at localhost>
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/

"Fernando M. Maresca" wrote:
> 
> Hello everybody,
> i'm thinking about a centralized antivirus solution over the samba
> servers in enterprise enviroment. There is 3 samba machines over
> debian potato and no other servers and a couple of wx machines
> as clients. The antiviruses now are in the clients, and there is a
> machine with MacAffee VirusScan and an special rw user who can
> scan the samba shares.
> Someone have another solution, something more automatic and no
> security risking?
> Thank you,
> Fer

MacAfee has a version of virus scan for Linux. You might want to check
that out and run on the server. It will cut down your network traffic.

-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
======================================================================

Return-Path: <farmve31 at ve.nettuno.it>
Delivered-To: samba at lists.samba.org
Received: from femail12.sdc1.sfba.home.com (femail12.sdc1.sfba.home.com
  [24.0.95.108]) by lists.samba.org (Postfix) with ESMTP id B52A9415A
  for <samba at lists.samba.org>; Wed,  1 Aug 2001 13:32:13 -0700 (PDT)
Received: from THINKPAD ([24.18.110.108]) by femail12.sdc1.sfba.home.com
  (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id
  <20010801203653.QAZD19709.femail12.sdc1.sfba.home.com at THINKPAD> for
  <samba at lists.samba.org>; Wed, 1 Aug 2001 13:36:53 -0700
From: "Luigi Fabio" <lfabio at ve.nettuno.it>
To: samba at lists.samba.org
Date: Wed, 1 Aug 2001 16:36:53 -0400
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Authentication failures
Reply-To: lfabio at ve.nettuno.it
Message-ID: <3B683025.6504.B5111FD 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/

I am trying to run samba-2.2.1a on a Linux box (for reference, debian 
2.2r3 with shadow and md5 enabled).
Samba works perfectly, except that it cannot recognise passwords 
correctly. I am not using encrypted passwords and when I try to do
smbclient //server/tmp -Uuser
I get a password: prompt, but when I enter the correct password there 
(i.e. the password I supplied for that user when I did smbpasswd -a 
user), I get the message (Bad password/user pair ...).

Indeed, in the logs it tells me auth is failed.

I tried compiling without PAM and just got the auth failed messages. 
So I compiled with PAM and pam_smbpass and at debug level 2 I get in 
the log:

[2001/08/01 15:54:50, 2] smbd/reply.c:reply_sesssetup_and_X(990)
  Defaulting to Lanman password for lfabio
[2001/08/01 15:54:50, 0] passdb/pampass.c:smb_pam_account(587)
  smb_pam_account: PAM: UNKNOWN PAM ERROR (28) during Account Management for User: lfabio
[2001/08/01 15:54:50, 2] passdb/pampass.c:smb_pam_error_handler(73)
  smb_pam_error_handler: PAM: Account Check Failed : Module is unknown
[2001/08/01 15:54:50, 0] passdb/pampass.c:smb_pam_passcheck(836)
  smb_pam_passcheck: PAM: smb_pam_account failed - Rejecting User lfabio !
[2001/08/01 15:54:50, 1] smbd/reply.c:reply_sesssetup_and_X(1005)
  Rejecting user 'lfabio': authentication failed
[2001/08/01 15:54:50, 2] smbd/server.c:exit_server(448)
  Closing connections

Interestingly, the only thing I get in the /var/log/auth.log is a 
line about PAM: supplied username [lfabio] but no errors, even when I 
put 'debug' in every line in /etc/pam.d/samba .

Any and all help will be greatly appreciated.


Regards,
Luigi Fabio - lfabio at ve.nettuno.it

Return-Path: <King-Hei-Ken.Lam at oracle.com>
Delivered-To: samba at samba.org
Received: from inet-mail4.oraclecorp.com (inet-mail4.oracle.com
  [148.87.2.204]) by lists.samba.org (Postfix) with ESMTP id D4A65415A
  for <samba at samba.org>; Wed,  1 Aug 2001 13:32:45 -0700 (PDT)
Received: from gmgw02.us.oracle.com (gmgw02.us.oracle.com
  [130.35.249.110]) by inet-mail4.oraclecorp.com
  (Switch-2.1.3/Switch-2.1.0) with ESMTP id f71KV9t26148 for
  <samba at samba.org>; Wed, 1 Aug 2001 13:31:09 -0700 (PDT)
Received: from oracle.com
  (dhcp-3op16-3op15-west-130-35-106-14.us.oracle.com [130.35.106.14]) by
  gmgw02.us.oracle.com (Switch-2.1.1/Switch-2.1.0) with ESMTP id
  f71KbPn25232 for <samba at samba.org>; Wed, 1 Aug 2001 13:37:25 -0700
  (PDT)
Message-ID: <3B6869A3.2518C1B2 at oracle.com>
Date: Wed, 01 Aug 2001 13:42:11 -0700
From: Ken Lam <King-Hei-Ken.Lam at oracle.com>
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: zh-CN,en
MIME-Version: 1.0
To: samba at samba.org
Subject: tbd_delete
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,

I have just installed Samba 2.2.1a, when I tried to start
the smb daemon I got the the following message in the
log.smbd file. I couldn't get this work.

Everytime I try to start the daemon using the web interface.
I saw the Active Connections have the
PID --- XXXX
client --- smbd
IP address --- 0.0.0.0
Date --- XXX XXX X XX:XX:XX XXXX
Kill --- X

Please help.
Thanks

Ken

---------------------------------------------------------
[2001/08/01 13:09:06, 0] smbd/server.c:main(724)
  standard input is not a socket, assuming -D option
[2001/08/01 13:09:19, 0] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
[2001/08/01 13:09:19, 0] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
[2001/08/01 13:09:51, 0] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
[2001/08/01 13:09:51, 0] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
[2001/08/01 13:24:58, 0] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
[2001/08/01 13:24:58, 0] smbd/connection.c:yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
tionsmbd/connection.c(62:)2001/08/01 13:25:08smbd/connection.c, 0:]
yield_connec
yield_connection(62)
  yield_connection: tdb_delete failed with error Record does not exist.
  yield_connection: tdb_delete failed with error Record does not exist.

Return-Path: <fred at arkansaswebs.com>
Delivered-To: samba at lists.samba.org
Received: from srvr201.castmark.com (unknown [209.38.98.99]) by
  lists.samba.org (Postfix) with ESMTP id E4243445C for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 14:11:02 -0700 (PDT)
Received: from bits.linuxball (bits [208.161.142.154]) by
  srvr201.castmark.com (8.11.0/8.11.0) with SMTP id f71LFm127504; Wed, 1
  Aug 2001 16:15:48 -0500
Content-Type: text/plain; charset="us-ascii"
From: Fred Jackson <fred at arkansaswebs.com>
To: samba at lists.samba.org
Subject: Re: Install troubles - Ahhh!
Date: Wed, 1 Aug 2001 16:15:38 -0500
X-Mailer: KMail [version 1.2]
References: <200108011914.f71JE9K07333 at rowlf.Central.Sun.COM>
In-Reply-To: <200108011914.f71JE9K07333 at rowlf.Central.Sun.COM>
Cc: Ross.Kennedy at Sun.COM
MIME-Version: 1.0
Message-Id: <0108011615380D.13714 at bits.linuxball>
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/

either the smb.conf file cannot be found by sbmd or
contains conflicting directives.
you have created the smb.conf file? try specifying the config 
file on the command line?
to get swat running you need to create the /etc/xinet.d/swat 
file as well. Mine is attached, you may want to un-comment the 
line about force localhost.


hope this helps
Fred



On Wednesday 01 August 2001 02:14 pm, Ross Kennedy wrote:
I'm trying to install SAMBA.  I'm at the run the daemon stage. 
 When I issue the smbd -D and nmbd -D commands, only the nmbd
 shows up in my list of processes?  Then I tried to go ahead to
 the next stage and this is what I got:

# ./smbclient -L spineshank
added interface ip=129.153.130.138 bcast=129.153.130.255
 nmask=255.255.255.0 session request to SPINESHANK failed (code
 0)
session request to *SMBSERVER failed (code 0)

Ahhhhhh!  Any thoughts anyone?

Desperately need to get this set up,
Ross Kennedy
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
#	       to configure your Samba server. To use SWAT, \
#	       connect to port 901 with your favorite web browser.
service swat
{
	port	= 901
	socket_type	= stream
	wait 	= no
#	only_from = localhost
	user	= root
	server	= /usr/samba/sbin/swat
	log_on_failure	+= USERID
	disable = no
}

Return-Path: <mikek at syrinx.ucr.edu>
Delivered-To: samba at lists.samba.org
Received: from syrinx.ucr.edu (syrinx.ucr.edu [138.23.222.203]) by
  lists.samba.org (Postfix) with ESMTP id 67D7045E7 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 14:19:59 -0700 (PDT)
Received: from localhost (mikek at localhost) by syrinx.ucr.edu
  (8.11.0/8.11.0) with ESMTP id f71LJiB21322; Wed, 1 Aug 2001 14:19:44
  -0700 (PDT)
Date: Wed, 1 Aug 2001 14:19:44 -0700 (PDT)
From: Mike Kennedy <mikek at syrinx.ucr.edu>
To: christoph.beyer at desy.de
Cc: Christian Barth <barth at cck.uni-kl.de>, samba at lists.samba.org
Subject: Re: Samba Infrastructure
In-Reply-To: <3B685926.9AC23804 at desy.de>
Message-ID: <Pine.SOL.4.04.10108011416190.21314-100000 at syrinx.ucr.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/

I added the deadtime entry with a value of 2. I think that would help when
a lot of students are logging in and out all day. But, it doesn't solve
the issue of it taking a long time to parse the smbpasswd file.

As far as making the smbpasswd file local I don't think that would help
because one of the PDC's does have the file local and it shares the file
via NFS. So wouldn't that one be noticibly faster than the others if
having the file local made a difference?

Any other suggestion? What about LDAP or DBM?

Mike


On Wed, 1 Aug 2001 christoph.beyer at desy.de wrote:

> hi,
> 
> did you try the deadtime entry I did put it to one minute and had some good
> experience with it...
> 
> regards
>         ~christoph
> 
> 
> 
> Christian Barth wrote:
> 
> > > Hello,
> > >
> > > I was hoping someone could give me some advice on our infrastructure. I
> > > work for a University that has 5 public labs of about 50 NT 4.0
> > > workstations each. Each lab uses a Sun Netra T1 w/ 256mb memory running
> > > samba 2.1.0 as a PDC (different domains) on Solaris 2.7.
> > >
> > > All PDCs share one smbpasswd file exported via NFS. And all PDC's are in
> > > one NIS domain so that student's UNIX accounts are correctly mapped. I
> > > currently have 18171 samba accounts.
> > Have you tested what happens if the smbpasswd file is on a local
> > disk? If this is faster you could use 5 smbpasswd files and rsync
> > them.
> >
> > > Because of the huge amount of accounts, it takes a long time for students
> > > to log in. If a class uses the labs and students log in all at once, the
> > > domain controller's load average goes above 200 on some occasions and
> > > becomes unresponsive. I have to end up restarting the smbd/nmdb processes.
> > Have you tested if your servers have engouh RAM? smbd's should not
> > swap.
> >
> > Christian
> >
> > >
> > > My initial hunch is that it takes so long because of the size of the
> > > smbpasswd file and the fact that it is just a flat file. Are there any
> > > plans to add DBM hooks in?
> > >
> > > We do have an LDAP server that I would like to use. From what I understand
> > > that LDAP support isn't available currently, although I do see some source
> > > code involving it.
> > >
> > > Can anyone give me any ideas here? I've been tortured with this problem
> > > for a while now. I really don't want to... God forbid... use native NT!!
> > > :)
> > >
> > > Thanks in advance,
> > >
> > > Mike
> > > --
> > > To unsubscribe from this list go to the following URL and read the
> > > instructions:  http://lists.samba.org/mailman/listinfo/samba
> > >
> >
> >                _(_)_                          wWWWw   _
> >    @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
> >   @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
> >    @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
> >     /      Y       \|    \|/    /(_)    \|      |/      |
> >  \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
> > jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|//
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> 

Return-Path: <interpablo at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (law2-f116.hotmail.com [216.32.181.116]) by
  lists.samba.org (Postfix) with ESMTP id AE8934B80 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 14:40:16 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Wed, 1 Aug 2001 14:44:56 -0700
Received: from 196.40.21.132 by lw2fd.hotmail.msn.com with HTTP;	Wed, 01
  Aug 2001 21:44:55 GMT
X-Originating-IP: [196.40.21.132]
From: "Pablo Fernández" <interpablo at hotmail.com>
To: samba at lists.samba.org
Subject: Samba upgrade
Date: Wed, 01 Aug 2001 21:44:55 
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <LAW2-F116O6pAJwB9Vj000101a1 at hotmail.com>
X-OriginalArrivalTime: 01 Aug 2001 21:44:56.0056 (UTC)
  FILETIME=[3446C780:01C11AD3]
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 upgraded to samba 2.2.1a, but I realized that the next line does not work, 
would you send me an equivalent line for the new version?

   mount -t smbfs -o username=myuser //Service/foo /mnt/foo

The problem is: invalid option -- o

I'm trying to mount a win2000 server.

Thank you!

     P at blo


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Return-Path: <jldalton at lucent.com>
Delivered-To: samba at lists.samba.org
Received: from auemail2.firewall.lucent.com (auemail2.lucent.com
  [192.11.223.163]) by lists.samba.org (Postfix) with ESMTP id 5FA4B4155
  for <samba at lists.samba.org>; Wed,  1 Aug 2001 14:56:42 -0700 (PDT)
Received: from joker.ho.lucent.com (h135-17-15-1.lucent.com
  [135.17.15.1]) by auemail2.firewall.lucent.com
  (Switch-2.1.3/Switch-2.1.0) with SMTP id f71M1L714649 for
  <samba at lists.samba.org>; Wed, 1 Aug 2001 18:01:21 -0400 (EDT)
Received: from lucent.com by joker.ho.lucent.com (SMI-8.6/EMS-1.5 sol2)
  id SAA20592; Wed, 1 Aug 2001 18:01:20 -0400
Message-ID: <3B687C4A.6742C224 at lucent.com>
Date: Wed, 01 Aug 2001 18:01:46 -0400
From: John Dalton <jldalton at lucent.com>
Organization: Lucent Technologies
X-Mailer: Mozilla 4.73 [en]C-CCK-MCD EMS-1.4  (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: share question
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/

Hello,

I just installed samba 2.2.1 on 
a solaris 2.6 server. My goal is to
share out the /usr filesystem to 
my PC to back it up to my RW cd-rom.

How can I modify my smb.conf file to make this happen?

ALso, Ihave another samba server on the same network.
Will this cause problems having another samba server?

I desire only to have the first samba 2.2.1
share to my NT pc.

Thanks!

[demime 0.98b removed an attachment of type text/x-vcard which had a name of jldalton.vcf]

Return-Path: <jeremy at valinux.com>
Delivered-To: samba at lists.samba.org
Received: from mail.valinux.com (mail.valinux.com [198.186.202.175]) by
  lists.samba.org (Postfix) with ESMTP id 289034483 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 15:14:58 -0700 (PDT)
Received: from legion.engr.valinux.com ([10.12.1.31] helo=valinux.com)
  by mail.valinux.com with esmtp  (Cipher SSLv3:RC4-MD5:128) (Exim
  3.31-VA-mm2 #1 (Debian)) id 15S4L4-0002Eo-00; Wed, 01 Aug 2001
  15:19:38 -0700
Message-ID: <3B6880A3.5EE60423 at valinux.com>
Date: Wed, 01 Aug 2001 15:20:19 -0700
From: Jeremy Allison <jeremy at valinux.com>
Organization: VA Linux Systems
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-beta1va3.10 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "DICKENS,CARY (HP-Loveland,ex2)" <cary_dickens2 at hp.com>,
  "'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: Re: quotas and small files
References: <C5C45572D968D411A1B500D0B74FF4A80418D4D3 at xfc01.fc.hp.com>
  <3B68589F.6B595B0F at valinux.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/

Check out the 2.2 CVS and try setting the new parameter
"strict allocate = yes" on the share you are using. This
new parameter causes Samba to do real space allocation on
disk when a file is extended. It's off by default.

This should fix the problem you're seeing. Let me know if
not.

Jeremy.

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

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 A1936415A
  for <samba at lists.samba.org>; Wed,  1 Aug 2001 15:25:27 -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 f71MU4315739; Thu, 2 Aug 2001 00:30:04 +0200
Date: Thu, 2 Aug 2001 00:30:04 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: =?iso-8859-1?Q?Pablo_Fern=E1ndez?= <interpablo at hotmail.com>
Cc: <samba at lists.samba.org>
Subject: Re: Samba upgrade
In-Reply-To: <LAW2-F116O6pAJwB9Vj000101a1 at hotmail.com>
Message-ID: <Pine.LNX.4.30.0108020027360.9860-100000 at cola.teststation.co
  m>
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/

On Wed, 1 Aug 2001, Pablo Fernandez wrote:

> Hi!
> 
> I upgraded to samba 2.2.1a, but I realized that the next line does not work, 
> would you send me an equivalent line for the new version?
> 
>    mount -t smbfs -o username=myuser //Service/foo /mnt/foo
> 
> The problem is: invalid option -- o

You haven't done the upgrade correctly, smbmount finds an old version of
smbmnt. Try uninstalling any old version you may have and re-install
2.2.1a.

Possibly you didn't configure samba --with-smbmount, if you compiled it 
yourself.

/Urban

Return-Path: <ashley at pcraft.com>
Delivered-To: samba at lists.samba.org
Received: from users.pcraft.com (mail.pcraft.com [206.168.220.51]) by
  lists.samba.org (Postfix) with ESMTP id 9722D438A for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 15:41:37 -0700 (PDT)
Received: from pcraft.com (int.sysadmin.pcraft.com [192.168.1.254]) by
  users.pcraft.com (8.9.3/8.9.3-MX1) with ESMTP id QAA00348 for
  <samba at lists.samba.org>; Wed, 1 Aug 2001 16:46:18 -0600
Message-ID: <3B6894A9.3F587F1B at pcraft.com>
Date: Wed, 01 Aug 2001 16:45:45 -0700
From: "Ashley M. Kirchner" <ashley at pcraft.com>
Reply-To: ashley at pcraft.com
Organization: Photo Craft Laboratories, Inc.
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Samba Mailing List <samba at lists.samba.org>
Subject: Failed authentication
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 don't get it.  I have a user, 'winash', setup on a system (both in
the system's password file, as well as in smbpasswd file), yet when that
user tries to log in, with the password given, it fails, and I get this
in the sysamdin.log file:

[2001/08/01 16:37:27, 1] smbd/reply.c:reply_sesssetup_and_X(929)
  Rejecting user 'winash': authentication failed

    What am I missing?!

--
W | I haven't lost my mind; it's backed up on tape somewhere.
  +--------------------------------------------------------------------
  Ashley M. Kirchner <mailto:ashley at pcraft.com>   .   303.442.6410 x130
  IT Director / SysAdmin / WebSmith             .     800.441.3873 x130
  Photo Craft Laboratories, Inc.            .     3550 Arapahoe Ave. #6
  http://www.pcraft.com ..... .  .    .       Boulder, CO 80303, U.S.A.

Return-Path: <jwalski2 at classicplan.com>
Delivered-To: samba at lists.samba.org
Received: from classicplan.com (mail.fastrakce.com [206.111.52.55]) by
  lists.samba.org (Postfix) with ESMTP id 5FB1444ED for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 15:42:08 -0700 (PDT)
Received: by classicplan.com from localhost (router,SLMail V4.3); Wed,
  01 Aug 2001 15:28:03 -0700  for <samba at lists.samba.org>
Received: from des2000 [206.111.52.55] by classicplan.com
  [160.100.0.241]  (SLmail 4.3.0.3454) with SMTP id
  18ED348F7ACE11D582A700D0B7219AD7 for <samba at lists.samba.org>; Wed, 01
  Aug 2001 15:28:00 -0700
Message-ID: <007601c11adb$809960e0$650064a0 at des2000>
From: "Jim Walski" <jwalski2 at classicplan.com>
To: <samba at lists.samba.org>
Subject: Permissions Needed to Control Printers
Date: Wed, 1 Aug 2001 15:44:19 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 4.72.2106.4
X-SLUIDL: 6C472E4B-86B811D5-82A700D0-B7219AD7
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 2.2.1a Suse 7.1

I am trying to set up a few printer shares on the Samba computer and I am
able to print fine to the shares from my NT Workstation computers.

However, I am now trying to be able to control the Pausing of the printer
queue and pausing jobs.  I am not sure i understand what permissions or
smb.conf file settings have to be set to make this happen from the Windows
Machine's Print Manager.  Every time i try to pause the printer i receive
"Error Processing Command" in the window's print manager.  I set the
queuepause and queueresume in the smb.conf but to no avail.

I am assuming this is some type of Linux permission problem.  I am just
logging in as a normal user on the Windows machine.  Howerver, I would like
to be able to set up a few users with this "admin" capability. Any help
would be appreciated.

Thanks,
Jim


[mysmb_lp]
  print ok = yes
  path = /var/spool/samba
  browsable=yes
  printer=front5si
  queuepause command = /usr/sbin/lpc stop %p
  queueresume command = /usr/sbin/lpc start %p

Return-Path: <owen at ivt.com.au>
Delivered-To: samba at lists.samba.org
Received: from www.ivt.com.au (mail.ivt.com.au [210.8.148.105]) by
  lists.samba.org (Postfix) with ESMTP id BBDA24571 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 16:09:02 -0700 (PDT)
Received: from [210.8.148.34] ([210.8.148.34]) by www.ivt.com.au
  (8.11.0/8.11.0) with ESMTP id f72AEkH32715 for
  <samba at lists.samba.org>; Thu, 2 Aug 2001 20:14:46 +1000
User-Agent: Microsoft-Entourage/9.0.2509
Date: Thu, 02 Aug 2001 09:17:14 +1000
Subject: Remote login issues
From: Owen Batt <owen at ivt.com.au>
To: <samba at lists.samba.org>
Message-ID: <B78ECB1A.A09%owen at ivt.com.au>
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/

Help!

    Running a Debain box a fileserver - has Samba 2.2.1 installed.

    The issues I am having relate to remote connections from Windows 9x & NT
machines. 

    When trying to mount shares across a modem or ISDN connection it seems
to take an age - and it's not just due to the bandwidth (though that may
have something to do with it).

Sometimes the connection will occur in 20 seconds on a 56k, other times it's
like 5 minutes & not all of the shares actually mount. More often than not
it fails and doesn't mount correctly.

    Using a custom VB script to mount the shares that works fine on the
internal network - but seems to have issues accessing the server remotely.
The script is quite basic.

    When running the script a lot of traffic is created - much talking
between the client & the server - but little data is actually transferred.

Perhaps it's the way Windows breaks the packets down to be sent via PPP that
Samba doesn't dig?

    If anyone has any ideas or experience with logging in remotely to a
linux box via Samba please share your experience!

    Cheers,

    Owen Batt


    
    

Return-Path: <adam at datataker.com.au>
Delivered-To: samba at lists.samba.org
Received: from mail.datataker.com.au (datataker.com.au [203.52.180.73])
  by lists.samba.org (Postfix) with SMTP id 36C4642F3 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 16:20:05 -0700 (PDT)
Received: (qmail 63623 invoked from network); 1 Aug 2001 23:27:16 -0000
Received: from dhcp71.int.datataker.com.au (HELO mediabox)
  (192.168.1.71) by int.datataker.com.au with SMTP; 1 Aug 2001 23:27:16
  -0000
From: "Adam Clark" <adam at datataker.com.au>
To: <samba at lists.samba.org>
Subject: RE: unreliable and slow foxpro application while running from
  the  share
Date: Thu, 2 Aug 2001 09:25:42 +0100
Message-ID: <000201c11b2c$ba323c90$4701a8c0 at int.datataker.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)
In-Reply-To: <3B67CBD6.B843CBF8 at farmexim.ro>
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 this problem, but I'm not sure about samba versions
I am using samba to replace a novell server

Adam

> -----Original Message-----
> From: samba-admin at lists.samba.org 
> [mailto:samba-admin at lists.samba.org]On
> Behalf Of Dragos Delcea
> Sent: Wednesday, August 01, 2001 10:29 AM
> To: samba at lists.samba.org
> Subject: unreliable and slow foxpro application while running from the
> share
> 
> 
> hello everybody,
> 
> I'm searching for a cure for this.
> I have a share which holds a dos database
> (fox), which is accesed simultaneousely by
> many clients (win98). Performance is very
> poor (it takes 2 minutes only to open it)
> and, while I was playing with it, it became
> unreliable.
> I'm puzzled because on the old server it
> worked ok (it was a samba 2.0.4b/RH5.2). This
> one is samba 2.2.1a/RH7.1; samba is compiled
> with --with-pam --with-pam_smbpass (nothing
> fancy).
> I tried all the settings for the share
> (oplocks on/off, kernel oplocks on/off,
> blocking locks...etc). My feeling is that I
> missed something...I'm waiting your
> opinions/experiences on this.
> 
> dragos
> 
> PS It's not about tunning, it's about making
> this thing work acceptable.
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

Return-Path: <owen at ivt.com.au>
Delivered-To: samba at lists.samba.org
Received: from www.ivt.com.au (mail.ivt.com.au [210.8.148.105]) by
  lists.samba.org (Postfix) with ESMTP id 62D27423E for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 16:52:02 -0700 (PDT)
Received: from [210.8.148.34] ([210.8.148.34]) by www.ivt.com.au
  (8.11.0/8.11.0) with ESMTP id f72AvEH00628; Thu, 2 Aug 2001 20:57:16
  +1000
User-Agent: Microsoft-Entourage/9.0.2509
Date: Thu, 02 Aug 2001 09:59:42 +1000
Subject: Re: quotas and small files
From: Owen Batt <owen at ivt.com.au>
To: Jeremy Allison <jeremy at valinux.com>
Cc: <samba at lists.samba.org>
Message-ID: <B78ED50D.A9A%owen at ivt.com.au>
In-Reply-To: <3B6880A3.5EE60423 at valinux.com>
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/

Jeremy,

    You seem to be the guy for quota issues (judging the Samba mailing list)

With regards to this post (see below) we are experiencing similar issues,
but with a few more funky things occurring & wonder if you have any ideas.

We have complied 2.2.1a onto a debain box & transfers etc are all working
well. The issue we are having comes down to the way Windows or Samba is
reporting the quotas.

Firstly, we have compiled Samba with the --with-quotas option & it fixed the
reporting of share sizes from the whole drive to just the share we are
looking at. The problem is, however, that if multiple shares are mounted
they all report the quota size & usage of the first share mounted.

    Also, there seems to be an issue with copying anything above 50 or so MB
to a share. We get a disk full error even when the share is set to 1000MB.

    And (!), to make matters worse the small file issue that was posted
before is still plaguing us...

    If you have any ideas (or anyone else does for that matter) Help?!!
    
    Many Thanks,

    Owen   

> Check out the 2.2 CVS and try setting the new parameter
> "strict allocate = yes" on the share you are using. This
> new parameter causes Samba to do real space allocation on
> disk when a file is extended. It's off by default.
> 
> This should fix the problem you're seeing. Let me know if
> not.
> 
> Jeremy.

Return-Path: <kcella at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (law2-oe29.hotmail.com [216.32.180.22]) by
  lists.samba.org (Postfix) with ESMTP id 7ADB84227 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 18:28:04 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Wed, 1 Aug 2001 18:32:44 -0700
X-Originating-IP: [24.29.60.180]
From: "Kevin Cella" <kcella at hotmail.com>
To: <samba at lists.samba.org>
Subject: samba and swat connection
Date: Wed, 1 Aug 2001 21:37:16 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
Message-ID: <LAW2-OE29NIPukg3nOp000038c7 at hotmail.com>
X-OriginalArrivalTime: 02 Aug 2001 01:32:44.0484 (UTC)
  FILETIME=[074B6040:01C11AF3]
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/

here's the deal: i had samba and swat working perfectly under my current
smb.conf and inted.conf configurations. firs thing that happened was that i
could no longer get into swat, i was getting a page not found. and then next i
lost my samba connection. i have since made absolutely NO changes to the
configuration files. so everything was the same, but i cannot connect to
either anymore. and to top it all off, telnet and ftp are extremely slow in
responding, if at all.

my network is configured under a firewall using a Linksys router. i have
several machines using win98, win2k, winNT and RedHat 6.0. i cannot understand
how (if i make no changes to the network, config files under linux, etc) my
samba and swat connections are dead. i have restarted the linux box. i have
successfully pinged all the machines from the linux and vice versa.

the one thing i did right before i noticed the samba connection died was that
i had to restart a win98 machine a couple of times because it wasn't getting
seen on the network neighborhood (also was not a problem before). once the
win98 machine was fixed, i went to use the samba connection and it was dead.
it so happens that the win98 machine is the only one on the LAN that is setup
to login into a domain through the microsoft network client (this is done for
a VPN connection to work). regardless of the domain config, the win98 machine
was never caused the samba connection die before.

here is the jist of the errors from smb.log:

lib/util_sock.c: write_data("some number") write_data: write failure. Error =
Broken pipe.

lib/util_sock.c: send_smb("some number"). Error writing 4 bytes to client.
-1.Exiting.

sorry for the long-winded explanation, i hope some of it helps top diagnose.
Please help.

thanks,
Kevin

Return-Path: <glenrobbins at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (f53.law3.hotmail.com [209.185.241.53]) by
  lists.samba.org (Postfix) with ESMTP id 5A4C14227 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 18:28:27 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Wed, 1 Aug 2001 18:33:07 -0700
Received: from 24.112.130.248 by lw3fd.law3.hotmail.msn.com with HTTP;
  Thu, 02 Aug 2001 01:33:07 GMT
X-Originating-IP: [24.112.130.248]
From: "Glen Robbins" <glenrobbins at hotmail.com>
To: samba at lists.samba.org
Subject: Session setup failed error!
Date: Wed, 01 Aug 2001 21:33:07 -0400
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Message-ID: <F53fmINlCnesUG0WdQe00007bc3 at hotmail.com>
X-OriginalArrivalTime: 02 Aug 2001 01:33:07.0311 (UTC)
  FILETIME=[14E67FF0:01C11AF3]
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/

Hello,

I am having problems with Samba that just started a few days ago.  I can no 
longer log into Samba from either my Clients (Windows 98) or the Linux Samba 
server itself.  Some tests work (i.e. the ones that don't require a 
password, such as: ping, testparm etc), but when I run smbclient -L 
localhost on the server (logged in as root) I get prompted for the password 
then following:

session setup failed: code 0

What does this mean?  I am running Red Hat Linux 7.1 and Samba 2.2.1a.

Also, when I try running smbclient -L localhost -U% it works, but when I 
define an other user (that has had to password set up in smbpasswd and 
enabled!) I get the ERRSRV - ERRbadpw.  I get this on all users that I have 
created. Other account (ftp, apache) get the same error as root.

Attached is my smb.conf

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

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

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 7F1924460 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 20:01:41 -0700 (PDT)
Received: by smto-mail-02.epiphany.com with Internet Mail Service
  (5.5.2653.19) id <P2K40FFT>; Wed, 1 Aug 2001 13:02:44 -0700
Message-ID: <38A6C7D1B5A8D4118D5B00508B5E08E3019CE8AD at goofy.epiphany.com
  >
From: murali at epiphany.com
To: urban at teststation.com, jbenedet at unm.edu
Cc: samba at lists.samba.org
Subject: RE: mounting shared NT dirs to unix for backups
Date: Wed, 1 Aug 2001 12:57:47 -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/

does smbmount available for Solaris? I thought it is available on Linux..

-Thx,
Murali

> -----Original Message-----
> From: Urban Widmark [mailto:urban at teststation.com]
> Sent: Wednesday, August 01, 2001 8:40 AM
> To: John Benedetto
> Cc: samba at lists.samba.org
> Subject: RE: mounting shared NT dirs to unix for backups
> 
> 
> On Wed, 1 Aug 2001, John Benedetto wrote:
> 
> > Anyway, next you will need to mount the share from the PC 
> onto the Unix 
> > box. Since it is so easy to modify a share on a PC, I 
> wonder if you're 
> > looking at a hassle with this setup (unless you have most 
> of your users 
> > pretty much locked down) I would assume smbmount would do 
> this, though I 
> > haven't worked with this type of situation yet.
> 
> He'll have to move from Solaris to use smbmount. smbtar may solve his
> problem, possibly with the help of amanda.
> 
> /Urban
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

Return-Path: <gekeyser at home.com>
Delivered-To: samba at lists.samba.org
Received: from femail44.sdc1.sfba.home.com (femail44.sdc1.sfba.home.com
  [24.254.60.38]) by lists.samba.org (Postfix) with ESMTP id 33412420E
  for <samba at lists.samba.org>; Wed,  1 Aug 2001 21:21:46 -0700 (PDT)
Received: from home.com ([24.67.71.172]) by femail44.sdc1.sfba.home.com
  (InterMail vM.4.01.03.20 201-229-121-120-20010223) with ESMTP id
  <20010802042625.RWJS27096.femail44.sdc1.sfba.home.com at home.com> for
  <samba at lists.samba.org>; Wed, 1 Aug 2001 21:26:25 -0700
Message-ID: <3B68D5ED.A85E66A0 at home.com>
Date: Wed, 01 Aug 2001 22:24:13 -0600
From: Eric Keyser <gekeyser at home.com>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: samba help <samba at lists.samba.org>
Subject: What worked yesterday doesn't any more!
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 got Samba up and running for two days. Then it stopped and I have
spent two weeks trying to figure out what is wrong. I keep getting
"The network is busy" message from the PC side. My system passes
test 1 to 7 and fails at 8. I'd appreciate any clues
or what I should be looking at.

Test 8:
C:\WINDOWS>net view \\eyore
Error 54: The network is currently busy processing other requests or is
out
of resources. Try again later, or verify your network configuration to
be
sure that enough network resources are specified.

What does this mean, any suggestions what I should be trying? I have two

pc's connected and they are both having problems.

Here is my /etc/hosts.allow file:
#
# hosts.allow   This file describes the names of the hosts which are
#               allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#
192.168.1. 127.
Is this correct?

Thanks for any ideas for me to try.
On the PC side of things here is what I have:

Here is the contents of my lmhosts file:
192.168.1.4      eyore   #PRE #address for server

Under network I have
IP Address of 192.168.1.3 Subnet Mask of 255.255.255.0

I have even tried WINS Resolution  with 192.168.1.4

My gateway to shaw is 192.168.1.1 running floppyfw

I have Enabled DNS using Shaw's two servers at
24.71.233.144 and 145
This computer's host is winne at a Domain of arnica.ca

My computer name is called winnie of Workgroup called Workgroup

I have Share level access control

When I attempt to attach my samba disk after with
\\eyore\public after a minute or so I get
"The network is busy" message and I can't attach

On my Samba machine when I run testparm I get:
[eric at eyore /etc]$ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Global parameter security found in service section!
Processing section "[public]"
Processing section "[hp]"
Global parameter security found in service section!
Loaded services file OK.
Press enter to see a dump of your service definitions

This looks ok, I now run smbclient with some debug information and I
get:
[eric at eyore /etc]$ smbclient -d4 -L eyore
added interface ip=192.168.1.4 bcast=192.168.1.255 nmask=255.255.255.0
Client started (version 2.0.7).
resolve_lmhosts: Attempting lmhosts lookup for name eyore<0x20>
getlmhostsent: lmhost entry: 127.0.0.1 localhost
getlmhostsent: lmhost entry: 192.168.1.2 rabbit
getlmhostsent: lmhost entry: 192.168.1.3 winnie
getlmhostsent: lmhost entry: 192.168.1.4 eyore
Connecting to 192.168.1.4 at port 139
 session request ok
Password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.7]
 session setup ok
 tconx ok

        Sharename      Type      Comment
        ---------      ----      -------
        public         Disk      Public Stuff
        hp             Printer
        IPC$           IPC       IPC Service (Samba Server)

        Server               Comment
        ---------            -------
        EYORE                Samba Server

        Workgroup            Master
        ---------            -------
        WORKGROUP            EYORE

This looks ok to me..

Here is my smb.conf file:
# The following is needed to keep smbclient from spouting spurious
errors
# when Samba is built with support for SSL.

[global]
#   preferred master = Yes
#   local master = Yes
#   domain master = Yes
#   os level = 255
#   wins support = yes
   workgroup = WORKGROUP
   server string = Samba Server
   hosts allow = 192.168.1. 127.
 printcap name = /etc/printcap
   load printers = yes
   printing = lprng
   log file = /var/log/samba-log.%m
   max log size = 50
   security = user
   ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#   lock directory = /var/lock/samba
   dns proxy = no

[homes]
   comment = Home Directories
   browseable = no
   writeable = yes

[printers]
   comment = All Printers
   security = server
   path = /var/spool/lpd/hp
   browseable = no
   printable = yes
   public = yes
   writable = no
   create mode = 0700

[public]
   comment = Public Stuff
   path = /data1/samba
   public = yes
   writable = yes
   printable = no

[hp]
   security = server
   path = /var/spool/lpd/hp
   printer name = hp
   writable = yes
   public = yes
 print command = lpr -r -h -P %p %s

I have really shortened this file down but it doesn't make a difference.


Here I am on to DIAGNOSING YOUR SAMBA SERVER

Test ! testparm is ok
Test 2 I can ping back and forth. Here I am pinging my client:
[eric at eyore eric]$ ping 192.168.1.3
PING 192.168.1.3 (192.168.1.3) from 192.168.1.4 : 56(84) bytes of data.
Warning: time of day goes back, taking countermeasures.
64 bytes from 192.168.1.3: icmp_seq=0 ttl=128 time=1.800 msec
Test 3 smbclient -L returns the results above, they look ok to me
Test 4
[eric at eyore samba]$ nmblookup -B eyore __samba__
querying __samba__ on 192.168.1.4
192.168.1.4 __samba__<00>
Test 5
[eric at eyore samba]$ [eric at eyore /etc]$ nmblookup -B winnie
winnie doesn't come back so I will use the IP address
 nmblookup -B 192.168.1.3
still no answer
Test 6
 nmblookup -d 2 '*'
added interface ip=192.168.1.4 bcast=192.168.1.255 nmask=255.255.255.0
querying * on 192.168.1.255
Got a positive name query response from 192.168.1.4 ( 192.168.1.4 )
Got a positive name query response from 192.168.1.3 ( 192.168.1.3 )
192.168.1.4 *<00>
192.168.1.3 *<00>
Both client and server are responding
Test 7
 smbclient //eyore/public
added interface ip=192.168.1.4 bcast=192.168.1.255 nmask=255.255.255.0
Password:
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 2.0.7]
smb: \>
This looks ok, now back to the pc......

Return-Path: <infinite2k at sinaman.com>
Delivered-To: samba at lists.samba.org
Received: from hk.sina.com.hk (unknown [202.85.139.107]) by
  lists.samba.org (Postfix) with SMTP id A9B084155 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 22:05:41 -0700 (PDT)
Received: (qmail 25997 invoked by uid 99); 2 Aug 2001 13:15:48 -0000
Message-ID: <20010802131548.25996.qmail at hk.sina.com.hk>
From: "=?big5?B?aW5maW5pdGUyaw==?=" <infinite2k at sinaman.com>
Subject: =?big5?B?TG9nb24gQWNjb3VudCBMaW1pdGF0aW9u?=
To: <samba at lists.samba.org>
Date: Thu, 2 Aug 2001 13:15:48 +0800
Content-Type: text/plain;charset="big5"
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/

Dear Sir & Madam,

I want to ask that, would samba can be configured to limit the logon connection.  It means that any account can be limited to connect the samba server at the same time.  I have only found the there is a function in samba config file, called "max connections" which is used to limit the connection to the share.  Thanks for your attention.

Best Regards,
Patrick Chung
==================================================================
7s.v'K6O9q$l+H=c  http://sinamail.sina.com.hk

Return-Path: <jebehre at techie.com>
Delivered-To: samba at lists.samba.org
Received: from ws1-4.us4.outblaze.com (205-158-62-50.outblaze.com
  [205.158.62.50]) by lists.samba.org (Postfix) with SMTP id 016284155
  for <samba at lists.samba.org>; Wed,  1 Aug 2001 22:58:43 -0700 (PDT)
Received: (qmail 17995 invoked by uid 1001); 2 Aug 2001 06:03:23 -0000
Message-ID: <20010802060323.17994.qmail at mail.com>
Content-Type: text/plain; charset="iso-8859-1"
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
MIME-Version: 1.0
X-Mailer: MIME-tools 5.41 (Entity 5.404)
Received: from ws1-4.us4.outblaze.com for [208.178.160.151] via
  web-mailer on Thu, 02 Aug 2001 14:03:21 +0800
From: "Jason Behre" <jebehre at techie.com>
To: samba at lists.samba.org
Date: Thu, 02 Aug 2001 14:03:21 +0800
Subject: Need Help With the User Variable (%u %U)
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 All:
I have been working on configuring samba over the past week, and I have it now ALMOST set up exactly how I want it.  Except for one thing I still cannot get.

I want to be able to set up different shares on a per user basis, such that User A gets to use/see certain shares, and User B gets to use and see a completely different list of shares...  from the same machine.
I have read about using an include = file.%m
which will include a config file based on the machine name.
Is there any way I can get the same functionality for the username variables? (%u, %U)
Whats the syntax?  ive tried a lot of stuff, to no avail...
B.T.W. -
=====================
[global]
        workgroup = FEDERATION
        netbios name = STARBASE
        server string = Sector 001
        encrypt passwords = Yes
        username map = /etc/samba/username.map
        log level = 2
        syslog = 0

# Id like to get the log filename to include the # username as well... but %u and %U doesnt work :-\
        log file = /etc/samba/log/samba.%m(%I)

        name resolve order = lmhosts hosts wins bcast
        time server = Yes

# I did get this working with a [netlogon] share
        logon script = %U.bat 

        domain logons = Yes
        preferred master = False
        local master = No

# what would I put next to share
# directories/files on a per user basis
================

Thanks in advance!
:Jason
-- 

_______________________________________________
FREE Personalized E-mail at Mail.com 
http://www.mail.com/?sr=signup 

Talk More, Pay Less with Net2Phone Direct(R), up to 1500 minutes free! 
http://www.net2phone.com/cgi-bin/link.cgi?143 

Return-Path: <mk at mkd-gmbh.de>
Delivered-To: samba at lists.samba.org
Received: from mkd-gmbh.de (ns.mkd-gmbh.de [194.15.218.4]) by
  lists.samba.org (Postfix) with ESMTP id 15E1D4155 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 22:59:52 -0700 (PDT)
Received: from mkd-gmbh.de (mknt.mkd-gmbh.de [194.15.218.9]) by
  mkd-gmbh.de (8.11.0/8.11.0/SuSE Linux 8.11.0-0.4) with ESMTP id
  f7264NR17979; Thu, 2 Aug 2001 08:04:24 +0200
X-Authentication-Warning: mkd.mkd-gmbh.de: Host mknt.mkd-gmbh.de
  [194.15.218.9] claimed to be mkd-gmbh.de
Message-ID: <3B68ED67.FB74191E at mkd-gmbh.de>
Date: Thu, 02 Aug 2001 08:04:23 +0200
From: Michael Krauss <mk at mkd-gmbh.de>
Organization: MKD GmbH
X-Mailer: Mozilla 4.73 [en] (Windows NT 5.0; U)
X-Accept-Language: en,de-DE
MIME-Version: 1.0
To: Nick Demou <ndemou at enlogic.gr>
Cc: samba List <samba at lists.samba.org>
Subject: Re: problem with Samba 2.2.0/Win2K/MS-Access Database
References: <3B100F5A.95B27EE2 at mkd-gmbh.de>
  <000701c0e690$0eed84a0$6e5dfbd4 at localenlogic.local>
  <3B10E4B1.88E2711 at mkd-gmbh.de>
  <005401c0e709$61ab1da0$0e00a8c0 at localenlogic.local>
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 Nick,

last week I tried the Samba 2.2.1a release. For the first time I looked
good, but after 2 or three days the same problems happend like in
Version
2.2.0. Here is a short protokoll what I did:

17.07.01: Installation of new release 2.2.1a
I didn't move the Databaes from Win2K to Samba, then. Just let it run
with the same features as 2.2.0 to see, wether there are new Problems.
This worked fine so I decided to take the next step:

24.7.01: Moving the DB-Files to a Samba share
This seemd to work fine for the first 2 or 3 days. I told my customer
to test the application and they stated, that it worked well witout
any problems, although I am not sure, how much they testet.

23.7.01 Problems came back again
I got a call that they had problems with their application, again.
I checked this and the symptoms were the same like with 2.2.0:
corrupt or missing records and inconsistent DB files.

24.7.01 Moving DB-Files back to Win2K
I then dicided to move the DB files back to a win2K share to prevent
further damage.

I didn't change anything in smb.conf from 2.2.0 to 2.2.1a

Did you find anything new in this case ?

Michael

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 A4C184267 for
  <samba at samba.org>; Wed,  1 Aug 2001 23:08:06 -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
  f726CbU14414; Thu, 2 Aug 2001 08:12:37 +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 IAA02905; Thu, 2
  Aug 2001 08:12:27 +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 IAA03646; Thu, 2 Aug 2001
  08:12:38 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: "Jerome Baumgarten" <jerome_baumgarten at yahoo.fr>
Date: Thu, 2 Aug 2001 08:12:36 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Samba PDC and DLL files error (please help)
Cc: samba at samba.org
Message-ID: <3B690B74.5373.7EDD5 at localhost>
Priority: normal
In-reply-to: <02b501c11ac2$9745b4b0$6f01010a at nt.local>
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,
> 
> thanks for your answer. My Windows 2000 Server will be used as a Terminal
> Server so I installed it but not used it yet. Do you think it is usefull to
> keep that directory or I can I get rid off it when the user logs off.
Keep it, even so to my experience there is nothing realy important in 
it.

> Do you have any idea for the "missing" DLL files ?
Hm, 
We had a 16-Bit program that installed its dll's into the users 
windows directory and didn't find them there again.

Christian


> 
> TIA.
> 
> Jerome
> 
> ----- Original Message -----
> From: "Christian Barth" <barth at cck.uni-kl.de>
> To: <samba at lists.samba.org>; "Jerome Baumgarten"
> <jerome_baumgarten at yahoo.fr>
> Sent: Tuesday, July 31, 2001 10:52 PM
> Subject: Re: Samba PDC and DLL files error (please help)
> 
> 
> > > Hi,
> > >
> > > I am testing Samba as a PDC and I get errors in the log file regarding
> > > unexisting DLL files like MSI.DLL TAPI32.DLL RASMAN.DLL USERENV.DLL ...
> > >
> > > Do you have any idea what's causing these errors and how I can fix that
> ?
> > >
> > > Another little thing: a few days ago I asked for some help about a
> WINDOWS
> > > directory that is created in the home directory of the user. Does anyone
> > > know why ? For those who use Samba as a PDC. do you also have this
> directory
> > > ?
> >
> > We have this directory since we use NT-Terminal-Servers. The windows
> > directory is used by the terminal servers to handel old 16-Bit-
> > Application (User-Settings, ....). Mostly it has only a few small
> > files in it. So we don't care.
> >
> > Christian
> >
> >
> > >
> > > 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
> > >
> >
> >
> >                _(_)_                          wWWWw   _
> >    @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
> >   @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
> >    @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
> >     /      Y       \|    \|/    /(_)    \|      |/      |
> >  \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
> > jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|//
> > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> 
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
> 
> 


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

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 2599C446D for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 23:18: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
  f726MtO15198; Thu, 2 Aug 2001 08:22:55 +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 IAA03424; Thu, 2
  Aug 2001 08:22: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 IAA03924; Thu, 2 Aug 2001
  08:22:56 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: samba at lists.samba.org, Fred Jackson <fred at arkansaswebs.com>
Date: Thu, 2 Aug 2001 08:22:54 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Install troubles - Ahhh!
Cc: Ross.Kennedy at sun.com
Message-ID: <3B690DDE.8362.115B25 at localhost>
Priority: normal
References: <200108011914.f71JE9K07333 at rowlf.Central.Sun.COM>
In-reply-to: <0108011615380D.13714 at bits.linuxball>
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/

> either the smb.conf file cannot be found by sbmd or
> contains conflicting directives.
> you have created the smb.conf file? try specifying the config 
> file on the command line?
> to get swat running you need to create the /etc/xinet.d/swat 
> file as well. Mine is attached, you may want to un-comment the 
> line about force localhost.
> 
> 
> hope this helps
> Fred
> 
> 
> 
> On Wednesday 01 August 2001 02:14 pm, Ross Kennedy wrote:
> I'm trying to install SAMBA.  I'm at the run the daemon stage. 
>  When I issue the smbd -D and nmbd -D commands, only the nmbd
>  shows up in my list of processes?  Then I tried to go ahead to
What does the samba-log-file say wy smbd is not started? you may try 
it with out -D and some option to get the debugging output on the 
screen.

Christian


>  the next stage and this is what I got:
> 
> # ./smbclient -L spineshank
> added interface ip=129.153.130.138 bcast=129.153.130.255
>  nmask=255.255.255.0 session request to SPINESHANK failed (code
>  0)
> session request to *SMBSERVER failed (code 0)
> 
> Ahhhhhh!  Any thoughts anyone?
> 
> Desperately need to get this set up,
> Ross Kennedy
> # default: off
> # description: SWAT is the Samba Web Admin Tool. Use swat \
> #	       to configure your Samba server. To use SWAT, \
> #	       connect to port 901 with your favorite web browser.
> service swat
> {
> 	port	= 901
> 	socket_type	= stream
> 	wait 	= no
> #	only_from = localhost
> 	user	= root
> 	server	= /usr/samba/sbin/swat
> 	log_on_failure	+= USERID
> 	disable = no
> }
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


               _(_)_                          wWWWw   _
   @@@@       (_)@(_)   vVVVv     _     @@@@  (___) _(_)_
  @@()@@ wWWWw  (_)\    (___)   _(_)_  @@()@@   Y  (_)@(_)
   @@@@  (___)     `|/    Y    (_)@(_)  @@@@   \|/   (_)\
    /      Y       \|    \|/    /(_)    \|      |/      |
 \ |     \ |/       | / \ | /  \|/       |/    \|      \|/
jgs|//   \\|///  \\\|//\\\|/// \|///  \\\|//  \\|//  \\\|// 
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Return-Path: <owen at ivt.com.au>
Delivered-To: samba at lists.samba.org
Received: from www.ivt.com.au (mail.ivt.com.au [210.8.148.105]) by
  lists.samba.org (Postfix) with ESMTP id 9B8BF4267 for
  <samba at lists.samba.org>; Wed,  1 Aug 2001 23:28:53 -0700 (PDT)
Received: from [210.8.148.34] ([210.8.148.34]) by www.ivt.com.au
  (8.11.0/8.11.0) with ESMTP id f72HYZH04287 for
  <samba at lists.samba.org>; Fri, 3 Aug 2001 03:34:35 +1000
User-Agent: Microsoft-Entourage/9.0.2509
Date: Thu, 02 Aug 2001 16:37:05 +1000
Subject: Remote login issues
From: Owen Batt <owen at ivt.com.au>
To: <samba at lists.samba.org>
Message-ID: <B78F3230.ABB%owen at ivt.com.au>
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/

Help!

    Running a Debain box a fileserver - has Samba 2.2.1 installed.

    The issues I am having relate to remote connections from Windows 9x & NT
machines. 

    When trying to mount shares across a modem or ISDN connection it seems
to take an age - and it's not just due to the bandwidth (though that may
have something to do with it).

Sometimes the connection will occur in 20 seconds on a 56k, other times it's
like 5 minutes & not all of the shares actually mount. More often than not
it fails and doesn't mount correctly.

    Using a custom VB script to mount the shares that works fine on the
internal network - but seems to have issues accessing the server remotely.
The script is quite basic.

    When running the script a lot of traffic is created - much talking
between the client & the server - but little data is actually transferred.

Perhaps it's the way Windows breaks the packets down to be sent via PPP that
Samba doesn't dig?

    If anyone has any ideas or experience with logging in remotely to a
linux box via Samba please share your experience!

    Cheers,

    Owen Batt


    
    

Return-Path: <Lutz.Jaenicke at iee.TU-Berlin.DE>
Delivered-To: samba at lists.samba.org
Received: from emserv1.ee.tu-berlin.de (emserv1.ee.TU-Berlin.DE
  [130.149.61.10]) by lists.samba.org (Postfix) with ESMTP id 0FECD443F
  for <samba at lists.samba.org>; Wed,  1 Aug 2001 23:54:15 -0700 (PDT)
Received: from emws1.ee.tu-berlin.de (emws1.ee.TU-Berlin.DE
  [130.149.61.11]) by emserv1.ee.tu-berlin.de (Postfix) with ESMTP id
  99978D33 for <samba at lists.samba.org>; Thu,  2 Aug 2001 08:58:52 +0200
  (METDST)
Received: by emws1.ee.tu-berlin.de (Postfix, from userid 106) id
  F0BF9290E; Thu,  2 Aug 2001 08:58:45 +0200 (METDST)
Date: Thu, 2 Aug 2001 08:58:43 +0200
From: Lutz Jaenicke <Lutz.Jaenicke at iee.TU-Berlin.DE>
To: samba at lists.samba.org
Subject: Re: Cannot Build Samba w/SSL (Dhruva Reddy)
Message-ID: <20010802085843.A22338 at emws1.ee.TU-Berlin.DE>
Mail-Followup-To: samba at lists.samba.org
References: <20010801190127.5EFED4C8A at lists.samba.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010801190127.5EFED4C8A at lists.samba.org>; from
  samba-request at lists.samba.org on Wed, Aug 01, 2001 at 12:01:27PM -0700
Organization: TU Berlin, Elektrische Energietechnik
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/

On Wed, Aug 01, 2001 at 12:01:27PM -0700, samba-request at lists.samba.org wrote:
> I am trying to build samba 2.2.1a on Linux (kernel version 2.2.18) with SSL
> support.  I run it with the following arguments:
>  
> ./configure --with-ssl --with-sslinc=/usr/local/ssl/include/openssl
>  
> I get the following error:
>  
> checking configure summary
> configure: error: summary failure. Aborting config
>  
> It seems to build just fine if I do not include any of the SSL arguments.
> Can someone tell me what (if anything) I'm doing wrong?

Samba as shipped only supports pre-historic versions of SSLeay. To work
with recent versions, please apply the appended patch (also submitted
to samba at samba.org two weeks ago).
(Please note that the default search path for the SSL includes has
been changed in this patch, so that you won't have to specify --with-sslinc
anymore, it should find your installation of OpenSSL automatically.)

Best regards,
	Lutz
-- 
Lutz Jaenicke			       Lutz.Jaenicke at iee.TU-Berlin.DE 
TU Berlin	       http://www.iee.TU-Berlin.DE/personen/jaenicke/
Institut fuer Elektrische Energietechnik	Tel. +49 30 314-24552
Einsteinufer 11, D-10587 Berlin			Fax. +49 30 314-21133 
diff -r -u samba-2.2.1a-vanilla/docs/textdocs/SSLeay.txt samba-2.2.1a/docs/textdocs/SSLeay.txt
--- samba-2.2.1a-vanilla/docs/textdocs/SSLeay.txt	Fri Jul  6 04:00:33 2001
+++ samba-2.2.1a/docs/textdocs/SSLeay.txt	Mon Jul 16 15:31:16 2001
@@ -5,40 +5,42 @@
 Date:        May 29, 1998
 Status:      
 
+Comment: Updated by Lutz Jaenicke <Lutz.Jaenicke at aet.TU-Cottbus.DE>
+Date:	 July 16, 2001
+
 Subject:     Compiling and using samba with SSL support
 ============================================================================
 
-What is SSL and SSLeay?
-=======================
+What is SSL and SSLeay/OpenSSL?
+===============================
 SSL (Secure Socket Layer) is a protocol for encrypted and authenticated data
 transport. It is used by secure web servers for shopping malls, telebanking
 and things like that.
 
-SSLeay is a free implementation of the SSL protocol. It is available from
-
-    ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/
+SSLeay is a free implementation of the SSL protocol. The successor of it is
+OpenSSL, available from
 
-The current version while these lines are written is 0.9.0. Encryption is
-plagued by legal problems of all kinds. For a discussion of these please
-read the documentation of SSLeay, which is available at
+    http://www.openssl.org/
 
-    http://www.psy.uq.edu.au/~ftp/Crypto/
-
-To compile samba with SSL support, you must first compile and install SSLeay.
-SSLeay consists of a library (which can be linked to other applications like
+The current version while these lines are written is 0.9.6b. In some countries
+encryption is plagued by legal problems, even though things have relaxed a
+lot in the last years.
+
+To compile samba with SSL support, you must first compile and install OpenSSL.
+At least version 0.9.5 of OpenSSL is required. Version 0.9.6b is the latest
+version and is strongly recommended.
+OpenSSL consists of a library (which can be linked to other applications like
 samba) and several utility programs needed for key generation, certification
-etc. SSLeay installs to /usr/local/ssl/ by default.
+etc. OpenSSL installs to /usr/local/ssl/ by default.
 
 
-Compiling samba with SSLeay
-===========================
-1. Get and install SSLeay. The rest of this documentation assumes that you
+Compiling samba with OpenSSL
+============================
+1. Get and install OpenSSL. The rest of this documentation assumes that you
    have installed it at the default location, which is /usr/local/ssl/.
-   I have used SSLeay 0.9.0, but samba will probably also work with other
-   versions (but not with versions older than 0.6).
-2. Modify the Makefile. At the end of the configurable section you can find
-   the SSL definitions. You can find them quickly by searching for SSL_ROOT.
-   Unremark the definitions and modify SSL_ROOT if necessary.
+2. Call "configure" with the "--with-ssl" flag. If OpenSSL is not installed in
+   the default directory, you can use the "--with-sslinc" and "--with-ssllib"
+   flags to specify the location.
 3. Compile and install as usual.
 
 
@@ -127,10 +129,25 @@
    compatibility with other SSL implementations. This is probably not
    desirable because currently no clients with SSL implementations other than
    SSLeay exist.
+ssl entropy file        =
+   Specifies a file from which processes will read "random bytes" on startup.
+   In order to seed the internal pseudo random number generator, entropy
+   must be provided. On system with a /dev/urandom device file, the processes
+   will retrieve its entropy from the kernel. On systems without kernel
+   entropy support, a file can be supplied that will be read on startup
+   and that will be used to seed the PRNG.
+ssl entropy bytes	= 256
+   Number of bytes that will be read from entropy file. If -1 is given, the
+   complete file will be read.
+ssl egd socket		=
+   Location of the communiation socket of an EGD or PRNGD daemon, from which
+   entropy can be retrieved. This option can be used instead of or together
+   with the "ssl entropy file" directive. 255bytes of entropy will be
+   retrieved from the daemon.
 
 
-Running samba with SSLeay
-=========================
+Running samba with OpenSSL
+==========================
 Samba is started as usual. The daemon will ask for the private key's pass
 phrase before it goes to background if the private key has been encrypted.
 If you start smbd from inetd, this won't work. Therefore you must not encrypt
@@ -227,58 +244,57 @@
 
 
 ###########################################################################
-Setting up files and directories for SSLeay
+Setting up files and directories for OpenSSL
 ###########################################################################
 
 The first thing you should do is to change your PATH environment variable to
-include the bin directory of SSLeay. E.g.:
+include the bin directory of OpenSSL. E.g.:
 
     PATH=$PATH:/usr/local/ssl/bin   
 
-Then you should set up SSLeay's random number generator. The state of this
-random number generator is held in the file ".rnd" in your home directory. To
-set a reasonable random seed, you need random data. Create a random file with
-    
-    cat >/tmp/rfile.txt
+If your system's kernel supports a /dev/urandom device, all OpenSSL operations
+will automatically retrieve its entropy from it. If your system does not
+support /dev/urandom, you may install an EGD/PRNGD daemon for entropy
+supply or can generate seed from reading files (that should contain information
+unpredictable/unknown to attackers). Use the "-rand" option to the openssl
+commands to specify the entropy source (if /dev/urandom is not available).
 
-Then type random keys on your keyboard for about one minute. Then type the
-EOF character (^D) to terminate input. You may also use your favorite editor
-to create the random file, of course. Now you can create a dummy key to
-initialize the random number generator:
+OpenSSL additionally keeps random seed in the $HOME/.rnd file. You can
+initialize this file using:
     
-    ssleay genrsa -rand /tmp/rfile.txt > /dev/null
-    rm -f /tmp/rfile.txt
+    openssl rand -rand /tmp/rfile.txt > $HOME/.rnd
+    rm -f /tmp/rfile.txt	# nobody must know!!
 
-Don't forget to delete the file /tmp/rfile.txt. It's more or less equivalent
-to your private key!
+or
 
+    openssl rand -rand /path/to/egd-socket > $HOME/.rnd
 
 How to create a keypair
 =======================
 This is done with 'genrsa' for RSA keys and 'gendsa' for DSA keys. For an RSA
-key with 512 bits which is written to the file "key.pem" type:
+key with 1024 bits which is written to the file "key.pem" type:
 
-    ssleay genrsa -des3 512 > key.pem
+    openssl genrsa -des3 -rand /path/to/source 1024 > key.pem
 
 You will be asked for a pass phrase to protect this key. If you don't want to
 protect your private key with a pass phrase, just omit the parameter "-des3".
-If you want a different key size, replace the parameter "512". You really
+If you want a different key size, replace the parameter "1024". You really
 should use a pass phrase.
 
 If you want to remove the pass phrase from a key use:
 
-    ssleay rsa -in key.pem -out newkey.pem
+    openssl rsa -in key.pem -out newkey.pem
 
 And to add or change a pass phrase:
 
-    ssleay rsa -des3 -in key.pem -out newkey.pem
+    openssl rsa -des3 -in key.pem -out newkey.pem
 
 
 How to create a dummy certificate
 =================================
 If you still have your keypair in the file "key.pem", the command
 
-    ssleay req -new -x509 -key key.pem -out cert.pem
+    openssl req -new -x509 -key key.pem -out cert.pem
 
 will write a self-signed dummy certificate to the file "cert.pem". This can
 be used for testing or if only encryption and no certification is needed.
@@ -297,7 +313,7 @@
 created from the keypair with the following command (assuming that the key
 pair is still in "key.pem"):
 
-    ssleay req -new -key key.pem -out csr.pem
+    openssl req -new -key key.pem -out csr.pem
 
 This command will ask you for the information which must be included in the
 certificate and will write the signing request to the file "csr.pem". This
@@ -350,7 +366,7 @@
 contains the correct path to the CA database. If all this is set up properly,
 you can sign the request in the file "csr.pem" with the command:
 
-    ssleay ca -policy policy_anything -days 365 -infiles csr.pem >cert.pem
+    openssl ca -policy policy_anything -days 365 -infiles csr.pem >cert.pem
 
 The resulting certificate (and additional information) will be in "cert.pem".
 If you want the certificate to be valid for a period different from 365 days,
@@ -380,7 +396,7 @@
 
     cp cacert.pem /usr/local/ssl/cers/myCA.pem
     cd /usr/local/ssl/certs
-    ln -s myCA.pem `ssleay x509 -noout -hash < myCA.pem`.0
+    ln -s myCA.pem `openssl x509 -noout -hash < myCA.pem`.0
 
 The last command creates a link from the hashed name to the real file.
 
diff -r -u samba-2.2.1a-vanilla/source/configure.in samba-2.2.1a/source/configure.in
--- samba-2.2.1a-vanilla/source/configure.in	Tue Jul 10 02:12:50 2001
+++ samba-2.2.1a/source/configure.in	Mon Jul 16 15:15:18 2001
@@ -1771,7 +1771,8 @@
 AC_ARG_WITH(ssl,
 [  --with-ssl     Include SSL support
   --without-ssl  Don't include SSL support (default)
-  --with-sslinc=DIR Where the SSL includes are (defaults to /usr/local/ssl)],
+  --with-sslinc=DIR Where the SSL includes are (defaults to /usr/local/ssl/include)
+  --with-ssllib=DIR Where the SSL libraries are (defaults to /usr/local/ssl/lib)],
 [ case "$withval" in
   yes)
     AC_MSG_RESULT(yes)
@@ -1785,23 +1786,38 @@
 	yes|no)
 	  echo "configure: warning: --with-sslinc called without argument - will use default" 1>&w
 	  CFLAGS="-I/usr/local/ssl/include $CFLAGS"
-	  LIBS="-lssl -lcrypto $LIBS"
-	  LDFLAGS="=L/usr/local/ssl/lib $LDFLAGS"
 	;;
         * )
           CFLAGS="-I${withval} $CFLAGS"
-	  LIBS="-lssl -lcrypto $LIBS"
-  	  LDFLAGS="-L${withval}/lib $LDFLAGS"
 	;;
 	esac
 
     else
 
 	CFLAGS="-I/usr/local/ssl/include $CFLAGS"   
-	LIBS="-lssl -lcrypto $LIBS"
+
+    fi
+
+    if test "${with_ssllib+set}" = set; then
+
+	withval="$with_ssllib"
+	case "$withval" in
+	yes|no)
+	  echo "configure: warning: --with-ssllib called without argument - will use default" 1>&w
+	  LDFLAGS="=L/usr/local/ssl/lib $LDFLAGS"
+	;;
+        * )
+  	  LDFLAGS="-L${withval}/lib $LDFLAGS"
+	;;
+	esac
+
+    else
+
 	LDFLAGS="-L/usr/local/ssl/lib $LDFLAGS"
 
     fi
+
+    LIBS="-lssl -lcrypto $LIBS"
 
     if test ! -d ${withval}; then
       echo "configure: error: called with --with-ssl, but ssl base directory ${withval} does not exist or is not a directory. Aborting config" 1>&2
diff -r -u samba-2.2.1a-vanilla/source/include/proto.h samba-2.2.1a/source/include/proto.h
--- samba-2.2.1a-vanilla/source/include/proto.h	Sun Jul  8 22:29:43 2001
+++ samba-2.2.1a/source/include/proto.h	Mon Jul 16 14:53:36 2001
@@ -1720,6 +1720,9 @@
 char *lp_ssl_client_cert(void);
 char *lp_ssl_client_privkey(void);
 char *lp_ssl_ciphers(void);
+char *lp_ssl_egdsocket(void);
+char *lp_ssl_entropyfile(void);
+int lp_ssl_entropybytes(void);
 BOOL lp_ssl_enabled(void);
 BOOL lp_ssl_reqClientCert(void);
 BOOL lp_ssl_reqServerCert(void);
diff -r -u samba-2.2.1a-vanilla/source/lib/util.c samba-2.2.1a/source/lib/util.c
--- samba-2.2.1a-vanilla/source/lib/util.c	Fri Jul  6 04:01:35 2001
+++ samba-2.2.1a/source/lib/util.c	Mon Jul 16 11:41:06 2001
@@ -52,7 +52,7 @@
 #endif /* HAVE_NETGROUP && WITH_AUTOMOUNT */
 
 #ifdef WITH_SSL
-#include <ssl.h>
+#include <openssl/ssl.h>
 #undef Realloc  /* SSLeay defines this and samba has a function of this name */
 extern SSL  *ssl;
 extern int  sslFd;
diff -r -u samba-2.2.1a-vanilla/source/lib/util_sock.c samba-2.2.1a/source/lib/util_sock.c
--- samba-2.2.1a-vanilla/source/lib/util_sock.c	Tue Jul 10 10:04:27 2001
+++ samba-2.2.1a/source/lib/util_sock.c	Mon Jul 16 11:41:30 2001
@@ -22,7 +22,7 @@
 #include "includes.h"
 
 #ifdef WITH_SSL
-#include <ssl.h>
+#include <openssl/ssl.h>
 #undef Realloc  /* SSLeay defines this and samba has a function of this name */
 extern SSL  *ssl;
 extern int  sslFd;
diff -r -u samba-2.2.1a-vanilla/source/param/loadparm.c samba-2.2.1a/source/param/loadparm.c
--- samba-2.2.1a-vanilla/source/param/loadparm.c	Fri Jul  6 04:01:44 2001
+++ samba-2.2.1a/source/param/loadparm.c	Mon Jul 16 14:49:19 2001
@@ -223,6 +223,9 @@
 	char *sslClientCert;
 	char *sslClientPrivKey;
 	char *sslCiphers;
+	char *sslEgdSocket;
+	char *sslEntropyFile;
+	int  sslEntropyBytes;
 	BOOL sslEnabled;
 	BOOL sslReqClientCert;
 	BOOL sslReqServerCert;
@@ -749,6 +752,9 @@
 	{"ssl server key", P_STRING, P_GLOBAL, &Globals.sslPrivKey, NULL, NULL, 0},
 	{"ssl client cert", P_STRING, P_GLOBAL, &Globals.sslClientCert, NULL, NULL, 0},
 	{"ssl client key", P_STRING, P_GLOBAL, &Globals.sslClientPrivKey, NULL, NULL, 0},
+	{"ssl egd socket", P_STRING, P_GLOBAL, &Globals.sslEgdSocket, NULL, NULL, 0},
+	{"ssl entropy file", P_STRING, P_GLOBAL, &Globals.sslEntropyFile, NULL, NULL, 0},
+	{"ssl entropy bytes", P_INTEGER, P_GLOBAL, &Globals.sslEntropyBytes, NULL, NULL, 0},
 	{"ssl require clientcert", P_BOOL, P_GLOBAL, &Globals.sslReqClientCert, NULL, NULL, 0},
 	{"ssl require servercert", P_BOOL, P_GLOBAL, &Globals.sslReqServerCert, NULL, NULL, 0},
 	{"ssl ciphers", P_STRING, P_GLOBAL, &Globals.sslCiphers, NULL, NULL, 0},
@@ -1297,6 +1303,9 @@
 	string_set(&Globals.sslClientCert, "");
 	string_set(&Globals.sslClientPrivKey, "");
 	string_set(&Globals.sslCiphers, "");
+	string_set(&Globals.sslEgdSocket, "");
+	string_set(&Globals.sslEntropyFile, "");
+	Globals.sslEntropyBytes = 256;
 	Globals.sslEnabled = False;
 	Globals.sslReqClientCert = False;
 	Globals.sslReqServerCert = False;
@@ -1492,6 +1501,9 @@
 FN_GLOBAL_STRING(lp_ssl_client_cert, &Globals.sslClientCert)
 FN_GLOBAL_STRING(lp_ssl_client_privkey, &Globals.sslClientPrivKey)
 FN_GLOBAL_STRING(lp_ssl_ciphers, &Globals.sslCiphers)
+FN_GLOBAL_STRING(lp_ssl_egdsocket, &Globals.sslEgdSocket)
+FN_GLOBAL_STRING(lp_ssl_entropyfile, &Globals.sslEntropyFile)
+FN_GLOBAL_INTEGER(lp_ssl_entropybytes, &Globals.sslEntropyBytes)
 FN_GLOBAL_BOOL(lp_ssl_enabled, &Globals.sslEnabled)
 FN_GLOBAL_BOOL(lp_ssl_reqClientCert, &Globals.sslReqClientCert)
 FN_GLOBAL_BOOL(lp_ssl_reqServerCert, &Globals.sslReqServerCert)
diff -r -u samba-2.2.1a-vanilla/source/smbd/ssl.c samba-2.2.1a/source/smbd/ssl.c
--- samba-2.2.1a-vanilla/source/smbd/ssl.c	Fri Jul  6 04:02:03 2001
+++ samba-2.2.1a/source/smbd/ssl.c	Mon Jul 16 15:45:45 2001
@@ -29,8 +29,8 @@
 
 #ifdef WITH_SSL  /* should always be defined if this module is compiled */
 
-#include <ssl.h>
-#include <err.h>
+#include <openssl/ssl.h>
+#include <openssl/err.h>
 
 BOOL            sslEnabled;
 SSL             *ssl = NULL;
@@ -74,12 +74,12 @@
     return ok;
 }
 
-static RSA  *ssl_temp_rsa_cb(SSL *ssl, int export)
+static RSA  *ssl_temp_rsa_cb(SSL *ssl, int is_export, int keylength)
 {
 static RSA  *rsa = NULL;
     
     if(rsa == NULL)
-        rsa = RSA_generate_key(512, RSA_F4, NULL, NULL);
+        rsa = RSA_generate_key(keylength, RSA_F4, NULL, NULL);
     return rsa;
 }
 
@@ -89,11 +89,19 @@
  */
 int sslutil_init(int isServer)
 {
-int     err;
+int     err, entropybytes;
 char    *certfile, *keyfile, *ciphers, *cacertDir, *cacertFile;
+char	*egdsocket, *entropyfile;
 
     SSL_load_error_strings();
     SSLeay_add_ssl_algorithms();
+    egdsocket = lp_ssl_egdsocket();
+    if (egdsocket != NULL && *egdsocket != 0)
+	RAND_egd(egdsocket);
+    entropyfile = lp_ssl_entropyfile();
+    entropybytes = lp_ssl_entropybytes();
+    if (entropyfile != NULL && *entropyfile != 0)
+	RAND_load_file(entropyfile, entropybytes);
     switch(lp_ssl_version()){
         case SMB_SSL_V2:    sslContext = SSL_CTX_new(SSLv2_method());   break;
         case SMB_SSL_V3:    sslContext = SSL_CTX_new(SSLv3_method());   break;
@@ -120,7 +128,7 @@
     if(keyfile == NULL || *keyfile == 0)
         keyfile = certfile;
     if(certfile != NULL && *certfile != 0){
-        if(!SSL_CTX_use_certificate_file(sslContext, certfile, SSL_FILETYPE_PEM)){
+        if(!SSL_CTX_use_certificate_chain_file(sslContext, certfile)){
             err = ERR_get_error();
             fprintf(stderr, "SSL: error reading certificate from file %s: %s\n",
                     certfile, ERR_error_string(err, NULL));
@@ -146,9 +154,11 @@
         cacertFile = NULL;
     if(!SSL_CTX_load_verify_locations(sslContext, cacertFile, cacertDir)){
         err = ERR_get_error();
-        fprintf(stderr, "SSL: Error error setting CA cert locations: %s\n",
-                ERR_error_string(err, NULL));
-        fprintf(stderr, "trying default locations.\n");
+	if (cacertFile || cacertDir) {
+       	    fprintf(stderr, "SSL: Error error setting CA cert locations: %s\n",
+		ERR_error_string(err, NULL));
+            fprintf(stderr, "trying default locations.\n");
+	}
         cacertFile = cacertDir = NULL;
         if(!SSL_CTX_set_default_verify_paths(sslContext)){
             err = ERR_get_error();

Return-Path: <samba at pansar.com.my>
Delivered-To: samba at lists.samba.org
Received: from mail.pansar.com.my (unknown [202.186.172.132]) by
  lists.samba.org (Postfix) with SMTP id 04EB945D2 for
  <samba at lists.samba.org>; Thu,  2 Aug 2001 00:27:59 -0700 (PDT)
Received: (qmail 20080 invoked by uid 508); 2 Aug 2001 07:40:29 -0000
Message-ID: <20010802074029.20079.qmail at phantom>
From: "Samba List User" <samba at pansar.com.my>
To: "Samba List" <samba at lists.samba.org>
Subject: Hardware Requirement
Date: Thu, 02 Aug 2001 07:40:29 GMT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Sender: samba at pansar.com.my
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 all,
 

Does anyone know where on the Net can I find *documented* info on the Samba 
hardware requirement? 


I'm running Samba2.2.1a binary installation on a Compaq Deskpro 2000 Pentium 
133 with 64MB RAM at the moment. My NIC is 10/100Mbps, and expecting to port 
to a new hardware soon. 


I'm expecting about 20-50 concurrent users. 


Services running on the Samba server: 

 - File sharing [YES]
 - Print sharing [NO]
 - PDC [YES]
 - WINS [YES/NO]
 - User Shell Logins [NO]
 - DNS/DHCP [NO] 


I am in the process of negotiating for a new hardware and not sure what's 
the best to support that userbase. I wish to know as well the cost/overhead 
for each user connection. 


Thanks in advance. 


BTW, forget about what the disclaimer/warning says below. Those are the 
*dumb* stupid legal requirements from the Co. 

									
									
									
****************************************************************************
CAUTION: This e-mail is confidential and may contain privileged information.
If you are not the intended recipient,  you must not  disclose  or  use  the
information.  If you have received this e-mail in error,  please  notify  by
returning the e-mail and delete the document.  Any views expressed  in  this
message are those of the individual sender,  and may not necessarily reflect
the views of the Company.
****************************************************************************
									

Return-Path: <chaskins at lucent.com>
Delivered-To: samba at lists.samba.org
Received: from auemail2.firewall.lucent.com (auemail2.lucent.com
  [192.11.223.163]) by lists.samba.org (Postfix) with ESMTP id 8E22847B6
  for <samba at lists.samba.org>; Thu,  2 Aug 2001 01:10:38 -0700 (PDT)
Received: from ukmail.uk.lucent.com (h135-86-160-50.lucent.com
  [135.86.160.50]) by auemail2.firewall.lucent.com
  (Switch-2.1.3/Switch-2.1.0) with ESMTP id f728FFb13613 for
  <samba at lists.samba.org>; Thu, 2 Aug 2001 04:15:15 -0400 (EDT)
Received: from en00033000961 ([135.86.197.93]) by ukmail.uk.lucent.com
  (8.8.8+Sun/EMS-1.5 sol2) id JAA25331; Thu, 2 Aug 2001 09:15:13 +0100
  (BST)
From: "Chris Haskins" <chaskins at lucent.com>
To: <samba at lists.samba.org>
Subject: smbstatus
Date: Thu, 2 Aug 2001 09:15:06 +0100
Message-ID: <000901c11b2b$3d9da5d0$5dc55687 at uk.lucent.com>
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.2377.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,

Does anyone know how smbstatus gathers information about what files are
currently locked and who is currently connected?

Thanks

Chris

Return-Path: <bigboss at kerametal.sk>
Delivered-To: samba at lists.samba.org
Received: from mail-relay2.nextra.sk (ns1.nextra.sk [195.168.1.6]) by
  lists.samba.org (Postfix) with SMTP id B490046D9 for
  <samba at lists.samba.org>; Thu,  2 Aug 2001 01:24:32 -0700 (PDT)
Received: (qmail 18494 invoked from network); 2 Aug 2001 08:29:08 -0000
Received: from unknown (HELO WinProxy.anywhere) (195.168.60.197) by
  smtp1.nx.nextra.sk with SMTP; 2 Aug 2001 08:29:08 -0000
Received: from 192.168.1.13 by 192.168.1.1 (WinProxy); Thu, 2 Aug 2001
  10:28:25 +0100
Message-ID: <000a01c11b2c$b7db7b50$0d01a8c0 at kerametal.sk>
From: "Bigboss" <bigboss at kerametal.sk>
To: <samba at lists.samba.org>
Date: Thu, 2 Aug 2001 10:25:41 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
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/

how to unsubscribe?

Return-Path: <Anna.Langley at ssmb.com>
Delivered-To: samba at lists.samba.org
Received: from imbaspam-nj02.iplex.ssmb.com (mail3.ssmb.com
  [199.67.141.129]) by lists.samba.org (Postfix) with ESMTP id 51F4C45F3
  for <samba at lists.samba.org>; Thu,  2 Aug 2001 02:34:32 -0700 (PDT)
Received: from imbcorp-nj03-1.nj.ssmb.com (imbcorp-nj03-1
  [150.110.235.236]) by imbaspam-nj02.iplex.ssmb.com
  (8.11.0/8.11.0/SSMB_EXT/1.2) with ESMTP id f729crG18231 for
  <samba at lists.samba.org>; Thu, 2 Aug 2001 05:38:53 -0400 (EDT)
Received: from mailhub-dc1.eu.ssmb.com (mailhub-dc1.eu.ssmb.com
  [169.182.172.199]) by imbcorp-nj03-1.nj.ssmb.com
  (8.11.0/8.11.0/SSMB_QQQ_IN/1.1) with ESMTP id f729ca028538 for
  <samba at lists.samba.org>; Thu, 2 Aug 2001 05:38:36 -0400 (EDT)
Received: from lebpa.eu.ssmb.com (lebpans1.eu.ssmb.com
  [169.182.196.201]) by mailhub-dc1.eu.ssmb.com (8.9.3/8.9.3/SSMB-HUB)
  with ESMTP id KAA16339 for <samba at lists.samba.org>; Thu, 2 Aug 2001
  10:38:35 +0100 (BST)
Received: from ssmb.com (bpaws003.eu.ssmb.com [169.186.37.93]) by
  lebpa.eu.ssmb.com (8.8.8+Sun/8.8.8/LEBPA-SSMB-SERVER) with ESMTP id
  KAA28343 for <samba at lists.samba.org>; Thu, 2 Aug 2001 10:38:34 +0100
  (BST)
Message-ID: <3B691F97.34926490 at ssmb.com>
Date: Thu, 02 Aug 2001 10:38:31 +0100
From: Anna Langley <Anna.Langley at ssmb.com>
Organization: Salomon Smith Barney
X-Mailer: Mozilla 4.77 [en] (X11; U; SunOS 5.8 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Re: backing up system state to a samba share (win2k)
References: <F954B4B85128D4119FC000104BB868D50157305D at wawzz11e.siemens.p
  l>
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/

Thanks Marek,

I seem to have it working now.  I have tended to stay logged on as
Administrator, but have noticed that if I log out, the backups do
happen.

Yet another piece of quirky windows behaviour ;-)

Cheers,

Anna


Marek.Feszczuk at WAW1.siemens.pl wrote:
>
> -----Oryginalna wiadomo6f-----
> Od: Anna Langley [mailto:Anna.Langley at ssmb.com]
> Wys3ano: 1 sierpnia 2001 12:03
> Do: samba at lists.samba.org
> Temat: backing up system state to a samba share (win2k)
>
> Hi,
>
> I'd like to be able to back up the system state (only) of a win2k server
> to a samba share.  This works when I back up manually, but won't do it
> if I schedule it.
>
> Any ideas?
>
> Anna
> ------------------------
>
> Meybe problem in rights. When you start manualy you conect to network as
> you. When start automaticaly rights are form system. Samba has not accounts
> such as system.
>
> Marek Feszczuk

--
Anna Langley                   voice  +44 20 7986 3253
Bond Portfolio Analysis        fax    +44 20 7986 3220
Schroder Salomon Smith Barney, Level 3 Citigroup Centre
33 Canada Square, London E14 5LB, UK

Return-Path: <rsmart at netaccess.co.nz>
Delivered-To: samba at lists.samba.org
Received: from cirrostratus.netaccess.co.nz
  (cirrostratus.netaccess.co.nz [202.37.101.18]) by lists.samba.org
  (Postfix) with ESMTP id 36F644509 for <samba at lists.samba.org>; Thu,  2
  Aug 2001 03:14:51 -0700 (PDT)
Received: from study (p87-max1.christchurch.netaccess.net.nz
  [210.55.109.87]) by cirrostratus.netaccess.co.nz (8.9.3/8.9.3) with
  SMTP id WAA17495 for <samba at lists.samba.org>; Thu, 2 Aug 2001 22:19:27
  +1200 (NZST)
Message-Id: <3.0.32.20010802223004.006c1a38 at pop3.netaccess.co.nz>
X-Sender: smart at pop3.netaccess.co.nz
X-Mailer: Windows Eudora Pro Version 3.0 (32)
Date: Thu, 02 Aug 2001 22:30:10 +1200
To: samba at lists.samba.org
From: Richard Smart <rsmart at netaccess.co.nz>
Subject: Re: samba and swat connection
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/

At 21:37 1/08/01 -0400, you wrote:
>here's the deal: i had samba and swat working perfectly under my current
>smb.conf and inted.conf configurations. firs thing that happened was that i
>could no longer get into swat, i was getting a page not found. and then
next i
>lost my samba connection. i have since made absolutely NO changes to the
>configuration files. so everything was the same, but i cannot connect to
>either anymore. and to top it all off, telnet and ftp are extremely slow in
>responding, if at all.
>snip...

Sounds more like faulty NIC than server configs especially seeing that
Telnet and ftp have slowed down as well.

Richard S

Return-Path: <roberto at mha.com.br>
Delivered-To: samba at lists.samba.org
Received: from ftp.mha.com.br (unknown [200.246.138.227]) by
  lists.samba.org (Postfix) with ESMTP id E08D947B9 for
  <samba at lists.samba.org>; Thu,  2 Aug 2001 04:44:53 -0700 (PDT)
Received: from pc116.mha.com.br (mha1.mha.com.br [200.246.138.226]) by
  ftp.mha.com.br (8.9.3/8.8.7) with ESMTP id IAA22520; Thu, 2 Aug 2001
  08:50:05 -0300
Message-Id: <5.0.2.1.0.20010802082308.00aabec0 at ftp.mha.com.br>
X-Sender: roberto at ftp.mha.com.br
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Thu, 02 Aug 2001 08:46:40 -0300
To: "Fernando M. Maresca" <fmaresca at monssa.com.ar>
From: Roberto =?iso-8859-1?Q?Jo=E3o?= Lopes Garcia <roberto at mha.com.br>
Subject: Re: Anti virus 
Cc: samba at lists.samba.org
In-Reply-To: <3B682A1F.13474.5BF6C5 at localhost>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"; 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/

Fernando

I use uvscan to scan my linux and solaris samba box. It is from MacAfee
(NAI) and use the same pc4s DAT files. I think you can download a trial
version from:

http://www.nai.com/naicommon/buy-try/try/products-evals.asp search for
"McAfee VirusScan for Unix"

I use crontab to scan samba servers at a given time every day.

See also http://www.amavis.org/ for scaning e-mail at the mail server

Roberto

At 16:11 01/08/01, you wrote:
>Hello everybody,
>i'm thinking about a centralized antivirus solution over the samba
>servers in enterprise enviroment. There is 3 samba machines over
>debian potato and no other servers and a couple of wx machines
>as clients. The antiviruses now are in the clients, and there is a
>machine with MacAffee VirusScan and an special rw user who can
>scan the samba shares.
>Someone have another solution, something more automatic and no
>security risking?
>Thank you,
>Fer
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <rob at steinmetznet.com>
Delivered-To: samba at lists.samba.org
Received: from lucretia.atl.steinmetznet.com (unknown [63.220.64.66]) by
  lists.samba.org (Postfix) with ESMTP id 694F9443F for
  <samba at lists.samba.org>; Thu,  2 Aug 2001 05:23:30 -0700 (PDT)
Received: from steinmetznet.com (delilah [63.220.64.83]) by
  lucretia.atl.steinmetznet.com (8.8.8+Sun/8.8.8) with ESMTP id
  IAA29988; Thu, 2 Aug 2001 08:28:06 -0400 (EDT)
Message-ID: <3B694753.3DB2D874 at steinmetznet.com>
Date: Thu, 02 Aug 2001 08:28:03 -0400
From: Robert Steinmetz <rob at steinmetznet.com>
Organization: Steinmetz & Associates
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Samba <samba at lists.samba.org>
Subject: Re: Access Denied on Windows 98 shares from NT with Samba
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/

Gerald Carter wrote:

> On Mon, 23 Jul 2001, Robert Steinmetz wrote:
>
> > Gerald Carter wrote:
> >
> > > On Fri, 20 Jul 2001, Robert Steinmetz wrote:
> > >
> > > > I have a problems on a small network I have. 9 NT 4.0 machines,
1
> > > > Solaris x86 2.6 Samba server, 1 Windows 98SE, and one SCO
machine.
> > > >
> > > > I cannot access shares on the one Windows 98 machine on the
network
> > > > from any Windows NT machines, when they are logged into the
Samba
> > > > 2.2.0 domain.  The Windows 98 machine shows up in neighborhood
but any
> > > > attempt to access the shares results in an Access Denied error
> > > > message. I have checked and the Windows 98 machine does not seem
to be
> > > > using plain text passwords.
> > > >
> > > > If I use a local login on Windows NT everything works as
expected and
> > > > I can access the shares on the Windows 98 machine.
> > > >
> > > > I can access the share from the Samba server with smbclient.
> > >
> > > Yes.  It was a PAM issue in 2.2.0 with the session and
> > > account management.
> >
> > I upgraded to 2.2.1a and still see the same behavior.
> >
> > I have confirmed that I can map shares using the net use command.
> > The net view command responds access denied.
> >
> > I also saw the same behavior between a SCO VisionFS  machine and NT.

> > I solved that by installing Samba 2.2.1a from Skunkware.
>
> Need more details.  Are you running Samba as a PDC?

Yes, The Windows 98 machine was set to run with User Level Access
control. Share
Level Access control works as expected.

> Have you looked at a level 10 debug log for the point of the failure?

No. I have run a level 3 and there is nothing indicated. I can try with
level
10, later I need to reconfigure the PC this evening.

>  Are you using encrypted passwords?

Yes, the PDC has encrypted passwords and the Windows 98 Machine has not
been
modified to use plain text passwords. I thought this is a requirement of
User
Level Security.

>
> cheers, jerry

--
Robert Steinmetz, AIA
Principal
Steinmetz & Associates
New Orleans  Atlanta

Return-Path: <Nolte at hhla.de>
Delivered-To: samba at samba.org
Received: from mail.ppp.net (mail.ppp.net [194.64.12.35]) by
  lists.samba.org (Postfix) with ESMTP id 5E2A54589 for
  <Samba at samba.org>; Thu,  2 Aug 2001 05:24:23 -0700 (PDT)
Received: from hhla.de (mail.hhla.de [194.163.196.155]) by mail.ppp.net
  (8.8.8/8.8.8) with SMTP id OAA06966 for <Samba at samba.org>; Thu, 2 Aug
  2001 14:28:52 +0200
Received: from HHLA_WAN-Message_Server by hhla.de with Novell_GroupWise;
  Thu, 02 Aug 2001 14:28:49 +0000
Message-Id: <sb6963a1.071 at hhla.de>
X-Mailer: Novell GroupWise 5.5.2
Date: Thu, 02 Aug 2001 14:27:21 +0000
From: "Siegfried Nolte" <Nolte at hhla.de>
To: <Samba at samba.org>
Subject: smbmount and solaris
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
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/

Dear colleages,

we are trying to mount file resources from a NT-Server to a Solaris computer.
Can you give me some advice whether we can do this with the Samba Service
smbmount?
Is smbmount available for Suns Solaris on a sparc?

Thanks for your help,

Siegfried


_______________________________________________
HHLA Hamburger Hafen- und Lagerhaus-Aktiengesellschaft
Abteilung D3                                Tel.:  ++49+40 3088-3380
Bei St. Annen 1                            Fax.: ++49+40 3088-3366
20457 Hamburg, Germany           email:    nolte at hhla.de
_______________________________________________

Return-Path: <newsletter at teatime.com.tw>
Delivered-To: samba at lists.samba.org
Received: from mail.teatime.com.tw (mail.teatime.com.tw
  [210.241.226.252]) by lists.samba.org (Postfix) with ESMTP id
  512BE4636 for <samba at lists.samba.org>; Thu,  2 Aug 2001 05:31:53 -0700
  (PDT)
Received: from localhost ([127.0.0.1] helo=mail.teatime.com.tw
  ident=root) by mail.teatime.com.tw with smtp (Exim 3.22 #1 (Debian))
  id 15SHiI-0003ZX-00 for <samba at lists.samba.org>; Thu, 02 Aug 2001
  20:36:30 +0800
Received: from p176.inside ([192.168.0.176]) <newsletter at teatime.com.tw>
  by mail.teatime.com.tw (TeaTime Mail Server 0.6.4) with SMTP id
  spool/smakVMoxj for <samba at lists.samba.org>; Thu, 2 Aug 01 20:35:14
  +0800
Date: Thu, 02 Aug 2001 20:34:49 +0800
From: Tommy Wu <newsletter at teatime.com.tw>
To: samba at lists.samba.org
Subject: Can't login to samba server after runnig 2-3 days, out of
  session IDs (max is 3000)
Reply-To: tommy at teatime.com.tw
Organization: TeaTime Development
Message-Id: <20010802202347.DA7C.NEWSLETTER at teatime.com.tw>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.00.07
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 running Samba 2.2.1a on Debian GNU/Linux (woody), with XFS
    filesystem.
    
    I found when I running Samba for 2 or 3 days, I can't login successful.
    In smbd log, I found following message:
    
[2001/08/02 18:22:30, 1] smbd/session.c:session_claim(88)
  session_claim: out of session IDs (max is 3000)
[2001/08/02 18:22:30, 1] smbd/password.c:register_vuid(331)
  Failed to claim session for vuid=9383

     If I stop the smbd daemon and re-start it... It will allow login again..
     This samba server don't have heavy loading... just 2 or 3 client connect
     to this server.
     
     And... I've running Samba 2.0.7 for a long time.... never got this problem.
     It is happened only after I upgrade to 2.2.x.
    
    Is this a bug or just some error configure ?  Any suggestion ?
    or downgrade back to 2.0.7 ?
    
    here is my global configure: (there is some configure I commet out for
    testing... but it don't work)
    
[global]
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   invalid users = root
   security = user
   netbios name = HYDRA
   workgroup = WORKGROUP
   server string = TeaTime's Samba Server %v on %L (%h)
   hosts allow = 192.168.0.0/255.255.255.0 127.
   interfaces = 192.168.0.1/255.255.255.0
   syslog only = no
   syslog = 0
   log level = 1
   socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=4096 SO_RCVBUF=4096
   encrypt passwords = yes
   wins support = yes
;   wins server = 172.16.0.10
   os level = 33
   domain master = no
   local master = yes
   preferred master = yes
   name resolve order = lmhosts host wins bcast
   dns proxy = no
   preserve case = yes
   short preserve case = yes
   unix password sync = false
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
   max log size = 10000
;   obey pam restrictions = yes
;   pam password change = yes
   hide dot files = no
   share modes = yes
   strict locking = yes
   locking = yes
;   fake oplocks = no
;   kernel oplocks = yes
;   level2 oplocks = yes
;   oplock break wait time = 0
;   oplock contentions limit = 2
;   oplocks = yes
;   dos filetime resolution = yes
   dead time = 48
   keep alive = 14400
   client code page = 950
   announce as = NT
;   large readwrite = yes
;   hide unreadable = yes
;   enhanced browsing = yes

-- 

    Tommy Wu
    mailto:tommy at teatime.com.tw
    http://www.teatime.com.tw/~tommy
    ICQ: 22766091
    Mobile Phone: +886 936 909490
    TeaTime BBS +886 2 31515964 24Hrs V.Everything

Return-Path: <newsletter at teatime.com.tw>
Delivered-To: samba at lists.samba.org
Received: from mail.teatime.com.tw (mail.teatime.com.tw
  [210.241.226.252]) by lists.samba.org (Postfix) with ESMTP id
  98FB34BB3 for <samba at lists.samba.org>; Thu,  2 Aug 2001 05:44:29 -0700
  (PDT)
Received: from localhost ([127.0.0.1] helo=mail.teatime.com.tw
  ident=root) by mail.teatime.com.tw with smtp (Exim 3.22 #1 (Debian))
  id 15SHuR-0003gU-00 for <samba at lists.samba.org>; Thu, 02 Aug 2001
  20:49:03 +0800
Received: from p176.inside ([192.168.0.176]) <newsletter at teatime.com.tw>
  by mail.teatime.com.tw (TeaTime Mail Server 0.6.4) with SMTP id
  spool/smajSIJgh for <samba at lists.samba.org>; Thu, 2 Aug 01 20:47:17
  +0800
Date: Thu, 02 Aug 2001 20:46:52 +0800
From: Tommy Wu <newsletter at teatime.com.tw>
To: samba at lists.samba.org
Subject: rename problem in 2.2.x
Reply-To: tommy at teatime.com.tw
Organization: TeaTime Development
Message-Id: <20010802203954.DA7E.NEWSLETTER at teatime.com.tw>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.00.07
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 found I can't use rename command from a DOS client to a Samba server.
    If the file is renamed to a new directory that is different filesystem in linux.
    
    For examples:
    
    In linux, I've two disk, mount as /vol1 and /vol2, and I create a soft link
    like
    ln -s /vol1 /vol2/vol1
    and I make a share directory in sambe for /vol2,
    
    /vol1
    /vol2
    /vol2/vol1 -> /vol1
    
    If there is a file named a.dat in /vol2, I can't do command like
    
    ren a.dat vol1/a.dat
    
    in a DOS client.
    
    This work in sambe 2.0.x, but don't work in 2.2.1a now.

-- 

    Tommy Wu
    mailto:tommy at teatime.com.tw
    http://www.teatime.com.tw/~tommy
    ICQ: 22766091
    Mobile Phone: +886 936 909490
    TeaTime BBS +886 2 31515964 24Hrs V.Everything

Return-Path: <jpbarda at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (f207.pav1.hotmail.com [64.4.31.207]) by
  lists.samba.org (Postfix) with ESMTP id 8AF4B45EE for
  <samba at lists.samba.org>; Thu,  2 Aug 2001 06:01:57 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Thu, 2 Aug 2001 06:06:30 -0700
Received: from 212.247.172.205 by pv1fd.pav1.hotmail.msn.com with HTTP;
  Thu, 02 Aug 2001 13:06:30 GMT
X-Originating-IP: [212.247.172.205]
From: "Bäng-ha  " <jpbarda at hotmail.com>
To: samba at lists.samba.org
Subject: smbmount incompatibilities?
Date: Thu, 02 Aug 2001 13:06:30 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F207SS9iuG7Z2JQHeFX0000beaa at hotmail.com>
X-OriginalArrivalTime: 02 Aug 2001 13:06:30.0831 (UTC)
  FILETIME=[F287DBF0:01C11B53]
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
Last night, I tried mounting a Win98 resource with smbmount on my Linux 
machine using smbmount, and noticed that only root had write privileges to 
the mount point. Now, I only tried mounting it as root, and I guess the 
owner of the mount point is set to the user mounting it, right?
Anyway, I read the man page for smbmount and found that there should be a 
command line option '-c' to modify the mount command issued, and '-u' and 
'-g' options for the smbmnt command.
However, it quickly turned out that they weren't supported by neither 
smbmount nor smbmnt, which I think is strange, as the versions of the 
documented smbm(ou)nt did conform to the versions of the actual commands 
(2.0.5a, I think).
Anyway, is there another way, apart from writing a shell script, 'chown'ing 
it to the desired user and group and set the setuid for the script? It seems 
like such a clumsy solution.

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp

Return-Path: <zdanie at dr.com>
Delivered-To: samba at samba.org
Received: from Kasan (unknown [192.84.171.175]) by lists.samba.org
  (Postfix) with SMTP id 24C674C53 for <samba at samba.org>; Thu,  2 Aug
  2001 06:28:23 -0700 (PDT)
Message-ID: <38312001831161113229 at Athlon>
X-EM-Version: 5, 0, 0, 18
X-EM-Registration: #01B0530810E603002D00
Reply-To: zdanie at europe.com
From: "=?windows-1251?Q?=CF=EE=F0=F2=EE=E2=E0=FF,_19?=" <zdanie at dr.com>
To: samba at samba.org
Subject: =?windows-1251?Q?=CF=F0=EE=E4=E0=E5=F2=F1=FF_=E0=E4=EC=E8=ED=E8
  =F1=F2=F0=E0=F2=E8=E2=ED=EE=E5_=E7=E4=E0=ED=E8=E5_=E2_=CA=E0=E7=E0=ED=
  E8?=
Date: Wed, 1 Aug 2001 20:11:13 +0400
MIME-Version: 1.0
Content-type: text/plain; charset="windows-1251"
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/

Gdp`bqrbsire! M`xe onwremhe.

Opedk`c`el ophnapeqrh b qnaqrbemmnqr| `dlhmhqrp`rhbmne gd`mhe b J`g`mh
(R`r`pqr`m, Pnqqh): 
- Nay` okny`d| 910 jb. l; 
- 2 }r`f`; 
- Ank|xne jnkhweqrbn onleyemhi nr 7 dn 200 jb.l; 
- Qnaqrbemm` repphrnph - gelek|m{i sw`qrnj 0,101 C`. 

Gd`mhe - a{bx` qrnknb` pewmncn onpr`. Hleer b{cndmne p`qonknfemhe:
- m`opnrhb gd`mh - brnpni on bekhwhme nornb{i opndsjrnb{i cnpndqjni p{mnj;
- sdnam{e ondzegdm{e osrh; 
- akhgjn j vemrps cnpnd` - 5 lhm. egd{; 
- akhgjn j f/d bnjg`ks  - 5 lhm. egd{;
- pdnl pewmni onpr; 
- pdnl f/d osrh.

Gd`mhe hde`k|mn ondundhr dk p`gleyemh nthq` opedqr`bhrek|qrb` B`xei
jnlo`mhh b R`r`pqr`me hkh Onbnkf|e. Bnglnfm` jnlonmnbj` "nthq/qjk`d". Bqe
jnllsmhj`vhh ondbedem{. Gd`mhe rpeaser pelnmr` (onkm` bmsrpemm nrdekj`,
bjk~w` mnb{e njnmm{e h dbepm{e aknjh). Gd`mhe m`undhrq b w`qrmni
qnaqrbemmnqrh. Gelk - b aeqqpnwmnl onk|gnb`mhh.

Vem` gd`mh - ANKEE WEL DNQRSOM at .

Eqkh b{ g`hmrepeqnb`m{ b onkswemhh nr m`q ankee ondpnamni hmtnpl`vhh n
d`mmnl nazejre, nrop`b|re osqrne ohq|ln on `dpeqs: zdanie at europe.com. Oph
}rnl b "Rele" qnnayemh NA_G at REK\MN m`ohxhre:
"Ophxkhre ondpnams~ hmtnpl`vh~".

Return-Path: <adeshmuk at eng.utoledo.edu>
Delivered-To: samba at lists.samba.org
Received: from strange.eng.utoledo.edu (strange.eng.utoledo.edu
  [131.183.18.8]) by lists.samba.org (Postfix) with ESMTP id 03D454CA4
  for <samba at lists.samba.org>; Thu,  2 Aug 2001 06:37:40 -0700 (PDT)
Received: from localhost (adeshmuk at localhost) by strange.eng.utoledo.edu
  (8.9.3+Sun/8.9.3/1.1) with ESMTP id JAA15902 for
  <samba at lists.samba.org>; Thu, 2 Aug 2001 09:42:18 -0400 (EDT)
Date: Thu, 2 Aug 2001 09:42:18 -0400 (EDT)
From: amit deshmukh <adeshmuk at eng.utoledo.edu>
X-Sender: adeshmuk at strange.eng.utoledo.edu
To: samba at lists.samba.org
Subject: Re: Printer queues not showing in windows clients
In-Reply-To: <3B6839A3.805ED363 at martinaditrento.com>
Message-ID: <Pine.GSO.4.10.10108020938200.14370-100000 at strange.eng.utole
  do.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/

Hi,

	Just a slight problem here. The -U option for all lp
commands(lpr,lpstat, etc..) does require special permissions to be given
in lpd.conf file for every user. And I feel it is not at all a good idea
to give this privilege to all the users, because this will allow users to
fire the jobs on other's name.


Amit
------------------------------------------------------------------------------
Amit Deshmukh
Graduate Student (EECS)
University of Toledo.
------------------------------------------------------------------------------

On Wed, 1 Aug 2001, Alejandro Soler wrote:

> Hi,
> 
> Try set this:
> 
>         printing = lprng
>         print command = lpr -U%U@%M -r -P%p %s
>         lpq command = lpq -U%U@%M -P%p
>         lprm command = lprm -U%U@%M -P%p %j
>         lppause command = /usr/sbin/lpc -U%U@%M hold -P%p %j
>         lpresume command =/usr/sbin/lpc -U%U@%M release -P%p %j
>         queuepause command = /usr/sbin/lpc -U%U@%M -P%p stop
>         queueresume command = /usr/sbin/lpc -U%U@%M -P%p start
> 
> 
> 
> "Michels, Gustavo [EES/BR]" escribis:
> 
> > Hi all,
> >
> > We are currently moving our print server from a w2k environment to a linux
> > RH 7.1 with Samba 2.2.1a.
> >
> > So far, everything is going as expected, but my users are complainting about
> > seeing what is in the printer queue in their boxes. Looking in a printer
> > queue from any client always shows 0 jobs to be printed, like if it was
> > clear. But if I enter a lpstat command in the linux box in a printer queue,
> > I can see jobs there waiting to be printed.
> >
> > Is there any way to show the jobs in the linux spool to the windows clients?
> > Clients are mostly w2k and the Samba is only a member server in the domain.
> >
> > Here are the relevant (I guess :P) parts of my configuration.
> >
> >           printing = bsd
> >         print command = lpr -r -P%p %s
> >         lpq command = lpq -P%p
> >         lprm command = lprm -P%p %j
> >         lppause command = lpc hold %p %j
> >         lpresume command = lpc release %p %j
> >         queuepause command = lpc -P%p stop
> >         queueresume command = lpc -P%p start
> >
> > Any ideas?
> >
> > Regards
> > Gustavo
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> --
> ---------------------------------------------------
>      _/     _____/        Alejandro L. Soler
>    _/ _/   _/          Administrador de Sistemas
>  _/    _/   ____/        Martina di Trento S.A.
>  _/_/_/_/       _/      Buenos Aires - Argentina
> _/     _/ _____/     http://www.martinaditrento.com
> ---------------------------------------------------
> Linux Registered User: # 184478
> -- 
> 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 dc-mx04.cluster1.charter.net
  (dc-mx04.cluster0.hsacorp.net [209.225.8.14]) by lists.samba.org
  (Postfix) with ESMTP id 6FEB44CC1 for <samba at lists.samba.org>; Thu,  2
  Aug 2001 06:38:17 -0700 (PDT)
Received: from [24.216.84.59] (HELO pogo.plainjoe.org) by
  dc-mx04.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP
  id 17967990; Thu, 02 Aug 2001 09:48:56 -0400
Date: Thu, 2 Aug 2001 08:45:47 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Bigboss <bigboss at kerametal.sk>
Cc: <samba at lists.samba.org>
Subject: Re: (no subject)
In-Reply-To: <000a01c11b2c$b7db7b50$0d01a8c0 at kerametal.sk>
Message-ID: <Pine.LNX.4.33.0108020845300.1380-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, 2 Aug 2001, Bigboss wrote:

> how to unsubscribe?
>

See the link at the bottom of every mail message

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





cheers, jerry

-- 
 ---------------------------------------------------------------------
 www.valinux.com         VA Linux Systems       gcarter_at_valinux.com
 www.samba.org              SAMBA Team              jerry_at_samba.org
 www.plainjoe.org                                jerry_at_plainjoe.org
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at lists.samba.org
Received: from dc-mx07.cluster1.charter.net
  (dc-mx07.cluster0.hsacorp.net [209.225.8.17]) by lists.samba.org
  (Postfix) with ESMTP id 4D9F54D46 for <samba at lists.samba.org>; Thu,  2
  Aug 2001 06:45:56 -0700 (PDT)
Received: from [24.216.84.59] (HELO pogo.plainjoe.org) by
  dc-mx07.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP
  id 16251680; Thu, 02 Aug 2001 09:58:15 -0400
Date: Thu, 2 Aug 2001 08:53:27 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Chris Haskins <chaskins at lucent.com>
Cc: <samba at lists.samba.org>
Subject: Re: How often a file is accessed
In-Reply-To: <003701c11aa1$062a8030$5dc55687 at uk.lucent.com>
Message-ID: <Pine.LNX.4.33.0108020852390.1380-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, 1 Aug 2001, Chris Haskins wrote:

> Hi,
>
> Does anyone know how I can find out how often a file is accessed. I
> have some files being served out by a Samba server and I'd like to
> know which files are accessed the most, is there any way of doing
> this? Would this info be available in log files? Or does anyone have a
> script that can do this?

Try playing with the VFS audit module (in the examples/ subdirectory).
You'll need to get the latest SAMBA_2_2 code for this (at least for the
VFS module to compile).





cheers, jerry
 ---------------------------------------------------------------------
 www.valinux.com         VA Linux Systems       gcarter_at_valinux.com
 www.samba.org              SAMBA Team              jerry_at_samba.org
 www.plainjoe.org                                jerry_at_plainjoe.org
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at lists.samba.org
Received: from dc-mx01.cluster1.charter.net
  (dc-mx01.cluster0.hsacorp.net [209.225.8.11]) by lists.samba.org
  (Postfix) with ESMTP id 804F44D3B for <samba at lists.samba.org>; Thu,  2
  Aug 2001 06:49:22 -0700 (PDT)
Received: from [24.216.84.59] (HELO pogo.plainjoe.org) by
  dc-mx01.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP
  id 16069182; Thu, 02 Aug 2001 10:00:34 -0400
Date: Thu, 2 Aug 2001 08:56:52 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Chris Haskins <chaskins at lucent.com>
Cc: <samba at lists.samba.org>
Subject: Re: smbstatus
In-Reply-To: <000901c11b2b$3d9da5d0$5dc55687 at uk.lucent.com>
Message-ID: <Pine.LNX.4.33.0108020856310.1380-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, 2 Aug 2001, Chris Haskins wrote:

> Hi,
>
> Does anyone know how smbstatus gathers information about what files
> are currently locked and who is currently connected?



More information about the samba mailing list