No subject


Mon Dec 1 11:34:25 GMT 2003


When I try the command
nmblookup -M TESTGROUP
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 = pcguest
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.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <reinout at mktaal.nl>
Delivered-To: samba at lists.samba.org
Received: from smtp.wanadoo.nl (smtp0.wanadoo.nl [194.134.193.6]) by
  lists.samba.org (Postfix) with ESMTP id 7993A44A3 for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 11:50:34 -0700 (PDT)
Received: from takke (p2704.vwr.wanadoo.nl [194.134.218.153]) by
  smtp.wanadoo.nl (8.11.2/8.11.2) with SMTP id f79Isja10888 for
  <samba at lists.samba.org>; Thu, 9 Aug 2001 20:54:45 +0200 (MET DST)
Content-Type: text/plain; charset="iso-8859-1"
From: Reinout Wijnveen <reinout.wijnveen at wanadoo.nl>
To: samba at lists.samba.org
Subject: Locking issues with HP-UX 11.00
Date: Thu, 9 Aug 2001 20:53:15 +0200
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01080920531502.02299 at takke>
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 am experiencing locking problems with samba on HP-UX 11.  I tested 
different samba versions (2.0.10 and 2.2.1a) on different HP-UX nodes with 
different patchlevels, compiled with gcc and HP cc.
They all give these errors as soons as i enable 'locking' or 'posix locking':

[2001/08/09 15:17:18, 3] lib/util.c:(1326)
  fcntl_lock: fcntl lock gave errno 46 (No locks available)
[2001/08/09 15:17:18, 3] lib/util.c:(1347)
  fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2 (No 
locks available)
[2001/08/09 15:17:18, 3] locking/posix.c:(708)
  posix_fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2 
(No locks available)
[2001/08/09 15:17:18, 3] smbd/error.c:(123)
  error string = No locks available

The kernel lock table showed 1% usage at the time of this test.

Does anyone know about locking issues with Samba on HP-UX?   Special 
precautions needed at compile time?



-- 
Regards,

Reinout Wijnveen
reinout.wijnveen at wanadoo.nl

"All who believe in psychokinesis raise my hand"

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 BEF2551B1 for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 12:03:56 -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 15UvA8-0001JU-00; Thu, 09 Aug 2001
  12:08:08 -0700
Message-ID: <3B72DFC6.39AB2047 at valinux.com>
Date: Thu, 09 Aug 2001 12:08:54 -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: Reinout Wijnveen <reinout.wijnveen at wanadoo.nl>
Cc: samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00
References: <01080920531502.02299 at takke>
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/

Reinout Wijnveen wrote:
> 
> Hi,
> 
> I am experiencing locking problems with samba on HP-UX 11.  I tested
> different samba versions (2.0.10 and 2.2.1a) on different HP-UX nodes with
> different patchlevels, compiled with gcc and HP cc.
> They all give these errors as soons as i enable 'locking' or 'posix locking':
> 
> [2001/08/09 15:17:18, 3] lib/util.c:(1326)
>   fcntl_lock: fcntl lock gave errno 46 (No locks available)
> [2001/08/09 15:17:18, 3] lib/util.c:(1347)
>   fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2 (No
> locks available)
> [2001/08/09 15:17:18, 3] locking/posix.c:(708)
>   posix_fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2
> (No locks available)
> [2001/08/09 15:17:18, 3] smbd/error.c:(123)
>   error string = No locks available

HPUX has a system wide limit on fcntl locks (or used to
in 10.x). You need to up this limit. If I'm wrong I'm
sure one of our HP people will correct me :-).

Jeremy.

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

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202]) by
  lists.samba.org (Postfix) with ESMTP id A8E2245D8 for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 12:54:58 -0700 (PDT)
Received: from xatlrelay1.atl.hp.com (xatlrelay1.atl.hp.com
  [15.45.89.190]) by atlrel2.hp.com (Postfix) with ESMTP id 4F2899EC;
  Thu,  9 Aug 2001 15:59:12 -0400 (EDT)
Received: from xatlbh3.atl.hp.com (xatlbh3.atl.hp.com [15.45.89.188]) by
  xatlrelay1.atl.hp.com (Postfix) with ESMTP id E25441F534; Thu,  9 Aug
  2001 15:59:05 -0400 (EDT)
Received: by xatlbh3.atl.hp.com with Internet Mail Service (5.5.2653.19)
  id <QQ59JNJB>; Thu, 9 Aug 2001 15:59:05 -0400
Message-ID: <079FD72E42C9D311B854009027650E6F0758EF9C at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Jeremy Allison' <jeremy at valinux.com>, Reinout Wijnveen
  <reinout.wijnveen at wanadoo.nl>
Cc: samba at lists.samba.org
Subject: RE: Locking issues with HP-UX 11.00
Date: Thu, 9 Aug 2001 15:59:05 -0400 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Nope,
Never wrong, Jeremy!
The kernel tuneable is 
nflocks
and its untuned size is determined partly by the user license that your
HP-UX os is installed with.  I <believe> that for the little 2 user HP-UX
os, the default is around 200 flocks systemwide.
I ran into this issue when trying to get smbtorture lock tests passing on
HP's build farm machines, and upped the nflock kernel parameter to 1024.

Hope this helps,
don

-----Original Message-----
From: Jeremy Allison [mailto:jeremy at valinux.com]
Sent: Thursday, August 09, 2001 15:09
To: Reinout Wijnveen
Cc: samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00


Reinout Wijnveen wrote:
> 
> Hi,
> 
> I am experiencing locking problems with samba on HP-UX 11.  I tested
> different samba versions (2.0.10 and 2.2.1a) on different HP-UX nodes with
> different patchlevels, compiled with gcc and HP cc.
> They all give these errors as soons as i enable 'locking' or 'posix
locking':
> 
> [2001/08/09 15:17:18, 3] lib/util.c:(1326)
>   fcntl_lock: fcntl lock gave errno 46 (No locks available)
> [2001/08/09 15:17:18, 3] lib/util.c:(1347)
>   fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2 (No
> locks available)
> [2001/08/09 15:17:18, 3] locking/posix.c:(708)
>   posix_fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type
2
> (No locks available)
> [2001/08/09 15:17:18, 3] smbd/error.c:(123)
>   error string = No locks available

HPUX has a system wide limit on fcntl locks (or used to
in 10.x). You need to up this limit. If I'm wrong I'm
sure one of our HP people will correct me :-).

Jeremy.

-- 
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <conlan.adams at countryfresh.com>
Delivered-To: samba at lists.samba.org
Received: from gate.suizafoods.com (host1.morningstar-group.com
  [206.50.170.2]) by lists.samba.org (Postfix) with ESMTP id D52AD461F
  for <samba at lists.samba.org>; Thu,  9 Aug 2001 13:55:05 -0700 (PDT)
Received: from [199.5.83.150] by gate.suizafoods.com for
  samba at lists.samba.org id PAA04312; Thu Aug  9 15:59:09 2001
Received: by cfmail.suizafoods.com from localhost (router,SLMail V4.3);
  Thu, 09 Aug 2001 17:00:10 -0400  for <samba at lists.samba.org>
Received: from adamsconlan [199.5.83.80] by cfmail.suizafoods.com
  [199.5.83.150]  (SLmail 4.3.0.3454) with SMTP id
  099D18448CC011D5B22500805FC7E930 for <samba at lists.samba.org>; Thu, 09
  Aug 2001 17:00:07 -0400
Subject: Windows 2k, Samba 2.0.10, Word 97
Date: Thu, 9 Aug 2001 16:57:18 -0400
Message-ID: <001601c12115$e06611e0$505305c7 at suiza.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-SLUIDL: 08655EEF-8CC011D5-B2250080-5FC7E930
To: <samba at lists.samba.org>
From: "Conlan Adams" <conlan.adams at countryfresh.com>
Reply-To: <conlan.adams at countryfresh.com>
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 experiencing a strange problem running Samba 2.0.10 on a redhat 6.2
(2.2.14 kernel) system.  When a client opens a word 97 document, modifies it
and tries to save it they get an error "network connection may have been
lost".  They can then save a copy of the document to the same directory and
change the name later, but they cannot save it as usual.

I have tried this with two different Win2K Pro work stations (one service
pack 1, the other service pack 2) and found the same issue.  I have also
tried to work with documents on a samba share on a redhat 7.1 (2.42 kernel)
system also running samba 2.0.10 with no issues.

If this is tried from excel or explorer they work fine, it only seems to
affect Word.  Thanks for any help you can give, tomorrow I will be trying it
with a test server and samba 2.2.1a.  Thanks again

-Con

Return-Path: <demerson at zaffari.com.br>
Delivered-To: samba at lists.samba.org
Received: from www.zaffari.com.br
  (zaffari-131.sync128k.poa.matrix.com.br [200.202.24.131]) by
  lists.samba.org (Postfix) with SMTP id 344B551E5 for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 13:59:21 -0700 (PDT)
Received: from zafnt2.zaffari.com.br by www.zaffari.com.br via smtpd
  (for samba.sourceforge.net [198.186.203.85]) with SMTP; 9 Aug 2001
  21:01:17 UT
Received: by zafnt2 with Internet Mail Service (5.5.2653.19) id
  <QSLXC2MR>; Thu, 9 Aug 2001 18:03:05 -0300
Message-ID: <2411209499ABD41180270090274DD8BC3631EE at zafnt2>
From: Info - Demerson <demerson at zaffari.com.br>
To: "'conlan.adams at countryfresh.com'" <conlan.adams at countryfresh.com>,
  samba at lists.samba.org
Subject: RES: Windows 2k, Samba 2.0.10, Word 97
Date: Thu, 9 Aug 2001 18:03:04 -0300 
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 faced this problem some months ago, and the only solution I found was
downgrade the version of Microsoft Word 97 (this problem occurs whit Word97
SR-2, I downgraded to Word97 SR-1, and it worked fine...).

You will need to replace two files (winword.exe and wwintl32.dll).

-----Mensagem original-----
De: Conlan Adams [mailto:conlan.adams at countryfresh.com]
Enviada em: quinta-feira, 9 de agosto de 2001 17:57
Para: samba at lists.samba.org
Assunto: Windows 2k, Samba 2.0.10, Word 97


I am experiencing a strange problem running Samba 2.0.10 on a redhat 6.2
(2.2.14 kernel) system.  When a client opens a word 97 document, modifies it
and tries to save it they get an error "network connection may have been
lost".  They can then save a copy of the document to the same directory and
change the name later, but they cannot save it as usual.

I have tried this with two different Win2K Pro work stations (one service
pack 1, the other service pack 2) and found the same issue.  I have also
tried to work with documents on a samba share on a redhat 7.1 (2.42 kernel)
system also running samba 2.0.10 with no issues.

If this is tried from excel or explorer they work fine, it only seems to
affect Word.  Thanks for any help you can give, tomorrow I will be trying it
with a test server and samba 2.2.1a.  Thanks again

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

Return-Path: <mcroghan at usatoday.com>
Delivered-To: samba at lists.samba.org
Received: from mail2.usatoday.com (mail1.usatoday.com [167.8.29.5]) by
  lists.samba.org (Postfix) with ESMTP id ACEAA5216 for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 14:59:56 -0700 (PDT)
Received: from usatoday.com (pacific.usatoday.com [167.8.29.64]) by
  mail2.usatoday.com (Post.Office MTA v3.5.3 release 223 ID#
  0-58309U200L100S0V35) with ESMTP id com for <samba at lists.samba.org>;
  Thu, 9 Aug 2001 18:04:09 -0400
Message-ID: <3B73085B.3010700 at usatoday.com>
Date: Thu, 09 Aug 2001 18:02:03 -0400
From: mcroghan at usatoday.com (Mike Croghan)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3)
  Gecko/20010801
X-Accept-Language: en-us
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Re: Small number of big clients
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

>
>
>>> Thanks, Mike!  The answer to your question involves another question:  does 
>>> an smbd handle connections serially, one after the other?  I imagine the 
>>> answer must be yes, and that seems to be what we're seeing. Each of our 
>>> Win2K client boxes is opening up several connections with the samba server 
>>> simultaneously, but it seems like they have to wait for each other to finish 
>>> before they are serviced.  All of these connections are small and 
>>> short-lived--not mapping a drive, but putting this file to that UNC path and 
>>> then bugging off.  The basic question is:  "Is there a way to increase the 
>>> rate at which these W2K boxes can fire files at the Samba server?" and this 
>>> "serial" behavior has been observed and suggested as something that might be 
>>> tuneable.
>>
>Hmm.  I don't know about win2k but nt4 opens a connection and leaves it open
>until there is a timeout.  Are you opening several different shares, and is
>each file going to a different share?
>
>How exactly are you getting the concurrency on the win2k side?
>
>Mike
>
I think I was misleading.  It's actually just one connection, and one 
share.  But many files are simultaneously being saved to that one share, 
and it seems like they are being handled serially, as if each file needs 
to be completely written to disk before the next file can be handled. 
 Perhaps this is a matter of file system tuning and has nothing to do 
with Samba.  Thanks for your help.

- Mike

-- 
Michael J. Croghan <mailto:mcroghan at usatoday.com>
Software Developer, USATODAY.com
703-558-8026 - 1000 Wilson Blvd., Arlington, VA  22229
I don't speak for USATODAY.com, USA Today, or Gannett Co. 

Return-Path: <jtklaas at mediaone.net>
Delivered-To: samba at lists.samba.org
Received: from demai05.mw.mediaone.net (demai05.mw.mediaone.net
  [24.131.1.56]) by lists.samba.org (Postfix) with ESMTP id A6ED8525D
  for <samba at lists.samba.org>; Thu,  9 Aug 2001 15:01:30 -0700 (PDT)
Received: from shenendoah (nic-160-c204-244.mw.mediaone.net
  [24.160.204.244]) by demai05.mw.mediaone.net (8.11.1/8.11.1) with
  ESMTP id f79M5ga09294 for <samba at lists.samba.org>; Thu, 9 Aug 2001
  18:05:42 -0400 (EDT)
Date: Thu, 9 Aug 2001 18:02:56 -0400 (EDT)
From: <jtklaas at mediaone.net>
X-Sender: <jklaas at shenendoah.appalachian.home>
To: <samba at lists.samba.org>
Subject: Roaming profile problem
Message-ID: <Pine.LNX.4.30.0108091755300.32296-100000 at shenendoah.appalac
  hian.home>
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 am running samba 2.2.1a (Mandrake cooker) and I am having problems
getting Windows 98SE to put my profile in the profile share.

I've gotten the domain controller stuff running, but when I log out,
windows insists on putting my profile stuff in my home directory.  Of
course there is a "Desktop" directory that is the same as my KDE "Desktop"
directory.  So when I log into my Linux server with KDE I get loads of
garbage on my screen.  Not to mention all the other crap it puts in my
home directory.  Here are the relevant (maybe) parts of the smb.conf:




[global]

. . .


   logon home = \\%L\%U
   logon script = logon.bat
   logon path = \\%L\Profiles\%U

. . .

 [netlogon]
   comment = Network Logon Service
   path = /home/netlogon
   guest ok = yes
   writable = no
   share modes = no
   browsable = no

[Profiles]
    comment = User profiles
    path = /home/profiles
    browseable = no
    create mode = 0600
    directory mode = 0700
    writable = yes

Then, here is my logon.bat:

echo Setting Current Time . . .
net time \\shenendoah /set /yes

echo Mapping Network Drives to Samba Server Shenendoah
net use x: /HOME
net use w: \\shenendoah\windows

Please CC me as I don't follow the mailing list.  Thank you for your help.

-- 
There's lies, damn lies, and then there's Microsoft's marketing.

				James Klaas

Return-Path: <jbfink at ckm.ucsf.edu>
Delivered-To: samba at lists.samba.org
Received: from gossamer.ckm.ucsf.edu (gossamer.ckm.ucsf.edu
  [128.218.33.11]) by lists.samba.org (Postfix) with ESMTP id 602174481
  for <samba at lists.samba.org>; Thu,  9 Aug 2001 15:14:13 -0700 (PDT)
Received: from localhost (jbfink at localhost) by gossamer.ckm.ucsf.edu
  (8.11.3/8.11.3) with ESMTP id f79MKjw28122 for
  <samba at lists.samba.org>; Thu, 9 Aug 2001 15:20:45 -0700 (PDT)
Date: Thu, 9 Aug 2001 15:20:45 -0700 (PDT)
From: John Fink <jbfink at library.ucsf.edu>
To: <samba at lists.samba.org>
Subject: possible FIFO breakage in 2.2.1?
Message-ID: <Pine.GSO.4.33.0108091515420.27793-100000 at gossamer.ckm.ucsf.
  edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-Filter-Version: 1.6 (gossamer)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hey Samba list folks,

I've got a samba installation on a Solaris 2.8 machine that I have
recently upgraded from 2.0.7 to 2.2.1.  I have this coworker who was,
under 2.0.7, able to make a FIFO on the Solaris box and write to it from a
Windows machine.  Since upgrading to 2.2.1, he is no longer able to do so
despite using the same procedure which worked on 2.0.7.

If there's a known issue with FIFO in 2.2.1 could someone clue me in on it
and a possible fix?  Thanks very much.

jf

Return-Path: <ariel at muiscas.udea.edu.co>
Delivered-To: samba at samba.org
Received: from comdeam-lx.co.kworld.kpmg.com
  (conm200-13-243-236.epm.net.co [200.13.243.236]) by lists.samba.org
  (Postfix) with ESMTP id 5524B4456 for <samba at samba.org>; Thu,  9 Aug
  2001 15:27:58 -0700 (PDT)
Received: from localhost (ariel at localhost) by
  comdeam-lx.co.kworld.kpmg.com (8.11.2/8.11.2) with ESMTP id
  f79MVk301179 for <samba at samba.org>; Thu, 9 Aug 2001 17:31:47 -0500
X-Authentication-Warning: comdeam-lx.co.kworld.kpmg.com: ariel owned
  process doing -bs
Date: Thu, 9 Aug 2001 17:31:46 -0500 (COT)
From: Ariel Martinez <ariel at muiscas.udea.edu.co>
X-X-Sender: <ariel at comdeam-lx.co.kworld.kpmg.com>
To: <samba at samba.org>
Subject: Something like "net user"
Message-ID: <Pine.LNX.4.33.0108091727490.1151-100000 at comdeam-lx.co.kworl
  d.kpmg.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi.

I'm looking for a substitute for the NT command "net user" using the samba
suite.  Can you tell me where can I find some information about?

Thanx.

--
Ariel.

Return-Path: <hugo.levasseur at mcgill.ca>
Delivered-To: samba at lists.samba.org
Received: from water.cc.mcgill.ca (water.CC.McGill.CA [132.206.27.29])
  by lists.samba.org (Postfix) with ESMTP id 2237E4456 for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 15:39:30 -0700 (PDT)
Received: from proserpine (Proserpine.ECE.McGill.CA [132.206.31.219]) by
  water.cc.mcgill.ca (8.11.3/8.11.0) with ESMTP id f79Mhh012632 for
  <samba at lists.samba.org>; Thu, 9 Aug 2001 18:43:43 -0400 (EDT)
From: "Hugo Levasseur" <hugo.levasseur at mcgill.ca>
To: "Samba Mailing List" <samba at lists.samba.org>
Subject: joining DOMAIN
Date: Thu, 9 Aug 2001 18:44:46 -0400
Message-ID: <000001c12124$e3b82540$db1fce84 at proserpine>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook, Build 10.0.2627
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi guys,
 
I m trying to keep my windows 2000 domain controllers relativelly
secure.  So I have applied a few fairly restrictive security policies.
DOMAIN policy (actually on affects the account security policies) and a
DOMAIN CONTROLLER policy.. that s a little more restrictive.... I get
the following error when trying to join my samba server to the domain:
 
--snip--
 
modify_trust_password: machine DOMAINCONTROLLER rejected the tconX on
the IPC$ share. Error was : ERRDOS - ERRnoaccess.
2001/08/09 18:41:39 : change_trust_account_password: Failed to change
password for domain DOMAIN.
Unable to join domain DOMAIN.
 
--snip--
 
Any ideas?
 
Hugo Levasseur
Ece Computing 
McGill University

Return-Path: <gross at uni-kassel.de>
Delivered-To: samba at lists.samba.org
Received: from notes.verwaltung.uni-kassel.de
  (notes.verwaltung.uni-kassel.de [141.51.98.12]) by lists.samba.org
  (Postfix) with ESMTP id A38FC5232 for <samba at lists.samba.org>; Thu,  9
  Aug 2001 15:56:36 -0700 (PDT)
Subject: Siegfried
  =?iso-8859-1?Q?Gro=DF=2FAbt1=2FVerwaltung=2FUni-Kassel_ist_au=DFer_Hau
  s?= =?us-ascii?Q?=2E?=
From: gross at uni-kassel.de
To: samba at lists.samba.org
Message-ID: <OF528B4212.2151EDFD-ONC1256AA3.007E6A41 at verwaltung.uni-kass
  el.de>
Date: Fri, 10 Aug 2001 01:00:47 +0200
X-MIMETrack: Serialize by Router on
  notes.verwaltung.uni-kassel.de/Uni-Kassel(Release 5.0.6a |January 17,
  2001) at 10.08.2001 01:00:50
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/

Ich werde ab  09.08.2001 nicht im B|ro sein. Ich kehre zur|ck am
06.09.2001.

Ich werde Ihre Nachricht nach meiner R|ckkehr beantworten.

Return-Path: <mikef at matchmail.com>
Delivered-To: samba at lists.samba.org
Received: from mmp-linux.matchmail.com
  (adsl-63-194-239-202.dsl.lsan03.pacbell.net [63.194.239.202]) by
  lists.samba.org (Postfix) with ESMTP id 330AC52A0 for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 16:08:19 -0700 (PDT)
Received: from mmp240.matchmail.com (mikef-linux.matchmail.com)
  [10.0.0.240]  by mmp-linux.matchmail.com with esmtp (Exim 3.12 #1
  (Debian)) id 15UyxF-0000AR-00; Thu, 09 Aug 2001 16:11:05 -0700
Received: from mikef by mikef-linux.matchmail.com with local (Exim 3.31
  #1 (Debian)) id 15UyxD-0006Id-00; Thu, 09 Aug 2001 16:11:03 -0700
Date: Thu, 9 Aug 2001 16:11:03 -0700
From: Mike Fedyk <mfedyk at matchmail.com>
To: Mike Croghan <mcroghan at usatoday.com>
Cc: samba at lists.samba.org
Subject: Re: Small number of big clients
Message-ID: <20010809161103.B14780 at mikef-linux.matchmail.com>
Mail-Followup-To: Mike Croghan <mcroghan at usatoday.com>,
  samba at lists.samba.org
References: <3B73085B.3010700 at usatoday.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3B73085B.3010700 at usatoday.com>
User-Agent: Mutt/1.3.20i
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, Aug 09, 2001 at 06:02:03PM -0400, Mike Croghan wrote:
> >
> >How exactly are you getting the concurrency on the win2k side?
> >
> >Mike
> >
> I think I was misleading.  It's actually just one connection, and one 
> share.  But many files are simultaneously being saved to that one share, 
> and it seems like they are being handled serially, as if each file needs 
> to be completely written to disk before the next file can be handled. 
> Perhaps this is a matter of file system tuning and has nothing to do 
> with Samba.  Thanks for your help.
> 

Are you refering to profile syncs?

What program is trying to save several files at one time simultaneously?

Return-Path: <kraftor80 at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (f43.law15.hotmail.com [64.4.23.43]) by
  lists.samba.org (Postfix) with ESMTP id 1557E52A4 for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 16:27:16 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Thu, 9 Aug 2001 16:31:29 -0700
Received: from 132.233.247.5 by lw15fd.law15.hotmail.msn.com with HTTP;
  Thu, 09 Aug 2001 23:31:29 GMT
X-Originating-IP: [132.233.247.5]
From: "john archer" <kraftor80 at hotmail.com>
To: samba at lists.samba.org
Subject: followup to Reoccuring database errors (BDE) over samba
Date: Thu, 09 Aug 2001 16:31:29 -0700
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F4324dsPkskqedC8mOL00003e4b at hotmail.com>
X-OriginalArrivalTime: 09 Aug 2001 23:31:29.0411 (UTC)
  FILETIME=[6A515530:01C1212B]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello All,


Back a few weeks ago, Jermey recommended that I get the current CVS version 
at that time as some locking issues were fixed, snapshot-20010703.

Current system setup:
slackware 7.2.0
Linux version 2.4.5 (root at cover_graphics1) (gcc version 2.95.3 20010315 
(release)) #3 Sun Jun 17 20:57:42 PDT 2001
samba-2.2.1.snapshot-20010703.tgz
There are usually 14 clients 11 win98, 1 winME and 2 win2K systems.

After compile and install of the new version, it did help
database file corruption issues quite a bit, but not completly.

I have two snippets from the log files in the time frame that files have
been corrupted and wonder if either issue could be a contributing factor.
As I mentioned before when I use W2K as a server I have zero errors in
a whole month. Now we are having errors nearly every day.

Log Case 1:
I have noticed that W2K clients connect correctly, and then the samba
log reports user "nobody" as log below shows.
Could this lead to problems? How do I resolve it?

[2001/08/07 09:03:20, 1] smbd/service.c:make_connection(606)
  lori (192.168.1.31) connect to service sys as user lori (uid=1004, 
gid=100) (pid 603)
[2001/08/07 09:07:27, 1] smbd/password.c:pass_check_smb(554)
  Couldn't find user 'nobody' in smb_passwd file.
[2001/08/07 09:07:27, 1] smbd/password.c:pass_check_smb(554)
  Couldn't find user 'nobody' in smb_passwd file.


Log Case 2:
This client was having these errors repeatedly around the time of problems.

[2001/08/06 14:57:03, 1] smbd/service.c:make_connection(606)
  jamie (192.168.1.41) connect to service sys as user dani (uid=1002, 
gid=100) (pid 1058)
[2001/08/06 14:57:03, 0] smbd/dir.c:dptr_close(280)
  Invalid key 256 given to dptr_close
[2001/08/07 15:58:57, 0] lib/util_sock.c:read_socket_data(478)
  read_socket_data: recv failure for 4. Error = Connection reset by peer
[2001/08/07 15:58:57, 1] smbd/service.c:close_cnum(646)
  jamie (192.168.1.41) closed connection to service sys


Here is my sbm.conf file.

#======================= Global Settings 
=====================================
[global]

workgroup = CG
server string = CG's Samba Server
netbios name = cover_graphics

locking = yes
strict locking = yes

oplocks = no
level2 oplocks = no
#strict sync = yes
#sync always = yes
# 7/26/01  changed to 2.2.1 version and commented above 2 lines

   hosts allow = 192.168.1. 192.168.2. 127.
   load printers = yes
   log file = /var/log/samba.%m
   max log size = 50
   security = user
   encrypt passwords = yes
   null passwords = yes
   socket options = TCP_NODELAY
   dns proxy = no

#============================ Share Definitions 
==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = no
   printable = yes

[sys]
   path = /goldmine
   public = yes
   writable = yes


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

Return-Path: <tvilla at cyllene.uwa.edu.au>
Delivered-To: samba at lists.samba.org
Received: from elysium.uwa.edu.au (elysium.uwa.edu.au [130.95.128.2]) by
  lists.samba.org (Postfix) with ESMTP id 380F94585 for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 17:14:45 -0700 (PDT)
Received: from cyllene.uwa.edu.au (root at cyllene.uwa.edu.au
  [130.95.128.7]) by elysium.uwa.edu.au (8.11.1/8.10.2) with ESMTP id
  f7A0Iv831811; Fri, 10 Aug 2001 08:18:57 +0800 (WST)
Received: from ecel-tim.cyllene.uwa.edu.au (ecel-tim.ecel.uwa.edu.au
  [130.95.4.117]) by cyllene.uwa.edu.au (8.11.1/8.10.2) with ESMTP id
  f7A0IuF00363; Fri, 10 Aug 2001 08:18:56 +0800
Message-Id: <5.1.0.14.2.20010810081551.03d44738 at cyllene.uwa.edu.au>
X-Sender: tvilla at cyllene.uwa.edu.au
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 10 Aug 2001 08:17:42 +0800
To: Ernst Sauerwein <ernst.sauerwein at mch.siemens.de>,
  samba at lists.samba.org
From: Tim Villa <tvilla at cyllene.uwa.edu.au>
Subject: Re: Question about users allowed to connect
In-Reply-To: <3B72AD92.BB4334A2 at mch.siemens.de>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

At 17:34 9/08/2001 +0200, Ernst Sauerwein wrote:
>We have a Reliant Unix Machine running Samba.
>Tere is a user alias (named suinf) for root with its own password.
>
>However I cannot connect to samba as user suinf (as user root there is no 
>problem).

Have you checked the SMB log?  Does your smb.conf ban access to user root 
(ie "invalid users")

>(2)
>User root belongs also to a group named www.
>How can I make Samba to create new files having root as user and www as group?

Check the man page for smb.conf, specifically look at "force user" and 
"force group"

Tim
--
Tim Villa, Network / Systems Administrator
Faculties of Economics & Commerce, Education and Law
The University of Western Australia
Phone: +61-8-9380-1796, Fax: +61-8-9380-1068
Mail <mailto:tvilla at cyllene.uwa.edu.au> WWW <http://buck.ecel.uwa.edu.au/>

Return-Path: <liao4619 at uidaho.edu>
Delivered-To: samba at samba.org
Received: from eagle.csrv.uidaho.edu (eagle.csrv.uidaho.edu
  [129.101.119.223]) by lists.samba.org (Postfix) with ESMTP id
  39FCE492F for <samba at samba.org>; Thu,  9 Aug 2001 21:03:09 -0700 (PDT)
Received: from uidaho.edu (PC010098.campus.uidaho.edu [129.101.72.254])
  by eagle.csrv.uidaho.edu (8.8.6 (PHNE_17135)/) with ESMTP id VAA29915
  for <samba at samba.org>; Thu, 9 Aug 2001 21:07:21 -0700 (PDT)
Message-ID: <3B735E38.F1F80147 at uidaho.edu>
Date: Thu, 09 Aug 2001 21:08:24 -0700
From: Kexiao Liao <liao4619 at uidaho.edu>
Organization: University of Idaho
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-8smp i686)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at samba.org
Subject: Redirect a print job from Window NT into Linux
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 samba,
    I am using samba software to redirect a print job from Window NT
system into Linux and store the contents of the print job as a file. I
wonder if samba
can do that. Thanks.

Kexiao

Return-Path: <barry at arhosting.com>
Delivered-To: samba at lists.samba.org
Received: from arhosting.com (arhosting.com [216.63.180.37]) by
  lists.samba.org (Postfix) with SMTP id 1E98A44D5 for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 21:14:10 -0700 (PDT)
Received: (qmail 16006 invoked by uid 104); 10 Aug 2001 03:43:24 -0000
Received: from barry at arhosting.com by dns1.arhosting.com with
  qmail-scanner-0.96 (uvscan: v4.1.50/v4147. . Clean. Processed in
  1.024168 secs); 10 Aug 2001 03:43:24 -0000
Received: from unknown (HELO piii600) (10.10.5.2) by arhosting.com with
  SMTP; 10 Aug 2001 03:43:23 -0000
From: "Barry Smoke" <barry at arhosting.com>
To: <samba at lists.samba.org>
Subject: windows/nt user manager
Date: Thu, 9 Aug 2001 23:18:22 -0500
Message-ID: <IMEKIDMFAEBICGFFGJPKKEHNGIAA.barry at arhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-reply-to: <5.1.0.14.2.20010810081551.03d44738 at cyllene.uwa.edu.au>
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/

What is the status on the windows/nt user manager, and the ability to
add/modify with this under samba?  Is there any new functionality in cvs
worth trying?


Barry Smoke
Network Admin
Bryant Public Schools

Return-Path: <rehberger at mail.rmc.de>
Delivered-To: samba at lists.samba.org
Received: from pop3.rmc.de (pop3.rmc.de [212.80.33.70]) by
  lists.samba.org (Postfix) with ESMTP id DE0C64A5D for
  <samba at lists.samba.org>; Thu,  9 Aug 2001 23:27:51 -0700 (PDT)
Received: from mailserver.rehberger.de (22dn.muc.rmc.de [212.80.40.22])
  by pop3.rmc.de (8.11.0/8.11.0/Debian 8.11.0-1) with ESMTP id
  f7A6Vrm11311 for <samba at lists.samba.org>; Fri, 10 Aug 2001 08:31:56
  +0200
X-Authentication-Warning: louis.rmc.de: Host 22dn.muc.rmc.de
  [212.80.40.22] claimed to be mailserver.rehberger.de
Received: (from root at localhost) by mailserver.rehberger.de
  (8.9.3/8.9.3/SuSE Linux 8.9.3-0.1) id IAA15625 for
  samba at lists.samba.org; Fri, 10 Aug 2001 08:31:53 +0200
Received: from mail.rmc.de (user [192.168.200.35]) by
  mailserver.rehberger.de (AvMailGate-6.9.0.0) id 15623-2CF87262; Fri,
  10 Aug 2001 08:31:50 +0200
Message-ID: <3B737150.822585F7 at mail.rmc.de>
Date: Fri, 10 Aug 2001 07:29:53 +0200
From: peter grotz <rehberger at mail.rmc.de>
X-Mailer: Mozilla 4.75 [de] (Win98; U)
X-Accept-Language: de
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: compiling: --with-pam / --with-pam_smbpass
References: <20010809190156.1261C51AB at lists.samba.org>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
X-AntiVirus: OK (checked by AntiVir Version 6.9.0.4)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

hi list,
I4m not sure about compiling.
makes it sense to compile using --with-pam but not using --with-pam_smbpass?
are there any problems only using --with-pam. what is --with-smb_pass for?

please send answers to pegr at gmx.net, too!
thanks!
--
peter grotz

rehberger architekten
schertlinstr 23
86 159 augsburg

tel 0821 25980-29
fax 0821 25980-20

Return-Path: <riest at franksintl.nl>
Delivered-To: samba at samba.org
Received: from tiny.int.franksintl.nl (goblin.franksintl.nl
  [195.193.231.154]) by lists.samba.org (Postfix) with ESMTP id
  48A74533F for <samba at samba.org>; Thu,  9 Aug 2001 23:39:16 -0700 (PDT)
Received: from ries (cp35.int.franksintl.nl [192.168.4.249]) by
  tiny.int.franksintl.nl (8.11.4/8.11.4/Debian 8.9.3-21) with ESMTP id
  f7A6edb04357; Fri, 10 Aug 2001 08:40:39 +0200
From: "Ries van Twisk" <riest at franksintl.nl>
To: <jtklaas at mediaone.net>, samba at samba.org
Date: Fri, 10 Aug 2001 08:40:30 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Roaming profile problem
Reply-To: ries at franksintl.nl
Message-ID: <3B739DFE.10120.12A4F254 at localhost>
Priority: normal
In-reply-to: <Pine.LNX.4.30.0108091755300.32296-100000 at shenendoah.appala
  c  hian.home>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi

I store profiles in the users homedirectoryu but I do it this way:

[global]
logon home = \\%L\%U\.profile
logon path = \\%L\%U\..profile

I don't have a sepewrate profiles share for this.
Since I use a point '.' in the path windows 'sees' it has a hiden direcotry 
which makes it easer hide it but clear enough for me to manage it.

Ries

Return-Path: <spiekey at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (law2-oe44.hotmail.com [216.32.180.41]) by
  lists.samba.org (Postfix) with ESMTP id 81763535B for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 00:08:09 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Fri, 10 Aug 2001 00:12:22 -0700
X-Originating-IP: [212.185.31.98]
From: "spiekey" <spiekey at hotmail.com>
To: <samba at lists.samba.org>
Subject: did i compile it wrong?
Date: Fri, 10 Aug 2001 09:12:15 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Message-ID: <LAW2-OE44gUFDKPGzGq000058d2 at hotmail.com>
X-OriginalArrivalTime: 10 Aug 2001 07:12:22.0328 (UTC)
  FILETIME=[CCBD9B80:01C1216B]
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

HI guys!

I wanted to install samba 2.2.1a. My current version was 2.2.0
What i did:
- Deinstalled samba in yast.
- Unzipped the samba file
-./configure
 make
 make install
 make installbin

but I can4t run it!
How do i start it now?

I found a smbd file in /usr/local/samba/bin but if i run it nothing happens, i
also tried smbd --help. But nothing appears.
the smb.conf is fine!
Did i compile it wrong?
Does somebody have a RPM packet for SusE72?

I use the 2.4 standart Kernel.

THX 4 --help

Spiekey

Return-Path: <silviu at delrom.ro>
Delivered-To: samba at lists.samba.org
Received: from delrom.ro (delrom.ro [193.231.234.28]) by lists.samba.org
  (Postfix) with ESMTP id 8CE7C5364 for <samba at lists.samba.org>; Fri, 10
  Aug 2001 00:08:29 -0700 (PDT)
Received: by delrom.ro (Postfix, from userid 10) id F29424544A; Fri, 10
  Aug 2001 10:12:36 +0300 (EEST)
Received: from delrom.ro (silviu.delrom.ro [192.168.1.35]) by
  rdsnic.delrom.ro (AvMailGate-6.9.0.0) id 23578-775EBB26; Fri, 10 Aug
  2001 10:12:30 +0300
Date: Fri, 10 Aug 2001 10:17:22 +0300
From: Silviu Marin-Caea <silviu at delrom.ro>
To: "Simo ROUIS" <roumo21 at hotmail.com>
Cc: samba at lists.samba.org
Subject: Re: Print server
Message-Id: <20010810101722.6d1811f1.silviu at delrom.ro>
In-Reply-To: <F210gFrYILoygXLsxpT00002c82 at hotmail.com>
References: <F210gFrYILoygXLsxpT00002c82 at hotmail.com>
Organization: Delta Romania
X-Mailer: Sylpheed version 0.5.2 (GTK+ 1.2.9; i586-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-AntiVirus: OK (checked by AntiVir Version 6.9.0.4)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Thu, 09 Aug 2001 13:21:45 +0000
"Simo ROUIS" <roumo21 at hotmail.com> wrote:

> Hi gang
> I've got new project at work, setup new print server with linux.
> all the printers are connected to the network witrh NIC and fix IP.
> so plz guys if some one of you have some sugrestion that will be
good
> 10x
> Mo

http://www.cups.org

I have it running; it's nice.

-- 
Systems and Network Administrator - Delta Romania
Phone +4093-267961

Return-Path: <dragos.delcea at farmexim.ro>
Delivered-To: samba at lists.samba.org
Received: from mail.farmexim.ro (mail.farmexim.ro [193.230.163.129]) by
  lists.samba.org (Postfix) with SMTP id E10285336 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 00:34:59 -0700 (PDT)
Received: (qmail 23777 invoked from network); 10 Aug 2001 07:41:33 -0000
Received: from dragosd.farmexim.ro (HELO busybox) (192.168.1.60) by
  192.168.1.3 with SMTP; 10 Aug 2001 07:41:33 -0000
Content-Type: text/plain; charset="iso-8859-1"
From: Dragos Delcea <dragos.delcea at farmexim.ro>
Reply-To: dragos.delcea at farmexim.ro
Organization: Farmexim SA
To: Andeas =?iso-8859-1?q?R=F6=DFling?= <andreas.roessling at rcsnet.de>,
  <samba at lists.samba.org>
Subject: Re: AW: problem joining samba PDC with NT workstation
Date: Fri, 10 Aug 2001 10:42:33 +0300
X-Mailer: KMail [version 1.2]
References: <KMEHLPGCCJHBOKKAMEDIEELACBAA.andreas.roessling at rcsnet.de>
In-Reply-To: <KMEHLPGCCJHBOKKAMEDIEELACBAA.andreas.roessling at rcsnet.de>
MIME-Version: 1.0
Message-Id: <01081010423302.00831 at busybox>
Content-Transfer-Encoding: 7bit
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I don't know how it should be, the dollar sign is at the end of the 
workstation's name (in /etc/passwd and smbpasswd) at my site...
does anybody know of problems with PDC's for NT with plain text passwords?

regards,
dragos

On Thursday 09 August 2001 06:29 pm, Andeas Rv_ling wrote:
> I'm not sure. Don't you name the machine-account "$machinename" instead of
> "machinename$" ???????
>
>
> best regards
>
> A. Rv_ling
>
> Fa. RCS
> Bgm.-Arnold-Str.3
> 69483 Wald-Michelbach
> Germany
>
> Fon:+49 6207 920106
> Fax:+49 6207 920108
>
> http://www.rcsnet.de
>
>
>
>
> -----Urspr|ngliche Nachricht-----
> Von: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]Im
> Auftrag von Dragos Delcea
> Gesendet: Donnerstag, 9. August 2001 17:18
> An: samba at lists.samba.org
> Betreff: problem joining samba PDC with NT workstation
>
>
> linux RedHat 7.1/samba 2.2.1a (plain text passwords)
> samba compiled --with-pam --with-pam_smbpass
> logon works for win98 :)
> NT is service pack 6a.
> I tried adding the machine account manually and with add user scipt just as
> it sais in the docs.
> ---
> manually:
> useradd -d /dev/null -c dba -m -s /bin/false dba$
> smbpasswd -a -m dba
> trying to join the domain tells me "The machime account for this computer
> either does not exist or is inaccessible"
> ---
> auto
> added 'user add script = /usr/sbin/useradd -d /dev/null -s /bin/false -M %'
> 'domain admin group = root'
> trying to join the domain with create machime account checked (root and
> password) it tells me that the present account doesn't have the permissiont
> to do that; however it adds the user as a system user and as a samba user
> ok.
> and it fails to join the domain, and further trying gives me the first
> error or the second, depending if I check the 'create machine account'
> button on the NT side or not.
> ---
> I also noticed a difference on the accounts in smbpasswd file:
> first entry is created manually, second with add user script
> dba$:1070:3A76E617A0FF9C1CAAD3B435B51404EE:179908806C60C113E1A255F25EA7BAB2
>: [W
>          ]:LCT-3B72A175:
> dba$:1070:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO \
> PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NDW        ]:LCT-3B72A7B3:
>
> also, when I add the machine account manually this thing appears in the log
> (not samba log):
> PAM_smbpass [pid]: Faild to find entry for user 1.
> what's this?
> I  use plain text passwords, and all the clients have the apropriate
> entries in the registry.
>
>
> thanks, dragos

Return-Path: <reinout.wijnveen at philips.com>
Delivered-To: samba at lists.samba.org
Received: from gw-nl4.philips.com (gw-nl4.philips.com [212.153.190.6])
  by lists.samba.org (Postfix) with ESMTP id C0D505380 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 00:41:09 -0700 (PDT)
Received: from smtpscan-nl3.philips.com (localhost.philips.com
  [127.0.0.1]) by gw-nl4.philips.com with ESMTP id JAA21821; Fri, 10 Aug
  2001 09:45:19 +0200 (MEST) (envelope-from
  reinout.wijnveen at philips.com)
From: reinout.wijnveen at philips.com
Received: from smtpscan-nl3.philips.com(130.139.36.23) by
  gw-nl4.philips.com via mwrap (4.0a) id xma021819; Fri, 10 Aug 01
  09:45:19 +0200
Received: from smtprelay-nl1.philips.com (localhost [127.0.0.1])  by
  smtpscan-nl3.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id
  JAA01242; Fri, 10 Aug 2001 09:45:14 +0200 (MET DST)
Received: from notessmtp-nl1.philips.com (notessmtp-nl1.philips.com
  [130.139.36.10])  by smtprelay-nl1.philips.com
  (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id JAA11909; Fri, 10 Aug 2001
  09:45:10 +0200 (MET DST)
Received: from NLAUO01.diamond.philips.com
  (nlauo01sv1.diamond.philips.com [130.139.52.214])  by
  notessmtp-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id
  JAA12942; Fri, 10 Aug 2001 09:32:50 +0200 (MET DST)
Subject: RE: Locking issues with HP-UX 11.00
To: don_mccall at hp.com
Cc: jeremy at valinux.com, samba at lists.samba.org
Date: Fri, 10 Aug 2001 09:32:32 +0200
Message-ID: <OFC90368E8.15E0FEF1-ONC1256AA4.002092B7 at diamond.philips.com
  >
X-MIMETrack: Serialize by Router on NLAUO01/H/SERVER/PHILIPS(Release
  5.0.5 |September 22, 2000) at 10/08/2001 09:33:46
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,

Thank you for your response. But i am sorry: nflocks on my testmachine is already at 2000 and no one but me could possible be using them (maybe the system itself). During the test i also had a gpm session open and that reported a 1% usage of the nflocks
table.

I suspect that samba has trouble acquiring flocks at all.  Is it possible here's something wrong with the the whole flock mechanism in my environment? Maybe something went wrong at configure or compile time. Are there certain software dependencies for
compiling samba on HP-UX?

In the config.log of samba 2.2.1 i found this. I cannot interpret this, but maybe it gives a clue?

/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (conftest.o) was detected.
The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
   flock (code)
configure: failed program was:
#line 9554 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/file.h>
#ifndef LOCK_MAND
#define LOCK_MAND       32
#define LOCK_READ       64
#endif
main() {
        exit(flock(open("/dev/null", O_RDWR), LOCK_MAND|LOCK_READ) != 0);
}


-
Regards,
Reinout Wijnveen

"All those who believe in psychokinesis raise my hand"

ICT-N/Philips Semiconductors Nijmegen
Address: AC 0.062, Gerstweg 2, 6534 AE Nijmegen, Fax: +31 24 353 2019





"MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>@lists.samba.org on 08/09/2001 09:59:05 PM

Sent by:  samba-admin at lists.samba.org


To:     "'Jeremy Allison'" <jeremy at valinux.com>
        Reinout Wijnveen <reinout.wijnveen at wanadoo.nl>
cc:     samba at lists.samba.org (bcc: Reinout Wijnveen/NYM/SC/PHILIPS)
Subject:  RE: Locking issues with HP-UX 11.00
Classification:



Nope,
Never wrong, Jeremy!
The kernel tuneable is
nflocks
and its untuned size is determined partly by the user license that your
HP-UX os is installed with.  I <believe> that for the little 2 user HP-UX
os, the default is around 200 flocks systemwide.
I ran into this issue when trying to get smbtorture lock tests passing on
HP's build farm machines, and upped the nflock kernel parameter to 1024.

Hope this helps,
don

-----Original Message-----
From: Jeremy Allison [mailto:jeremy at valinux.com]
Sent: Thursday, August 09, 2001 15:09
To: Reinout Wijnveen
Cc: samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00


Reinout Wijnveen wrote:
>
> Hi,
>
> I am experiencing locking problems with samba on HP-UX 11.  I tested
> different samba versions (2.0.10 and 2.2.1a) on different HP-UX nodes with
> different patchlevels, compiled with gcc and HP cc.
> They all give these errors as soons as i enable 'locking' or 'posix
locking':
>
> [2001/08/09 15:17:18, 3] lib/util.c:(1326)
>   fcntl_lock: fcntl lock gave errno 46 (No locks available)
> [2001/08/09 15:17:18, 3] lib/util.c:(1347)
>   fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2 (No
> locks available)
> [2001/08/09 15:17:18, 3] locking/posix.c:(708)
>   posix_fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type
2
> (No locks available)
> [2001/08/09 15:17:18, 3] smbd/error.c:(123)
>   error string = No locks available

HPUX has a system wide limit on fcntl locks (or used to
in 10.x). You need to up this limit. If I'm wrong I'm
sure one of our HP people will correct me :-).

Jeremy.

--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <ariano at dba.unito.it>
Delivered-To: samba at lists.samba.org
Received: from mbox.dba.unito.it (mbox.dba.unito.it [130.192.143.1]) by
  lists.samba.org (Postfix) with ESMTP id 533924AE5 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 01:21:43 -0700 (PDT)
Received: from bio031.dba.unito.it (paolo at bio031.dba.unito.it
  [130.192.143.31]) by mbox.dba.unito.it (8.11.2/8.11.2) with ESMTP id
  f7AAMBi17157; Fri, 10 Aug 2001 10:22:11 GMT
Subject: Re: samba and cups
From: Paolo Ariano <ariano at dba.unito.it>
To: Dezider =?ISO-8859-1?Q?G=F3ra?= <gora at wittmann.sk>
Cc: samba at lists.samba.org
In-Reply-To: <3B738156.6C1D2887 at wittmann.sk>
References: <997368857.6509.41.camel at emoscion2> 
  <3B738156.6C1D2887 at wittmann.sk>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Mailer: Evolution/0.12.99 (Preview Release)
Date: 10 Aug 2001 10:25:36 +0200
Message-Id: <997431937.19615.14.camel at emoscion2>
Mime-Version: 1.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/

On 10 Aug 2001 08:38:14 +0200, Dezider Gsra wrote:
> I do. What's your problem, maybe I can help.
> hth
> Dezider.
>

first: thnks and now i explain, ive debian potato and stylus color 850
on w2k:

added in etc/smb.conf: printing = cups
made the link: ln -s `/usr/bin/smbspool` /usr/lib/cups/backend/smb
defined the printer: lpadmin -p epson -v smb://calcomede/epsty850 -m
stcolor.ppd
added my self to the lpadmin group (is this necessary to print?)
defined my printer as default:/usr/sbin/lpadmin -d epson
enabled the printer: /usr/bin/enable epson
i've tryed:lpstat -v
device for epson: smb://calcomede/epsty850

ok and now: lpr my_first_page
my cumputer become crazy! gtop say that user:daemon with process epson
is using 70% of my memory (256M!!)
lpc status say :
	epson:
	printer is on device 'smb' speed -1
	queuing is enabled
	printing is enabled
	1 entries
	daemon present
on my w2k :( server the job stay in queque with the lowest priority for
few minutes and than disappear but no printing has done ???

thanks a lot
bye
paolo

Return-Path: <isaac at isaac.it>
Delivered-To: samba at lists.samba.org
Received: from galactica.it (mail7.galactica.it [212.41.208.24]) by
  lists.samba.org (Postfix) with ESMTP id 0798853A9 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 01:24:15 -0700 (PDT)
Received: from MK ([212.41.223.166]) by galactica.it  with Microsoft
  SMTPSVC(5.5.1877.537.53); Fri, 10 Aug 2001 10:33:39 +0200
Message-ID: <002d01c12175$fecfb540$f665fea9 at MK>
From: "Isaac Srl" <isaac at isaac.it>
To: <samba at lists.samba.org>
Subject: Networking
Date: Fri, 10 Aug 2001 10:25:19 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have tried many times i can't access with my pc win 98 to a linux machine
with Red hat 7.1 What can i do??

Return-Path: <samba47 at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (oe73.pav2.hotmail.com [64.4.36.207]) by
  lists.samba.org (Postfix) with ESMTP id 6C35353D8 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 01:43:45 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Fri, 10 Aug 2001 01:47:57 -0700
X-Originating-IP: [202.95.130.226]
From: "samba" <samba47 at hotmail.com>
To: "samba" <samba at lists.samba.org>
Subject: about networking...
Date: Fri, 10 Aug 2001 15:47:33 +0700
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Message-ID: <OE73vKRNZSPGNkY5Tet00002c33 at hotmail.com>
X-OriginalArrivalTime: 10 Aug 2001 08:47:57.0089 (UTC)
  FILETIME=[26ECB110:01C12179]
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 want to ask about connecting my linux redhat 7.1 (using samba)

i have samba installed...
i have successed run nmbd, smbd and i successed using smbclient (try connect
to myself sharing)....

and i can't connect to other linux user or NT user in my domain....
when i try connect using smbclient and linux ask for password...
i don't what password should i input...
because my root password , it didn't successed...

from i know ..that NT user can connect to my sharing linux...using net
use....
is it true..? can you explain it to me how i can share and connect to user
linux and user NT can connect linux share ...?


thx ...

AMG

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 CFC7D5412 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 02:48:41 -0700 (PDT)
Received: from enterprise.cck.uni-kl.de (enterprise.cck.uni-kl.de
  [131.246.239.10]) by mail.uni-kl.de (8.11.0/8.11.0) with ESMTP id
  f7A9qpv25858; Fri, 10 Aug 2001 11:52:51 +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 LAA05836; Fri, 10
  Aug 2001 11:52:35 +0200 (MET DST)
Received: from fbk42-7 (fbk42-7.mv.uni-kl.de [131.246.201.77]) by
  fbk.mv.uni-kl.de (8.9.1/8.9.1) with ESMTP id LAA00744; Fri, 10 Aug
  2001 11:52:54 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: <samba at lists.samba.org>, "spiekey" <spiekey at hotmail.com>
Date: Fri, 10 Aug 2001 11:52:49 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: did i compile it wrong?
Message-ID: <3B73CB11.18412.E9C58B at localhost>
Priority: normal
In-reply-to: <LAW2-OE44gUFDKPGzGq000058d2 at hotmail.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> HI guys!
> 
> I wanted to install samba 2.2.1a. My current version was 2.2.0
> What i did:
> - Deinstalled samba in yast.
> - Unzipped the samba file
> -./configure
>  make
>  make install
>  make installbin
> 
> but I can4t run it!
> How do i start it now?
> 
> I found a smbd file in /usr/local/samba/bin but if i run it nothing happens, i
> also tried smbd --help. But nothing appears.
> the smb.conf is fine!
> Did i compile it wrong?
No. Just not configured for SusE. All your samba files should be in 
/usr/local/samba, including the config, locks, logs, man, ...
Move your smb.conf to /usr/local/samba/lib/smb.conf
Start samba with
/usr/local/samba/bin/nmbd -D
/usr/lcoal/samba/bin/smbd -D
and you should be fine. Modify your startup-skript for samba to use 
this Path. Check for the samba spool and private directory.

Christian


> Does somebody have a RPM packet for SusE72?
> 
> I use the 2.4 standart Kernel.
> 
> THX 4 --help
> 
> Spiekey
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 


___________________________________________________________________

Unix *is* userfrendly, its only selectiv about its users, ...

freak at aixd2[tran_var] cat ?210?0/m2t*.log | grep "stelle(26),fx" | \
                  awk 'BEGIN {FS=","}; {print $4}' | sed 's/-//' | \
         ssh -l barth fbk.mv.uni-kl.de "cat - | unix2dos > fx26.txt"

Return-Path: <atakhaber at atakhaber.com>
Delivered-To: samba at samba.org
Received: from fportal (unknown [213.194.65.155]) by lists.samba.org
  (Postfix) with ESMTP id 8DF164B1E for <samba at samba.org>; Fri, 10 Aug
  2001 03:21:38 -0700 (PDT)
Received: from mail pickup service by fportal with Microsoft SMTPSVC;
  Fri, 10 Aug 2001 11:40:14 +0300
From: <atakhaber at atakhaber.com>
To: <samba at samba.org>
Subject: =?iso-8859-1?Q?Can_Atakl=FD'dan?=
Date: Fri, 10 Aug 2001 11:31:41 +0300
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Message-ID: <FPORTALR0iW2W1VkML40000e4d6 at fportal>
X-OriginalArrivalTime: 10 Aug 2001 08:40:14.0781 (UTC)
  FILETIME=[135E16D0:01C12178]
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/

  border=0

ATAKHABER.COM

T|rkiyenin ilk gergek sanal gazetesi geliyor



Al}~t}p}n}z ve sevdipiniz gazete format}ndaki ATAKHABER art}k hafta igi
herg|n size ula~acak. ATAKHABER'i okumak igin sadece bir PDF dosyas}n}
a~ap}daki belirtilen linkten indirmeniz yeterli olacaktir.
http://www.atakhaber.com/pdf/01082001.pdf

ATAKHABER'i agabilmek igin bilgisayar}n}zda Acrobat 4.0 '}n y|kl| olmas}
gerekiyor.
Bu program sizde yoksa l|tfen yandaki ambleme t}klay}n}z ve program}
y|kleyiniz..

Eper bir daha bu siteden mail almak istemiyorsan}z L|tfen t}klay}n.
<http://www.atakhaber.com/mail/subscribeform.asp?adr=samba@samba.org>



 	 <http://www.atakhaber.com/pdf/01082001.pdf>

Acrobat <http://www.adobe.com/prodindex/acrobat/readstep2.html>

PDF NED]R?
Gazete gvrsellipinde internet |zerinden dap}t}lan bir medya arac}d}r.

Return-Path: <Natalie.D.Will at is.shell.com>
Delivered-To: samba at samba.org
Received: from RIJPATS0046.services.shell.net (nl03.shell.nl
  [134.146.0.22]) by lists.samba.org (Postfix) with ESMTP id 553045386
  for <samba at samba.org>; Fri, 10 Aug 2001 03:44:17 -0700 (PDT)
Received: from hags6104.IS.SHELL.COM (actually hags6104.sipm.shell.nl)
  by RIJPATS0046.services.shell.net with ESMTP; Fri, 10 Aug 2001
  12:48:20 +0200
Received: by hags6104.sipm.shell.nl with Internet Mail Service
  (5.5.2653.19) id <Q4J1P1TQ>; Fri, 10 Aug 2001 12:48:19 +0200
Message-ID: <C19D2288420DD31197B50008C70D8DC301D510EF at abes9999.is.shell.
  co.uk>
From: "Will, Natalie D SITI-ISEP-3" <Natalie.D.Will at is.shell.com>
To: "'samba at samba.org'" <samba at samba.org>
Subject: SAMBA questions
Date: Fri, 10 Aug 2001 12:48:17 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Folks,

Can anyone answer the following questions

1. Are any major issues with using samba for NT File Storage / Win2k /XP?
  
2. Does SAMBA support Active Directory in its present form?

3. I note that there was a comment about needing a specially setup Samba box
for WIn2k/XP in the How to document in the documents section. Can anyone
expand further on this..

Cheers,
Natalie.

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (f87.law10.hotmail.com [64.4.15.87]) by
  lists.samba.org (Postfix) with ESMTP id 583DB5205 for
  <samba at samba.org>; Fri, 10 Aug 2001 04:16:40 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Fri, 10 Aug 2001 04:20:52 -0700
Received: from 64.192.99.49 by lw10fd.law10.hotmail.msn.com with HTTP;
  Fri, 10 Aug 2001 11:20:51 GMT
X-Originating-IP: [64.192.99.49]
Reply-To: bcaudle at hotmail.com
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: isaac at isaac.it
Cc: samba at samba.org
Subject: Re: Networking
Date: Fri, 10 Aug 2001 07:20:51 -0400
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F87MnA0VYqMhmhVHL7400003b80 at hotmail.com>
X-OriginalArrivalTime: 10 Aug 2001 11:20:52.0095 (UTC)
  FILETIME=[83A780F0:01C1218E]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Ok we will need a little help, can you send the config files /etc/smb.conf 
and can you ping the two computers? what is the ip addresses etc...

Brandon Caudle
--------------
15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)



>From: "Isaac Srl" <isaac at isaac.it>
>To: <samba at lists.samba.org>
>Subject: Networking
>Date: Fri, 10 Aug 2001 10:25:19 +0200
>
>I have tried many times i can't access with my pc win 98 to a linux machine
>with Red hat 7.1 What can i do??
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba


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

Return-Path: <dragos.delcea at farmexim.ro>
Delivered-To: samba at lists.samba.org
Received: from mail.farmexim.ro (mail.farmexim.ro [193.230.163.129]) by
  lists.samba.org (Postfix) with SMTP id 32D2345CB for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 04:25:53 -0700 (PDT)
Received: (qmail 27010 invoked from network); 10 Aug 2001 11:32:00 -0000
Received: from dragosd.farmexim.ro (HELO busybox) (192.168.1.60) by
  192.168.1.3 with SMTP; 10 Aug 2001 11:32:00 -0000
Content-Type: text/plain; charset="iso-8859-1"
From: Dragos Delcea <dragos.delcea at farmexim.ro>
Reply-To: dragos.delcea at farmexim.ro
Organization: Farmexim SA
To: samba at lists.samba.org
Subject: SUCCESS STORY (was problem joining NT to samba PDC)
Date: Fri, 10 Aug 2001 14:33:00 +0300
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01081014330000.01053 at busybox>
Content-Transfer-Encoding: 7bit
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Thanks to Andreas and Christian who helped me: now I can join the domain with 
NT 40 just fine. Problem was NT refuses to join the domain if it has encrypt 
passwords  set to no.

dragos

Return-Path: <gustavo.michels at emersonenergy.com>
Delivered-To: samba at lists.samba.org
Received: from ukproxy1.emrsn.co.uk (smtpmail.emrsn.co.uk
  [194.202.166.141]) by lists.samba.org (Postfix) with ESMTP id
  6EE265479 for <samba at lists.samba.org>; Fri, 10 Aug 2001 04:58:44 -0700
  (PDT)
Received: from viruswall1.emrsn.co.uk (viruswall1.emrsn.co.uk
  [129.254.5.225] (may be forged)) by ukproxy1.emrsn.co.uk (8.9.3/8.9.3)
  with SMTP id LAA28788; Fri, 10 Aug 2001 11:35:03 +0200
Received: from 129.254.5.5 by viruswall1.emrsn.co.uk (InterScan E-Mail
  VirusWall NT); Fri, 10 Aug 2001 13:01:32 +0100 (GMT Daylight Time)
Received: from mxsemeacn2.emrsn.co.uk (mxsemeacn2.emrsn.co.uk
  [129.254.5.203]) by etsdns2.emrsn.co.uk (8.9.3/8.9.3) with ESMTP id
  NAA07762; Fri, 10 Aug 2001 13:01:02 GMT
Received: by mxsemeacn2.emrsn.co.uk with Internet Mail Service
  (5.5.2653.19) id <Q36R0JQA>; Fri, 10 Aug 2001 13:03:15 +0100
Message-ID: <7F0147C496F3D411813C0002B32BF1CCF99F18 at eesekkex001.kkekant.
  ericsson.se>
From: "Michels, Gustavo [EES/BR]" <gustavo.michels at emersonenergy.com>
To: samba at lists.samba.org
Cc: pegr at gmx.net
Subject: RE: compiling: --with-pam / --with-pam_smbpass
Date: Fri, 10 Aug 2001 13:01:59 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

Uhhh, I really don't know what smb-pass is for, but I know you can configure
using --with-pam and not using --with-pam-smbpass, as I have my server setup
here, using winbind through pam.

Cheers
Gustavo

-----Original Message-----
From: peter grotz [mailto:rehberger at mail.rmc.de] 
Sent: sexta-feira, 10 de agosto de 2001 02:30
To: samba at lists.samba.org
Subject: compiling: --with-pam / --with-pam_smbpass


hi list,
I4m not sure about compiling.
makes it sense to compile using --with-pam but not using --with-pam_smbpass?
are there any problems only using --with-pam. what is --with-smb_pass for?

please send answers to pegr at gmx.net, too!
thanks!
--
peter grotz

rehberger architekten
schertlinstr 23
86 159 augsburg

tel 0821 25980-29
fax 0821 25980-20
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (f110.law10.hotmail.com [64.4.15.110]) by
  lists.samba.org (Postfix) with ESMTP id AF732547E for
  <samba at samba.org>; Fri, 10 Aug 2001 05:10:47 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Fri, 10 Aug 2001 05:14:59 -0700
Received: from 64.192.99.49 by lw10fd.law10.hotmail.msn.com with HTTP;
  Fri, 10 Aug 2001 12:14:58 GMT
X-Originating-IP: [64.192.99.49]
Reply-To: bcaudle at hotmail.com
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: gcarter at valinux.com
Cc: samba at samba.org
Subject: Swat and host allow and deny 
Date: Fri, 10 Aug 2001 08:14:58 -0400
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F1106K8CACTz8RQyi0J00003cff at hotmail.com>
X-OriginalArrivalTime: 10 Aug 2001 12:14:59.0244 (UTC)
  FILETIME=[131B1EC0:01C12196]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Ok on accident a couple of days ago i put 192.168.1 (no . after it) in host 
allow and in host deny i put all so i can't get into swat. I have tryed 
everything. I reinstalled 2.2.1a, deleted the smb.conf, restarted the smbd 
and nmbd process and i can't get it to work some one please help me!

Brandon Caudle
--------------
15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)


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

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (f202.law10.hotmail.com [64.4.15.202]) by
  lists.samba.org (Postfix) with ESMTP id 1BF0D4D5D for
  <samba at samba.org>; Fri, 10 Aug 2001 05:13:04 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Fri, 10 Aug 2001 05:17:15 -0700
Received: from 64.192.99.49 by lw10fd.law10.hotmail.msn.com with HTTP;
  Fri, 10 Aug 2001 12:17:15 GMT
X-Originating-IP: [64.192.99.49]
Reply-To: bcaudle at hotmail.com
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: andreas.roessling at rcsnet.de
Cc: samba at samba.org
Subject: Re: AW: problem joining samba PDC with NT workstation
Date: Fri, 10 Aug 2001 08:17:15 -0400
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F202DEJmGzrLCCtgx8V000017f8 at hotmail.com>
X-OriginalArrivalTime: 10 Aug 2001 12:17:15.0685 (UTC)
  FILETIME=[646E5D50:01C12196]
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/

No you need machine_name$ like if you do smbclient -L server and it prints 
ipc$ and admin$


Brandon Caudle
--------------
15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)



>From: Andeas Rv_ling <andreas.roessling at rcsnet.de>
>To: <samba at lists.samba.org>
>Subject: AW: problem joining samba PDC with NT workstation
>Date: Thu, 9 Aug 2001 17:29:17 +0200
>
>I'm not sure. Don't you name the machine-account "$machinename" instead of
>"machinename$" ???????
>
>
>best regards
>
>A. Rv_ling
>
>Fa. RCS
>Bgm.-Arnold-Str.3
>69483 Wald-Michelbach
>Germany
>
>Fon:+49 6207 920106
>Fax:+49 6207 920108
>
>http://www.rcsnet.de
>
>
>
>
>-----Urspr|ngliche Nachricht-----
>Von: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]Im
>Auftrag von Dragos Delcea
>Gesendet: Donnerstag, 9. August 2001 17:18
>An: samba at lists.samba.org
>Betreff: problem joining samba PDC with NT workstation
>
>
>linux RedHat 7.1/samba 2.2.1a (plain text passwords)
>samba compiled --with-pam --with-pam_smbpass
>logon works for win98 :)
>NT is service pack 6a.
>I tried adding the machine account manually and with add user scipt just as
>it sais in the docs.
>---
>manually:
>useradd -d /dev/null -c dba -m -s /bin/false dba$
>smbpasswd -a -m dba
>trying to join the domain tells me "The machime account for this computer
>either does not exist or is inaccessible"
>---
>auto
>added 'user add script = /usr/sbin/useradd -d /dev/null -s /bin/false -M %'
>'domain admin group = root'
>trying to join the domain with create machime account checked (root and
>password) it tells me that the present account doesn't have the permissiont
>to do that; however it adds the user as a system user and as a samba user
>ok.
>and it fails to join the domain, and further trying gives me the first 
>error
>or the second, depending if I check the 'create machine account' button on
>the NT side or not.
>---
>I also noticed a difference on the accounts in smbpasswd file:
>first entry is created manually, second with add user script
>dba$:1070:3A76E617A0FF9C1CAAD3B435B51404EE:179908806C60C113E1A255F25EA7BAB2:
>[W
>          ]:LCT-3B72A175:
>dba$:1070:NO PASSWORDXXXXXXXXXXXXXXXXXXXXX:NO \
>PASSWORDXXXXXXXXXXXXXXXXXXXXX:[NDW        ]:LCT-3B72A7B3:
>
>also, when I add the machine account manually this thing appears in the log
>(not samba log):
>PAM_smbpass [pid]: Faild to find entry for user 1.
>what's this?
>I  use plain text passwords, and all the clients have the apropriate 
>entries
>in the registry.
>
>
>thanks, dragos
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba
>--
>To unsubscribe from this list go to the following URL and read the
>instructions:  http://lists.samba.org/mailman/listinfo/samba


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

Return-Path: <fabian.schmid at pharma.novartis.com>
Delivered-To: samba at lists.samba.org
Received: from gatekeeper2.novartis.com (gatekeeper2.novartis.com
  [194.191.169.74]) by lists.samba.org (Postfix) with ESMTP id 3F5835345
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 05:13:08 -0700 (PDT)
Received: from mtap1.is.chbs (mtap1.novartis.com [192.37.33.20]) by
  gatekeeper2.novartis.com (8.11.0/8.11.0) with ESMTP id f7ACHIK09719
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 14:17:18 +0200 (MET DST)
Received: from NVCHBS-S0121.is.chbs (nvchbs-s0121.is.chbs
  [192.37.33.41]) by mtap1.is.chbs (8.11.3/8.11.3) with ESMTP id
  f7ACHIe67772 for <samba at lists.samba.org>; Fri, 10 Aug 2001 14:17:18
  +0200
Subject: create mask problem
To: samba at lists.samba.org
From: fabian.schmid at pharma.novartis.com
Date: Fri, 10 Aug 2001 14:17:11 +0200
Message-ID: <OF3724EF27.3F8388BC-ONC1256AA4.0042E248 at is.chbs>
X-MIMETrack: Serialize by Router on CHBSMN12/N1/Novartis(Release 5.0.8
  |June 18, 2001) at 08/10/2001 02:17:18 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/

My create mask is set to 0770 and my force create mask is set to 00. When
creating a new file on the share the executive bit of the user is set but
the executive bit of the group is not. I need to have the user exec bit set
too. Does anybody know whats gone wrong ??

Return-Path: <B.Lorbeer at science-computing.de>
Delivered-To: samba at lists.samba.org
Received: from noc1.BelWue.DE (noc1.BelWue.DE [129.143.2.1]) by
  lists.samba.org (Postfix) with ESMTP id 04B46448F for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 05:50:59 -0700 (PDT)
Received: from obiwankenobi.science-computing.de
  (blackhole.science-computing.de [193.197.16.3]) by noc1.BelWue.DE with
  SMTP id OAA29139 for <samba at lists.samba.org>; Fri, 10 Aug 2001
  14:55:09 +0200 (MET DST) env-from (B.Lorbeer at science-computing.de)
Received: from automatix.science-computing.de
  (boris at automatix.science-computing.de [10.148.25.14]) by
  obiwankenobi.science-computing.de (8.9.3/8.8.8) with ESMTP id OAA27964
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 14:55:09 +0200
Received: (from boris at localhost) by automatix.science-computing.de
  (8.6.10/8.6.9) id OAA24545 for samba at lists.samba.org; Fri, 10 Aug 2001
  14:55:09 +0200
Date: Fri, 10 Aug 2001 14:55:09 +0200
From: Boris Lorbeer <B.Lorbeer at science-computing.de>
To: samba at lists.samba.org
Subject: cannot compile
Message-ID: <20010810145509.B24471 at automatix.science-computing.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.4i
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 there,
I have problems compiling the latest samba (samba-2.2.1a) with ssl support.
The machine:
SunOS 5.5.1 sun4u sparc SUNW,Ultra-30
First I installed SSLeay-0.9.0b without any problems.
Then I configured samba with --with-ssl - no problems
But then make failed as follows:

>make
Using FLAGS =  -DHAVE_CRYPT_DECL -I/usr/local/ssl/include -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper  -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin"  -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32 =  -DHAVE_CRYPT_DECL -I/usr/local/ssl/include -O  -Iinclude -I./include -I./ubiqx -I./smbwrapper  -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin"  -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lssl -lcrypto -lsec -lgen -lsocket -lnsl  -ldl
Compiling lib/util.c
In file included from /usr/local/ssl/include/evp.h:79,
                 from /usr/local/ssl/include/x509.h:87,
                 from /usr/local/ssl/include/ssl.h:146,
                 from lib/util.c:55:
/usr/local/ssl/include/des.h:95: warning: `DES_KEY_SZ' redefined
/usr/include/kerberos/des.h:29: warning: this is the location of the previous definition
In file included from /usr/local/ssl/include/evp.h:79,
                 from /usr/local/ssl/include/x509.h:87,
                 from /usr/local/ssl/include/ssl.h:146,
                 from lib/util.c:55:
/usr/local/ssl/include/des.h:82: warning: redefinition of `des_cblock'
/usr/include/kerberos/des.h:25: warning: `des_cblock' previously declared here
/usr/local/ssl/include/des.h:84: redefinition of `struct des_ks_struct'
/usr/local/ssl/include/des.h:93: warning: redefinition of `des_key_schedule'
/usr/include/kerberos/des.h:27: warning: `des_key_schedule' previously declared here
/usr/local/ssl/include/des.h:137: conflicting types for `bit_64'
/usr/include/kerberos/des.h:48: previous declaration of `bit_64'
make: *** [lib/util.o] Error 1
>

Can anyone help me here? Thanks a lot!
Boris.

Return-Path: <nawasthi at vanguardsolutions.com>
Delivered-To: samba at lists.samba.org
Received: from vh2.forward.net (vh2.forward.net [209.0.136.65]) by
  lists.samba.org (Postfix) with ESMTP id D43FB54FF; Fri, 10 Aug 2001
  07:05:10 -0700 (PDT)
Received: from vanguardspare (800roos155.stservice.net [63.208.74.155]
  (may be forged)) by vh2.forward.net (8.9.3/8.9.3) with SMTP id
  JAA16469; Fri, 10 Aug 2001 09:00:10 -0500
From: "Nawasthi" <nawasthi at vanguardsolutions.com>
To: <samba at lists.samba.org>
Cc: <samba-technical at lists.samba.org>
Date: Fri, 10 Aug 2001 09:06:32 -0500
Message-ID: <001101c121a5$a8efe8e0$53c8a8c0 at vanguardspare>
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)
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/

Hello Everyone...

I have successfully connected the Samba to windows networked and configured
it.

The only problem that I have is I am not able to make a publically
accessible folder
whihc can be read/write anywhere from windows network.

Though I tried to set the smb.conf and restart the samba daemons.

[public]
   comment = Public Stuff
   path = /home/public
   public = yes
  only guest = yes
   writable = yes
   printable = no
   browseable =yes

But When i click on network neighbourhood it says public folder not
accessible.
I want to make a public folder that doesnot need any username and password
to get into.

Secondly, for creating the user accounts to linux machine i used useradd
username but
in network neightbourhood on clicking it opens with the
invalid username and password message box.

If anyone has got a wonder ideas please suggest.

NAwasthi

Return-Path: <nawasthi at vanguardsolutions.com>
Delivered-To: samba at lists.samba.org
Received: from vh2.forward.net (vh2.forward.net [209.0.136.65]) by
  lists.samba.org (Postfix) with ESMTP id E44F354FF; Fri, 10 Aug 2001
  07:06:00 -0700 (PDT)
Received: from vanguardspare (800roos155.stservice.net [63.208.74.155]
  (may be forged)) by vh2.forward.net (8.9.3/8.9.3) with SMTP id
  JAA16594; Fri, 10 Aug 2001 09:01:16 -0500
From: "Nawasthi" <nawasthi at vanguardsolutions.com>
To: <samba at lists.samba.org>
Cc: <samba-technical at lists.samba.org>
Subject: How to make a publically accessible folder using samba ?
Date: Fri, 10 Aug 2001 09:07:37 -0500
Message-ID: <001201c121a5$cfbdfde0$53c8a8c0 at vanguardspare>
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)
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 Everyone...

I have successfully connected the Samba to windows networked and configured
it.

The only problem that I have is I am not able to make a publically
accessible folder
whihc can be read/write anywhere from windows network.

Though I tried to set the smb.conf and restart the samba daemons.

[public]
   comment = Public Stuff
   path = /home/public
   public = yes
  only guest = yes
   writable = yes
   printable = no
   browseable =yes

But When i click on network neighbourhood it says public folder not
accessible.
I want to make a public folder that doesnot need any username and password
to get into.

Secondly, for creating the user accounts to linux machine i used useradd
username but
in network neightbourhood on clicking it opens with the
invalid username and password message box.

If anyone has got a wonder ideas please suggest.

NAwasthi

Return-Path: <giulioo at pobox.com>
Delivered-To: samba at lists.samba.org
Received: from mail3.cs.interbusiness.it (unknown [151.99.250.40]) by
  lists.samba.org (Postfix) with ESMTP id E730F49A8 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 07:17:28 -0700 (PDT)
Received: from i3.golden.dom ([62.110.99.196]) by
  mail3.cs.interbusiness.it (8.9.3/8.9.3) with ESMTP id QAA25623 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 16:19:06 +0200 (MET DST)
Received: from pc72 (pc72 [192.168.1.172]) by i3.golden.dom (Postfix)
  with SMTP id BFA25166D5 for <samba at lists.samba.org>; Fri, 10 Aug 2001
  16:16:26 +0200 (CEST)
From: Giulio Orsero <giulioo at pobox.com>
To: <samba at lists.samba.org>
Subject: Re: How to make a publically accessible folder using samba ?
Date: Fri, 10 Aug 2001 16:19:49 +0200
Organization: nowhere
References: <001201c121a5$cfbdfde0$53c8a8c0 at vanguardspare>
In-Reply-To: <001201c121a5$cfbdfde0$53c8a8c0 at vanguardspare>
X-Mailer: Forte Agent 1.8/32.548
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-Id: <20010810141626.BFA25166D5 at i3.golden.dom>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Fri, 10 Aug 2001 09:07:37 -0500, you wrote:

>The only problem that I have is I am not able to make a publically
>accessible folder
>whihc can be read/write anywhere from windows network.
>
>Though I tried to set the smb.conf and restart the samba daemons.
>
>[public]
>   comment = Public Stuff
>   path = /home/public
>   public = yes
>  only guest = yes
>   writable = yes
>   printable = no
>   browseable =yes

take out "only guest = yes"
add "map to guest = bad user" in global section
make sure your guest account uid can access /home/public

this way unknown users will be mapped to guest and will access the share as
guests; known users will access the share as themselves.

-- 
giulioo at pobox.com

Return-Path: <agb at meloo.com>
Delivered-To: samba at lists.samba.org
Received: from meloo.com (unknown [62.210.73.235]) by lists.samba.org
  (Postfix) with SMTP id 9505149A8 for <samba at lists.samba.org>; Fri, 10
  Aug 2001 07:17:59 -0700 (PDT)
Received: from meloo.com ([62.210.73.245]) by meloo.com ; Fri, 10 Aug
  2001 15:45:58 +0200
From: agb at meloo.com
Reply-To: agb at meloo.com
To: samba at lists.samba.org
Date: Fri, 10 Aug 2001 16:44:13 fr
Subject: Re: How to make a publically accessible folder using samba ?
Message-id: <3b73f33d.6ec3.0 at meloo.com>
X-User-Info: 194.250.149.162
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/

I'am not 100% sure, but I suggest you remove 'only guest = yes' and
replace by 'guest ok = yes'


>Hello Everyone...
>
>I have successfully connected the Samba to windows networked and configured

>it.
>
>The only problem that I have is I am not able to make a publically

>accessible folder
>whihc can be read/write anywhere from windows network.
>
>Though I tried to set the smb.conf and restart the samba daemons.

>
>[public]
>   comment = Public Stuff
>   path = /home/public
>   public = yes
>  only guest = yes
>   writable = yes
>   printable = no
>   browseable =yes
>
>But When i click on network neighbourhood it says public folder not

>accessible.
>I want to make a public folder that doesnot need any username and
password
>to get into.
>
>Secondly, for creating the user accounts to linux machine i used useradd

>username but
>in network neightbourhood on clicking it opens with the
>invalid username and password message box.
>
>If anyone has got a wonder ideas please suggest.
>
>NAwasthi
>-- 
>To unsubscribe from this list go to the following URL and read the

>instructions:  http://lists.samba.org/mailman/listinfo/samba
>

Ce mel a iti envoyi avec Meloo http://www.meloo.com
Info Meloo : L'Echo du Village est en kiosque : Exprimez vous grbce aux outils gratuits d'Internet !

Return-Path: <SYork at wmt.com>
Delivered-To: samba at lists.samba.org
Received: from dommail.wmt.com (unknown [63.165.175.131]) by
  lists.samba.org (Postfix) with ESMTP id 73CD0553A for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 07:20:47 -0700 (PDT)
Subject: write access from W2K clients
To: samba at lists.samba.org
X-Mailer: Lotus Notes Release 5.0.5  September 22, 2000
Message-ID: <OF30C26C23.156157B3-ON86256AA4.004E742E at wmt.com>
From: SYork at wmt.com
Date: Fri, 10 Aug 2001 09:23:51 -0500
X-MIMETrack: Serialize by Router on DOMMAIL/WMT(Release 5.07a |May 14,
  2001) at 08/10/2001 09:23:53 AM
MIME-Version: 1.0
Content-type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have Solaris 7 samba server providing shares to Win2000 clients. Some
users create files on a Solaris server. Their umask is set to 002 allowing
group write access. Sometimes those users need to allow members of "other"
groups to modify those files. The original unix users can easily change the
permissions to allow this.

When the "other" user group saves the file they become the owner and group.
However they are not able to change the permissions from Win2000 to allow
"other" groups to write the file. In essence they cannot allow the original
owner to again modify the file.

What parameters in the smb.conf will allow this to occur? I have tried
several different combinations of umasks and create mask, directory mask,
force create mode, etc but have not gotten it to work yet.

Thanks,

Stan
 *******************************************
*  Stan York                                        *
*  Supervisor - Engineering Systems   *
*  Wright Medical Technology            *
*  (901) 867-4100                               *
*  syork at wmt.com                             *
 ******************************************

Return-Path: <mst at spes.ltd.pl>
Delivered-To: samba at lists.samba.org
Received: from main.spes.ltd.pl (main.spes.ltd.pl [195.117.7.2]) by
  lists.samba.org (Postfix) with ESMTP id 95A6F5555 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 07:27:12 -0700 (PDT)
Received: from mst by main.spes.ltd.pl with local-smtp (Exim 3.12 #1
  (Debian)) id 15VDJo-0005Uj-00; Fri, 10 Aug 2001 16:31:20 +0200
Date: Fri, 10 Aug 2001 14:31:20 +0000 (GMT)
From: Michal Staniszewski <mst at main.spes.ltd.pl>
To: samba at lists.samba.org
Message-ID: <Pine.LNX.3.96.1010810141626.21075A-100000 at main.spes.ltd.pl>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
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/

Hello,

I'm sorry if NTG but...

I have a Samba server which can be accessed by some group of hosts from 
the Internet. Now I want to hide my Samba behind a firewall. But I also
want the group to still have access to my Samba through the firewall. How
can I do this?

The picture below shows the situation:

  +-------+          +----------+                     +-----------+
  |       |          |          |                     |Hosts allo-|
  | Samba |<========>| Firewall |<==== INTERNET =====>|wed to have|
  |       |          |          |                     |access to  |
  +-------+          +----------+                     |Samba.     |
                                                      +-----------+

The question is how to configure the firewall (ipchains) to have it work.
I heard sth. abt. port forwarding but don't know how to apply it.

Best regards,
Michal

Return-Path: <aandrews at eng.okla.seagate.com>
Delivered-To: samba at lists.samba.org
Received: from seastamp.seagate.com (seastamp.seagate.com
  [204.160.183.25]) by lists.samba.org (Postfix) with ESMTP id 9074F554C
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 07:47:49 -0700 (PDT)
Received: from auth0.it.stsj.seagate.com (auth0.it.stsj.seagate.com
  [192.168.109.16]) by seastamp.seagate.com (8.11.2/8.11.2) with ESMTP
  id f7AEq0522417; Fri, 10 Aug 2001 14:52:00 GMT
Received: from ocosdrc01.eng.okla.seagate.com ([10.9.7.65]) by
  auth0.it.stsj.seagate.com  with ESMTP id OAA07789; Fri, 10 Aug 2001
  14:51:50 GMT
Received: from sdrc30 by ocosdrc01.eng.okla.seagate.com
  (8.9.3+Sun/SMI-SVR4) id JAA26886; Fri, 10 Aug 2001 09:50:42 -0500
  (CDT)
Message-Id: <200108101450.JAA26886 at ocosdrc01.eng.okla.seagate.com>
Date: Fri, 10 Aug 2001 09:50:40 -0500 (CDT)
From: Arnold Andrews X-324-4292 <aandrews at eng.okla.seagate.com>
Reply-To: Arnold Andrews X-324-4292 <aandrews at eng.okla.seagate.com>
Subject: Re: smbpasswd problem - solved!
To: samba at lists.samba.org, ezequiel_work_ml at mail.com
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: bbw29F2eoa3XjonRJb8Kwg==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc 
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Hi Samba People!
> 
> Well, it seems that I found the solution for my smbpasswd problem: as a
> user, it was not possible to change samba password from the command line
> (shell).
> 
> Here is an example:
> 
> ---
> $ smbpasswd 
> INFO: Debug class all level = 2   (pid 16160 from pid 16160)
> added interface ip=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
> added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
> Old SMB password:
> New SMB password:
> Retype new SMB password:
> machine 127.0.0.1 rejected the tconX on the IPC$ share. Error was :
> ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect
> or Session Setup are invalid.).
> Failed to change password for <username>
> ---
> 
> A simple look at the log file (log level = 2) shows:
> 
> ---
> 
> [2001/08/07 00:35:09, 2] lib/access.c:check_access(318)
>   Allowed connection from  (127.0.0.1)
> [2001/08/07 00:35:09, 2] smbd/reply.c:reply_special(93)
>   netbios connect: name1=127.0.0.1        name2=LINUX          
> [2001/08/07 00:35:09, 2] smbd/reply.c:reply_special(112)
>   netbios connect: local=127.0.0.1 remote=linux
> [2001/08/07 00:35:09, 2] lib/access.c:check_access(318)
>   Allowed connection from  (127.0.0.1)
> [2001/08/07 00:35:09, 0] smbd/password.c:authorise_login(915)
>   authorise_login: rejected invalid user nobody
> [2001/08/07 00:35:09, 2] smbd/service.c:make_connection(318)
>   Invalid username/password for ipc$ [nobody]
> [2001/08/07 00:35:09, 2] smbd/server.c:exit_server(448)
>   Closing connections

Try setting your passwd chat parameter to:

passwd chat = *new*password* %n\n *new*password* %n\n *success*

Users should be able to change their own passwords.

Good luck,

Arnold Andrews

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 7F35D557B
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 07:48:05 -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 f6CDm9312195; Thu, 12 Jul 2001 15:48:09 +0200
Date: Thu, 12 Jul 2001 15:48:09 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Alexander Keune <akcs at gmx.net>
Cc: <samba at lists.samba.org>
Subject: Re: smbmount  and archive bit
In-Reply-To: <000101c10aab$84617770$0200a8c0 at nt02>
Message-ID: <Pine.LNX.4.30.0107121534080.12661-100000 at cola.teststation.c
  om>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Thu, 12 Jul 2001, Alexander Keune wrote:

> Hi all,
> 
> I've got a Suse 7.2 machine with Samba 2.2 with shares that are mounted via
> smbmount (mount -t smbfs ...) from a Windows NT 4 workstation.
> 
> My problem is that the archive bit isn't set when a file is changed using
> this samba share like it's set if I access to the Win workstation directly.
> 
> How can I make samba set the archive bit when a file is changed?

You can't change samba to do that. You could change smbfs to do this. Or
you could wait for someone else to fix this.

If you modify files using a NT4 client, does that set the archive bit?

/Urban

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 43A50554C
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 07:48:07 -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 f6CDXe312103; Thu, 12 Jul 2001 15:33:40 +0200
Date: Thu, 12 Jul 2001 15:33:40 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Joseph Carmon <joe_m_carmon at yahoo.com>
Cc: <samba at lists.samba.org>
Subject: Re: samba 2.2.0 and RedHat Linux 6.2
In-Reply-To: <20010712002914.99940.qmail at web11001.mail.yahoo.com>
Message-ID: <Pine.LNX.4.30.0107121530550.12661-100000 at cola.teststation.c
  om>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Wed, 11 Jul 2001, Joseph Carmon wrote:

> When attempting to configure SAMBA 2.2.0 on a RedHat
> Linux 6.2 machine I get an error that states I have no
> locking.  What do I need installed to get locking?

The kernel-headers rpm. At least I think that is why it is failing, check
the generated config.log for details on why ./configure complains.

Your libc expects to find some headers under /usr/src/linux/include, and
if they are not there it provides an incomplete view of what is available.  
More recent distributions keep a separate copy of these header files to
avoid this type of problem.

/Urban

Return-Path: <urban at teststation.com>
Delivered-To: samba at us4.samba.org
Received: from fungus.teststation.com (fungus.teststation.com
  [212.32.186.211]) by lists.samba.org (Postfix) with ESMTP id C2D41557C
  for <samba at us4.samba.org>; Fri, 10 Aug 2001 07:48:09 -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 f78BCR325024; Wed, 8 Aug 2001 13:12:27 +0200
Date: Wed, 8 Aug 2001 13:12:27 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Randall Perry <rgp at systame.com>
Cc: <samba at us4.samba.org>
Subject: Re: common & client src.rpms for 2.2.1a
In-Reply-To: <B79634EB.E123%rgp at systame.com>
Message-ID: <Pine.LNX.4.30.0108081309330.26206-100000 at cola.teststation.c
  om>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Wed, 8 Aug 2001, Randall Perry wrote:

> I was able to build a source rpm of 2.2.1a for PPC but when I upgraded it
> conflicted with samba-common and samba-client.
> 
> Is it ok to force install over these or do I need them in sync? I was unable
> to find source rpms for either.

Some distributions split samba into samba-common, samba-client and samba.
(One src.rpm generates all three, same as for a lot of libraries that do
 libs and libs-devel)

The samba rpm has the same thing in one rpm. So you should remove the
samba-common and samba-client rpm's before installing the samba rpm.

You may want to make copies of cfg files.

/Urban

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 F1B1E557E
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 07:48:12 -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 f6DBJM316253; Fri, 13 Jul 2001 13:19:22 +0200
Date: Fri, 13 Jul 2001 13:19:22 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Alexander Keune <akcs at gmx.net>
Cc: <samba at lists.samba.org>
Subject: RE: smbmount  and archive bit
In-Reply-To: <000b01c10b5d$c5fe0e70$0200a8c0 at nt02>
Message-ID: <Pine.LNX.4.30.0107131302560.14059-100000 at cola.teststation.c
  om>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Fri, 13 Jul 2001, Alexander Keune wrote:

> Do you know which options I can use athe the mount command to set the
> archive bit? Or didn't you mean options but programming? :)

Programming.

It needs to remember writes to a file (which it currently does with
SMB_F_LOCALWRITE) and when closing a file you need to make it set the
attributes if SMB_F_LOCALWRITE is set.

The patch below is a starting point. It may work, but it probably doesn't.
The diff is vs a 2.4.7-pre6 kernel but it should be possible to make the
same changes to whatever kernel you use.

The changes are to smb_proc_close_inode.

/Urban


--- linux-2.4.7-pre6-orig/fs/smbfs/proc.c	Wed Jul  4 17:09:28 2001
+++ linux/fs/smbfs/proc.c	Fri Jul 13 13:15:37 2001
@@ -1111,6 +1111,12 @@
 			struct smb_fattr fattr;
 			smb_get_inode_attr(ino, &fattr);
 			smb_proc_setattr_ext(server, ino, &fattr);
+
+			/* set the archive bit if we modified the file */
+			if (ino->flags & SMB_F_LOCALWRITE) {
+				fattr.attr |= aARCH;
+				smb_proc_setattr(server, ino, &fattr);
+			}
 		}
 
 		result = smb_proc_close(server, ino->u.smbfs_i.fileid,

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 F092C5581
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 07:48:14 -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 f78BLZ325110; Wed, 8 Aug 2001 13:21:35 +0200
Date: Wed, 8 Aug 2001 13:21:35 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Harry Henderson <harry349 at newsguy.com>
Cc: <samba at lists.samba.org>
Subject: Re: smbmount problems
In-Reply-To: <5.1.0.14.0.20010807225023.00a6d140 at pop.newsguy.com>
Message-ID: <Pine.LNX.4.30.0108081312300.26206-100000 at cola.teststation.c
  om>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Tue, 7 Aug 2001, Harry Henderson wrote:

> Fairly easily I was able to connect via smbclient.  I wanted to mount it so 

smbclient works for you using guest login? as in:
smbclient //win2k/c_drive -N


> The next step, and this is where I really got hung up, was that I wanted 
> this to run at boot up.  Being fairly new to Linux, I did a bunch of 
> looking into startup scripts, the whole SysV thing, and I get that 
> now.  However, in a simple case, if I put either of the above lines as the 
> last line in rc.local, the following error message results when it executes:
> 
> tree connect failed: ERRDOS - ERRnoaccess (Access denied.)
> 
> This has baffled me and everyone else I've asked, since the exact same 
> command runs perfectly by entering it manually at the command prompt.

Someone suggested that it is environment dependant (USER being/not being
set). And yes, I have also seen this fail on a share that should provide
guest access, but smbmount somehow ignores that and fails anyway ...

A simple workaround may be to not log in as guest. This list of options
should work:
username=win2kuser,password=win2kpass,workgroup=win2kworkgroup
(or a subset of it)

Or if having a password plainly visible in rc.local bothers you (it
should) you can put it in a separate file using the 'credentials' option
in samba 2.2.


Other solutions may be to use autofs to mount this when it is accessed or
to use pam_mount.

/Urban

Return-Path: <ctooley at amoa.org>
Delivered-To: samba at lists.samba.org
Received: from amoa.org (amoa.org [207.207.51.226]) by lists.samba.org
  (Postfix) with SMTP id 86661552F for <samba at lists.samba.org>; Fri, 10
  Aug 2001 07:58:12 -0700 (PDT)
Received: by amoa.org(Lotus SMTP MTA v4.6.5  (863.2 5-20-1999))  id
  86256AA4.0052C7C3 ; Fri, 10 Aug 2001 10:04:10 -0500
X-Lotus-FromDomain: AMOA
From: ctooley at amoa.org
To: Michal Staniszewski <mst at main.spes.ltd.pl>
Cc: samba at lists.samba.org
Message-ID: <86256AA4.0052C688.00 at amoa.org>
Date: Fri, 10 Aug 2001 10:04:06 -0500
Subject: Re: (no subject)
Mime-Version: 1.0
Content-type: text/plain; charset=us-ascii
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

There are several ways to just blanket forward the ports.  However, a simple VPN
solution would probably be a better answer than just forwarding the traffic.
Are your clients all Windows boxen and if so, which versions?  If not what OS's
are you running.  Also, what version/distribution of Linux are you using for
your firewall?

Chris Tooley







Michal Staniszewski <mst at main.spes.ltd.pl> on 08/10/2001 09:31:20 AM
                                                              
                                                              
                                                              
  To:          samba at lists.samba.org                          
                                                              
  cc:          (bcc: Chris Tooley/AMOA)                       
                                                              
                                                              
                                                              
  Subject      (no subject)                                   
  :                                                           
                                                              






Hello,

I'm sorry if NTG but...

I have a Samba server which can be accessed by some group of hosts from
the Internet. Now I want to hide my Samba behind a firewall. But I also
want the group to still have access to my Samba through the firewall. How
can I do this?

The picture below shows the situation:

  +-------+          +----------+                     +-----------+
  |       |          |          |                     |Hosts allo-|
  | Samba |<========>| Firewall |<==== INTERNET =====>|wed to have|
  |       |          |          |                     |access to  |
  +-------+          +----------+                     |Samba.     |
                                                      +-----------+

The question is how to configure the firewall (ipchains) to have it work.
I heard sth. abt. port forwarding but don't know how to apply it.

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

Return-Path: <aandrews at eng.okla.seagate.com>
Delivered-To: samba at lists.samba.org
Received: from seastamp.seagate.com (seastamp.seagate.com
  [204.160.183.25]) by lists.samba.org (Postfix) with ESMTP id DF35955FD
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 08:01:31 -0700 (PDT)
Received: from auth0.it.stsj.seagate.com (auth0.it.stsj.seagate.com
  [192.168.109.16]) by seastamp.seagate.com (8.11.2/8.11.2) with ESMTP
  id f7AF5g526827; Fri, 10 Aug 2001 15:05:42 GMT
Received: from ocosdrc01.eng.okla.seagate.com ([10.9.7.65]) by
  auth0.it.stsj.seagate.com  with ESMTP id PAA12665; Fri, 10 Aug 2001
  15:05:27 GMT
Received: from sdrc30 by ocosdrc01.eng.okla.seagate.com
  (8.9.3+Sun/SMI-SVR4) id KAA27585; Fri, 10 Aug 2001 10:04:09 -0500
  (CDT)
Message-Id: <200108101504.KAA27585 at ocosdrc01.eng.okla.seagate.com>
Date: Fri, 10 Aug 2001 10:04:08 -0500 (CDT)
From: Arnold Andrews X-324-4292 <aandrews at eng.okla.seagate.com>
Reply-To: Arnold Andrews X-324-4292 <aandrews at eng.okla.seagate.com>
Subject: Re: (no subject)
To: samba at lists.samba.org, mst at main.spes.ltd.pl
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: VwF3C3d1FOJvLC7wZff+dg==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4.2 SunOS 5.8 sun4u sparc 
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Ever heard of VPN?

> Delivered-To: samba at lists.samba.org
> From: Michal Staniszewski <mst at main.spes.ltd.pl>
> To: samba at lists.samba.org
> MIME-Version: 1.0
> Subject: (no subject)
> X-BeenThere: samba at lists.samba.org
> X-Mailman-Version: 2.0beta6
> 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/
> Date: Fri, 10 Aug 2001 14:31:20 +0000 (GMT)
> 
> Hello,
> 
> I'm sorry if NTG but...
> 
> I have a Samba server which can be accessed by some group of hosts from 
> the Internet. Now I want to hide my Samba behind a firewall. But I also
> want the group to still have access to my Samba through the firewall. How
> can I do this?
> 
> The picture below shows the situation:
> 
>   +-------+          +----------+                     +-----------+
>   |       |          |          |                     |Hosts allo-|
>   | Samba |<========>| Firewall |<==== INTERNET =====>|wed to have|
>   |       |          |          |                     |access to  |
>   +-------+          +----------+                     |Samba.     |
>                                                       +-----------+
> 
> The question is how to configure the firewall (ipchains) to have it work.
> I heard sth. abt. port forwarding but don't know how to apply it.
> 
> Best regards,
> Michal
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <alex at www.schnarff.com>
Delivered-To: samba at samba.org
Received: from www.schnarff.com (ec.cdbed1.client.atlantech.net
  [209.190.205.236]) by lists.samba.org (Postfix) with SMTP id BE41255AC
  for <samba at samba.org>; Fri, 10 Aug 2001 08:23:17 -0700 (PDT)
Received: (qmail 31104 invoked by uid 1000); 10 Aug 2001 15:39:04 -0000
Message-ID: <20010810153904.12722.qmail at www.schnarff.com>
From: "Alex Kirk" <alex at schnarff.com>
To: samba at samba.org
Subject: Backup Failure
Date: Fri, 10 Aug 2001 15:39:04 GMT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I've been attempting to back up several directories on my OpenBSD system via 
a Windows-based tape back up program that sees the BSD system via a Samba 
share (I've exported the entire drive out to one share in this case). It 
runs OK every time, going through files that are not owned by the user 
accessing the share, until it's about 95% done...and then it invariably 
locks up the Windows machine. 

Any idea why this would happen? It's probably not the tape drive or the 
software for it, as I've tried buring the files to CD as well, and they lock 
at around the same point. 

BTW, I'm running Samba version 2.0.7. 

Thanks,
Alex Le Fevre

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from palrel2.hp.com (palrel2.hp.com [156.153.255.234]) by
  lists.samba.org (Postfix) with ESMTP id B868F5541 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 08:23:53 -0700 (PDT)
Received: from xparelay1.corp.hp.com (unknown [15.58.136.173]) by
  palrel2.hp.com (Postfix) with ESMTP id B26F71A4A; Fri, 10 Aug 2001
  08:28:00 -0700 (PDT)
Received: from xpabh3.corp.hp.com (xpabh3.corp.hp.com [15.58.136.223])
  by xparelay1.corp.hp.com (Postfix) with ESMTP id ECD551F532; Fri, 10
  Aug 2001 08:27:58 -0700 (PDT)
Received: by xpabh3.corp.hp.com with Internet Mail Service (5.5.2653.19)
  id <QLQG68K0>; Fri, 10 Aug 2001 08:27:58 -0700
Message-ID: <079FD72E42C9D311B854009027650E6F0758EF9F at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: "'reinout.wijnveen at philips.com'" <reinout.wijnveen at philips.com>,
  "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
Cc: jeremy at valinux.com, samba at lists.samba.org
Subject: RE: Locking issues with HP-UX 11.00
Date: Fri, 10 Aug 2001 08:27:56 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Reinout,
Could you give us a bit more information - and let's stick to a single
server/software combination to begin with  how about the one that you last
posted against, with the posix 2.0 message that you posted;
Can you post the following:

1. uname -a
2. exactly what are you doing to test the locking? (smbtorture?)
3. does the log message always fail at the same offset/count:
(fcntl_lock: lock failed at offset 4294901760 count 65535)
4. what filesystem type is the share you are using for 
this test?  (nfs, hfs, vxfs?)

The message you mention indicates that you are running
samba on a 64bit HP-UX os - can you pull the latest 2.2
CVS and do the following:
- remove source/config.cache
- run configure again, then make and make install  and 
  do your test again.

If you can tell me the above, I will try to do the same
on a 64 bit hp-ux system and see if I get the same results.  Currently the
build farm machines are all 32 bit machines...

Thanks,
Don

-----Original Message-----
From: reinout.wijnveen at philips.com [mailto:reinout.wijnveen at philips.com]
Sent: Friday, August 10, 2001 3:33 AM
To: don_mccall at hp.com
Cc: jeremy at valinux.com; samba at lists.samba.org
Subject: RE: Locking issues with HP-UX 11.00



Hi,

Thank you for your response. But i am sorry: nflocks on my testmachine is
already at 2000 and no one but me could possible be using them (maybe the
system itself). During the test i also had a gpm session open and that
reported a 1% usage of the nflocks
table.

I suspect that samba has trouble acquiring flocks at all.  Is it possible
here's something wrong with the the whole flock mechanism in my environment?
Maybe something went wrong at configure or compile time. Are there certain
software dependencies for
compiling samba on HP-UX?

In the config.log of samba 2.2.1 i found this. I cannot interpret this, but
maybe it gives a clue?

/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (conftest.o) was
detected.
The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
   flock (code)
configure: failed program was:
#line 9554 "configure"
#include "confdefs.h"

#include <sys/types.h>
#include <fcntl.h>
#include <signal.h>
#include <sys/file.h>
#ifndef LOCK_MAND
#define LOCK_MAND       32
#define LOCK_READ       64
#endif
main() {
        exit(flock(open("/dev/null", O_RDWR), LOCK_MAND|LOCK_READ) != 0);
}


-
Regards,
Reinout Wijnveen

"All those who believe in psychokinesis raise my hand"

ICT-N/Philips Semiconductors Nijmegen
Address: AC 0.062, Gerstweg 2, 6534 AE Nijmegen, Fax: +31 24 353 2019





"MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>@lists.samba.org on 08/09/2001
09:59:05 PM

Sent by:  samba-admin at lists.samba.org


To:     "'Jeremy Allison'" <jeremy at valinux.com>
        Reinout Wijnveen <reinout.wijnveen at wanadoo.nl>
cc:     samba at lists.samba.org (bcc: Reinout Wijnveen/NYM/SC/PHILIPS)
Subject:  RE: Locking issues with HP-UX 11.00
Classification:



Nope,
Never wrong, Jeremy!
The kernel tuneable is
nflocks
and its untuned size is determined partly by the user license that your
HP-UX os is installed with.  I <believe> that for the little 2 user HP-UX
os, the default is around 200 flocks systemwide.
I ran into this issue when trying to get smbtorture lock tests passing on
HP's build farm machines, and upped the nflock kernel parameter to 1024.

Hope this helps,
don

-----Original Message-----
From: Jeremy Allison [mailto:jeremy at valinux.com]
Sent: Thursday, August 09, 2001 15:09
To: Reinout Wijnveen
Cc: samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00


Reinout Wijnveen wrote:
>
> Hi,
>
> I am experiencing locking problems with samba on HP-UX 11.  I tested
> different samba versions (2.0.10 and 2.2.1a) on different HP-UX nodes with
> different patchlevels, compiled with gcc and HP cc.
> They all give these errors as soons as i enable 'locking' or 'posix
locking':
>
> [2001/08/09 15:17:18, 3] lib/util.c:(1326)
>   fcntl_lock: fcntl lock gave errno 46 (No locks available)
> [2001/08/09 15:17:18, 3] lib/util.c:(1347)
>   fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2 (No
> locks available)
> [2001/08/09 15:17:18, 3] locking/posix.c:(708)
>   posix_fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type
2
> (No locks available)
> [2001/08/09 15:17:18, 3] smbd/error.c:(123)
>   error string = No locks available

HPUX has a system wide limit on fcntl locks (or used to
in 10.x). You need to up this limit. If I'm wrong I'm
sure one of our HP people will correct me :-).

Jeremy.

--
--------------------------------------------------------
Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.
--------------------------------------------------------
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <isaac at isaac.it>
Delivered-To: samba at lists.samba.org
Received: from galactica.it (mail1.galactica.it [212.41.208.18]) by
  lists.samba.org (Postfix) with ESMTP id 7787B5553 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 08:23:53 -0700 (PDT)
Received: from MK ([212.41.223.110]) by galactica.it  with Microsoft
  SMTPSVC(5.5.1877.537.53); Fri, 10 Aug 2001 17:25:40 +0200
Message-ID: <003701c121b0$12950000$f665fea9 at MK>
From: "Isaac Srl" <isaac at isaac.it>
To: <bcaudle at hotmail.com>
Cc: <samba at lists.samba.org>
Subject: Fw: Networking
Date: Fri, 10 Aug 2001 17:16:57 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-Converted-To-Plain-Text: from multipart/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/

----- Original Message -----
From: "Isaac Srl" <isaac at isaac.it>
To: <bcaudle at hotmail.com>
Sent: Friday, August 10, 2001 2:08 PM
Subject: Re: Networking


> yes i can ping the two pc
> and ip adress is:
> Linux: 169.254.1.6
> Win 98 169.254.1.7
> Tnx a lot
> Isaac srl
>
> ----- Original Message -----
> From: "Brandon Caudle" <bcaudle at hotmail.com>
> To: <isaac at isaac.it>
> Cc: <samba at samba.org>
> Sent: Friday, August 10, 2001 1:20 PM
> Subject: Re: Networking
>
>
> > Ok we will need a little help, can you send the config files
/etc/smb.conf
> > and can you ping the two computers? what is the ip addresses etc...
> >
> > Brandon Caudle
> > --------------
> > 15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
> >
> >
> >
> > >From: "Isaac Srl" <isaac at isaac.it>
> > >To: <samba at lists.samba.org>
> > >Subject: Networking
> > >Date: Fri, 10 Aug 2001 10:25:19 +0200
> > >
> > >I have tried many times i can't access with my pc win 98 to a linux
> machine
> > >with Red hat 7.1 What can i do??
> > >--
> > >To unsubscribe from this list go to the following URL and read the
> > >instructions:  http://lists.samba.org/mailman/listinfo/samba
> >
> >
> > _________________________________________________________________
> > 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: <conlan.adams at countryfresh.com>
Delivered-To: samba at lists.samba.org
Received: from gate.suizafoods.com (host1.morningstar-group.com
  [206.50.170.2]) by lists.samba.org (Postfix) with ESMTP id 07BBD5632
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 08:29:03 -0700 (PDT)
Received: from [199.5.83.150] by gate.suizafoods.com for
  samba at lists.samba.org id KAA22464; Fri Aug 10 10:33:12 2001
Received: by cfmail.suizafoods.com from localhost (router,SLMail V4.3);
  Fri, 10 Aug 2001 11:34:11 -0400  for <samba at lists.samba.org>
Received: from adamsconlan [199.5.83.80] by cfmail.suizafoods.com
  [199.5.83.150]  (SLmail 4.3.0.3454) with SMTP id
  099D19A28CC011D5B22500805FC7E930 for <samba at lists.samba.org>; Fri, 10
  Aug 2001 11:34:11 -0400
Subject: RE: Windows 2k, Samba 2.0.10, Word 97
Date: Fri, 10 Aug 2001 11:31:28 -0400
Message-ID: <000001c121b1$8649dc40$505305c7 at suiza.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
X-SLUIDL: 086560E7-8CC011D5-B2250080-5FC7E930
To: "samba list" <samba at lists.samba.org>
From: "Conlan Adams" <conlan.adams at countryfresh.com>
Reply-To: <conlan.adams at countryfresh.com>
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/

Fixed it with Office SR2b.  Was suggested to try SR1, but that didn't fix
the problem for me, but SR2b did.  Thanks again for any help.

-Con

Return-Path: <mmurphy at astekcorp.com>
Delivered-To: samba at lists.samba.org
Received: from file_server.astek.astekcorp.com (unknown
  [63.227.139.102]) by lists.samba.org (Postfix) with ESMTP id 7D309567B
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 08:39:03 -0700 (PDT)
Received: from astekcorp.com ([153.72.219.243]) by
  file_server.astek.astekcorp.com with Microsoft SMTPSVC(5.0.2195.1600);
  Fri, 10 Aug 2001 09:43:45 -0600
Message-ID: <3B740105.908184F1 at astekcorp.com>
Date: Fri, 10 Aug 2001 09:43:01 -0600
From: Melissa Murphy <mmurphy at astekcorp.com>
X-Mailer: Mozilla 4.77 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Samba with NIS
Content-Type: text/plain; charset="us-ascii"
X-OriginalArrivalTime: 10 Aug 2001 15:43:45.0422 (UTC)
  FILETIME=[3D4A32E0:01C121B3]
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello, everyone.

This whole samba thing is new to me, but I'm slowly trekking through it.
I
have a questions for you guys ...

I'm trying to get another samba server (HP-UX 11.00) up right now.
Currently, we are running NIS on the machine that the samba server is
currently on. I don't want samba to get usernames and passwords on the
samba
server that I'm trying to get up, but instead, look to the NIS server
for
this information. I've been tweaking around with the smb.conf for a bit,
but
am fairly unsure of what I'm doing. I will include the smb.conf files
for
(first) the server ("data") that is not yet working and secondly, the
smb.conf file for the samba server (and NIS -- "spock") that is, for the

most part, working. Thank you all so very much.

- Melissa Murphy




; Configuration file for smbd.
;
============================================================================

; For the format of this file and comprehensive descriptions of all the
; configuration option, please refer to the man page for smb.conf(5).
;
; The following configuration should suit most systems for basic usage
and
; initial testing. It gives all clients access to their home directories
and
; allows access to all printers specified in /etc/printcap.
;
; Things you need to check:
; --------------------------
;
; 1: Check the path to your printcap file. If you are using a system
that does
;    not use printcap (eg., Solaris), create a file containing lines of
the
;    form
;
;       printername|printername|printername|
;
;    where each "printername" is the name of a printer you want to
provide
;    access to. Then alter the "printcap =" entry to point to the new
file.
;
;    If using Solaris, the following command will generate a suitable
printcap
;    file:
;
;       lpc status | grep ":" | sed s/:/\|/ > myprintcap
;
; 2: Make sure the "print command" entry is correct for your system.
This
;    command should submit a file (represented by %s) to a printer
;    (represented by %p) for printing and should REMOVE the file after
;    printing.
;
;    One most systems the default will be OK, as long as you get
"printing ="
;    right.
;
;    It is also a good idea to use an absolute path in the print command

;    as there is no guarantee the search path will be set correctly.
;
; 3: Make sure the "printing =" option is set correctly for your system.

;    Possible values are "sysv", "bsd" or "aix".
;
; 4: Make sure the "lpq command" entry is correct for your system. The
default
;    may not work for you.
;
; 5: Make sure that the user specified in "guest account" exists.
Typically
;    this will be a user that cannot log in and has minimal privileges.
;    Often the "nobody" account doesn't work (very system dependant).
;
; 6: You should consider the "security =" option. See a full description

;    in the main documentation and the smb.conf(5) manual page
;
; 7: Look at the "hosts allow" option, unless you want everyone on the
internet
;    to be able to access your files.
;

[global]
   workgroup = ASTEK
   printing = bsd
   printcap name = /usr/local/samba/lib/printcap
   load printers = yes
   guest account = pdtrans
   username map = /usr/local/samba/lib/users.map
   hosts equiv = /usr/local/samba/lib/hosts.equiv
   preserve case = yes
   password server = SPOCK
   security = server
   nis homedir = yes
   null passwords = no
   netbios name = DATA
;  This next option sets a separate log file for each client. Remove
;  it if you want a combined log file.
;   log file = /usr/local/samba/log.%m

;  You will need a world readable lock directory and "share modes=yes"
;  if you want to support the file sharing modes for multiple users
;  of the same files
;  lock directory = /usr/local/samba/var/locks
;  share modes = yes

[printers]
   comment = All Printers
   browseable = no
   printable = yes
   public = yes
   writable = no
   create mode = 0700

; you might also want this one, notice that it is read only so as not to
give
; people without an account write access.
;
; [tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = yes
;   public = yes

;
; Other examples.
;
; A private printer, usable only by fred. Spool data will be placed in
fred's
; home directory. Note that fred must have write access to the spool
directory,
; wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes
;
; A private directory, usable only by fred. Note that fred requires
write
; access to the directory.
;[fredsdir]
;   comment = Melissa's Home Directory (test)
;   path = /home/mmurphy
;   valid users = mmurphy
;   public = no
;   writable = yes
;   printable = no
;
; A publicly accessible directory, but read only, except for people in
; the staff group
;[public]
;   comment = Public Stuff
;   path = /usr/somewhere/public
;   public = yes
;   writable = no
;   printable = no
;   write list = @staff
;
; a service which has a different directory for each machine that
connects
; this allows you to tailor configurations to incoming machines. You
could
; also use the %u option to tailor it by user name.
; The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writeable = yes
;
;
; A publicly accessible directory, read/write to all users. Note that
all files
; created in the directory by users will be owned by the default user,
so
; any user with access can delete any other user's files. Obviously this

; directory must be writable by the default user. Another user could of
course
; be specified, in which case all files would be owned by that user
instead.
[public]
   path = /
   public = yes
   preserve case = yes
   short preserve case = yes
   writable = yes
   printable = no

;
;
; The following two entries demonstrate how to share a directory so that
two
; users can place files there that will be owned by the specific users.
In this
; setup, the directory should be writable by both users and should have
the
; sticky bit set on it to prevent abuse. Obviously this could be
extended to
; as many users as required.
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765
;
;
; The following entries are specific to the FTC site.
;
;[distlists]
;   comment = UNIX mail distibution list
;   path = /usr/local/adm/distlists
;   valid users = johnmc stwalker
;   public = no
;   writable = yes
;   printable = no
;
;[dco]
;   path = /home/mariah/dco
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no
;   create mask = 0777
;
;[derryl]
;   path = /derryl
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no
;   create mask = 0777





; Configuration file for smbd.
;
============================================================================

; For the format of this file and comprehensive descriptions of all the
; configuration option, please refer to the man page for smb.conf(5).
;
; The following configuration should suit most systems for basic usage
and
; initial testing. It gives all clients access to their home directories
and
; allows access to all printers specified in /etc/printcap.
;
; Things you need to check:
; --------------------------
;
; 1: Check the path to your printcap file. If you are using a system
that does
;    not use printcap (eg., Solaris), create a file containing lines of
the
;    form
;
;       printername|printername|printername|
;
;    where each "printername" is the name of a printer you want to
provide
;    access to. Then alter the "printcap =" entry to point to the new
file.
;
;    If using Solaris, the following command will generate a suitable
printcap
;    file:
;
;       lpc status | grep ":" | sed s/:/\|/ > myprintcap
;
; 2: Make sure the "print command" entry is correct for your system.
This
;    command should submit a file (represented by %s) to a printer
;    (represented by %p) for printing and should REMOVE the file after
;    printing.
;
;    One most systems the default will be OK, as long as you get
"printing ="
;    right.
;
;    It is also a good idea to use an absolute path in the print command

;    as there is no guarantee the search path will be set correctly.
;
; 3: Make sure the "printing =" option is set correctly for your system.

;    Possible values are "sysv", "bsd" or "aix".
;
; 4: Make sure the "lpq command" entry is correct for your system. The
default
;    may not work for you.
;
; 5: Make sure that the user specified in "guest account" exists.
Typically
;    this will be a user that cannot log in and has minimal privileges.
;    Often the "nobody" account doesn't work (very system dependant).
;
; 6: You should consider the "security =" option. See a full description

;    in the main documentation and the smb.conf(5) manual page
;
; 7: Look at the "hosts allow" option, unless you want everyone on the
internet
;    to be able to access your files.
;
workgroup = ASTEK

[global]
   printing = bsd
   printcap name = /usr/local/samba/lib/printcap
   load printers = yes
   username map = /usr/local/samba/lib/users.map
   hosts equiv = /usr/local/samba/lib/hosts.equiv
   preserve case = yes
;  This next option sets a separate log file for each client. Remove
;  it if you want a combined log file.
;   log file = /usr/local/samba/log.%m

;  You will need a world readable lock directory and "share modes=yes"
;  if you want to support the file sharing modes for multiple users
;  of the same files
;  lock directory = /usr/local/samba/var/locks
;  share modes = yes

[printers]
   comment = All Printers
   browseable = no
   printable = yes
   public = yes
   writable = no
   create mode = 0700

; you might also want this one, notice that it is read only so as not to
give
; people without an account write access.
;
; [tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = yes
;   public = yes

;
; Other examples.
;
; A private printer, usable only by fred. Spool data will be placed in
fred's
; home directory. Note that fred must have write access to the spool
directory,
; wherever it is.
;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes
;
; A private directory, usable only by fred. Note that fred requires
write
; access to the directory.
;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no
;
; A publicly accessible directory, but read only, except for people in
; the staff group
;[public]
;   comment = Public Stuff
;   path = /usr/somewhere/public
;   public = yes
;   writable = no
;   printable = no
;   write list = @staff
;
; a service which has a different directory for each machine that
connects
; this allows you to tailor configurations to incoming machines. You
could
; also use the %u option to tailor it by user name.
; The %m gets replaced with the machine name that is connecting.
;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writeable = yes
;
;
; A publicly accessible directory, read/write to all users. Note that
all files
; created in the directory by users will be owned by the default user,
so
; any user with access can delete any other user's files. Obviously this

; directory must be writable by the default user. Another user could of
course
; be specified, in which case all files would be owned by that user
instead.
[public]
   path = /
   public = yes
   preserve case = yes
   short preserve case = yes
   writable = yes
   printable = no

;
;
; The following two entries demonstrate how to share a directory so that
two
; users can place files there that will be owned by the specific users.
In this
; setup, the directory should be writable by both users and should have
the
; sticky bit set on it to prevent abuse. Obviously this could be
extended to
; as many users as required.
;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765
;
;
; The following entries are specific to the FTC site.
;
;[distlists]
;   comment = UNIX mail distibution list
;   path = /usr/local/adm/distlists
;   valid users = johnmc stwalker
;   public = no
;   writable = yes
;   printable = no
;
;[dco]
;   path = /home/mariah/dco
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no
;   create mask = 0777
;
;[derryl]
;   path = /derryl
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no
;   create mask = 0777

Return-Path: <hamilton at SEDSystems.ca>
Delivered-To: samba at samba.org
Received: from nelson.sedsystems.ca (nelson.SEDSystems.ca
  [192.107.131.136]) by lists.samba.org (Postfix) with ESMTP id
  DDACC5642 for <samba at samba.org>; Fri, 10 Aug 2001 09:04:38 -0700 (PDT)
Received: from barney.sedsystems.ca (root at barney.SEDSystems.ca
  [198.169.180.121]) by nelson.sedsystems.ca (8.8.6 (PHNE_16852)/8.8.6)
  with ESMTP id KAA12282 for <samba at samba.org>; Fri, 10 Aug 2001
  10:09:28 -0600 (CST)
Received: from sedsystems.ca (de-07.SEDSystems.ca [192.107.131.162]) by
  barney.sedsystems.ca (8.9.3/8.9.3) with ESMTP id KAA11409 for
  <samba at samba.org>; Fri, 10 Aug 2001 10:18:35 -0600
Message-ID: <3B740700.4040104 at sedsystems.ca>
Date: Fri, 10 Aug 2001 10:08:32 -0600
From: "Kendrick G. Hamilton" <hamilton at SEDSystems.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:0.9.3)
  Gecko/20010808
X-Accept-Language: en-us
MIME-Version: 1.0
To: samba at samba.org
Subject: smbmount reading smbpasswd
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

It there a way to make smbmount read my smbpassword file (or at least 
encrypt the passwd on the credentials file)?

-- 
Kendrick Hamilton E.I.T.
SED Systems, a division of Calian Ltd.
18 Innovation Blvd.
PO Box 1464
Saskatoon, Saskatchewan
Canada
S7N 3R1
Canada

Hamilton at sedsystems.ca
Tel: (306) 933-1453
Fax: (306) 933-1486

Return-Path: <dhall at vermeermfg.com>
Delivered-To: samba at lists.samba.org
Received: from vermeerfw.vermeermfg.com (vermeerfw.vermeermfg.com
  [199.184.227.2]) by lists.samba.org (Postfix) with ESMTP id 9F1C45666
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 09:07:24 -0700 (PDT)
Received: by vermeerfw.vermeermfg.com; id LAA17369; Fri, 10 Aug 2001
  11:11:35 -0500 (CDT)
Received: from vermeerws.vermeermfg.com(192.168.100.5) by
  vermeerfw.vermeermfg.com via smap (V5.5) id xma017332; Fri, 10 Aug 01
  11:11:10 -0500
Received: from nodnsquery(172.16.4.0) by vermeerws.vermeermfg.com via
  csmap (V4.1) id srcAAAKcaqdy; Fri, 10 Aug 01 11:11:09 -0500
From: "Dave Hall" <dhall at vermeermfg.com>
To: <samba at lists.samba.org>
Subject: Problems with Samba 2.2.1a on Solaris 8 and Opening a .txt file
  in Excel.
Date: Fri, 10 Aug 2001 11:11:09 -0500
Message-ID: <000501c121b7$11035f50$000410ac at d0116>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Good day I hope.

We recently install Samba 2.2.1a on our Solaris 8 servers.  Since that time,
we have had problems opening .txt in Excel 97 SR-2 on our Windows 95 or on
our Windows 98 machines.  When we try to open a .txt file, it takes too
long, errors or crashes Excel.  We can however open the same .txt file in
Excel 97 SR-2 on 2000 SP2 and NT4.0.

The error we get in the log file is:
	 lib/util_sock.c:read_socket_data(478)
read_socket_data: recv failure for 4.  Error = Connection reset by peer.

What things should I check?

Dave

Return-Path: <mst at spes.ltd.pl>
Delivered-To: samba at lists.samba.org
Received: from main.spes.ltd.pl (main.spes.ltd.pl [195.117.7.2]) by
  lists.samba.org (Postfix) with ESMTP id 1660844CF for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 09:31:55 -0700 (PDT)
Received: from mst by main.spes.ltd.pl with local-smtp (Exim 3.12 #1
  (Debian)) id 15VFFR-0005fS-00; Fri, 10 Aug 2001 18:34:57 +0200
Date: Fri, 10 Aug 2001 16:34:57 +0000 (GMT)
From: Michal Staniszewski <mst at main.spes.ltd.pl>
To: samba at lists.samba.org
Subject: Re: (no subject)
In-Reply-To: <86256AA4.0052C688.00 at amoa.org>
Message-ID: <Pine.LNX.3.96.1010810162732.21743A-100000 at main.spes.ltd.pl>
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/

> There are several ways to just blanket forward the ports.  However, a
> simple VPN
> solution would probably be a better answer than just forwarding the
> traffic.
> Are your clients all Windows boxen and if so, which versions?  If not
> what OS's
> are you running.  Also, what version/distribution of Linux are you
> using for
> your firewall?
> 

>> Hello,
>> 
>> I'm sorry if NTG but...
>> 
>> I have a Samba server which can be accessed by some group of hosts from
>> the Internet. Now I want to hide my Samba behind a firewall. But I also
>> want the group to still have access to my Samba through the firewall.
>> How
>> can I do this?
>> 

Ok. So here's some info. abt. my software.

My Samba server runs on Linux Debian 2.2 rev. 3 (kernel 2.2.16 on
PentiumII). Samba clients are Win95 and WinMe.

Yes! The VPN solution is very good but suppose it's too expensive for me
:-) What then? Is it possible to solve the problem without VPN?

Michal

Return-Path: <rodger at thompsonprint.com>
Delivered-To: samba at lists.samba.org
Received: from rotterdam.execulink.net (rotterdam.execulink.net
  [199.166.6.26]) by lists.samba.org (Postfix) with ESMTP id B23A74B12
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 09:32:58 -0700 (PDT)
Received: from thompsonprint.com (thompsonprint.com [206.186.185.66]) by
  rotterdam.execulink.net (8.11.3/8.11.2) with ESMTP id f7AGb7n18628 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 12:37:07 -0400 (EDT)
Received: from thompsonprint.com [90.0.0.22] by thompsonprint.com
  (FTGate 2, 2, 4, 1); Fri, 10 Aug 2001 12:35:31 -0400
Message-ID: <3B740D3A.3D945AF1 at thompsonprint.com>
Date: Fri, 10 Aug 2001 12:35:06 -0400
From: Rodger Haynes <rodger at thompsonprint.com>
X-Mailer: Mozilla 4.75 [en] (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: samba <samba at lists.samba.org>
Subject: no inetd.conf file
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 installed RedHat 7.1 and am now trying to install Samba 2.2.1a. Many
references are made to editing my inetd.conf file, but I can't find one
on my system. Is it something I have to create myself or is my
installation faulty? Thanks in advance...

Return-Path: <dxf at dewittross.net>
Delivered-To: samba at lists.samba.org
Received: from mail.dewittross.net (mail.dewittross.com
  [205.164.161.27]) by lists.samba.org (Postfix) with ESMTP id 355C243A0
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 09:41:46 -0700 (PDT)
Received: from dewittross.net (DNSSPOOFER [10.1.1.113]) by
  mail.dewittross.net (Netscape Messaging Server 4.15) with ESMTP id
  GHV23P00.39J; Fri, 10 Aug 2001 11:35:49 -0500 
Message-ID: <3B740FF9.1010202 at dewittross.net>
Date: Fri, 10 Aug 2001 11:46:49 -0500
From: "Daniell Freed" <dxf at dewittross.net>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3)
  Gecko/20010801
X-Accept-Language: en-us
MIME-Version: 1.0
To: Rodger Haynes <rodger at thompsonprint.com>
Cc: samba <samba at lists.samba.org>
Subject: Re: no inetd.conf file
References: <3B740D3A.3D945AF1 at thompsonprint.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

New versions of RedHat and Mandrake are using xinetd instead of inetd. 
 Look for a directory called /etc/xinetd/  it contains files for each 
service (instead of single file for all services).  Also look at the 
xinetd man page for info about these.

Daniell Freed


Rodger Haynes wrote:

>I installed RedHat 7.1 and am now trying to install Samba 2.2.1a. Many
>references are made to editing my inetd.conf file, but I can't find one
>on my system. Is it something I have to create myself or is my
>installation faulty? Thanks in advance...
>

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 325675619 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 09:51:34 -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 15VFZT-0005GN-00; Fri, 10 Aug 2001
  09:55:39 -0700
Message-ID: <3B741239.CECFD150 at valinux.com>
Date: Fri, 10 Aug 2001 09:56:25 -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: John Fink <jbfink at library.ucsf.edu>
Cc: samba at lists.samba.org
Subject: Re: possible FIFO breakage in 2.2.1?
References: <Pine.GSO.4.33.0108091515420.27793-100000 at gossamer.ckm.ucsf.
  edu>
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/

John Fink wrote:
> 
> Hey Samba list folks,
> 
> I've got a samba installation on a Solaris 2.8 machine that I have
> recently upgraded from 2.0.7 to 2.2.1.  I have this coworker who was,
> under 2.0.7, able to make a FIFO on the Solaris box and write to it from a
> Windows machine.  Since upgrading to 2.2.1, he is no longer able to do so
> despite using the same procedure which worked on 2.0.7.
> 
> If there's a known issue with FIFO in 2.2.1 could someone clue me in on it
> and a possible fix?  Thanks very much.

Can you get be a debug level 10 trace of the attempt to
use the fifo please. It's probably a errno issue.

Jeremy.

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

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 F34E74854 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 10:20:26 -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
  f7AHOTA03701; Fri, 10 Aug 2001 19:24:29 +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 TAA06440; Fri, 10
  Aug 2001 19:24:12 +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 TAA17770; Fri, 10 Aug
  2001 19:24:36 +0200
From: "Christian Barth" <barth at cck.uni-kl.de>
To: samba at lists.samba.org, Melissa Murphy <mmurphy at astekcorp.com>
Date: Fri, 10 Aug 2001 19:24:21 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Re: Samba with NIS
Message-ID: <3B7434E5.26608.2872D37 at localhost>
Priority: normal
In-reply-to: <3B740105.908184F1 at astekcorp.com>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> Hello, everyone.
> 
> This whole samba thing is new to me, but I'm slowly trekking through it.
> I
> have a questions for you guys ...
> 
> I'm trying to get another samba server (HP-UX 11.00) up right now.
> Currently, we are running NIS on the machine that the samba server is
> currently on. I don't want samba to get usernames and passwords on the
> samba
> server that I'm trying to get up, but instead, look to the NIS server
> for
> this information. I've been tweaking around with the smb.conf for a bit,
> but
> am fairly unsure of what I'm doing. I will include the smb.conf files
> for
> (first) the server ("data") that is not yet working and secondly, the
> smb.conf file for the samba server (and NIS -- "spock") that is, for the

Your are not working with encrypted passwords? As far as I can see 
you use plain text passwords. In this case turn the data-server to 
security = user/share and you should be fine: users and password come 
form NIS. I assume this is rigth now working for shell login.

If you use encrypted passwords, security should be server on data and 
encrypted passwords should be turned on on data and spock. This way 
data gets the users form NIS and the smbpasswords form spock.
It's working perfecty here.

Christian



> most part, working. Thank you all so very much.
> 
> - Melissa Murphy
> 
> 
> 
> 
> ; Configuration file for smbd.
> ;
> ============================================================================
> 
> ; For the format of this file and comprehensive descriptions of all the
> ; configuration option, please refer to the man page for smb.conf(5).
> ;
> ; The following configuration should suit most systems for basic usage
> and
> ; initial testing. It gives all clients access to their home directories
> and
> ; allows access to all printers specified in /etc/printcap.
> ;
> ; Things you need to check:
> ; --------------------------
> ;
> ; 1: Check the path to your printcap file. If you are using a system
> that does
> ;    not use printcap (eg., Solaris), create a file containing lines of
> the
> ;    form
> ;
> ;       printername|printername|printername|
> ;
> ;    where each "printername" is the name of a printer you want to
> provide
> ;    access to. Then alter the "printcap =" entry to point to the new
> file.
> ;
> ;    If using Solaris, the following command will generate a suitable
> printcap
> ;    file:
> ;
> ;       lpc status | grep ":" | sed s/:/\|/ > myprintcap
> ;
> ; 2: Make sure the "print command" entry is correct for your system.
> This
> ;    command should submit a file (represented by %s) to a printer
> ;    (represented by %p) for printing and should REMOVE the file after
> ;    printing.
> ;
> ;    One most systems the default will be OK, as long as you get
> "printing ="
> ;    right.
> ;
> ;    It is also a good idea to use an absolute path in the print command
> 
> ;    as there is no guarantee the search path will be set correctly.
> ;
> ; 3: Make sure the "printing =" option is set correctly for your system.
> 
> ;    Possible values are "sysv", "bsd" or "aix".
> ;
> ; 4: Make sure the "lpq command" entry is correct for your system. The
> default
> ;    may not work for you.
> ;
> ; 5: Make sure that the user specified in "guest account" exists.
> Typically
> ;    this will be a user that cannot log in and has minimal privileges.
> ;    Often the "nobody" account doesn't work (very system dependant).
> ;
> ; 6: You should consider the "security =" option. See a full description
> 
> ;    in the main documentation and the smb.conf(5) manual page
> ;
> ; 7: Look at the "hosts allow" option, unless you want everyone on the
> internet
> ;    to be able to access your files.
> ;
> 
> [global]
>    workgroup = ASTEK
>    printing = bsd
>    printcap name = /usr/local/samba/lib/printcap
>    load printers = yes
>    guest account = pdtrans
>    username map = /usr/local/samba/lib/users.map
>    hosts equiv = /usr/local/samba/lib/hosts.equiv
>    preserve case = yes
>    password server = SPOCK
>    security = server
>    nis homedir = yes
>    null passwords = no
>    netbios name = DATA
> ;  This next option sets a separate log file for each client. Remove
> ;  it if you want a combined log file.
> ;   log file = /usr/local/samba/log.%m
> 
> ;  You will need a world readable lock directory and "share modes=yes"
> ;  if you want to support the file sharing modes for multiple users
> ;  of the same files
> ;  lock directory = /usr/local/samba/var/locks
> ;  share modes = yes
> 
> [printers]
>    comment = All Printers
>    browseable = no
>    printable = yes
>    public = yes
>    writable = no
>    create mode = 0700
> 
> ; you might also want this one, notice that it is read only so as not to
> give
> ; people without an account write access.
> ;
> ; [tmp]
> ;   comment = Temporary file space
> ;   path = /tmp
> ;   read only = yes
> ;   public = yes
> 
> ;
> ; Other examples.
> ;
> ; A private printer, usable only by fred. Spool data will be placed in
> fred's
> ; home directory. Note that fred must have write access to the spool
> directory,
> ; wherever it is.
> ;[fredsprn]
> ;   comment = Fred's Printer
> ;   valid users = fred
> ;   path = /homes/fred
> ;   printer = freds_printer
> ;   public = no
> ;   writable = no
> ;   printable = yes
> ;
> ; A private directory, usable only by fred. Note that fred requires
> write
> ; access to the directory.
> ;[fredsdir]
> ;   comment = Melissa's Home Directory (test)
> ;   path = /home/mmurphy
> ;   valid users = mmurphy
> ;   public = no
> ;   writable = yes
> ;   printable = no
> ;
> ; A publicly accessible directory, but read only, except for people in
> ; the staff group
> ;[public]
> ;   comment = Public Stuff
> ;   path = /usr/somewhere/public
> ;   public = yes
> ;   writable = no
> ;   printable = no
> ;   write list = @staff
> ;
> ; a service which has a different directory for each machine that
> connects
> ; this allows you to tailor configurations to incoming machines. You
> could
> ; also use the %u option to tailor it by user name.
> ; The %m gets replaced with the machine name that is connecting.
> ;[pchome]
> ;  comment = PC Directories
> ;  path = /usr/pc/%m
> ;  public = no
> ;  writeable = yes
> ;
> ;
> ; A publicly accessible directory, read/write to all users. Note that
> all files
> ; created in the directory by users will be owned by the default user,
> so
> ; any user with access can delete any other user's files. Obviously this
> 
> ; directory must be writable by the default user. Another user could of
> course
> ; be specified, in which case all files would be owned by that user
> instead.
> [public]
>    path = /
>    public = yes
>    preserve case = yes
>    short preserve case = yes
>    writable = yes
>    printable = no
> 
> ;
> ;
> ; The following two entries demonstrate how to share a directory so that
> two
> ; users can place files there that will be owned by the specific users.
> In this
> ; setup, the directory should be writable by both users and should have
> the
> ; sticky bit set on it to prevent abuse. Obviously this could be
> extended to
> ; as many users as required.
> ;[myshare]
> ;   comment = Mary's and Fred's stuff
> ;   path = /usr/somewhere/shared
> ;   valid users = mary fred
> ;   public = no
> ;   writable = yes
> ;   printable = no
> ;   create mask = 0765
> ;
> ;
> ; The following entries are specific to the FTC site.
> ;
> ;[distlists]
> ;   comment = UNIX mail distibution list
> ;   path = /usr/local/adm/distlists
> ;   valid users = johnmc stwalker
> ;   public = no
> ;   writable = yes
> ;   printable = no
> ;
> ;[dco]
> ;   path = /home/mariah/dco
> ;   public = yes
> ;   only guest = yes
> ;   writable = yes
> ;   printable = no
> ;   create mask = 0777
> ;
> ;[derryl]
> ;   path = /derryl
> ;   public = yes
> ;   only guest = yes
> ;   writable = yes
> ;   printable = no
> ;   create mask = 0777
> 
> 
> 
> 
> 
> ; Configuration file for smbd.
> ;
> ============================================================================
> 
> ; For the format of this file and comprehensive descriptions of all the
> ; configuration option, please refer to the man page for smb.conf(5).
> ;
> ; The following configuration should suit most systems for basic usage
> and
> ; initial testing. It gives all clients access to their home directories
> and
> ; allows access to all printers specified in /etc/printcap.
> ;
> ; Things you need to check:
> ; --------------------------
> ;
> ; 1: Check the path to your printcap file. If you are using a system
> that does
> ;    not use printcap (eg., Solaris), create a file containing lines of
> the
> ;    form
> ;
> ;       printername|printername|printername|
> ;
> ;    where each "printername" is the name of a printer you want to
> provide
> ;    access to. Then alter the "printcap =" entry to point to the new
> file.
> ;
> ;    If using Solaris, the following command will generate a suitable
> printcap
> ;    file:
> ;
> ;       lpc status | grep ":" | sed s/:/\|/ > myprintcap
> ;
> ; 2: Make sure the "print command" entry is correct for your system.
> This
> ;    command should submit a file (represented by %s) to a printer
> ;    (represented by %p) for printing and should REMOVE the file after
> ;    printing.
> ;
> ;    One most systems the default will be OK, as long as you get
> "printing ="
> ;    right.
> ;
> ;    It is also a good idea to use an absolute path in the print command
> 
> ;    as there is no guarantee the search path will be set correctly.
> ;
> ; 3: Make sure the "printing =" option is set correctly for your system.
> 
> ;    Possible values are "sysv", "bsd" or "aix".
> ;
> ; 4: Make sure the "lpq command" entry is correct for your system. The
> default
> ;    may not work for you.
> ;
> ; 5: Make sure that the user specified in "guest account" exists.
> Typically
> ;    this will be a user that cannot log in and has minimal privileges.
> ;    Often the "nobody" account doesn't work (very system dependant).
> ;
> ; 6: You should consider the "security =" option. See a full description
> 
> ;    in the main documentation and the smb.conf(5) manual page
> ;
> ; 7: Look at the "hosts allow" option, unless you want everyone on the
> internet
> ;    to be able to access your files.
> ;
> workgroup = ASTEK
> 
> [global]
>    printing = bsd
>    printcap name = /usr/local/samba/lib/printcap
>    load printers = yes
>    username map = /usr/local/samba/lib/users.map
>    hosts equiv = /usr/local/samba/lib/hosts.equiv
>    preserve case = yes
> ;  This next option sets a separate log file for each client. Remove
> ;  it if you want a combined log file.
> ;   log file = /usr/local/samba/log.%m
> 
> ;  You will need a world readable lock directory and "share modes=yes"
> ;  if you want to support the file sharing modes for multiple users
> ;  of the same files
> ;  lock directory = /usr/local/samba/var/locks
> ;  share modes = yes
> 
> [printers]
>    comment = All Printers
>    browseable = no
>    printable = yes
>    public = yes
>    writable = no
>    create mode = 0700
> 
> ; you might also want this one, notice that it is read only so as not to
> give
> ; people without an account write access.
> ;
> ; [tmp]
> ;   comment = Temporary file space
> ;   path = /tmp
> ;   read only = yes
> ;   public = yes
> 
> ;
> ; Other examples.
> ;
> ; A private printer, usable only by fred. Spool data will be placed in
> fred's
> ; home directory. Note that fred must have write access to the spool
> directory,
> ; wherever it is.
> ;[fredsprn]
> ;   comment = Fred's Printer
> ;   valid users = fred
> ;   path = /homes/fred
> ;   printer = freds_printer
> ;   public = no
> ;   writable = no
> ;   printable = yes
> ;
> ; A private directory, usable only by fred. Note that fred requires
> write
> ; access to the directory.
> ;[fredsdir]
> ;   comment = Fred's Service
> ;   path = /usr/somewhere/private
> ;   valid users = fred
> ;   public = no
> ;   writable = yes
> ;   printable = no
> ;
> ; A publicly accessible directory, but read only, except for people in
> ; the staff group
> ;[public]
> ;   comment = Public Stuff
> ;   path = /usr/somewhere/public
> ;   public = yes
> ;   writable = no
> ;   printable = no
> ;   write list = @staff
> ;
> ; a service which has a different directory for each machine that
> connects
> ; this allows you to tailor configurations to incoming machines. You
> could
> ; also use the %u option to tailor it by user name.
> ; The %m gets replaced with the machine name that is connecting.
> ;[pchome]
> ;  comment = PC Directories
> ;  path = /usr/pc/%m
> ;  public = no
> ;  writeable = yes
> ;
> ;
> ; A publicly accessible directory, read/write to all users. Note that
> all files
> ; created in the directory by users will be owned by the default user,
> so
> ; any user with access can delete any other user's files. Obviously this
> 
> ; directory must be writable by the default user. Another user could of
> course
> ; be specified, in which case all files would be owned by that user
> instead.
> [public]
>    path = /
>    public = yes
>    preserve case = yes
>    short preserve case = yes
>    writable = yes
>    printable = no
> 
> ;
> ;
> ; The following two entries demonstrate how to share a directory so that
> two
> ; users can place files there that will be owned by the specific users.
> In this
> ; setup, the directory should be writable by both users and should have
> the
> ; sticky bit set on it to prevent abuse. Obviously this could be
> extended to
> ; as many users as required.
> ;[myshare]
> ;   comment = Mary's and Fred's stuff
> ;   path = /usr/somewhere/shared
> ;   valid users = mary fred
> ;   public = no
> ;   writable = yes
> ;   printable = no
> ;   create mask = 0765
> ;
> ;
> ; The following entries are specific to the FTC site.
> ;
> ;[distlists]
> ;   comment = UNIX mail distibution list
> ;   path = /usr/local/adm/distlists
> ;   valid users = johnmc stwalker
> ;   public = no
> ;   writable = yes
> ;   printable = no
> ;
> ;[dco]
> ;   path = /home/mariah/dco
> ;   public = yes
> ;   only guest = yes
> ;   writable = yes
> ;   printable = no
> ;   create mask = 0777
> ;
> ;[derryl]
> ;   path = /derryl
> ;   public = yes
> ;   only guest = yes
> ;   writable = yes
> ;   printable = no
> ;   create mask = 0777
> -- 
> 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: <bcaudle at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (f133.law10.hotmail.com [64.4.15.133]) by
  lists.samba.org (Postfix) with ESMTP id BEDFF4C99 for
  <samba at samba.org>; Fri, 10 Aug 2001 10:20:47 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Fri, 10 Aug 2001 10:24:58 -0700
Received: from 64.192.99.49 by lw10fd.law10.hotmail.msn.com with HTTP;
  Fri, 10 Aug 2001 17:24:58 GMT
X-Originating-IP: [64.192.99.49]
Reply-To: bcaudle at hotmail.com
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: samba at samba.org
Subject: Re: Swat and host allow and deny
Date: Fri, 10 Aug 2001 13:24:58 -0400
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F1338O7TRURqYYrX0cI0000404c at hotmail.com>
X-OriginalArrivalTime: 10 Aug 2001 17:24:58.0549 (UTC)
  FILETIME=[6127D650:01C121C1]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

i have already done that but it still doesn't work.  when i do test parm it 
doesn't see the top half of smb.conf because i deleted the whole file. So 
where is the other half? Thats what i need to get rid of.

Brandon Caudle
--------------
15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
Larkhaven Golf Course
Charlotte, NC

"There cannot be a crisis next week. My schedule is already full." -- Henry 
Kissinger




>From: Anna Langley <Anna.Langley at ssmb.com>
>To: bcaudle at hotmail.com
>Subject: Re: Swat and host allow and deny
>Date: Fri, 10 Aug 2001 17:41:14 +0100
>
>Brandon Caudle wrote:
> >
> > Ok on accident a couple of days ago i put 192.168.1 (no . after it) in 
>host
> > allow and in host deny i put all so i can't get into swat. I have tryed
> > everything. I reinstalled 2.2.1a, deleted the smb.conf, restarted the 
>smbd
> > and nmbd process and i can't get it to work some one please help me!
>
>Ouch!  If you've deleted your smb.conf, then you'll probably just have
>to start again.
>
>Next time, just edit your smb.conf by hand.  Don't worry, it is not at
>all difficult.
>
>Cheers,
>
>Anna
>--
>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


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

Return-Path: <deborah.santomauro at lmco.com>
Delivered-To: samba at lists.samba.org
Received: from mailgw1a.lmco.com (mailgw1a.lmco.com [192.31.106.7]) by
  lists.samba.org (Postfix) with ESMTP id 65AF955A1; Fri, 10 Aug 2001
  10:22:37 -0700 (PDT)
Received: from emss02g01.ems.lmco.com (relay2.ems.lmco.com
  [166.29.2.54]) by mailgw1a.lmco.com (8.8.8/8.8.8) with ESMTP id
  LAA09517; Fri, 10 Aug 2001 11:26:46 -0600 (MDT)
Received: from CONVERSION-DAEMON by lmco.com (PMDF V5.2-33 #38887) id
  <0GHV00P014GL29 at lmco.com>; Fri, 10 Aug 2001 11:26:46 -0600 (MDT)
Received: from emss02i00.ems.lmco.com ([166.29.2.48]) by lmco.com (PMDF
  V5.2-33 #38887) with ESMTP id <0GHV00BT94GIT9 at lmco.com>; Fri, 10 Aug
  2001 11:26:42 -0600 (MDT)
Received: by emss02i00.ems.lmco.com with Internet Mail Service
  (5.5.2653.19)	id <QPWNDMVP>; Fri, 10 Aug 2001 11:27:47 -0600
Content-return: allowed
Date: Fri, 10 Aug 2001 11:27:44 -0600
From: "Santomauro, Deborah" <deborah.santomauro at lmco.com>
Subject: Uninstalling Samba
To: "Samba Group (E-mail)" <samba at lists.samba.org>, "SAMBA-TECH
  (E-mail)" <SAMBA-TECHNICAL at lists.samba.org>
Message-id: <784F51866054D4118E8A00508BDF581A06561896 at emss02m02.ems.lmco
  .com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I am going to have to start from scratch and re-install Samba 2.2.0 A few
questions:

1. is there a command to "uninstall" the entire Samba package  - i.e. in
Solaris you can use 'pkgrm' to remove a software package completely?
2. should I include the flags "--with-nisplus" "--with-nisplus-home" and
"--with-automount" during the configuration phase?
(running NFS/automount/NIS+ in a Solaris 2.7/Sparc5 environment - Note: if I
can get Samba to run right I will eventually be putting it on an Enterprise
4000 server)
3. is there any known problems/issues running Samba in a NIS+ environment?
Are there special flags, options that should be included so that Samba is
happy with NIS+?
4. does a user's login information have to be the same on both OSes - NT vs
Unix?

Thanks for any input or advice that you can offer.

Deborah Santomauro
Unix System Administrator
Lockheed Martin Mission Systems
email: deborah.santomauro at lmco.com
Work: 303-971-7333
Fax: 303-977-4965
    o,    o__              o_/|   o_.
   </     [\/              [\_|   [\_\
(`-/-------/----')      (`----|-------\-')
~~@~~~~~~~@~~~~~~~~~~~~~~~~~~~@~~~~~~~~@~~~~

-When you come to the end of your rope, tie a knot and hang on.-

							Franklin Delano
Roosevelt

Return-Path: <reinout at mktaal.nl>
Delivered-To: samba at lists.samba.org
Received: from smtp.wanadoo.nl (smtp0.wanadoo.nl [194.134.193.6]) by
  lists.samba.org (Postfix) with ESMTP id 205B255E4 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 11:33:18 -0700 (PDT)
Received: from takke (i0591.vwr.wanadoo.nl [194.134.210.82]) by
  smtp.wanadoo.nl (8.11.2/8.11.2) with SMTP id f7AIb9a13589; Fri, 10 Aug
  2001 20:37:14 +0200 (MET DST)
Content-Type: text/plain; charset="iso-8859-1"
From: Reinout Wijnveen <reinout at mktaal.nl>
To: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
Subject: Re: Locking issues with HP-UX 11.00
Date: Fri, 10 Aug 2001 20:37:11 +0200
X-Mailer: KMail [version 1.2]
Cc: jeremy at valinux.com, samba at lists.samba.org
References: <079FD72E42C9D311B854009027650E6F0758EF9F at xatl02.atl.hp.com>
In-Reply-To: <079FD72E42C9D311B854009027650E6F0758EF9F at xatl02.atl.hp.com
  >
MIME-Version: 1.0
Message-Id: <01081020350001.01003 at takke>
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/

Very good, thank you. Please give me some time and i will come back with the 
details you asked for.

On Friday 10 August 2001 17:27, MCCALL,DON (HP-USA,ex1) wrote:
> Hi Reinout,
> Could you give us a bit more information - and let's stick to a single
> server/software combination to begin with  how about the one that you last
> posted against, with the posix 2.0 message that you posted;
> Can you post the following:
>
> 1. uname -a
> 2. exactly what are you doing to test the locking? (smbtorture?)
> 3. does the log message always fail at the same offset/count:
> (fcntl_lock: lock failed at offset 4294901760 count 65535)
> 4. what filesystem type is the share you are using for
> this test?  (nfs, hfs, vxfs?)
>
> The message you mention indicates that you are running
> samba on a 64bit HP-UX os - can you pull the latest 2.2
> CVS and do the following:
> - remove source/config.cache
> - run configure again, then make and make install  and
>   do your test again.
>
> If you can tell me the above, I will try to do the same
> on a 64 bit hp-ux system and see if I get the same results.  Currently the
> build farm machines are all 32 bit machines...
>
> Thanks,
> Don
>

-- 
Regards,

Reinout Wijnveen
reinout at mktaal.nl

"All who believe in psychokinesis raise my hand"

Return-Path: <leet at leenx.co.za>
Delivered-To: samba at lists.samba.org
Received: from root.scania.co.za (unknown [196.41.10.171]) by
  lists.samba.org (Postfix) with ESMTP id 3945F4893 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 11:44:38 -0700 (PDT)
Received: from CLeeTaylor ([10.1.1.98]) by root.scania.co.za
  (8.11.2/8.11.2) with SMTP id f7AImjF12002 for <samba at lists.samba.org>;
  Fri, 10 Aug 2001 20:48:45 +0200
Message-ID: <000b01c121cc$fb5cea20$6201010a at CLeeTaylor>
From: "C.Lee Taylor ( LeeNX )" <leet at leenx.co.za>
To: <samba at lists.samba.org>
References: <20010711173822.1943D4C15 at lists.samba.org>
Subject: LDAP and smbpasswd ...
Date: Fri, 10 Aug 2001 20:48:01 +0200
Organization: LeeNX
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Greetings Samba people ...

    First, as always ... I would like to thank all the great guys whom have
developed Samba, this inculdes all them people who help everybody out with
problems ... Great stuff ...

    Okay, I know that with pam, one normally needs the old password to
change a users password, except in some case when using passwd as root.
When I first move my users into LDAP and found using passwd asking for the
old password I gave up syncing smbpasswd and LDAP password, and seeing that
nobody every did change there password it was not a problem.

    But I found something ( purly by accident ).  I have a RedHat 7.1
installation, most everything is stock install ( no upgrades, just yet ),
with all the LDAP rpm's loaded.  I was looking into /etc/ldap.conf and found
an entery that got me thinking ( now that does not happen often ) ... any
way ( to cut a long story story ...  too late )

    I found that I could get passwd to change an LDAP user password without
prompting for the old password.  Now this is kewl.  I tried changing my
smb.conf setting to use passwd with the new setting, but it seems that
passwd is never called.  How can I debug this ... change my smb.conf passwd
debug chat to true and did a change and never saw a call to passwd, I saw
lot of other things, but never the call to debug ...

    Now, a question, and a little hope that somebody else has already got
this working.  Does Samba call passwd while been root?  ( I know I have not
word that in true Linux way, but I am sure you know what I mean )

    I think that is passwd is called as root while ldap.conf has rootbinddn
set with valad details and the ldap.secret files has the password for LDAP,
it should work, but it does not ... what am I doing wrong ... where should I
look ...

Thanks guys ...
Mailed
Lee

P.S. Details from ldap.conf
# The distinguished name to bind to the server with
# if the effective user ID is root. Password is
# stored in /etc/ldap.secret (mode 600)
#rootbinddn cn=manager,dc=example,dc=com

P.S.S. I know there is a little LDAP stuff been worked on at the moment, and
I don't wish to bug the developers ... and I know there is another LDAP
patch out by another gentalmen, but does this not work with a very little
effort.

Return-Path: <thien at ucdata.Berkeley.EDU>
Delivered-To: samba at lists.samba.org
Received: from ucdata.Berkeley.EDU (ucdata.Berkeley.EDU [128.32.165.25])
  by lists.samba.org (Postfix) with ESMTP id C344655B8 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 11:58:17 -0700 (PDT)
Received: from localhost (thien at localhost) by ucdata.Berkeley.EDU
  (8.8.8+Sun/8.8.8) with ESMTP id MAA07411 for <samba at lists.samba.org>;
  Fri, 10 Aug 2001 12:00:22 -0700 (PDT)
Date: Fri, 10 Aug 2001 12:00:22 -0700 (PDT)
From: Thien Vu <thien at ucdata.Berkeley.EDU>
To: samba at lists.samba.org
Subject: Compilation error on Solaris 8 x86, gcc3
Message-ID: <Pine.SO4.4.03.10108101155140.2086-100000 at ucdata.Berkeley.ED
  U>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm on a Solaris x86 machine using gcc3 from sunfreeware.com

I have the following packages installed relating to compiles:

application SMCbinut       binutils
application SMCbison       bison
application SMCfileu       filutils
application SMCgcc3        gcc
application SMCm4          m4
application SMCmake        make
application SMCtar         tar
system      SUNWadmc       System administration core libraries
system      SUNWarc        Archive Libraries
system      SUNWcar        Core Architecture, (Root)
system      SUNWcsd        Core Solaris Devices
system      SUNWcsl        Core Solaris, (Shared Libs)
system      SUNWcsr        Core Solaris, (Root)
system      SUNWcsu        Core Solaris, (Usr)
system      SUNWdoc        Documentation Tools
system      SUNWesu        Extended System Utilities
system      SUNWgzip       The GNU Zip (gzip) compression utility
system      SUNWkvm        Core Architecture, (Kvm)
system      SUNWlibC       Sun Workshop Compilers Bundled libC
system      SUNWlibm       Sun WorkShop Bundled libm
system      SUNWlibms      Sun WorkShop Bundled shared libm
system      SUNWos86r      Platform Support, OS Functionality (Root)
system      SUNWos86u      Platform Support, OS Functionality (Usr)
system      SUNWpl5u       Perl 5.005_03
system      SUNWpsdcr      Platform Support, Bus-independent Device
Drivers (Root)
system      SUNWpsdir      Platform Support, ISA Bus Device Drivers,
(Root)
system      SUNWrmodr      Realmode Modules, (Root)
system      SUNWrmodu      Realmode Modules, (Usr)
system      SUNWsolnm      Solaris Naming Enabler
system      SUNWtoo        Programming Tools
system      SUNWzlib       The Zip compression library

I'm getting the following error when I'm executing the make command:

Compiling smbd/server.c
In file included from include/includes.h:709,
                 from smbd/server.c:22:
/usr/include/nss_dbdefs.h:371: parse error before "projid_t"
/usr/include/nss_dbdefs.h:396: parse error before '}' token
/usr/include/nss_dbdefs.h:415: field `key' has incomplete type
make: *** [smbd/server.o] Error 1

I used the following configure options:

./configure \
--prefix=/usr/local \
--syscondir=/etc/samba \
--localstatedir=/etc/samba/log \
--with-private=/etc/samba/private \
--with-lockdir=/etc/samba/locks \
--with-swatdir=/usr/local/swat \
--with-configdir=/etc/samba \
--with-codepagedir=/etc/samba/codepage \
--with-profile

Thanks for any help.

Thien

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 D0E61418D for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 12:29:14 -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 15VI25-0000ik-00; Fri, 10 Aug 2001
  12:33:21 -0700
Message-ID: <3B74372D.DEA2A6E2 at valinux.com>
Date: Fri, 10 Aug 2001 12:34:05 -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: reinout.wijnveen at philips.com
Cc: don_mccall at hp.com, samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00
References: <OFC90368E8.15E0FEF1-ONC1256AA4.002092B7 at diamond.philips.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/

reinout.wijnveen at philips.com wrote:
> 
> Hi,
> 
> Thank you for your response. But i am sorry: nflocks on my testmachine is already at 2000 and no one but me could possible be using them (maybe the system itself). During the test i also had a gpm session open and that reported a 1% usage of the nflocks
> table.
> 
> I suspect that samba has trouble acquiring flocks at all.  Is it possible here's something wrong with the the whole flock mechanism in my environment? Maybe something went wrong at configure or compile time. Are there certain software dependencies for
> compiling samba on HP-UX?

Samba doesn't use flocks - it uses fcntl locks. These are
different. Check that HPUX doesn't have separate system
parameters for the number of flocks and the number of
fcntl locks. If so you're setting the wrong system parameter....

Jeremy.

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

Return-Path: <laser3 at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (oe43.law10.hotmail.com [64.4.14.15]) by
  lists.samba.org (Postfix) with ESMTP id 49EFC5684 for
  <samba at samba.org>; Fri, 10 Aug 2001 12:35:46 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Fri, 10 Aug 2001 12:39:56 -0700
X-Originating-IP: [208.158.14.32]
From: "laser" <laser3 at hotmail.com>
To: <samba at samba.org>
Subject: WINDOWS 98 CLIENTS TRYING TO LOGON TO SAMBA !!!!!
Date: Fri, 10 Aug 2001 15:39:08 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2615.200
Message-ID: <OE43lkPi4eHZaNuLDQm0000c4d4 at hotmail.com>
X-OriginalArrivalTime: 10 Aug 2001 19:39:56.0794 (UTC)
  FILETIME=[3C15F5A0:01C121D4]
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/

Hey guys I'm new to this Samba\linux thing but my Boss gets a kick out of
it..
 Well apart from all of the cool stuff I'm having some trouble getting my
windows 98 clients to logon to Samba thing.
 All of my NT workstation clients are able to login using the same passwords
also my Boss is running win 98 on his laptop and yet he gets in as well.
 Ive tried everything on the net and the books from changing the password
encryption in the registry of the 98 clients  and even telling samba to accept
encrypted passwords and vise versa.

Well...... I'm hoping u guys might have a solution  Please feel free to send
me an email if u have any helpful suggestions or comments

THE ERROR MESSAGE I GET IS THE : THE DOMAIN PASSWORD YOU SUPPLIED IS NOT
CORRECT,OR ACCESS TO YOUR LOGON SERVER HAS BEEN DENIED


   All the best   EUEN HERBERT           LASER3 at HOTMAIL.COM
IT FACILITY BASSETERRE ST. KITTS

Return-Path: <dnickel at aug.edu>
Delivered-To: samba at lists.samba.org
Received: from ns1.aug.edu (CALYPSO.aug.edu [134.224.1.233]) by
  lists.samba.org (Postfix) with ESMTP id 396484234 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 12:47:44 -0700 (PDT)
Received: from csvdln2 (CSVDLN2.aug.edu [134.224.1.95]) by ns1.aug.edu
  (8.9.1b+Sun/8.9.0) with SMTP id PAA28949 for <samba at lists.samba.org>;
  Fri, 10 Aug 2001 15:49:02 -0400 (EDT)
Message-Id: <200108101949.PAA28949 at ns1.aug.edu>
Date: Fri, 10 Aug 2001 15:49:11 -0400
To: samba at lists.samba.org
From: "David Nickel Jr." <dnickel at aug.edu>
Subject: Advice: giving users the drag and drop of IIS
Reply-To: dnickel at aug.edu
Organization: Augusta State University
X-Mailer: Opera 5.12 build 932
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/

We are in the process of setting up a new webserver on FreeBSD. User wants to be able to browse through network neighborhood and put stuff in their directories like IIS.  What types of things should I set in the smbd.conf file to restrict each user to their home directory. Also , do I need to 
add every new user to the smb.conf file by hand?

Thanks
David

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 CD15B47DD
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 13:27:19 -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 f7AKVP306094; Fri, 10 Aug 2001 22:31:25 +0200
Date: Fri, 10 Aug 2001 22:31:25 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: "David Nickel Jr." <dnickel at aug.edu>
Cc: <samba at lists.samba.org>
Subject: Re: Advice: giving users the drag and drop of IIS
In-Reply-To: <200108101949.PAA28949 at ns1.aug.edu>
Message-ID: <Pine.LNX.4.30.0108102216020.14112-100000 at cola.teststation.c
  om>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Fri, 10 Aug 2001, David Nickel Jr. wrote:

> We are in the process of setting up a new webserver on FreeBSD. User
> wants to be able to browse through network neighborhood and put stuff
> in their directories like IIS.  What types of things should I set in
> the smbd.conf file to restrict each user to their home directory. Also
> , do I need to
> add every new user to the smb.conf file by hand?

I think you want the magical [homes] section. It maps to the current user
allowing one entry to represent everyones home dir, but does not let them
see or access each others dirs.

This is described in the smb.conf manpage, under "the homes section".
(see also examples/smb.conf.default)


/Urban, waiting to see if this message will be held by some mailserver for
        2-3 weeks before reaching the list ...

Return-Path: <richard at sheflug.co.uk>
Delivered-To: samba at lists.samba.org
Received: from zetnet.co.uk (irwell.zetnet.co.uk [194.247.47.48]) by
  lists.samba.org (Postfix) with ESMTP id 0D9DB4183 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 13:33:36 -0700 (PDT)
Received: from sheflug (man-s039.dialup.zetnet.co.uk [194.247.41.166])
  by zetnet.co.uk (8.11.3/8.11.3/Debian 8.11.2-1) with SMTP id
  f7AKbjv01225 for <samba at lists.samba.org>; Fri, 10 Aug 2001 21:37:45
  +0100
Content-Type: text/plain; charset="iso-8859-1"
From: Richard Ibbotson <richard at sheflug.co.uk>
Organization: Sheffield Linux User's Group
To: samba at lists.samba.org
Subject: Automation
Date: Fri, 10 Aug 2001 21:37:26 +0100
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01081021372605.01777 at sheflug>
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Dear All

I've just gotten through reading a book written by Roderick Smith
which is Linux Samba Server Administration - ISBN 0-7821-2740-1.  It
would seem to be the next step after reading the O'Reilly book which
is Using Samba.

At page 227 there is a section on automation of repetitive tasks.
One of them is about creating tar archives and putting them onto
writable CDs with a CD recorder to act as a backup system.  I'd like
to do this but I'm a bit unsure of some of the issues that might be
involved and I'm also not too sure about configuration options.

At page 233 there is an example of how to create a share that will
make a backup .......

[cd-create]

	path= /home/samba/cd-create
	writeable = yes
	create mask = 0666
	directory mask = 0777
	max connections = 1
	short preserve case = no
	hide dot files = no
	preexec = rm -r /home/samba/cd-create/*
	postexec = mkisofs -a -J -r -log-file %H/log/log-%d.txt
	-o %H/image-%d.iso /home/samba/cd-create

Does anyone know if the above will actually work or will I have to
make a few modifications ??  Other thing is ... how do I get cron to
create a tar archive so that it will drop into the CD ?  Do I need to
run a cron job for this or is it possible to do it another way ?

Thank you


--
Richard


http://www.sheflug.co.uk

Return-Path: <hugo.levasseur at mcgill.ca>
Delivered-To: samba at lists.samba.org
Received: from water.cc.mcgill.ca (water.CC.McGill.CA [132.206.27.29])
  by lists.samba.org (Postfix) with ESMTP id 9821956DF for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 13:37:01 -0700 (PDT)
Received: from proserpine (Proserpine.ECE.McGill.CA [132.206.31.219]) by
  water.cc.mcgill.ca (8.11.3/8.11.0) with ESMTP id f7AKfB006297 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 16:41:11 -0400 (EDT)
From: "Hugo Levasseur" <hugo.levasseur at mcgill.ca>
To: "Samba Mailing List" <samba at lists.samba.org>
Subject: Joining Domain
Date: Fri, 10 Aug 2001 16:42:11 -0400
Message-ID: <000d01c121dc$ee1c2c30$db1fce84 at proserpine>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook, Build 10.0.2627
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 get the following error while trying to join a domain with my samba
box:
 
(I first create the computer object on my win2k box using srvmgr)
 
then I enter the smpasswd -j DOMAIN -r DC command
 
--snip--
modify_trust_password: machine DOMAINCONTROLLER rejected the tconX on
the IPC$ share. Error was : ERRDOS - ERRnoaccess.
2001/08/10 16:42:18 : change_trust_account_password: Failed to change
password for domain DOMAIN.
--snip--
 
I ve joined a samba server before...  this has been a problem since I ve
updated the DOMAIN GPO and the DC GPO (that I have removed from the GPO
tabs in the dsa... but the problem persists.)
 
any clues?
 
Hugo

Return-Path: <stormblade at bellsouth.net>
Delivered-To: samba at lists.samba.org
Received: from imf10bis.bellsouth.net (mail010.mail.bellsouth.net
  [205.152.58.30]) by lists.samba.org (Postfix) with ESMTP id C8A7B56E8
  for <samba at lists.samba.org>; Fri, 10 Aug 2001 13:38:06 -0700 (PDT)
Received: from storm2001.bellsouth.net ([66.20.74.108]) by
  imf10bis.bellsouth.net (InterMail vM.5.01.01.01 201-252-104) with
  ESMTP id
  <20010810204312.QNYM8527.imf10bis.bellsouth.net at storm2001.bellsouth.ne
  t> for <samba at lists.samba.org>; Fri, 10 Aug 2001 16:43:12 -0400
Message-Id: <5.1.0.14.2.20010810163549.0402fc38 at mail.atl.bellsouth.net>
X-Sender: beaman at mail.atl.bellsouth.net
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Fri, 10 Aug 2001 16:39:44 -0400
To: samba at lists.samba.org
From: Stormblade <stormblade at bellsouth.net>
Subject: Trying Samba again
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hey All,

Ok, I'm running Redhat 7.1. I deleted the three rpms that were installed. l 
downloaded the 2.2.1a source code, compiled and installed that. I made the 
changes to my /etc/services (This was already done) and created a samba 
file in the /etc/xinetd.d. I have samba installed to /usr/local/samba and 
swat is also under that directory tree in /usr/local/samba/bin/ which is in 
my path.

Now, the problem is that when I try to use swat it asks me for 
authorization. I give it the root username and password and it will not let 
me in. I tried logging in as my normal user but that didn't work either. I 
just get Authorization failed messages.

I've search the web and I saw people having similar problems but no 
solutions. Can anyone help me out? I'll give ya a cookie :)

Thanks in advance.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Shaolin Code Warrior
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Return-Path: <imigotto at proteus.com.br>
Delivered-To: samba at lists.samba.org
Received: from hermes.proteus.net (unknown [200.198.70.211]) by
  lists.samba.org (Postfix) with ESMTP id CF64C56E3 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 14:01:31 -0700 (PDT)
Received: from proteus.com.br (192-168-1-31.privateip [192.168.1.31]) by
  hermes.proteus.net with SMTP (Microsoft Exchange Internet Mail Service
  Version 5.5.2653.13) id PMAD4QFQ; Fri, 10 Aug 2001 18:04:58 -0300
Message-ID: <3B745AAF.F80E646B at proteus.com.br>
Date: Fri, 10 Aug 2001 18:05:35 -0400
From: Italo Antonio <imigotto at proteus.com.br>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.5 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Samba + Win2k
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,

Are there any special requirements or configurations to access win2k
shares with only port 445 open? (no 139).
It gives me "error 4" when trying to access a share with: 'smbclient -p
445 -L //10.2.1.15'

ps: please CC any replies to me, since i'm not in the list.

Thanks in advance,
Italo.

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by
  lists.samba.org (Postfix) with ESMTP id 4A7175716 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 14:03:00 -0700 (PDT)
Received: from xparelay1.corp.hp.com (unknown [15.58.136.173]) by
  palrel1.hp.com (Postfix) with ESMTP id 71D841C55; Fri, 10 Aug 2001
  14:07:10 -0700 (PDT)
Received: from xpabh3.corp.hp.com (xpabh3.corp.hp.com [15.58.136.223])
  by xparelay1.corp.hp.com (Postfix) with ESMTP id 2D53F1F519; Fri, 10
  Aug 2001 14:07:09 -0700 (PDT)
Received: by xpabh3.corp.hp.com with Internet Mail Service (5.5.2653.19)
  id <QV2TS9YN>; Fri, 10 Aug 2001 14:07:09 -0700
Message-ID: <079FD72E42C9D311B854009027650E6F0758EFA4 at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Jeremy Allison' <jeremy at valinux.com>, reinout.wijnveen at philips.com
Cc: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>, samba at lists.samba.org
Subject: RE: Locking issues with HP-UX 11.00
Date: Fri, 10 Aug 2001 14:07:08 -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/

Nope, nflocks is the one...
Don

-----Original Message-----
From: Jeremy Allison [mailto:jeremy at valinux.com]
Sent: Friday, August 10, 2001 3:34 PM
To: reinout.wijnveen at philips.com
Cc: don_mccall at hp.com; samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00


reinout.wijnveen at philips.com wrote:
> 
> Hi,
> 
> Thank you for your response. But i am sorry: nflocks on my testmachine is
already at 2000 and no one but me could possible be using them (maybe the
system itself). During the test i also had a gpm session open and that
reported a 1% usage of the nflocks
> table.
> 
> I suspect that samba has trouble acquiring flocks at all.  Is it possible
here's something wrong with the the whole flock mechanism in my environment?
Maybe something went wrong at configure or compile time. Are there certain
software dependencies for
> compiling samba on HP-UX?

Samba doesn't use flocks - it uses fcntl locks. These are
different. Check that HPUX doesn't have separate system
parameters for the number of flocks and the number of
fcntl locks. If so you're setting the wrong system parameter....

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 samba.org
Received: from fungus.teststation.com (fungus.teststation.com
  [212.32.186.211]) by lists.samba.org (Postfix) with ESMTP id 33A765029
  for <samba at samba.org>; Fri, 10 Aug 2001 14:24:03 -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 f7ALRw306292; Fri, 10 Aug 2001 23:27:58 +0200
Date: Fri, 10 Aug 2001 23:27:58 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: "Kendrick G. Hamilton" <hamilton at SEDSystems.ca>
Cc: <samba at samba.org>
Subject: Re: smbmount reading smbpasswd
In-Reply-To: <3B740700.4040104 at sedsystems.ca>
Message-ID: <Pine.LNX.4.30.0108102231280.14112-100000 at cola.teststation.c
  om>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Fri, 10 Aug 2001, Kendrick G. Hamilton wrote:

> It there a way to make smbmount read my smbpassword file (or at least 
> encrypt the passwd on the credentials file)?

I don't know what you are doing, but pam_mount may be an option.
http://pam-mount.conectevil.com/


smbmount does not use smbpasswd. I had a quick look, but I have to admit I
don't know if the smbpasswd entries contain what is needed to send to the
server (I think they do, based on some comments in smbpasswd(5)) or how to
use them. Others on this list knows ...

I suppose it could be useful when smbmount is run as root and the machine
has a smbpasswd containing the remote user and password.

At least these files may be of interest:
source/libsmb/cliconnect.c (cli_session_setup)
source/passdb/*.c
source/client/smbmount.c (do_connection)


The credentials could be encrypted to prevent someone accidentally looking
at them, if that is what you was looking for. But unless you protect it
with something that isn't known by smbmount (like a passphrase, but then
what was the point in not asking for the password?) it may as well be
plaintext.
(Hexcode the string or XOR it with "Free Dimitry" ...)

/Urban

Return-Path: <jonathan.hunter at stud.umist.ac.uk>
Delivered-To: samba at lists.samba.org
Received: from kryten.ninja.org.uk (kryten.ninja.org.uk [194.217.13.35])
  by lists.samba.org (Postfix) with ESMTP id 8EDB15799 for
  <samba at lists.samba.org>; Fri, 10 Aug 2001 16:57:56 -0700 (PDT)
Received: from jmhpc.ninja.org.uk ([194.217.13.42] helo=jmhpc) by
  kryten.ninja.org.uk with smtp (Exim 3.14 #3) id 15VME8-0000Ln-00 for
  samba at lists.samba.org; Sat, 11 Aug 2001 01:02:04 +0100
From: "Jonathan Hunter" <jonathan.hunter at stud.umist.ac.uk>
To: <samba at lists.samba.org>
Subject: Binding nmbd to one interface
Date: Sat, 11 Aug 2001 01:02:07 +0100
Message-ID: <OKECLDPILAIGOJONOCGAAEPACAAA.jonathan.hunter at stud.umist.ac.
  uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

Apologies if this question has been asked (better still, answered!) before.
I did search the archives but had no luck..

I have a Samba server at site A, happily acting as a local browse & domain
master. Site A uses real IP addresses throughout.

Site A has an IPsec tunnel to Site B, which only has one real IP address.
The desktop machines at site B have 192.168.x.x addresses, and can
communicate with site A through the IPsec tunnel.

There is a single gateway machine ("B") at site B, acting as a Samba server
as well as performing routing and IPsec. It is a Samba local browse and
domain master for site B, and this works well.

I would like to synchronise the Samba browse lists between sites A and B, so
that machines at each end can see each other. It appears that the "remote
browse sync" option will do this for me.

Unfortunately for me, a side-effect of our current IPsec configuration is
that on machine B, only connections originating from its private network
interface can communicate with site A. In other words, it is not sufficient
to simply open a socket on machine B and talk to machine A - one must open
the socket and bind it to machine B's 192.168.x.x address first. (The
desktop machines at site B are unaffected by this and can talk to site A
happily, as they already have 192.168.x.x addresses).

Now, I have already configured programs such as exim and squid on machine B
to bind to B's private interface so outbound requests originate from B's
192.168.x.x address. I have been trying to get nmbd to do this in a similar
fashion, but to no avail. As per the docs, nmbd always binds to 0.0.0.0 even
though I have set "interfaces", "bind interfaces only", and even tried
"socket address" in smb.conf.

I can understand the requirement for nmbd to bind to 0.0.0.0 to receive
broadcast queries - but surely there should be an option to tell nmbd to
bind to a specific address when it makes outbound connections such as for
"remote browse sync"? Perhaps a "nmbd interface" option or something
similar??

Currently I just get the following in site B's nmbd log:

[2001/08/11 00:39:07, 1] lib/util_sock.c:open_socket_out(927)
  timeout connecting to xxx.xxx.xxx.xxx:139

where xxx.xxx.xxx.xxx is the site A's Samba server.

Any comments gratefully received - am I thinking along the right lines here,
or am I missing something obvious?

Regards,

Jonathan

--
The Consultant's Curse:
When the customer has beaten upon you long enough, give him what he asks
for, instead of what he needs.  This is very strong medicine, and is
normally only required once.

Return-Path: <root at now.nxt.cn>
Delivered-To: samba at samba.org
Received: from new.now.nxt.cn (unknown [61.143.52.27]) by
  lists.samba.org (Postfix) with SMTP id D55314175 for
  <samba at samba.org>; Fri, 10 Aug 2001 17:55:57 -0700 (PDT)
Received: (qmail 8146 invoked by uid 99); 12 Mar 2001 11:24:59 -0000
Date: 12 Mar 2001 11:24:59 -0000
Message-ID: <20010312112459.8145.qmail at new.now.nxt.cn>
To: samba at samba.org
Subject: ¡îÓòÃû×¢²á¿Õ¼äÉêÇë¸÷ËÍÈý¸ö´Î¼¶ÓòÃû»¹Ãâ·ÑÊÔÓÃ!
From: "" <youko at now.net.cn>
Reply-To: youko at now.net.cn
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/

dsfds!nSrC{W"2a?U<dIjGk8wKMH}8v4N<6SrC{;9Cb7QJTSC! 

Wp>45DEsSQ#,Dz:C#! 
7G3#8PP;Dz5Dd/@@#,Hg9{DzU}N*Q0URR;8v8|:C5DISP6x73DU#,DGC4NRCGMxBgJ14zhttp://www.now.net.cnN*DzLa9)AKWn<Q5DQ!Tq#! 

!n SrC{W"2a 
W"2aSrC{TyKM38v4N<6SrC{(4xVDNS)#! M,J1IjGk?U<dTYTyKM38v4N<6SrC{#! 

!nPiDbVw;z 
R; 3,5MLX<[ 
280T*#! Dc?IRTA"?LS5SPNH6(6x?lKY5D100MPiDbVw;z?U<d;9SLT%J2C4DX#,8O?lPP6/0I#! 

6~ 395W=b7E 
OVTZLl;%?F<<5DASP:MACCESSJ}>]?bH+Cf?*7E#,V;Ph100T*>MHCDc5DMxU>S5SPJ}>]?b!# 
2"SPLa9)CGI PERL PHP JSP 5HR;Le8_<6?U<d.KySP?U<dJ5J1?*M(Cb7QJTSC15Ll! 

H} 8|6`SE;] 
 !n72TZ8.15=9.1W"2aSrC{M,J1IjGk?U<dKM68v4N<6SrC{#!5HSZR;8vSrC{>MD\M,J1=(68vMxU>#!M,J1<SKM58vILSCSJ<~UK:E#!

 !n!n";p:lODHU!1Vw;zMP9\SE;]l+7gH+Cf5GB=#,G?4s!"8_1jW<5D5gPE<6J}>]VPPD;z7?#,8_02H+LXPT!"8_7~Nq1jW<!" TY<SIO:O at m5D<[8q#,Or9c4s?M;'La9)8_PT<[1H5D7~Nq!#
Oj<{http://idc.now.net.cn 

!n!nM,J1NRCGOr9c4s8w=l3OUw4z at m#,HH3 at Q{GkDz<SHkMxBgJ14z5DR5Nq:OWwUsS*#,92M,7VOmMxBgJ14z5DES4s?M;'WJT4!#OjO8Gk7CNJNRCGMxU>!#
;rV1=SA*O5NRCG#: 
0756--2216376 2139739       
sanry at now.net.cn  youko at now.net.cn 
     
;6S-VBPE Today's Network support at now.net.cn 
;6S-Dz7CNJNRCG5DMxU> http://www.now.net.cn 

NRCGR;V1RTW(R5!"SEVJ!"AlOHN*WZV<#,HH3ON*Dz7~Nq#!

. .. 
W"#:VDNS?IJS;/SrC{7~NqFw#,D\J5OV#U#R#LW*7"!"Vw;z#A<GB<!"#M#XSJ<~<GB<!" 
#I#PV8Or?XVF5H2YWw,8|?IRTKfPDKyS{5XTv<SWT<:5D4N<6SrC{#, 0oVzDz=(A"6`8vMxU>#,Dc?IRTHCK}V8OrHN:N?U<d!# 

Hg9{Ub7b9c8fPEDz:AN^PKH$;r6TDzR;5cSC4&6<C;SP#,GkT-ABNRCG5D4r=A!#

!#!#

Return-Path: <art.foster at globalzon2k.com>
Delivered-To: samba at samba.anu.edu.au
Received: from mail3.etransmail3.com (unknown [207.67.131.22]) by
  lists.samba.org (Postfix) with ESMTP id 2BC464BEF for
  <samba at samba.anu.edu.au>; Fri, 10 Aug 2001 17:57:25 -0700 (PDT)
Received: from PickupDirectory by mail3.etransmail3.com with SMTP
  (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id
  QSZNXTW3; Fri, 10 Aug 2001 17:13:03 -0700
From: "Art Foster" <art.foster at globalzon2k.com>
To: <samba at samba.anu.edu.au>
Subject: Exclusive Office Depot Offer!
Date: Fri, 10 Aug 2001 12:44:38 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Message-Id: <20010811005725.2BC464BEF at lists.samba.org>
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/

If you cannot view this message, please visit
http://www.globalzon2k.com/vcpre20off.html



Now at
Globalzon, Inc. is sending this e-mail to its subscribed users.
You are subscribed as: samba at samba.anu.edu.au
Purchase VersaCheck 2001 Premium at OfficeDepot between
July 13, 2001 and August 31, 2001 and get a $20 rebate!
Click Here for Rebate Form. <http://www.globalzon2k.com/rebatea.html>


 VersaCheck Premium 2001

   VersaCheck Premium Box Shot


 Now only
$39.99
 after $20
 cash back!

  Works with Quicken., QuickBooks., Money and other accounting
  software!

*	Includes Powerful Check Designer
*	More secure than preprinted checks
*	Works with inkjet and laser printers
*	Includes 150 blank checks

  Included features:

*	Stockfire
*	Qchex.com <http://www.qchex.com>

      Design custom checks, drafts and deposit slips for Quicken,
QuickBooks, Microsoft Money and more. Includes a powerful check
designer, payor and payee databases, comprehensive reports and many
security features.

      New features include Qchex.com, which lets users instantly deliver
and receive checks over the Internet, and StockFire, a stock profit
maximizer and advisor with real-time alarms. The software comes with 150
blank checks in many styles and colors. More details
<http://www.g7ps.com>



  Quickly design and print your own custom checks that work with
Quicken,   QuickBooks, Money, Peachtree and most other accounting
packages and any bank.
   VersaCheck Premium Check Sample


 	  	  	Special offer from G7: FREE Products!
shipped in Full Retail Packaging
Pick up to 5 of each!




 <http://www.g7ps.com/scripts/shopcrt.asp?qty=1&product=314&size=1>
<http://www.g7ps.com/scripts/shopcrt.asp?qty=1&product=315&size=1>
<http://www.g7ps.com/scripts/shopcrt.asp?qty=1&product=313&size=1>
<http://www.g7ps.com/scripts/shopcrt.asp?qty=1&product=317&size=1>
<http://www.g7ps.com/scripts/shopcrt.asp?qty=1&product=316&size=1>

Fortune.
(149.99 value)	 DataScan
(149.99 value)	 eXpressForms 2000
(129.99 value)  	TransForm Personal
(59.99 value)	 VersaClips
(19.99 value)

 ? Fortune: Relationship manager and addressbook
 ? DataScan: Business card and telephone directory scanning software
 ? ExpressForms 2000: Forms, Invitation and Greeting Card generator to
publish on the    Internet.
 ? TransForm Personal: Scan and convert your paper forms into editable
electronic forms in    seconds.
 ? VersaClips: Accentuate your checks, website and documents with
handcrafted     background images.


Click on any of the graphics above to add your FREE products!



Please call 800-303-2620 for questions or assistance regarding this
offer.

Thank you very much.
Best regards,

Art Foster
Customer Relationship Executive
800-303-2620

To change your communication preferences Click Here
<http://www.globalzon2k.com/scripts/de.asp?e=samba%40samba%2Eanu%2Eedu%2
Eau>
or simply reply to this E-mail with UNSUBSCRIBE in the subject line.




) 2001 Globalzon Inc.
All trademarks and company names are the property of their respective
owners.

Return-Path: <tandtedservices at yahoo.com>
Delivered-To: samba at samba.org
Received: from web20107.mail.yahoo.com (web20107.mail.yahoo.com
  [216.136.226.44]) by lists.samba.org (Postfix) with SMTP id 8071C4156
  for <samba at samba.org>; Fri, 10 Aug 2001 19:13:00 -0700 (PDT)
Message-ID: <20010811021710.74623.qmail at web20107.mail.yahoo.com>
Received: from [198.109.162.41] by web20107.mail.yahoo.com; Fri, 10 Aug
  2001 19:17:10 PDT
Date: Fri, 10 Aug 2001 19:17:10 -0700 (PDT)
From: Ute Thoennessen <tandtedservices at yahoo.com>
Subject: no service is operating....
To: samba at samba.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I am trying to set up samba to talk to my NT machine.
Everything seems to be working, except that I cannot
see the linux drives from the NT side. I went through
the trouble shooting at: 
http://us1.samba.org/samba/docs/DIAGNOSIS.html
and got to test 8:

net view \\BIGSERVER

which gave the following response:

System error 1234 has occured.
No service is operating at the network destination
endpoint on the remote system.

Any help or hints are appreciated.
Thanks
Ute Thoennessen

=====
Ute Thoennessen
T&T Educational Services
517-349-0861 (office)
517-214-4105 (cellphone)

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (f114.law10.hotmail.com [64.4.15.114]) by
  lists.samba.org (Postfix) with ESMTP id ED50B445F for
  <samba at samba.org>; Sat, 11 Aug 2001 04:59:04 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Sat, 11 Aug 2001 05:03:13 -0700
Received: from 64.192.99.49 by lw10fd.law10.hotmail.msn.com with HTTP;
  Sat, 11 Aug 2001 12:03:12 GMT
X-Originating-IP: [64.192.99.49]
Reply-To: bcaudle at hotmail.com
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: samba at samba.org
Subject: error logs when trying to add computer to domain -sorry for the
  logs
Date: Sat, 11 Aug 2001 08:03:12 -0400
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F11471yEXUIEAOeIiGX000049d2 at hotmail.com>
X-OriginalArrivalTime: 11 Aug 2001 12:03:13.0059 (UTC)
  FILETIME=[98999730:01C1225D]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have no clue which one of these conatins the error.

here is my add user script

add user script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null 
-s /bin/false %m$

@smbd.log
Changed root to /
open_oplock_ipc: opening loopback UDP socket.
bind succeeded on port 0
Linux kernel oplocks enabled
open_oplock ipc: pid = 2195, global_oplock_port = 32788
check_access: no hostnames in host allow/deny list.
Allowed connection from  (192.168.1.102)
Transaction 0 of length 72
netbios connect: name1=SMBSERVER        name2=THEMASTER
netbios connect: local=smbserver remote=themaster
Changed root to /
open_oplock_ipc: opening loopback UDP socket.
bind succeeded on port 0
Linux kernel oplocks enabled
open_oplock ipc: pid = 2197, global_oplock_port = 32789
check_access: no hostnames in host allow/deny list.
Allowed connection from  (192.168.1.102)
Transaction 0 of length 72
netbios connect: name1=SMBSERVER        name2=THEMASTER
netbios connect: local=smbserver remote=themaster

@themaster.log
Transaction 1 of length 137
switch message SMBnegprot (pid 2195)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [LANMAN1.0]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [LM1.2X002]
Requested protocol [LANMAN2.1]
Requested protocol [NT LM 0.12]
Selected protocol NT LM 0.12
Transaction 2 of length 194
switch message SMBsesssetupX (pid 2195)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Domain=[GOLF]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
sesssetupX:name=[root]
Transaction 1 of length 137
switch message SMBnegprot (pid 2197)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Requested protocol [PC NETWORK PROGRAM 1.0]
Requested protocol [LANMAN1.0]
Requested protocol [Windows for Workgroups 3.1a]
Requested protocol [LM1.2X002]
Requested protocol [LANMAN2.1]
Requested protocol [NT LM 0.12]
Selected protocol NT LM 0.12
Transaction 2 of length 194
switch message SMBsesssetupX (pid 2197)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Domain=[GOLF]  NativeOS=[Windows 2000 2195] NativeLanMan=[Windows 2000 5.0]
sesssetupX:name=[root]

root at themaster.log
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
get_current_groups: uid 0 is in 7 groups: 0, 1, 14, 15, 16, 17, 65534
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
get_current_groups: uid 0 is in 7 groups: 0, 1, 14, 15, 16, 17, 65534
uid 0 registered to name root
Clearing default real name
User name: root	Real name: root
Chained message
switch message SMBtconX (pid 2195)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
check_access: no hostnames in host allow/deny list.
Allowed connection from  (192.168.1.102)
authorise_login: ACCEPTED: validated uid ok as non-guest (user=root)
root logged in as admin user (root privileges)
Connect path is /tmp
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
get_current_groups: uid 0 is in 7 groups: 0, 1, 14, 15, 16, 17, 65534
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
get_current_groups: uid 0 is in 7 groups: 0, 1, 14, 15, 16, 17, 65534
se_access_check: user sid is S-1-5-21-1857132695-1190587184-1900725518-1000
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1001
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1003
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1029
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1031
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1033
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1035
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-132069
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
Initialising default vfs hooks
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
7 user groups:
0 1 14 15 16 17 65534
vfs_ChDir to /tmp
themaster (192.168.1.102) connect to service IPC$ as user root (uid=0, 
gid=0) (pid 2195)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
tconX service=ipc$ user=root
Transaction 3 of length 95
switch message SMBntcreateX (pid 2195)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
7 user groups:
0 1 14 15 16 17 65534
nt_open_pipe: Known pipe lsarpc opening.
Transaction 4 of length 140
switch message SMBwriteX (pid 2195)
api_pipe_bind_req: \PIPE\lsarpc -> \PIPE\lsass
writeX-IPC pnum=701a nwritten=72
Transaction 5 of length 63
switch message SMBreadX (pid 2195)
readX-IPC pnum=701a min=1024 max=1024 nread=68
Transaction 6 of length 172
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=92 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 701a)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\lsarpc
api_rpcTNP: rpc command: LSA_OPENPOLICY2
free_pipe_context: destroying talloc pool of size 24
Transaction 7 of length 126
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=46 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 701a)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\lsarpc
free_pipe_context: destroying talloc pool of size 0
Transaction 8 of length 126
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=46 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 701a)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\lsarpc
api_rpcTNP: rpc command: LSA_QUERYINFOPOLICY
free_pipe_context: destroying talloc pool of size 512
Transaction 9 of length 95
switch message SMBntcreateX (pid 2195)
nt_open_pipe: Known pipe winreg opening.
Transaction 10 of length 140
switch message SMBwriteX (pid 2195)
api_pipe_bind_req: \PIPE\winreg -> \PIPE\winreg
writeX-IPC pnum=701b nwritten=72
Transaction 11 of length 63
switch message SMBreadX (pid 2195)
readX-IPC pnum=701b min=1024 max=1024 nread=68
Transaction 12 of length 116
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=36 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 701b)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\winreg
api_rpcTNP: rpc command: REG_OPEN
free_pipe_context: destroying talloc pool of size 0
Transaction 13 of length 264
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=184 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 701b)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\winreg
api_rpcTNP: rpc command: REG_OPEN_ENTRY
free_pipe_context: destroying talloc pool of size 110
Transaction 14 of length 228
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=148 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 701b)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\winreg
api_rpcTNP: rpc command: REG_INFO
free_pipe_context: destroying talloc pool of size 1098
Transaction 15 of length 124
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 701b)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\winreg
api_rpcTNP: rpc command: REG_CLOSE
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 16 of length 124
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 701b)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\winreg
api_rpcTNP: rpc command: REG_CLOSE
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 17 of length 45
switch message SMBclose (pid 2195)
Transaction 18 of length 93
switch message SMBntcreateX (pid 2195)
nt_open_pipe: Known pipe samr opening.
Transaction 19 of length 140
switch message SMBwriteX (pid 2195)
api_pipe_bind_req: \PIPE\samr -> \PIPE\lsass
writeX-IPC pnum=701c nwritten=72
Transaction 20 of length 63
switch message SMBreadX (pid 2195)
readX-IPC pnum=701c min=1024 max=1024 nread=68
Transaction 21 of length 152
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=72 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 701c)free_pipe_context: destroying 
talloc pool of size 0
Doing \PIPE\samr
free_pipe_context: destroying talloc pool of size 0
Transaction 22 of length 45
switch message SMBclose (pid 2195)
Transaction 23 of length 93
switch message SMBntcreateX (pid 2195)
nt_open_pipe: Known pipe samr opening.
Transaction 24 of length 140
switch message SMBwriteX (pid 2195)
api_pipe_bind_req: \PIPE\samr -> \PIPE\lsass
writeX-IPC pnum=701d nwritten=72
Transaction 25 of length 63
switch message SMBreadX (pid 2195)
readX-IPC pnum=701d min=1024 max=1024 nread=68
Transaction 26 of length 148
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=68 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 701d)free_pipe_context: destroying 
talloc pool of size 0
Doing \PIPE\samr
api_rpcTNP: rpc command: SAMR_CONNECT
free_pipe_context: destroying talloc pool of size 24
Transaction 27 of length 132
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=52 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 701d)free_pipe_context: destroying 
talloc pool of size 0
Doing \PIPE\samr
api_rpcTNP: rpc command: SAMR_ENUM_DOMAINS
free_pipe_context: destroying talloc pool of size 1080
Transaction 28 of length 152
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=72 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 701d)free_pipe_context: destroying 
talloc pool of size 0
Doing \PIPE\samr
api_rpcTNP: rpc command: SAMR_LOOKUP_DOMAIN
free_pipe_context: destroying talloc pool of size 8
Transaction 29 of length 156
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=76 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 701d)free_pipe_context: destroying 
talloc pool of size 0
Doing \PIPE\samr
api_rpcTNP: rpc command: SAMR_OPEN_DOMAIN
free_pipe_context: destroying talloc pool of size 0
Transaction 30 of length 172
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=92 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 701d)free_pipe_context: destroying 
talloc pool of size 0
Doing \PIPE\samr
api_rpcTNP: rpc command: SAMR_CREATE_USER
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
smb_create_user: Running the command `/usr/sbin/adduser -n -g machines -c 
Machine -d /dev/null -s /bin/false themaster$' gave 127
User themaster$ does not exist in system password file (usually 
/etc/passwd). Cannot add account without a valid local system user.

free_pipe_context: destroying talloc pool of size 22
Transaction 31 of length 124
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 701d)free_pipe_context: destroying 
talloc pool of size 0
Doing \PIPE\samr
api_rpcTNP: rpc command: SAMR_CLOSE_HND
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 32 of length 124
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "samr" (pnum 701d)free_pipe_context: destroying 
talloc pool of size 0
Doing \PIPE\samr
api_rpcTNP: rpc command: SAMR_CLOSE_HND
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 33 of length 45
switch message SMBclose (pid 2195)
Transaction 34 of length 124
switch message SMBtrans (pid 2195)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 701a)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\lsarpc
api_rpcTNP: rpc command: LSA_CLOSE
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 35 of length 45
switch message SMBclose (pid 2195)
Transaction 36 of length 39
switch message SMBtdis (pid 2195)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
themaster (192.168.1.102) closed connection to service IPC$
Yielding connection to IPC$
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
end of file from client
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Closing connections
Yielding connection to
Server exit (normal exit)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
get_current_groups: uid 0 is in 7 groups: 0, 1, 14, 15, 16, 17, 65534
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
get_current_groups: uid 0 is in 7 groups: 0, 1, 14, 15, 16, 17, 65534
uid 0 registered to name root
Clearing default real name
User name: root	Real name: root
Chained message
switch message SMBtconX (pid 2197)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
check_access: no hostnames in host allow/deny list.
Allowed connection from  (192.168.1.102)
authorise_login: ACCEPTED: validated uid ok as non-guest (user=root)
root logged in as admin user (root privileges)
Connect path is /tmp
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
get_current_groups: uid 0 is in 7 groups: 0, 1, 14, 15, 16, 17, 65534
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
get_current_groups: uid 0 is in 7 groups: 0, 1, 14, 15, 16, 17, 65534
se_access_check: user sid is S-1-5-21-1857132695-1190587184-1900725518-1000
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1001
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1003
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1029
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1031
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1033
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-1035
se_access_check: also S-1-5-21-1857132695-1190587184-1900725518-132069
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-11
Initialising default vfs hooks
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
7 user groups:
0 1 14 15 16 17 65534
vfs_ChDir to /tmp
themaster (192.168.1.102) connect to service IPC$ as user root (uid=0, 
gid=0) (pid 2197)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
tconX service=ipc$ user=root
Transaction 3 of length 95
switch message SMBntcreateX (pid 2197)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
7 user groups:
0 1 14 15 16 17 65534
nt_open_pipe: Known pipe lsarpc opening.
Transaction 4 of length 140
switch message SMBwriteX (pid 2197)
api_pipe_bind_req: \PIPE\lsarpc -> \PIPE\lsass
writeX-IPC pnum=701e nwritten=72
Transaction 5 of length 63
switch message SMBreadX (pid 2197)
readX-IPC pnum=701e min=1024 max=1024 nread=68
Transaction 6 of length 172
switch message SMBtrans (pid 2197)
trans <\PIPE\> data=92 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 701e)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\lsarpc
api_rpcTNP: rpc command: LSA_OPENPOLICY2
free_pipe_context: destroying talloc pool of size 24
Transaction 7 of length 126
switch message SMBtrans (pid 2197)
trans <\PIPE\> data=46 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 701e)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\lsarpc
free_pipe_context: destroying talloc pool of size 0
Transaction 8 of length 126
switch message SMBtrans (pid 2197)
trans <\PIPE\> data=46 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 701e)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\lsarpc
api_rpcTNP: rpc command: LSA_QUERYINFOPOLICY
free_pipe_context: destroying talloc pool of size 512
Transaction 9 of length 95
switch message SMBntcreateX (pid 2197)
nt_open_pipe: Known pipe winreg opening.
Transaction 10 of length 140
switch message SMBwriteX (pid 2197)
api_pipe_bind_req: \PIPE\winreg -> \PIPE\winreg
writeX-IPC pnum=701f nwritten=72
Transaction 11 of length 63
switch message SMBreadX (pid 2197)
readX-IPC pnum=701f min=1024 max=1024 nread=68
Transaction 12 of length 116
switch message SMBtrans (pid 2197)
trans <\PIPE\> data=36 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 701f)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\winreg
api_rpcTNP: rpc command: REG_OPEN
free_pipe_context: destroying talloc pool of size 0
Transaction 13 of length 264
switch message SMBtrans (pid 2197)
trans <\PIPE\> data=184 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 701f)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\winreg
api_rpcTNP: rpc command: REG_OPEN_ENTRY
free_pipe_context: destroying talloc pool of size 110
Transaction 14 of length 228
switch message SMBtrans (pid 2197)
trans <\PIPE\> data=148 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 701f)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\winreg
api_rpcTNP: rpc command: REG_INFO
free_pipe_context: destroying talloc pool of size 1098
Transaction 15 of length 124
switch message SMBtrans (pid 2197)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 701f)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\winreg
api_rpcTNP: rpc command: REG_CLOSE
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 16 of length 124
switch message SMBtrans (pid 2197)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "winreg" (pnum 701f)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\winreg
api_rpcTNP: rpc command: REG_CLOSE
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 17 of length 45
switch message SMBclose (pid 2197)
Transaction 18 of length 97
switch message SMBntcreateX (pid 2197)
nt_open_pipe: Known pipe NETLOGON opening.
Transaction 19 of length 140
switch message SMBwriteX (pid 2197)
api_pipe_bind_req: \PIPE\NETLOGON -> \PIPE\lsass
writeX-IPC pnum=7020 nwritten=72
Transaction 20 of length 63
switch message SMBreadX (pid 2197)
readX-IPC pnum=7020 min=1024 max=1024 nread=68
Transaction 21 of length 184
switch message SMBtrans (pid 2197)
trans <\PIPE\> data=104 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "NETLOGON" (pnum 7020)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\NETLOGON
api_rpcTNP: rpc command: NET_REQCHAL
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
get_md4pw: Workstation themaster$: no account in domain
free_pipe_context: destroying talloc pool of size 44
Transaction 22 of length 45
switch message SMBclose (pid 2197)
Transaction 23 of length 124
switch message SMBtrans (pid 2197)
trans <\PIPE\> data=44 params=0 setup=2
named pipe command on <> name
Got API command 0x26 on pipe "lsarpc" (pnum 701e)free_pipe_context: 
destroying talloc pool of size 0
Doing \PIPE\lsarpc
api_rpcTNP: rpc command: LSA_CLOSE
Closed policy
free_pipe_context: destroying talloc pool of size 0
Transaction 24 of length 45
switch message SMBclose (pid 2197)
Transaction 25 of length 39
switch message SMBtdis (pid 2197)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
themaster (192.168.1.102) closed connection to service IPC$
Yielding connection to IPC$
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
end of file from client
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
Closing connections
Yielding connection to
Server exit (normal exit)




Brandon Caudle
--------------
15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
Larkhaven Golf Course
Charlotte, NC

"There cannot be a crisis next week. My schedule is already full." -- Henry 
Kissinger



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

Return-Path: <asokanon at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from smtp010.mail.yahoo.com (smtp010.mail.yahoo.com
  [216.136.173.30]) by lists.samba.org (Postfix) with SMTP id E0D4F44D2
  for <samba at lists.samba.org>; Sat, 11 Aug 2001 05:04:33 -0700 (PDT)
Received: from rppp2-1.net.utulsa.edu (HELO Bart) (129.244.252.1) by
  smtp.mail.vip.sc5.yahoo.com with SMTP; 11 Aug 2001 12:08:41 -0000
X-Apparently-From: <asokanon at yahoo.com>
Message-ID: <001301c1225e$69ff3e10$0200a8c0 at Bart>
From: "Asoka Anon" <asokanon at yahoo.com>
To: <samba at lists.samba.org>
Subject: [OT]beginners question
Date: Sat, 11 Aug 2001 07:08:51 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello, I am totally new to samba, and I have just one question to ask before
I really even get into it.  I like the idea alot, but I read something
tonight in the smd pdf that came with my RH 6.2 box that bothered me a
little.  It says under instulation:
  '...in order to use samba your machines must be on a single ethernet LAN
segment...". and, "SMB services cannot be used across routers.".
Im not sure exactly what all of this means as I am still relatively new to
all of this, but my settup is 3 boxes, 2 of which are running win2k and one
with Linux.  Each win2k box has an ethernet card and the Linux box has 2 of
them and a modem.  I use ppp to connect to the net and the eth0 and eth1 to
connect win0 and win1, so I guess the box is a router.  Will this kind of
settup work with samba?  When it says 'cannot be used accross routers', does
that mean that the win0 wont be able to see into win1 but they will both be
able to use smb, or does it mean neither of them can use it....or maybe just
one of them can use it?  I can live with not being able to see one win box
from the other as long as they can both see the linux box and the
printer...and the linux box can see them.

Thanks in advance for any help that you can offer,
AA


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


Return-Path: <gew3 at columbia.edu>
Delivered-To: samba at lists.samba.org
Received: from sergievsky.cpmc.columbia.edu
  (sergievsky.cpmc.columbia.edu [156.111.177.193]) by lists.samba.org
  (Postfix) with ESMTP id 567754245 for <samba at lists.samba.org>; Sat, 11
  Aug 2001 07:47:29 -0700 (PDT)
Received: from [24.168.78.52] (account wilsong HELO station1) by
  sergievsky.cpmc.columbia.edu (CommuniGate Pro SMTP 3.4.7) with ESMTP
  id 346521 for samba at lists.samba.org; Sat, 11 Aug 2001 10:51:37 -0400
Message-ID: <014a01c12275$1f3a7f90$0200a8c0 at station1>
Reply-To: "Gary Wilson" <gew3 at columbia.edu>
From: "Gary Wilson" <gew3 at columbia.edu>
To: <samba at lists.samba.org>
Subject: New book: Samba Essentials for Windows Administrators
Date: Sat, 11 Aug 2001 10:51:37 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
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 want to announce the release of a new book on Samba. It's called "Samba
Essentials for Windows Administrators."

I am the author and there is a foreword by Andrew Tridgell. The publisher is
Prentice Hall PTR.

The book is primarily for anyone who is familiar with Windows, but new to
Linux/Unix. It is also a good book for anyone new to Samba.

Amazon has it at a 30% discount right now. See:
http://www.amazon.com/exec/obidos/ASIN/0130409421/

The table of contents and the preface are viewable on the Amazon site as
well as Barnes & Noble's site at www.bn.com. Barnes & Noble has a more
detailed table of contents.

Here is what Andrew Tridgell says about the book in his foreword:

"Samba has come a long way over the last ten years, from a system that only
the most adventurous would try during the early days of its development to
something that has become a common component of many Unix sysadmins toolbox.
This book takes the next step by opening up the world of Samba to be more
accessible to sysadmins more familiar with the world of Microsoft Windows. I
was delighted to see the clear, task-oriented format that this book presents
and I am sure that Windows administrators will find this book an excellent
introduction to the possibilities offered by making Samba part of their
network."

For any questions, corrections or clarifications about the book I can be
reached at gew3 at columbia.edu

Gary Wilson
gew3 at columbia.edu

Return-Path: <robmv at promca.com>
Delivered-To: samba at lists.samba.org
Received: from rs1s2.datacenter.cha.cantv.net
  (rs1s2-b.datacenter.cha.cantv.net [200.44.32.57]) by lists.samba.org
  (Postfix) with ESMTP id A77C35838 for <samba at lists.samba.org>; Sat, 11
  Aug 2001 09:16:06 -0700 (PDT)
Received: from promca.com ([200.11.151.1]) by
  rs1s2.datacenter.cha.cantv.net (8.10.2/8.10.2/2.0) with ESMTP id
  f7BGKA827566; Sat, 11 Aug 2001 12:20:11 -0400
Message-ID: <3B755BC7.1040005 at promca.com>
Date: Sat, 11 Aug 2001 12:22:31 -0400
From: Robert Marcano <robmv at promca.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: en-us, es-ve
MIME-Version: 1.0
To: Asoka Anon <asokanon at yahoo.com>
Cc: samba at lists.samba.org
Subject: Re: [OT]beginners question
References: <001301c1225e$69ff3e10$0200a8c0 at Bart>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

You don't have to worry, when the documentation says "SMB services 
cannot be used across routers", what is saying is that you can 
comunicate (read the next paragraph) with SMB with another machine that 
is in the other side of the router, in your case, you can not access 
internet machines outside your network because they are on the ppp side 
of your linux box and your windows machines are on the ethernet side 
(this restriction is only for Windows networking protocol not for tcpip).

I not sure if this Samba restriction that you talk about is totally true 
(I am not a samba expert), but one of the advantages of using Netbios 
over Tcpip is the capability to pass across routers (I have done that 
before with OS/2 Servers). see 
http://www.ietf.org/rfc/rfc1001.txt?number=1001

Asoka Anon wrote:

>Hello, I am totally new to samba, and I have just one question to ask before
>I really even get into it.  I like the idea alot, but I read something
>tonight in the smd pdf that came with my RH 6.2 box that bothered me a
>little.  It says under instulation:
>  '...in order to use samba your machines must be on a single ethernet LAN
>segment...". and, "SMB services cannot be used across routers.".
>Im not sure exactly what all of this means as I am still relatively new to
>all of this, but my settup is 3 boxes, 2 of which are running win2k and one
>with Linux.  Each win2k box has an ethernet card and the Linux box has 2 of
>them and a modem.  I use ppp to connect to the net and the eth0 and eth1 to
>connect win0 and win1, so I guess the box is a router.  Will this kind of
>settup work with samba?  When it says 'cannot be used accross routers', does
>that mean that the win0 wont be able to see into win1 but they will both be
>able to use smb, or does it mean neither of them can use it....or maybe just
>one of them can use it?  I can live with not being able to see one win box
>from the other as long as they can both see the linux box and the
>printer...and the linux box can see them.
>
>Thanks in advance for any help that you can offer,
>AA
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>

-- 
Robert Marcano (robmv at promca.com)
System Architect
IBM OS/2, VisualAge C++, Java, Smalltalk certified

aol/netscape screen id: robmv
jabber id: robmv at jabber.org
icq id: 101913663

Return-Path: <robmv at promca.com>
Delivered-To: samba at lists.samba.org
Received: from rs1s2.datacenter.cha.cantv.net
  (rs1s2-b.datacenter.cha.cantv.net [200.44.32.57]) by lists.samba.org
  (Postfix) with ESMTP id BEB06583F for <samba at lists.samba.org>; Sat, 11
  Aug 2001 09:18:57 -0700 (PDT)
Received: from promca.com ([200.11.151.1]) by
  rs1s2.datacenter.cha.cantv.net (8.10.2/8.10.2/2.0) with ESMTP id
  f7BGN0d29120; Sat, 11 Aug 2001 12:23:00 -0400
Message-ID: <3B755C70.1090203 at promca.com>
Date: Sat, 11 Aug 2001 12:25:20 -0400
From: Robert Marcano <robmv at promca.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: en-us, es-ve
MIME-Version: 1.0
To: Robert Marcano <robmv at promca.com>
Cc: Asoka Anon <asokanon at yahoo.com>, samba at lists.samba.org
Subject: Re: [OT]beginners question
References: <001301c1225e$69ff3e10$0200a8c0 at Bart>
  <3B755BC7.1040005 at promca.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

correction to my previous post. It must say "saying is that you can't 
comunicate (read the next paragraph)"

Robert Marcano wrote:

> You don't have to worry, when the documentation says "SMB services 
> cannot be used across routers", what is saying is that you can 
> comunicate (read the next paragraph) with SMB with another machine 
> that is in the other side of the router, in your case, you can not 
> access internet machines outside your network because they are on the 
> ppp side of your linux box and your windows machines are on the 
> ethernet side (this restriction is only for Windows networking 
> protocol not for tcpip).
>
> I not sure if this Samba restriction that you talk about is totally 
> true (I am not a samba expert), but one of the advantages of using 
> Netbios over Tcpip is the capability to pass across routers (I have 
> done that before with OS/2 Servers). see 
> http://www.ietf.org/rfc/rfc1001.txt?number=1001
>
> Asoka Anon wrote:
>
>> Hello, I am totally new to samba, and I have just one question to ask 
>> before
>> I really even get into it.  I like the idea alot, but I read something
>> tonight in the smd pdf that came with my RH 6.2 box that bothered me a
>> little.  It says under instulation:
>>  '...in order to use samba your machines must be on a single ethernet 
>> LAN
>> segment...". and, "SMB services cannot be used across routers.".
>> Im not sure exactly what all of this means as I am still relatively 
>> new to
>> all of this, but my settup is 3 boxes, 2 of which are running win2k 
>> and one
>> with Linux.  Each win2k box has an ethernet card and the Linux box 
>> has 2 of
>> them and a modem.  I use ppp to connect to the net and the eth0 and 
>> eth1 to
>> connect win0 and win1, so I guess the box is a router.  Will this 
>> kind of
>> settup work with samba?  When it says 'cannot be used accross 
>> routers', does
>> that mean that the win0 wont be able to see into win1 but they will 
>> both be
>> able to use smb, or does it mean neither of them can use it....or 
>> maybe just
>> one of them can use it?  I can live with not being able to see one 
>> win box
>> from the other as long as they can both see the linux box and the
>> printer...and the linux box can see them.
>>
>> Thanks in advance for any help that you can offer,
>> AA
>>
>>
>> _________________________________________________________
>> Do You Yahoo!?
>> Get your free @yahoo.com address at http://mail.yahoo.com
>>
>

-- 
Robert Marcano (robmv at promca.com)
System Architect
IBM OS/2, VisualAge C++, Java, Smalltalk certified

aol/netscape screen id: robmv
jabber id: robmv at jabber.org
icq id: 101913663

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (f77.law10.hotmail.com [64.4.15.77]) by
  lists.samba.org (Postfix) with ESMTP id F0161456D for
  <samba at samba.org>; Sat, 11 Aug 2001 10:01:51 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Sat, 11 Aug 2001 10:05:59 -0700
Received: from 64.192.99.49 by lw10fd.law10.hotmail.msn.com with HTTP;
  Sat, 11 Aug 2001 17:05:59 GMT
X-Originating-IP: [64.192.99.49]
Reply-To: bcaudle at hotmail.com
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: nlz5093 at owl.forestry.uga.edu
Cc: samba at samba.org
Subject: Re: Samba 2.2.1a Not Working
Date: Sat, 11 Aug 2001 13:05:59 -0400
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F777kBnccYTjr8cU6xf00004c49 at hotmail.com>
X-OriginalArrivalTime: 11 Aug 2001 17:05:59.0398 (UTC)
  FILETIME=[E494F060:01C12287]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

in swat I enabled the root user after i added him.
invalid users =

and if i open a share he works so i would say he seems to be valid


Brandon Caudle
--------------
15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
Larkhaven Golf Course
Charlotte, NC

"There cannot be a crisis next week. My schedule is already full." -- Henry 
Kissinger




>From: "Nathan Zimpfer" <nlz5093 at owl.forestry.uga.edu>
>To: <bcaudle at hotmail.com>
>Subject: Re: Samba 2.2.1a Not Working
>Date: Sat, 11 Aug 2001 10:56:12 -0400
>
>just out of curiosity..
>
>is root a valid user in the domain ..
>
>i.e. you have done smbpasswd -a root, to add
>it to the smbpasswd file ?
>
>Just a thought ?
>
>Nathan Zimpfer
>
><<< "Brandon Caudle" <bcaudle at hotmail.com>  8/11 10:27a >>>
>Hello Everyone,
>
>I am currently running (or trying at least) 2.2.1a but I have a couple of
>problems.
>
>Ok I setup the computer in my /etc/passwd file
>
>themaster$:x:517:100::/dev/null:/bin/false
>
>Is that correct? 100 = Users Group
>
>Ok I setup the computer in smbpassed file with the command
>
>smbpasswd -a -m themaster
>
>themaster$:517:35852276ECC0BE7F8963805A19B0ED49:0808AA16382CB00732CF2D8B1D4165B3:[W
>           ]:LCT-3B75D69E:
>
>Is that correct?
>
>Ok and in swat I enabled the root user after i added him.
>
>So i added the computer to the GOLF domain successfully, rebooted and tryed
>to login as root but it didn't work! So i went in  to 2000 to  add the 
>local
>user root and when I did in the users and passwords and it says on all the
>users domain = themaster but were only running 2000 Pro, does it do this on
>any one else?
>
>Thanks
>
>Brandon Caudle
>--------------
>15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
>Larkhaven Golf Course
>Charlotte, NC
>
>"There cannot be a crisis next week. My schedule is already full." -- Henry
>Kissinger
>
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>


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

Return-Path: <Roger at boussen.net>
Delivered-To: samba at lists.samba.org
Received: from post.mail.nl.demon.net (post-10.mail.nl.demon.net
  [194.159.73.20]) by lists.samba.org (Postfix) with ESMTP id F3C554514
  for <samba at lists.samba.org>; Sat, 11 Aug 2001 13:59:54 -0700 (PDT)
Received: from [212.238.67.46] (helo=Boussen.net) by
  post.mail.nl.demon.net with esmtp (Exim 3.22 #1) id 15VfvM-0002vH-00
  for samba at lists.samba.org; Sat, 11 Aug 2001 21:04:00 +0000
Received: from redsky.boussen.net (IDENT:roger at localhost.localdomain
  [127.0.0.1]) by Boussen.net (8.11.0/0/RB:01) with SMTP id f7BL79t01966
  for <samba at lists.samba.org>; Sat, 11 Aug 2001 23:07:09 +0200
Content-Type: text/plain; charset="iso-8859-1"
From: Roger Boussen <Roger at Boussen.net>
Reply-To: Roger at Boussen.net
To: samba at lists.samba.org
Subject: Change samba password by Win98 password program?? or cgi
Date: Sat, 11 Aug 2001 23:07:09 +0200
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01081123070900.01534 at redsky.boussen.net>
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 want to use the password program to change the samba password.
When I start the program (configuration-->password) I have the possibility to
mark the password change for Samba.
But after giving the old/new/new password the update of the samba password
failed, Why???

Client: Win98
Server: Redhat 7.1, Samba 2.2.1a

An other solution is a cgi script to let the user change his password with
smbpasswd, and that change his unix password to because sync = yes.
Where can i get a cgi script like this?


--
Regards,

Roger

-- Running Redhat 7

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (oe68.law10.hotmail.com [64.4.14.203]) by
  lists.samba.org (Postfix) with ESMTP id C721A467D for
  <samba at samba.org>; Sat, 11 Aug 2001 14:56:30 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Sat, 11 Aug 2001 15:00:37 -0700
X-Originating-IP: [64.192.118.189]
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: <samba at samba.org>
Subject: Password for workstation that has joined the domain?
Date: Thu, 16 Aug 2001 17:52:06 -0400
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
Message-ID: <OE689xDbH8J0sca0Zkf0000cc07 at hotmail.com>
X-OriginalArrivalTime: 11 Aug 2001 22:00:37.0605 (UTC)
  FILETIME=[0D9D4150:01C122B1]
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/

Let me get this straight the password for a NT/2000 workstation is
netbios_name$ correct?

Brandon Caudle
--------------
15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
Larkhaven Golf Course
Charlotte, NC

"There cannot be a crisis next week. My schedule is already full." -- Henry
Kissinger

Return-Path: <s_elble at yahoo.com>
Delivered-To: samba at samba.org
Received: from web11708.mail.yahoo.com (web11708.mail.yahoo.com
  [216.136.172.74]) by lists.samba.org (Postfix) with SMTP id AD99C445A
  for <samba at samba.org>; Sat, 11 Aug 2001 16:44:33 -0700 (PDT)
Message-ID: <20010811234840.64962.qmail at web11708.mail.yahoo.com>
Received: from [24.151.81.31] by web11708.mail.yahoo.com; Sat, 11 Aug
  2001 16:48:40 PDT
Date: Sat, 11 Aug 2001 16:48:40 -0700 (PDT)
From: Sean Elble <s_elble at yahoo.com>
Subject: Re: Password for workstation that has joined the domain?
To: Brandon Caudle <bcaudle at hotmail.com>
Cc: samba at samba.org
In-Reply-To: <OE689xDbH8J0sca0Zkf0000cc07 at hotmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

No, netbios_name$ represents the "user name" of that
specific PC . . . the password is a hash of something
that I can't recall right now. :-) Someone want to
step in here?
--- Brandon Caudle <bcaudle at hotmail.com> wrote:
> Let me get this straight the password for a NT/2000
> workstation is
> netbios_name$ correct?
> 
> Brandon Caudle
> --------------
> 15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
> Larkhaven Golf Course
> Charlotte, NC
> 
> "There cannot be a crisis next week. My schedule is
> already full." -- Henry
> Kissinger
> -- 
> To unsubscribe from this list go to the following
> URL and read the
> instructions: 
http://lists.samba.org/mailman/listinfo/samba


=====
------------------------------
Sean Elble
MaximumLinux.org
Voice Mail: 1-800-699-2466; Voice Mail Box 8603550213
E-Mail: S_Elble at yahoo.com
------------------------------

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (oe45.law10.hotmail.com [64.4.14.17]) by
  lists.samba.org (Postfix) with ESMTP id EB3F6457B for
  <samba at samba.org>; Sat, 11 Aug 2001 17:19:26 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Sat, 11 Aug 2001 17:23:33 -0700
X-Originating-IP: [64.192.118.189]
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: "Sean Elble" <s_elble at yahoo.com>
Cc: <samba at samba.org>
References: <20010811234840.64962.qmail at web11708.mail.yahoo.com>
Subject: Re: Password for workstation that has joined the domain?
Date: Thu, 16 Aug 2001 20:15:03 -0400
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
Message-ID: <OE45RPQIWDO3hRDT6Z30000ca64 at hotmail.com>
X-OriginalArrivalTime: 12 Aug 2001 00:23:33.0610 (UTC)
  FILETIME=[054FC4A0:01C122C5]
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/

	# useradd -a /bin/false -d /dev/null "machine_name"\$
	# passwd -l "machine_name"\$
	# smbpasswd -a -m "machine_name"


So what are you doing in the second line? Cause I thought it was setting the
passwd

Brandon Caudle
--------------
15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
Larkhaven Golf Course
Charlotte, NC

"There cannot be a crisis next week. My schedule is already full." -- Henry
Kissinger
----- Original Message -----
From: "Sean Elble" <s_elble at yahoo.com>
To: "Brandon Caudle" <bcaudle at hotmail.com>
Cc: <samba at samba.org>
Sent: Saturday, August 11, 2001 7:48 PM
Subject: Re: Password for workstation that has joined the domain?


> No, netbios_name$ represents the "user name" of that
> specific PC . . . the password is a hash of something
> that I can't recall right now. :-) Someone want to
> step in here?
> --- Brandon Caudle <bcaudle at hotmail.com> wrote:
> > Let me get this straight the password for a NT/2000
> > workstation is
> > netbios_name$ correct?
> >
> > Brandon Caudle
> > --------------
> > 15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
> > Larkhaven Golf Course
> > Charlotte, NC
> >
> > "There cannot be a crisis next week. My schedule is
> > already full." -- Henry
> > Kissinger
> > --
> > To unsubscribe from this list go to the following
> > URL and read the
> > instructions:
> http://lists.samba.org/mailman/listinfo/samba
>
>
> =====
> ------------------------------
> Sean Elble
> MaximumLinux.org
> Voice Mail: 1-800-699-2466; Voice Mail Box 8603550213
> E-Mail: S_Elble at yahoo.com
> ------------------------------
>
> __________________________________________________
> Do You Yahoo!?
> Send instant messages & get email alerts with Yahoo! Messenger.
> http://im.yahoo.com/
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

Return-Path: <luridBlack at satx.rr.com>
Delivered-To: samba at lists.samba.org
Received: from sm14.texas.rr.com (sm14.texas.rr.com [24.93.35.41]) by
  lists.samba.org (Postfix) with ESMTP id 45D034476 for
  <samba at lists.samba.org>; Sat, 11 Aug 2001 19:43:21 -0700 (PDT)
Received: from jason (cs162170-105.satx.rr.com [24.162.170.105]) by
  sm14.texas.rr.com (8.12.0.Beta16/8.12.0.Beta16) with SMTP id
  f7C2sEXD012767 for <samba at lists.samba.org>; Sat, 11 Aug 2001 21:54:15
  -0500
Message-ID: <001701c122d8$f9e50260$0400a8c0 at jason>
From: ")ason" <luridBlack at satx.rr.com>
To: <samba at lists.samba.org>
Subject: samba server not showing in workgroup
Date: Sat, 11 Aug 2001 21:46:23 -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'm trying to use samba to share a printer for several windows machines, but
only recently the linux server using samba stopped showing up on the workgroup
from any machine.

The server itself can connect to itself and other computers.

my smb.conf (simplified):

[global]
	workgroup = N-AMERICA
	netbios name = LSERVER
	null passwords = Yes
	guest account = lurid
	admin users = root
security = USER
...
[lPrinter]
	comment = a printer
	path = /var/spool/lpd/lPrinter
	guest ok = Yes
	printable = Yes
	printing = lprng
	printer = lPrinter
...
Has anyone encountered this before or have any ideas? Thanks

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at 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 D03A9439C for <samba at samba.org>; Sat, 11 Aug
  2001 20:12:53 -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 18083407; Sat, 11 Aug 2001 23:23:39 -0400
Date: Sat, 11 Aug 2001 22:19:44 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Brandon Caudle <bcaudle at hotmail.com>
Cc: Sean Elble <s_elble at yahoo.com>, <samba at samba.org>
Subject: Re: Password for workstation that has joined the domain?
In-Reply-To: <OE45RPQIWDO3hRDT6Z30000ca64 at hotmail.com>
Message-ID: <Pine.LNX.4.33.0108112216530.9187-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, 16 Aug 2001, Brandon Caudle wrote:

> 	# useradd -a /bin/false -d /dev/null "machine_name"\$
> 	# passwd -l "machine_name"\$
> 	# smbpasswd -a -m "machine_name"
>
>
> So what are you doing in the second line? Cause I thought it was
> setting the passwd

Brandon,

A machine trust account password is a random value set by the client.
You are correct in that 'smbpasswd -a -m <machine>' does set the
password to a known default of the NT hash of the lower case
machine's netbios name.  Server Manager does the same thing.
However, one the client machine joins the domain, it will set
the password to a random value and change it periodically (defaults
to eery 7 days).

There is more to this if you join the domain using an admin
account, but I digress....





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: <samba at hoekstra.nu>
Delivered-To: samba at lists.samba.org
Received: from linux1.hoekstra.nu (amf-hld-1995.mxs.adsl.euronet.nl
  [212.129.153.149]) by lists.samba.org (Postfix) with ESMTP id
  47705420F for <samba at lists.samba.org>; Sun, 12 Aug 2001 09:29:52 -0700
  (PDT)
Received: from hornet (hornet.his-net [192.168.10.18]) by
  mail.hoekstra.nu (Postfix) with SMTP id 037E9BF61D for
  <samba at lists.samba.org>; Sat, 11 Aug 2001 11:56:18 +0200 (CEST)
From: "Robert Hoekstra" <samba at hoekstra.nu>
To: <samba at lists.samba.org>
Subject: roaming profiles
Date: Sat, 11 Aug 2001 11:56:06 +0200
Message-ID: <NEBBLPJKOLJBMHNKBDCMGEKCCEAA.samba at hoekstra.nu>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I am sorry about this being a bit (bunch) off-topic, but to minimize hassle
I will keep it short, and hope one can help me:

I have a samba 2.2.1a server running, and as a client a Windows 2000 server
edition.

I have been running the 2000 machine locally for a while and recently it was
added to my smb domain.

logging on as the same user on the domain makes it (logically) create
another profile dir. so all settings, installed programs etc. are 'reset' or
being more correct, recreated for the 'new' user.

Is there a way in Win2000 to duplicate the profile so all settings for the
local user are the same as the domain user?

again, sorry that this is a bit off-topic..
Robert

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from atlrel7.hp.com (atlrel7.hp.com [192.151.27.9]) by
  lists.samba.org (Postfix) with ESMTP id 2F01F46DA for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 12:31:59 -0700 (PDT)
Received: from xatlrelay2.atl.hp.com (xatlrelay2.atl.hp.com
  [15.45.89.191]) by atlrel7.hp.com (Postfix) with ESMTP id 8702B1F59B;
  Sun, 12 Aug 2001 15:34:54 -0400 (EDT)
Received: from xatlbh3.atl.hp.com (xatlbh3.atl.hp.com [15.45.89.188]) by
  xatlrelay2.atl.hp.com (Postfix) with ESMTP id CFAEC1F502; Sun, 12 Aug
  2001 15:35:57 -0400 (EDT)
Received: by xatlbh3.atl.hp.com with Internet Mail Service (5.5.2653.19)
  id <QVKWHCQD>; Sun, 12 Aug 2001 15:35:57 -0400
Message-ID: <079FD72E42C9D311B854009027650E6F0758EFA6 at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Reinout Wijnveen' <reinout.wijnveen at wanadoo.nl>, "MCCALL,DON
  (HP-USA,ex1)" <don_mccall at hp.com>
Cc: jeremy at valinux.com, samba at lists.samba.org
Subject: RE: Locking issues with HP-UX 11.00
Date: Sun, 12 Aug 2001 15:35:57 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Helo Reinout,
Well, I believe that that is the issue - on an NFS filesystem, you're not
going to be able to satisfy a lock
at the offset that you mention.  NFS v2 does not support filesystems beyond
4gigabite.  the lock is starting at 4294901760 with a byte count of 65535,
which is going to exceed the nfs max file size capacity, and you will get no
locks available.  You would have to be using NFS v3 on both sides (nfs
client and server) for a lock of this type to succeed.
Sorry,
Don

-----Original Message-----
From: Reinout Wijnveen [mailto:reinout.wijnveen at wanadoo.nl]
Sent: Sunday, August 12, 2001 5:10
To: don_mccall at hp.com
Cc: jeremy at valinux.com; samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00


I am sorry if you recieve this mail twice. I had problems sending it.

Don, here's the information you asked for:

> 1. uname -a

HP-UX hpf01 B.11.00 A 9000/861 2010561247 two-user license

> 2. exactly what are you doing to test the locking? (smbtorture?)

I connect my homedir from the testserver and start Lotus Notes. 
Lotus Notes is infamous for it's sensitivity for 'non-optimal' network 
connections. Notes tries to lock certain files and complains immediately if 
that fails.

> 3. does the log message always fail at the same offset/count:
> (fcntl_lock: lock failed at offset 4294901760 count 65535)

Yes, always the same with both samba 2.2.1 and the cvs version:
lock failed at offset 4294901760 count 65535 op 9 type 2

I have a level 10 log available.  It looks like the first two or three 
requests succeed, but then start failing. See the summary at the end of this

mail.

> 4. what filesystem type is the share you are using for
> this test?  (nfs, hfs, vxfs?)

NFS. The fileserver is HP-UX 10.20.
As an additional test I copied my notes files to a local vxfs on the 
testserver and that works OK. (!)

> The message you mention indicates that you are running
> samba on a 64bit HP-UX os - can you pull the latest 2.2
> CVS and do the following:
> - remove source/config.cache
> - run configure again, then make and make install  and
>   do your test again.

I retrieved a fresh cvs tree, with the same results.

> If you can tell me the above, I will try to do the same
> on a 64 bit hp-ux system and see if I get the same results.  Currently the
> build farm machines are all 32 bit machines...
>
> Thanks,
> Don
>

Summary of the level 10 log:

hpf01 # grep _posix_lock level10_debug_samba_cvs_locking    

  set_posix_lock: File notes/pid.nbf, offset = 0, count = 4, type = READ
  add_posix_lock: File notes/pid.nbf: type = WRITE: start=0 size=4: 
dev=-16776679 inode=3377
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 4
  release_posix_lock: File notes/pid.nbf, offset = 0, count = 4
  delete_posix_lock_entry: type = WRITE: start=0 size=4, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 4
  set_posix_lock: File notes/~notes.lck, offset = 0, count = 65535, type = 
READ
  add_posix_lock: File notes/~notes.lck: type = WRITE: start=0 size=65535: 
dev=-16776679 inode=96
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 65535
  release_posix_lock: File notes/~notes.lck, offset = 0, count = 65535
  delete_posix_lock_entry: type = WRITE: start=0 size=65535, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 65535
  set_posix_lock: File notes/~notes.lck, offset = 0, count = 1, type = READ
  add_posix_lock: File notes/~notes.lck: type = WRITE: start=0 size=1: 
dev=-16776679 inode=96
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 1
  set_posix_lock: File notes/names.nsf, offset = 4294901760, count = 65535, 
type = READ
  add_posix_lock: File notes/names.nsf: type = WRITE: start=4294901760 
size=65535: dev=-16776679 inode=1917
  set_posix_lock: Real lock: Type = WRITE: offset = 4294901760, count =
65535
  set_posix_lock: Lock fail !: Type = WRITE: offset = 4294901760, count = 
65535
  set_posix_lock: File notes/desktop.dsk, offset = 4294901760, count =
65535, 
type = READ
  add_posix_lock: File notes/desktop.dsk: type = WRITE: start=4294901760 
size=65535: dev=-16776679 inode=15420
  set_posix_lock: Real lock: Type = WRITE: offset = 4294901760, count =
65535
  set_posix_lock: Lock fail !: Type = WRITE: offset = 4294901760, count = 
65535
  release_posix_lock: File notes/~notes.lck, offset = 0, count = 1
  delete_posix_lock_entry: type = WRITE: start=0 size=1, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 1
  set_posix_lock: File notes/pid.nbf, offset = 0, count = 4, type = READ
  add_posix_lock: File notes/pid.nbf: type = WRITE: start=0 size=4: 
dev=-16776679 inode=3377
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 4
  release_posix_lock: File notes/pid.nbf, offset = 0, count = 4
  delete_posix_lock_entry: type = WRITE: start=0 size=4, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 4

-- 
Regards,

Reinout Wijnveen
reinout.wijnveen at wanadoo.nl

"All who believe in psychokinesis raise my hand"

Return-Path: <slu at firerun.net>
Delivered-To: samba at lists.samba.org
Received: from impact.firerun.net (impact.firerun.net [216.222.9.100])
  by lists.samba.org (Postfix) with ESMTP id 50D384420 for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 12:43:45 -0700 (PDT)
Received: from firerun.net (router.firerun.net [216.222.9.110]) by
  impact.firerun.net (8.11.0/8.11.0) with ESMTP id f7CJli230449; Sun, 12
  Aug 2001 13:47:44 -0600
Message-ID: <3B76DD5F.75CAE7DC at firerun.net>
Date: Sun, 12 Aug 2001 13:47:43 -0600
From: Patrick <slu at firerun.net>
Reply-To: critter at rmci.net
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Robert Hoekstra <samba at hoekstra.nu>
Cc: samba at lists.samba.org
Subject: Re: roaming profiles
References: <NEBBLPJKOLJBMHNKBDCMGEKCCEAA.samba at hoekstra.nu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

yes there is,  if you go to the system properties and click on the "User
Profiles" tab it will have an option to "Copy To..." click on the copy to.  Be
sure that the user you copy the profile has logged on at least once.  Before you
copy the profile it is better if you go and delete the contents of the
destination profile directory.   The all you have to do is select the directory
to copy the profile to and change the "Permitted to use" to the user that you
are copying it to.

That worked for Me.

Patrick

Robert Hoekstra wrote:

> I am sorry about this being a bit (bunch) off-topic, but to minimize hassle
> I will keep it short, and hope one can help me:
>
> I have a samba 2.2.1a server running, and as a client a Windows 2000 server
> edition.
>
> I have been running the 2000 machine locally for a while and recently it was
> added to my smb domain.
>
> logging on as the same user on the domain makes it (logically) create
> another profile dir. so all settings, installed programs etc. are 'reset' or
> being more correct, recreated for the 'new' user.
>
> Is there a way in Win2000 to duplicate the profile so all settings for the
> local user are the same as the domain user?
>
> again, sorry that this is a bit off-topic..
> Robert
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <stormblade at bellsouth.net>
Delivered-To: samba at lists.samba.org
Received: from imf01bis.bellsouth.net (mail201.mail.bellsouth.net
  [205.152.58.141]) by lists.samba.org (Postfix) with ESMTP id 0DF24416C
  for <samba at lists.samba.org>; Sun, 12 Aug 2001 14:06:02 -0700 (PDT)
Received: from storm2001.bellsouth.net ([66.20.73.40]) by
  imf01bis.bellsouth.net (InterMail vM.5.01.01.01 201-252-104) with
  ESMTP id
  <20010812211101.ODHO6575.imf01bis.bellsouth.net at storm2001.bellsouth.ne
  t> for <samba at lists.samba.org>; Sun, 12 Aug 2001 17:11:01 -0400
Message-Id: <5.1.0.14.2.20010812170330.0406fe88 at mail.atl.bellsouth.net>
X-Sender: beaman at mail.atl.bellsouth.net
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Sun, 12 Aug 2001 17:07:32 -0400
To: samba at lists.samba.org
From: Stormblade <stormblade at bellsouth.net>
Subject: Re: Trying Samba Again
In-Reply-To: <20010812190117.8578646E7 at lists.samba.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

No one can help me with this problem? It seems to be one that quite a few 
have but I saw no solutions. I deleted the rpms for samba, I downloaded 
2.2.1a. Compiled and installed it. Created that swat file for xinetd under 
/etc/xinetd.d. The entry in /etc/services for swat was already there. When 
I tried to use swat it won't let me log in. Says Authorization failed. I'm 
using root and the root password. Is there something else I need to do 
besides just having it in the /etc/passwd file? Doesn't swat use that file 
for authorization?



-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  Shaolin Code Warrior
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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 31E794660 for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 14:27:54 -0700 (PDT)
Received: from bits.linuxball (bits [208.161.142.154]) by
  srvr201.castmark.com (8.11.0/8.11.0) with SMTP id f7CLWa409103 for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 16:32:36 -0500
Content-Type: text/plain; charset="iso-8859-1"
From: Fred Jackson <fred at arkansaswebs.com>
To: samba at lists.samba.org
Subject: Re: samba server not showing in workgroup
Date: Sun, 12 Aug 2001 16:30:07 -0500
X-Mailer: KMail [version 1.2]
References: <001701c122d8$f9e50260$0400a8c0 at jason>
In-Reply-To: <001701c122d8$f9e50260$0400a8c0 at jason>
MIME-Version: 1.0
Message-Id: <01081216300700.26558 at bits.linuxball>
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

you may have restrict anonymous set to yes.
use swat to change the setting or 
add:
restrict anonymous = No

to your conf file

Fred

_________________________________ 
On Saturday 11 August 2001 09:46 pm, jason wrote:
> I'm trying to use samba to share a printer for several windows 
machines, but
> only recently the linux server using samba stopped showing up on 
the workgroup
> from any machine.
> 
> The server itself can connect to itself and other computers.
> 
> my smb.conf (simplified):
> 
> [global]
> 	workgroup = N-AMERICA
> 	netbios name = LSERVER
> 	null passwords = Yes
> 	guest account = lurid
> 	admin users = root
> security = USER
> ...
> [lPrinter]
> 	comment = a printer
> 	path = /var/spool/lpd/lPrinter
> 	guest ok = Yes
> 	printable = Yes
> 	printing = lprng
> 	printer = lPrinter
> ...
> Has anyone encountered this before or have any ideas? Thanks
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

Return-Path: <asokanon at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from smtp016.mail.yahoo.com (smtp016.mail.yahoo.com
  [216.136.174.113]) by lists.samba.org (Postfix) with SMTP id CAD73480C
  for <samba at lists.samba.org>; Sun, 12 Aug 2001 17:00:19 -0700 (PDT)
Received: from rppp2-39.net.utulsa.edu (HELO Bart) (129.244.252.39) by
  smtp.mail.vip.sc5.yahoo.com with SMTP; 13 Aug 2001 00:04:11 -0000
X-Apparently-From: <asokanon at yahoo.com>
Message-ID: <001201c1238b$8bb955d0$0200a8c0 at Bart>
From: "Asoka Anon" <asokanon at yahoo.com>
To: <samba at lists.samba.org>
Subject: [OT] pulling my hair out.
Date: Sun, 12 Aug 2001 19:04:03 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

    Hello, appologies if this is not the proper place to post this, but I
have exhausted the docs that came with samba.  I have done everything step
by step...again and again, and still the only way to make samba work is if I
settup the security level to share.  It wont see encrypted passwords if I
set it up to, and it wont see plain passwords if I regedit in win2k to make
it use a diferent scheme.  I tried to run swat to config, but it just keeps
telling me, 'unable to connect to remote host'.  I looked at all the
swat/samba docs, but even after following meticulously the instructions for
setting up swat it still refuses to work.  I have the entries I need in both
/etc/services and /etc/inetd.conf, but when I issue killall -HUP inetd to
restart it, it just saysinetd: no process killed.  Apparently inetd.conf
doesnt do anything on my system, (before I added the swat entries it was
empty), so I tried to start it manually.  I issue the command and swat
starts, so I open a browser but still cannot connect!?!  This is starting to
get very frustrating as I have read and reread all the local docs I have,
and when I search the net for info, its just the same instructions rewritten
different ways repeating over and over to me how easy this is to work.  Am I
stupid, or does this sound like something is wrong with the inetd.conf?  If
that was the case, why would starting it manually still not work at all?
Any help is greatly appreciated as I just want to get this damn thing
working the way its supposed to be.  Thanks in advance,
AA
P.S. Im still relatively new to linux, so it coulc just be that Im not
getting something....I had the same problem when I initially installed tho,
I tried running the smbd and nmbd from inetd.conf and samba didnt work till
I decided to sart them from a script instead....it just seems to be
something more here since that doesnt work.


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


Return-Path: <grant at conprojan.com.au>
Delivered-To: samba at lists.samba.org
Received: from webster.conprojan.com.au (raw130515-1.gw.connect.com.au
  [202.21.11.98]) by lists.samba.org (Postfix) with SMTP id 70E874237
  for <samba at lists.samba.org>; Sun, 12 Aug 2001 17:15:03 -0700 (PDT)
Received: (qmail 18100 invoked by uid 523); 13 Aug 2001 00:19:03 -0000
Received: from localhost (sendmail-bs at 127.0.0.1) by localhost with SMTP;
  13 Aug 2001 00:19:03 -0000
Date: Mon, 13 Aug 2001 10:19:03 +1000 (EST)
From: Grant <grant at conprojan.com.au>
To: Asoka Anon <asokanon at yahoo.com>
Cc: samba at lists.samba.org
Subject: Re: [OT] pulling my hair out.
In-Reply-To: <001201c1238b$8bb955d0$0200a8c0 at Bart>
Message-ID: <Pine.LNX.4.21.0108131018450.16339-100000 at webster.conprojan.
  com.au>
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/

This is my simple smb.conf

[global]
netbios name = COMPUTER
workgroup = WORKGRP
server string = Samba Server

interfaces = eth0
bind interfaces only = yes
hosts allow = 192.168.1.  127.
socket options = IPTOS_LOWDELAY TCP_NODELAY

log file = /usr/local/samba/var/log.%m

encrypt passwords = yes

domain master = no
preferred master = no
local master = no
os level = 25
dns proxy = no
load printers = no
name resolve order = host
debug level = 1

[homes]
comment = %S's home directory
writable = yes
path = %H
create mode = 0644
directory mode = 0755
valid users = %S
only user = yes
browseable = no

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 059B941A2 for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 18:00:23 -0700 (PDT)
Received: (qmail 67203 invoked from network); 13 Aug 2001 01:08:33 -0000
Received: from dhcp71.int.datataker.com.au (HELO mediabox)
  (192.168.1.71) by int.datataker.com.au with SMTP; 13 Aug 2001 01:08:33
  -0000
From: "Adam Clark" <adam at datataker.com.au>
To: <samba at lists.samba.org>
Subject: smbpasswd with security=domain
Date: Mon, 13 Aug 2001 11:04:38 +0100
Message-ID: <000001c123df$5e648650$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)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have created accounts for samba for people on my domain who authenticate
to an winnt PDC
my question is, if they authenticate to the domain and the log show that the
password is
ok, do they have to have a matching password in the smbpasswd file?

To put it simply, if they are authenitcated to the domain, do I still have
to enter them into the smbpasswd file aswell?

Adam

Return-Path: <hugo.levasseur at mcgill.ca>
Delivered-To: samba at lists.samba.org
Received: from water.cc.mcgill.ca (water.CC.McGill.CA [132.206.27.29])
  by lists.samba.org (Postfix) with ESMTP id 8AE054A45 for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 18:05:07 -0700 (PDT)
Received: from proserpine (Proserpine.ECE.McGill.CA [132.206.31.219]) by
  water.cc.mcgill.ca (8.11.3/8.11.0) with ESMTP id f7D196001016 for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 21:09:06 -0400 (EDT)
From: "Hugo Levasseur" <hugo.levasseur at mcgill.ca>
To: "Samba Mailing List" <samba at lists.samba.org>
Subject: Joining Domain with high Security Policies
Date: Sun, 12 Aug 2001 21:09:58 -0400
Message-ID: <001201c12394$abb23740$db1fce84 at proserpine>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook, Build 10.0.2627
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi guys thank you inadvance for all your help.
 
I am using the NSA's security Policy templates on my domains to ensure a
higher level of security in our work environment.  These work through
the AD and are propagated in the Organizational units to which they are
bound.  These policies affect everything form account policies to
registry key security (they "replace" local policies).
 
I also run a samba server that I would like to use in DOMAIN security
mode.  I am able to join a TEST domain fine (creating the account with
the DSA.MSC and checking the pre-2000 box then joining the server with
smbpasswd -j TEST -r SERVER).
 
But when trying to join the domain I really want to use i get the
following message:
 
--snip--
modify_trust_password: machine DCSERVER rejected the tconX on the IPC$
share. Error was : ERRDOS - ERRnoaccess.
2001/08/12 21:02:58 : change_trust_account_password: Failed to change
password for domain DOMAIN.
Unable to join domain DOMAIN.
--snip--
 
Does anyone know what security policies might affect SAMBA's ability to
join the DOMAIN.  Or which set of registry entries it has to have rights
to?  Is there a technical refference paper anywhere on the web?
 
Hugo Levasseur

Return-Path: <grant at conprojan.com.au>
Delivered-To: samba at lists.samba.org
Received: from webster.conprojan.com.au (raw130515-1.gw.connect.com.au
  [202.21.11.98]) by lists.samba.org (Postfix) with SMTP id 84B7D4A8F
  for <samba at lists.samba.org>; Sun, 12 Aug 2001 18:29:43 -0700 (PDT)
Received: (qmail 21606 invoked by uid 523); 13 Aug 2001 01:33:44 -0000
Received: from localhost (sendmail-bs at 127.0.0.1) by localhost with SMTP;
  13 Aug 2001 01:33:44 -0000
Date: Mon, 13 Aug 2001 11:33:44 +1000 (EST)
From: Grant <grant at conprojan.com.au>
To: Asoka Anon <asokanon at yahoo.com>
Cc: samba at lists.samba.org
Subject: Re: [OT] pulling my hair out.
In-Reply-To: <Pine.LNX.4.21.0108131018450.16339-100000 at webster.conprojan
  .com.au>
Message-ID: <Pine.LNX.4.21.0108131132530.18185-100000 at webster.conprojan.
  com.au>
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/

Below homes is incorrect, it should be:

[homes]
comment = %S's home directory
path = %H
valid users = %S
writeable = Yes
create mask = 0600
directory mask = 0700
browseable = No

> This is my simple smb.conf
> 
> [global]
> netbios name = COMPUTER
> workgroup = WORKGRP
> server string = Samba Server
> 
> interfaces = eth0
> bind interfaces only = yes
> hosts allow = 192.168.1.  127.
> socket options = IPTOS_LOWDELAY TCP_NODELAY
> 
> log file = /usr/local/samba/var/log.%m
> 
> encrypt passwords = yes
> 
> domain master = no
> preferred master = no
> local master = no
> os level = 25
> dns proxy = no
> load printers = no
> name resolve order = host
> debug level = 1
> 
> [homes]
> comment = %S's home directory
> writable = yes
> path = %H
> create mode = 0644
> directory mode = 0755
> valid users = %S
> only user = yes
> browseable = no

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by
  lists.samba.org (Postfix) with ESMTP id 28B344A6B for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 18:33:05 -0700 (PDT)
Received: from xparelay2.corp.hp.com (unknown [15.58.137.112]) by
  palrel1.hp.com (Postfix) with ESMTP id 10487F41; Sun, 12 Aug 2001
  18:37:08 -0700 (PDT)
Received: from xpabh4.corp.hp.com (xpabh4.corp.hp.com [15.58.136.1]) by
  xparelay2.corp.hp.com (Postfix) with ESMTP id 57E811F505; Sun, 12 Aug
  2001 18:37:03 -0700 (PDT)
Received: by xpabh4.corp.hp.com with Internet Mail Service (5.5.2653.19)
  id <QRC5NY4P>; Sun, 12 Aug 2001 18:37:03 -0700
Message-ID: <079FD72E42C9D311B854009027650E6F0758EFA7 at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Adam Clark' <adam at datataker.com.au>, samba at lists.samba.org
Subject: RE: smbpasswd with security=domain
Date: Sun, 12 Aug 2001 18:37:00 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Adam,
No.  if they are being successfully authenticated by the domain controller,
then the smbpasswd file should not even be queried.
don

-----Original Message-----
From: Adam Clark [mailto:adam at datataker.com.au]
Sent: Monday, August 13, 2001 6:05
To: samba at lists.samba.org
Subject: smbpasswd with security=domain


I have created accounts for samba for people on my domain who authenticate
to an winnt PDC
my question is, if they authenticate to the domain and the log show that the
password is
ok, do they have to have a matching password in the smbpasswd file?

To put it simply, if they are authenitcated to the domain, do I still have
to enter them into the smbpasswd file aswell?

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

Return-Path: <r.phillips at mailbox.uq.edu.au>
Delivered-To: samba at samba.org
Received: from egalite.jkmrc.uq.edu.au (egalite.jkmrc.uq.edu.au
  [130.102.20.1]) by lists.samba.org (Postfix) with ESMTP id EDE4241A0
  for <samba at samba.org>; Sun, 12 Aug 2001 18:57:57 -0700 (PDT)
Received: from [130.102.20.138] (Ray-Mac.jkmrc.uq.edu.au
  [130.102.20.138]) by egalite.jkmrc.uq.edu.au (8.8.5/8.8.5) with ESMTP
  id MAA25272 for <samba at samba.org>; Mon, 13 Aug 2001 12:01:35 +1000
  (EST)
X-Sender: e5rphill at egalite.jkmrc.uq.edu.au
Message-Id: <l03130337b79cdca70e77@[130.102.20.138]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Date: Mon, 13 Aug 2001 12:01:36 +1000
To: samba at samba.org
From: Ray Phillips <r.phillips at mailbox.uq.edu.au>
Subject: CIDR Notation
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 Samba:

This request has been prompted by me scratching my head for the past couple
of days because I couldn't get samba working.  I finally traced the problem
down to a mistake I'd made in the global section.  I'd written

   hosts allow = 130.102.18.192/26 130.102.20.0/24

instead of

   hosts allow = 130.102.18.192/255.255.255.192 130.102.20.0/255.255.255.0


It was my own fault, I know.  I just thought I'd see if you like the idea
of modifying the parsing of the smb.conf file so the hosts allow option
will accept CIDR notation (in addition to the current ones)?


Ray Phillips

Return-Path: <hugo.levasseur at mcgill.ca>
Delivered-To: samba at lists.samba.org
Received: from water.cc.mcgill.ca (water.CC.McGill.CA [132.206.27.29])
  by lists.samba.org (Postfix) with ESMTP id 2BA494194 for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 19:42:31 -0700 (PDT)
Received: from proserpine (Proserpine.ECE.McGill.CA [132.206.31.219]) by
  water.cc.mcgill.ca (8.11.3/8.11.0) with ESMTP id f7D2kX008416 for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 22:46:33 -0400 (EDT)
From: "Hugo Levasseur" <hugo.levasseur at mcgill.ca>
To: "Samba Mailing List" <samba at lists.samba.org>
Subject: Past Joining the DOMAIN
Date: Sun, 12 Aug 2001 22:47:25 -0400
Message-ID: <001701c123a2$48a8ca20$db1fce84 at proserpine>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook, Build 10.0.2627
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/

Well, 
 
I finally joined the DOMAIN
 
... I had to reset
HKLM\Machine\System\CurrentControlSet\Control\SecurePipeServers\winreg\
regkey to Full Access for group everyone and gave access to c drive for
everyone (didnt want tro bother finding exactly which files samba writes
to on the DC)...
 
Now i ve reaplied the GPO (security policies) and I get a netlogon
error:  (taken from event viewer)
 
--snip--
The session setup from the computer SAMBASERVER failed to authenticate.
The name of the account referenced in the security database is
SAMABSERVER$. The following error occurred: 

Access is denied. 

--snip--

What do I have to give rights to establish a session?

Hugo

 

 

Return-Path: <Freeman.Peter at saugov.sa.gov.au>
Delivered-To: samba at lists.samba.org
Received: from arnie.systems.sa.gov.au (arnie.systems.sa.gov.au
  [203.26.120.3]) by lists.samba.org (Postfix) with ESMTP id 66CAC41A6
  for <samba at lists.samba.org>; Sun, 12 Aug 2001 19:44:32 -0700 (PDT)
Received: from arnie.systems.sa.gov.au (localhost [127.0.0.1]) by
  arnie.systems.sa.gov.au OUTGOING (8.9.3/8.9.3) with ESMTP id MAA06435;
  Mon, 13 Aug 2001 12:18:33 +0930 (CST)'
Received: from sagemsbb006.saugov.sa.gov.au
  (sagemsbb006.saugov.sa.gov.au [143.216.59.14]) by
  arnie.systems.sa.gov.au INCOMING (8.9.3/8.9.3) with ESMTP id MAA06420;
  Mon, 13 Aug 2001 12:18:32 +0930 (CST)'
Received: by sagemsbb006.sagemsmrd01.sa.gov.au with Internet Mail
  Service (5.5.2653.19) id <QTZZFSJ3>; Mon, 13 Aug 2001 12:13:15 +0930
Message-ID: <2D1B92ECAB77D311BF8C0008C70D6DD907E6EE76 at sagemsg0004.sagems
  mrd01.sa.gov.au>
From: "Freeman, Peter (ERHS)" <Freeman.Peter at saugov.sa.gov.au>
To: Adam Clark <adam at datataker.com.au>
Cc: "Samba List (E-mail)" <samba at lists.samba.org>
Subject: RE: smbpasswd with security=domain
Date: Mon, 13 Aug 2001 12:13:10 +0930
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 have created accounts for samba for people on my domain who 
>authenticate
>to an winnt PDC
>my question is, if they authenticate to the domain and the log 
>show that the
>password is
>ok, do they have to have a matching password in the smbpasswd file?
>
>To put it simply, if they are authenitcated to the domain, do 
>I still have
>to enter them into the smbpasswd file as well?

You don't need to enter the users into smbpasswd if the Samba
box is part of a WinNT domain.  In fact, with domain security,
the smbpasswd file is not used.

However you still need to have a local user for each domain user 
(ie: in your passwd file), but you can do this automatically using 
the "add user script" parameter.

We have a WinNT PDC & a Samba box here.  The Samba box is basically
file storage & used for home directories.  We just create users on
the WinNT box & let the add user script in Samba create all their 
home directories & permissions etc on the fly when they log in for 
the first time.  Very low maintenance compared to doing everything on NT :o)

Return-Path: <xiuyuan at 263.net.cn>
Delivered-To: samba at samba.org
Received: from bizmail.263.net.cn (unknown [210.78.128.66]) by
  lists.samba.org (Postfix) with ESMTP id 4067A4A63; Sun, 12 Aug 2001
  20:36:39 -0700 (PDT)
Received: from xiuyuan ([211.100.88.24]) by bizmail.263.net.cn
  (InterMail vK.4.03.03.00 201-232-128 license
  efc3979d4bb5eceb039ee53502770185) with ESMTP id
  <20010813034448.JYWM21467.bizmail at xiuyuan>; Mon, 13 Aug 2001 11:44:48
  +0800
Reply-To: xiuyuan <xiuyuan at 263.net.cn>
From: "xiuyuan" <xiuyuan at 263.net.cn>
To: "" <samba at samba.org>
Subject: business letter from Beijing, China
Date: Wed,13 °ËÔÂ 2001 11:42:07 +0800
X-Mailer: ½ð·æÓʼþȺ·¢ v2.4
Message-Id: <20010813034448.JYWM21467.bizmail at xiuyuan>
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 or Madam,
    This is a business letter from Beijing,China.I am apologetic if I disturb you.
    Credit Inquiry & Information will help all kinds of industry and commerce to make a successful deal with customer or partner.There are some sort of credit inquiry,they are: 
1/Consul or trade liaison man in any country; 
2/Chamber of Commerce or Bank;
3/Business Directory;
4/Commercial Enquiry Office.
    T&F,Commercial Enquiry Office,is providing all kinds of information about anyone trade and industry company in China. They are: registration of corporation, history of corporation, background of the legal person, financial statement, relations of banking, leading products, condition of manufacturing abilities and equipment, management of trademark as well as affiliates, and so on.
    T&F keeps in close contact and builds many co-operation relations with a lot of governments in China for ages,such as the Trade & Industry Administration Department of China,  Statistics Bureau, China national Economy Information Centre etc.There are many specialists of business economists, and investigating and administrative staffs constitute a special and all-round investigation channels by us. Believe me! 
   T&F will be provides a piece of accurate and credible investigation data, which you want about achieving nation-wide and comprehensive reference report forever!Please visit our Webster http://tangfeng.3322.net,write or e-mail to T&F promptly,if you are interested.And T&F shall be pleased to render you any further services.
#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=#=
Address: No.210, Building 2, Party School of Beijing Municipal Government Committee,

          No.6 Chegongzhuang Street,Xicheng District,

          Beijing, China.

Postal Code:100044

Fax: 86-10-6800-1452

Tel: 86-10-6800-1452

E-mail:cbph at cei.gov.cn

       xiuyuan at 263.net.cn
     

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 8F20B416B for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 22:00:16 -0700 (PDT)
Received: from bits.linuxball (bits [208.161.142.154]) by
  srvr201.castmark.com (8.11.0/8.11.0) with SMTP id f7D54u409658 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 00:04:56 -0500
Content-Type: text/plain; charset="iso-8859-1"
From: Fred Jackson <fred at arkansaswebs.com>
To: samba at lists.samba.org
Subject: Success!! and a COMPLETE set of config files for Samba 2.2.0 as
  a PDC for linux and W9x clients.
Date: Mon, 13 Aug 2001 00:02:26 -0500
X-Mailer: KMail [version 1.2]
References: <F1067jtrSByh133tYwl00003ba0 at hotmail.com>
In-Reply-To: <F1067jtrSByh133tYwl00003ba0 at hotmail.com>
MIME-Version: 1.0
Message-Id: <01081223073204.26558 at bits.linuxball>
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 spent at least a week figuring the thing out, but now that I've got 
mine working....I thought I'd post as much info as I can about my 
configuration.


My systems all run RedHat 7.1 and/or windows 98.

all the information we need is in the Samba PDC Howto?
well almost all...


My server is connected to the internet though one ethernet card, with 
another required to talk to the internal LAN.


I even have a firewall up on the PDC server but I've punched Samba 
through it by adding two lines to my firewall config file 
/etc/sysconfig/ipchains

-A input -s 0/0 -d 0/0 139 -p tcp -y -j ACCEPT
-A input -p udp -s 0/0 -d 0/0 137 -j ACCEPT


I use xinetd to control access to the server from the internet with 
the xinetd.d files below.

i configured with the following line

./configure --prefix=/usr/samba --with-privatedir=/etc/samba 
--with-configdir=/etc/samba --enable-debug --with-gnu-ld 
--with-smbmount --with-ssl=/usr/share/ssl --with-acl-support


a line like this for each client of the network (including the server 
if you want it to have access to the clients) in /etc/passwd

wkstn004$:x:508:508::/dev/null:/bin/false

a line for each client of the network in /etc/samba/smbpasswd created 
by the "smbpasswd -a -m <computername>" command


for the Samba 2.2.0 PDC server!



--------start of /etc/xinetd.d/netbios-ssn------------------
service netbios-ssn
{
        only_from       = 192.168.1.0 127.0.0.1
        flags           = REUSE
        socket_type     = stream
        wait            = no
        user            = root
        server          = /usr/samba/sbin/smbd
        log_on_failure  += USERID
}
---------------------end of  netbios-ssn ---------------------------

--------start of  /etc/xinetd.d/netbios-ns ----------------------
service netbios-ns
{
        only_from               = 192.168.1.0 127.0.0.1
        socket_type             = dgram
        protocol                = udp
        wait                    = yes
        user                    = root
        server                  = /usr/samba/sbin/nmbd
}
---------------------end of  netbios-ns ---------------------------

----------start of /etc/xinetd.d/swat -------------------
# 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
}

---------------------end of swat ---------------------------
------start of ./etc/samba/smb.conf for the PDC ---------------
[global]
        workgroup = CASTMARK
        netbios name = SRVR2
        server string = PDC
        encrypt passwords = Yes
        allow trusted domains = No
        log level = 1
        syslog = 0
        log file = /var/log/samba/smblog
        max log size = 50000
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        domain logons = Yes
        os level = 65
        lm interval = 400
        preferred master = True
        domain master = True
        dns proxy = No
        wins support = Yes
        valid users = fred chuck gary jane pamela keefer nobody
        admin users = fred
        create mask = 0764
        hide dot files = No
 
[netlogon]
        path = /usr/samba/lib/netlogon
        write list = fred 
 
[homes]
        comment = Home Directories
        read only = No
        browseable = No
 
[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No
 
[storage]
        comment = shareonsrvr2
        path = /a3
        write list = fred gary chuck
        force group = smba
 
[datastorage]
        comment = data
        path = /b1
        write list = fred gary chuck
        force group = smba
---------------------end of smb.conf ---------------------------

___________________________________________________________

for the Samba 2.2.0 client!

put similiar to above files in /etc/xinetd.d/  

----------------- smb.conf ----------------------------
[global]
        workgroup = CASTMARK
        netbios name = WKSTN006
        server string = Front Desk
        security = DOMAIN
        encrypt passwords = Yes
        allow trusted domains = No
        password server = srvr2
        log level = 2
        syslog = 0
        log file = /var/log/samba/%m.log
        max log size = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        lm announce = True
        lm interval = 120
        preferred master = False
        local master = Yes
        domain master = False
        dns proxy = No
        valid users = fred gary chuck pamela keefer jane
        hide dot files = No
        printing = lprng
        os level = 58
 
 
[homes]
        comment = Home Directories
        read only = No
        browseable = No
 
[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No
 
[hplj4]
        comment = Hewlet Packard LaserJet 4
        path = /var/spool/samba
        read only = No
        guest ok = Yes
        printable = Yes
        printer name = lp
        oplocks = No
        share modes = No
 
[DriveD]
        path = /b1
        valid users = fred gary chuck
        write list = fred gary


-----------------end of smb.conf -----------------------------

Return-Path: <boot2165 at satx.rr.com>
Delivered-To: samba at lists.samba.org
Received: from sm14.texas.rr.com (sm14.texas.rr.com [24.93.35.41]) by
  lists.samba.org (Postfix) with ESMTP id E252E45AB for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 22:32:04 -0700 (PDT)
Received: from satx.rr.com (cs2587-203.satx.rr.com [66.25.87.203]) by
  sm14.texas.rr.com (8.12.0.Beta16/8.12.0.Beta16) with ESMTP id
  f7D5gwXD019894 for <samba at lists.samba.org>; Mon, 13 Aug 2001 00:42:58
  -0500
Message-ID: <3994D3E5.491D21F4 at satx.rr.com>
Date: Sat, 12 Aug 2000 00:34:45 -0400
From: Marcus Booth <boot2165 at satx.rr.com>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-12 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: It all works....except
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/

After hours of attempting to fix this puppy I must resort to the experts.

RH Linux 7.1 running on a PC (Duron processor)
latest version of Samba
All tests in DIAGNOSIS.TXT are OK
All browsing works, browse master is W2000

I made a PUBLIC share and both PCs on my LAN (W2000 and W98) can place
files in the folder from a browsing window.  The transfers are fast.

Problem:  When I try to bring files back the other way (from linux to
W98 or W2000) I get a long wait
                    followed by this W98 error message (CANNOT COPY
FILE.TXT:THE SPECIFIED NETWORK
                   RESOURCE OR DEVICE IS NO LONGER AVAILABLE.)

            NOTE: Very small files (100 bytes) will transfer back and
forth no problem, it's the files
                            >1K or so that won't go.

            NOTE:  When an SMB process starts (I try to bring the file
back to W98) SWAT indicates that the
                            file that has been transfered onto PUBLIC is
READ ONLY, even though I specified
                            otherwise.

            NOTE:  using smbclient I can mget and mput all day from
LINUX to W98 and the file transfers work
                            great.

Any help greatly appreciated.  I'm happy with what I can do but 100%
performance would be nice......
I have attached smb.conf and a portion of smb.log.


smb.log
***************************************************************

[2000/08/11 23:02:54, 0] lib/util_sock.c:set_socket_options(151)
  Failed to set socket option SO_KEEPALIVE (Error Bad file descriptor)
[2000/08/11 23:02:54, 0] lib/util_sock.c:set_socket_options(151)
  Failed to set socket option TCP_NODELAY (Error Socket operation on
non-socket)
[2000/08/11 23:02:54, 0] lib/util_sock.c:set_socket_options(151)
  Failed to set socket option SO_RCVBUF (Error Socket operation on
non-socket)
[2000/08/11 23:02:54, 0] lib/util_sock.c:set_socket_options(151)
  Failed to set socket option SO_SNDBUF (Error Socket operation on
non-socket)
[2000/08/11 23:02:58, 0] smbd/oplock.c:process_local_message(607)
  process_local_message: Received unsolicited break reply - dumping
info.
[2000/08/11 23:02:58, 0] smbd/oplock.c:process_local_message(622)
  process_local_message: unsolicited oplock break reply from pid 2714,
port 1071, dev = 305, inode = 1785

****************************************************************************
# Samba config file created using SWAT
# from localhost.localdomain (127.0.0.1)
# Date: 2000/08/11 23:02:29

# Global parameters
[global]
	workgroup = SPD17
	netbios name = LINUX
	server string = Samba Server
	security = USER
	encrypt passwords = Yes
	password level = 8
	debug level = 0
	log file = /var/log/samba/%m.log
	max log size = 50
	name resolve order = lmhosts bcast
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	os level = 33
	local master = No
	dns proxy = No
	guest account = guest
	hosts allow = 192.168.1. 127.
	printing = lprng

[public]
	comment = Public Stuff
	path = /public
	writeable = Yes
	guest ok = Yes
	user = kenna marcus

Return-Path: <vlad at nkmz.donetsk.ua>
Delivered-To: samba at samba.org
Received: from nkmz.ins.dn.ua (nkmz-ins.ins.dn.ua [195.184.203.254]) by
  lists.samba.org (Postfix) with ESMTP id F2FC24B7D for
  <samba at samba.org>; Sun, 12 Aug 2001 22:44:52 -0700 (PDT)
Received: from pv (vlad.nkmz.donetsk.ua [172.20.1.45]) by nkmz.ins.dn.ua
  (8.9.3/8.9.2) with SMTP id IAA26785 for <samba at samba.org>; Mon, 13 Aug
  2001 08:48:51 +0300 (EEST)
Message-ID: <00a801c123bb$b4daa8d0$0f1b10ac at nkmz.donetsk.ua>
From: "Vladimir Parkhomenko" <vlad at nkmz.donetsk.ua>
To: <samba at samba.org>
Subject: Samba & DNS on different servers
Date: Mon, 13 Aug 2001 08:49:22 +0300
MIME-Version: 1.0
Content-Type: text/plain; charset="koi8-r"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2014.211
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello all

How can to affect DNS on SAMBA (RH6.2 Linux)?
When I set "IP of names server =  172.16.24.3" parameter in "linuxconf, Name
Server Specification DNS" on the SMB Linux server (172.16.27.102), any
windows (95,98,NT,2000) clients do not access to  shares of the SMB Server.
The client is (172.16.27.9, 172.16.27.15, 172.16.24.57).
When I set "IP of names server =  " parameter - all clients is OK. But
172.16.27.102 (SMB Linux serever) can not access to network by names through
DNS server.
DNS and SMB Servere are not same computers:
DNS is 172.16.24.3 netmask 255.255.0.0
SMB is 172.16.27.102 netmask 255.255.0.0
172.16.27.9     (first client) netmask 255.255.0.0  (WINS =  172.16.27.102
in network config.)
172.16.27.15   (sec. client) netmask 255.255.0.0  (WINS =  172.16.27.102 in
network config.)
parameter 'wins support = yes'.

How can to configure SAMBA (RH6.2 Linux) whith DNS on different servers?

with best regards
Vladimir Parkhomenko     mailto: vlad at nkmz.donetsk.ua

Return-Path: <dbonham at mail.totalise.co.uk>
Delivered-To: samba at lists.samba.org
Received: from mail.totalise.co.uk (mail.totalise.co.uk
  [217.197.192.130]) by lists.samba.org (Postfix) with ESMTP id
  78C534433 for <samba at lists.samba.org>; Sun, 12 Aug 2001 23:43:03 -0700
  (PDT)
Received: from atlantis [62.30.178.158] (dbonham at mail.totalise.co.uk) by
  mail.totalise.co.uk; Mon, 13 Aug 2001 07:46:56 +0100
X-WM-Posted-At: mail.totalise.co.uk; Mon, 13 Aug 01 07:46:56 +0100
From: "Dave Bonham" <dbonham at totalise.co.uk>
To: <samba at lists.samba.org>
Subject: Error Trying to Install Samba on SuSE Linux
Date: Mon, 13 Aug 2001 07:49:22 +0100
Message-ID: <HAEILBJDNGHOPJFALEBGAEJICJAA.dbonham at totalise.co.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi There,

I am currently running Samba 2.2.0a. Having downloaded the latest version of
Samba (2.2.1a), I am trying to compile the source files without much luck.
After running the "./configure" with defaults, it will stop with the
following error message:


checking whether to support ACLs... no
checking configure summary
ERROR: No locking available. Running Samba would be unsafe
configure: error: summary failure. Aborting config

And will not let me go any further. Would somebody point me in the right
direction to get it working?

Many thanks,

Dave Bonham

Return-Path: <ben at xmission.com>
Delivered-To: samba at lists.samba.org
Received: from mgr2.xmission.com (mgr2.xmission.com [198.60.22.202]) by
  lists.samba.org (Postfix) with ESMTP id DA4194B2D for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 00:35:16 -0700 (PDT)
Received: from [198.60.22.22] (helo=mail.xmission.com) by
  mgr2.xmission.com with esmtp (Exim 3.22 #1) id 15WCJi-0002P6-00 for
  samba at lists.samba.org; Mon, 13 Aug 2001 01:39:18 -0600
Received: from [166.70.15.10] (helo=rome) by mail.xmission.com with smtp
  (Exim 3.22 #1) id 15WCJi-0002lS-00 for samba at lists.samba.org; Mon, 13
  Aug 2001 01:39:18 -0600
Message-ID: <002b01c123cb$12bc5430$0300000a at rome>
From: "Ben Carrell" <ben at xmission.com>
To: <samba at lists.samba.org>
Subject: checking configure summary error
Date: Mon, 13 Aug 2001 01:39:18 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Greetings,
I am trying to compile samba 2.2.1a on Debian 2.2 kernel 2.4.8, I run the
command,
"./configure --with-smbmount --with-ssl --with-sslinc=/usr/local/ssl/include
/openssl" from the sources/ dir and it starts running.  The program will get
a ways down and spits out, "checking configure summary/configure: error:
summary failure. Aborting config".  It only does it when I add the
"--with-sslinc..." option, but if I do not include that, it won't find the
SSL libraries.  I can send the whole config.log file if needed, I didn't
want to send a 100K+ file though so I will paste in what I think is the
pertinent info...

Here are the last lines of the config.log file:

int main() {
int i
; return 0; }
configure:11992: checking whether to support ACLs
configure:12183: gcc -o
conftest -DHAVE_CRYPT_DECL -I/usr/local/ssl/include/openssl -O   -L/usr/loca
l/ssl/include/openssl/lib  conftest.c -lssl -lcrypto  -ldl -lnsl -lcrypt
1>&5

/usr/bin/ld: cannot find -lssl
collect2: ld returned 1 exit status
configure: failed program was:
#line 12179 "configure"
#include "confdefs.h"
#include "./tests/summary.c"

Can anyone help me figure out what could be causing this to happen?  If you
need more information, please, just ask.

Thanks
Ben Carrell
ben at xmission.com

Return-Path: <hermanh at gnc.gi>
Delivered-To: samba at lists.samba.org
Received: from gncmail.gnc.gi (gncmail.gnc.gi [195.244.192.100]) by
  lists.samba.org (Postfix) with ESMTP id ECB2444B4 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 00:44:08 -0700 (PDT)
Received: from hvnpc02 (UNKNOWN [195.244.193.169]) by gncmail.gnc.gi
  (Netscape Messaging Server 4.15) with SMTP id GHZUX800.26L for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 08:48:44 +0200 
From: "Herman Hurtado" <hermanh at gnc.gi>
To: <samba at lists.samba.org>
Subject: Cannot start Smbd
Date: Mon, 13 Aug 2001 09:47:16 +0200
Message-ID: <000d01c123cc$2cfe7a20$a9c1f4c3 at GBANET>
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.2911.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm pretty new to Unix and am trying to get Samba to work on Sco Openserver
5.05.

I've downloaded and compiled (using the Openserver compiler) and created the
Samba 2.2.1a binaries and also installed these. I've also made sure that
nothing else is running and using port 139. (NFS or SCO file & printer
sharing).

Problem is when I try to run smbd I get the following:

abort - core dumped

The core file reads:

PANIC : internal error.

nmbd appears to start o.k.

I've tried removing and recompiling to no avail. Any ideas??

Herman Hurtado
Gibraltar Nynex Communications
MIS Department
Tel: 00350 52246
Fax: 00350 43333

Return-Path: <d.marangio at cpg.it>
Delivered-To: samba at lists.samba.org
Received: from fecpg-mail.cpg.it (unknown [213.82.236.243]) by
  lists.samba.org (Postfix) with ESMTP id E186C4BBD for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 00:52:38 -0700 (PDT)
Received: from cpg.it ([127.0.0.1]) by fecpg-mail.cpg.it (Netscape
  Messaging Server 4.15) with ESMTP id GHYMZP00.KCE for
  <samba at lists.samba.org>; Sun, 12 Aug 2001 16:59:49 +0200 
From: "Danilo Marangio" <d.marangio at cpg.it>
To: samba at lists.samba.org
Message-ID: <15a801a635.1a63515a80 at cpg.it>
Date: Sun, 12 Aug 2001 16:59:49 +0200
X-Mailer: Netscape Webmail
MIME-Version: 1.0
Content-Language: en
Subject: Samba and NFS conflict !!
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello! My name is Danilo. I hope you may help me.
I need do migrate gradually from NFS (Solaris 2.8)
to Samba (2.0.7).
The big problem is:
on Unix machine there are user01 and user02, but only
user01 is in smbpasswd. User01 can see and use filesystem
using both NFS and Samba. User02 cannot use Samba (of 
course) but NOT NFS, because Samba 'override' Unix 
authentication!! All is ok when Samba is down.

How can I do?

Thanks a lot, Danilo

Return-Path: <JKobierczynski at sdlintl.com>
Delivered-To: samba at samba.org
Received: from belxch1.sdlintl.com (unknown [193.75.171.1]) by
  lists.samba.org (Postfix) with ESMTP id 61F004105 for
  <samba at samba.org>; Mon, 13 Aug 2001 03:40:33 -0700 (PDT)
Received: by belxch1.traffic.be with Internet Mail Service (5.5.2650.21)
  id <QM4DJD27>; Mon, 13 Aug 2001 12:41:50 +0200
Message-ID: <9795AAEF1C0AD511908F0060085FD4463212EC at belxch1.traffic.be>
From: Jurgen Kobierczynski <JKobierczynski at sdlintl.com>
To: "'samba at samba.org'" <samba at samba.org>
Subject: Samba 2.0.7 on RedHat 7.1 hangs Linux
Date: Mon, 13 Aug 2001 12:41:46 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi!

I've a question. I'm running 2 RedHat 7.1 with the default samba
configuration on a NT Domain network.
I mount often NT-shares with samba on my boxes, and I've noticed that
altough the samba mount works correctly, samba lockup after a hour, or
several hours Linux. That means: hangs, blocks, no cursor, keyentry , no
remote login anymore possible.

Is this a known issue???

Jurgen Kobierczynski

Return-Path: <reinout.wijnveen at philips.com>
Delivered-To: samba at lists.samba.org
Received: from gw-nl4.philips.com (gw-nl4.philips.com [212.153.190.6])
  by lists.samba.org (Postfix) with ESMTP id E236A43E4 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 03:46:49 -0700 (PDT)
Received: from smtpscan-nl3.philips.com (localhost.philips.com
  [127.0.0.1]) by gw-nl4.philips.com with ESMTP id MAA28674; Mon, 13 Aug
  2001 12:50:49 +0200 (MEST) (envelope-from
  reinout.wijnveen at philips.com)
From: reinout.wijnveen at philips.com
Received: from smtpscan-nl3.philips.com(130.139.36.23) by
  gw-nl4.philips.com via mwrap (4.0a) id xma028669; Mon, 13 Aug 01
  12:50:49 +0200
Received: from smtprelay-nl1.philips.com (localhost [127.0.0.1])  by
  smtpscan-nl3.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id
  MAA04134; Mon, 13 Aug 2001 12:50:48 +0200 (MET DST)
Received: from notessmtp-nl1.philips.com (notessmtp-nl1.philips.com
  [130.139.36.10])  by smtprelay-nl1.philips.com
  (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id MAA07810; Mon, 13 Aug 2001
  12:50:47 +0200 (MET DST)
Received: from NLAUO01.diamond.philips.com
  (nlauo01sv1.diamond.philips.com [130.139.52.214])  by
  notessmtp-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id
  MAA07744; Mon, 13 Aug 2001 12:50:46 +0200 (MET DST)
Subject: RE: Locking issues with HP-UX 11.00
To: don_mccall at hp.com
Cc: reinout.wijnveen at wanadoo.nl, jeremy at valinux.com,
  samba at lists.samba.org
Date: Mon, 13 Aug 2001 12:50:37 +0200
Message-ID: <OF260CEA70.3D141065-ONC1256AA7.0020FA4E at diamond.philips.com
  >
X-MIMETrack: Serialize by Router on NLAUO01/H/SERVER/PHILIPS(Release
  5.0.5 |September 22, 2000) at 13/08/2001 12:51:41
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/

Don,

I don't believe you are right here.

We've been serving files from NFS with Samba for about two years now. Locking has never been a problem as long as we used HP 10.20 (and thus NFS v2) on both the NFS-server and -client. Deployment of HP-UX 11 (with NFS v2) on an NFS client breaks locking
for files served from NFS. If you are right I can only explain this if  the HP-UX 11 locking implementation for NFS v2 has changed.

To find out more i ran an extra test, with interesting results:
I installed binaries compiled for HP-UX 10.20 on our HP-UX 11 testserver. Locking works as before!
Of course there are (at least) three variables different between samba compiled on HP-UX 11 and HP-UX 10.20:
- host platform during compilation;
- compiler used;
- libraries.

Can you comment on this?


With regards to your remarks about the offset: I think i am missing something here. Which brings up a question:

I suppose the offset is offset within the file? The value seems quite large to me: the files where locking fails (desktop.dsk and names.nsf) are only about 1.5 tot 2.5 Meg! Could this be an error?



-
Regards,
Reinout Wijnveen

"All those who believe in psychokinesis raise my hand"

ICT-N/Philips Semiconductors Nijmegen
Address: AC 0.062, Gerstweg 2, 6534 AE Nijmegen, Fax: +31 24 353 2019





"MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>@lists.samba.org on 08/12/2001 09:35:57 PM

Sent by:  samba-admin at lists.samba.org


To:     "'Reinout Wijnveen'" <reinout.wijnveen at wanadoo.nl>
        "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
cc:     jeremy at valinux.com
        samba at lists.samba.org (bcc: Reinout Wijnveen/NYM/SC/PHILIPS)
Subject:  RE: Locking issues with HP-UX 11.00
Classification:



Helo Reinout,
Well, I believe that that is the issue - on an NFS filesystem, you're not
going to be able to satisfy a lock
at the offset that you mention.  NFS v2 does not support filesystems beyond
4gigabite.  the lock is starting at 4294901760 with a byte count of 65535,
which is going to exceed the nfs max file size capacity, and you will get no
locks available.  You would have to be using NFS v3 on both sides (nfs
client and server) for a lock of this type to succeed.
Sorry,
Don

-----Original Message-----
From: Reinout Wijnveen [mailto:reinout.wijnveen at wanadoo.nl]
Sent: Sunday, August 12, 2001 5:10
To: don_mccall at hp.com
Cc: jeremy at valinux.com; samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00


I am sorry if you recieve this mail twice. I had problems sending it.

Don, here's the information you asked for:

> 1. uname -a

HP-UX hpf01 B.11.00 A 9000/861 2010561247 two-user license

> 2. exactly what are you doing to test the locking? (smbtorture?)

I connect my homedir from the testserver and start Lotus Notes.
Lotus Notes is infamous for it's sensitivity for 'non-optimal' network
connections. Notes tries to lock certain files and complains immediately if
that fails.

> 3. does the log message always fail at the same offset/count:
> (fcntl_lock: lock failed at offset 4294901760 count 65535)

Yes, always the same with both samba 2.2.1 and the cvs version:
lock failed at offset 4294901760 count 65535 op 9 type 2

I have a level 10 log available.  It looks like the first two or three
requests succeed, but then start failing. See the summary at the end of this

mail.

> 4. what filesystem type is the share you are using for
> this test?  (nfs, hfs, vxfs?)

NFS. The fileserver is HP-UX 10.20.
As an additional test I copied my notes files to a local vxfs on the
testserver and that works OK. (!)

> The message you mention indicates that you are running
> samba on a 64bit HP-UX os - can you pull the latest 2.2
> CVS and do the following:
> - remove source/config.cache
> - run configure again, then make and make install  and
>   do your test again.

I retrieved a fresh cvs tree, with the same results.

> If you can tell me the above, I will try to do the same
> on a 64 bit hp-ux system and see if I get the same results.  Currently the
> build farm machines are all 32 bit machines...
>
> Thanks,
> Don
>

Summary of the level 10 log:

hpf01 # grep _posix_lock level10_debug_samba_cvs_locking

  set_posix_lock: File notes/pid.nbf, offset = 0, count = 4, type = READ
  add_posix_lock: File notes/pid.nbf: type = WRITE: start=0 size=4:
dev=-16776679 inode=3377
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 4
  release_posix_lock: File notes/pid.nbf, offset = 0, count = 4
  delete_posix_lock_entry: type = WRITE: start=0 size=4, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 4
  set_posix_lock: File notes/~notes.lck, offset = 0, count = 65535, type =
READ
  add_posix_lock: File notes/~notes.lck: type = WRITE: start=0 size=65535:
dev=-16776679 inode=96
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 65535
  release_posix_lock: File notes/~notes.lck, offset = 0, count = 65535
  delete_posix_lock_entry: type = WRITE: start=0 size=65535, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 65535
  set_posix_lock: File notes/~notes.lck, offset = 0, count = 1, type = READ
  add_posix_lock: File notes/~notes.lck: type = WRITE: start=0 size=1:
dev=-16776679 inode=96
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 1
  set_posix_lock: File notes/names.nsf, offset = 4294901760, count = 65535,
type = READ
  add_posix_lock: File notes/names.nsf: type = WRITE: start=4294901760
size=65535: dev=-16776679 inode=1917
  set_posix_lock: Real lock: Type = WRITE: offset = 4294901760, count =
65535
  set_posix_lock: Lock fail !: Type = WRITE: offset = 4294901760, count =
65535
  set_posix_lock: File notes/desktop.dsk, offset = 4294901760, count =
65535,
type = READ
  add_posix_lock: File notes/desktop.dsk: type = WRITE: start=4294901760
size=65535: dev=-16776679 inode=15420
  set_posix_lock: Real lock: Type = WRITE: offset = 4294901760, count =
65535
  set_posix_lock: Lock fail !: Type = WRITE: offset = 4294901760, count =
65535
  release_posix_lock: File notes/~notes.lck, offset = 0, count = 1
  delete_posix_lock_entry: type = WRITE: start=0 size=1, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 1
  set_posix_lock: File notes/pid.nbf, offset = 0, count = 4, type = READ
  add_posix_lock: File notes/pid.nbf: type = WRITE: start=0 size=4:
dev=-16776679 inode=3377
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 4
  release_posix_lock: File notes/pid.nbf, offset = 0, count = 4
  delete_posix_lock_entry: type = WRITE: start=0 size=4, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 4

--
Regards,

Reinout Wijnveen
reinout.wijnveen at wanadoo.nl

"All who believe in psychokinesis raise my hand"
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <vlad at nkmz.donetsk.ua>
Delivered-To: samba at lists.samba.org
Received: from nkmz.ins.dn.ua (nkmz-ins.ins.dn.ua [195.184.203.254]) by
  lists.samba.org (Postfix) with ESMTP id 5A20E4100 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 04:36:59 -0700 (PDT)
Received: from pv (vlad.nkmz.donetsk.ua [172.20.1.45]) by nkmz.ins.dn.ua
  (8.9.3/8.9.2) with SMTP id OAA01516 for <samba at lists.samba.org>; Mon,
  13 Aug 2001 14:40:54 +0300 (EEST)
Message-ID: <00ce01c123ec$e43fe050$0f1b10ac at nkmz.donetsk.ua>
From: "Vladimir Parkhomenko" <vlad at nkmz.donetsk.ua>
To: <samba at lists.samba.org>
Subject: Samba & DNS on different servers
Date: Mon, 13 Aug 2001 14:41:28 +0300
MIME-Version: 1.0
Content-Type: text/plain; charset="koi8-r"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2014.211
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello all,

How can to affect DNS on SAMBA (RH6.2 Linux)?
Why when I shut down DNS server, windows client lose the access to the
shares of SMB server on different computers.

The SMB Linux server (172.16.27.102) conigured on DNS server
(172.16.27.102). I shut down DNS server and the following is occured:

When I set "IP of names server =  172.16.24.3" parameter in "linuxconf, Name
Server Specification DNS" on the SMB Linux server (172.16.27.102), any
windows (95,98,NT,2000) clients do not access to  shares of the SMB Server.
The client is (172.16.27.9, 172.16.27.15, 172.16.24.57).
When I set "IP of names server =  " parameter - all clients is OK. But
172.16.27.102 (SMB Linux serever) can not access to network by names through
DNS server.

DNS and SMB Servere are not same computers:
DNS is 172.16.24.3 netmask 255.255.0.0
SMB is 172.16.27.102 netmask 255.255.0.0
172.16.27.9     (first client) netmask 255.255.0.0  (WINS =  172.16.27.102
in network config.)
172.16.27.15   (sec. client) netmask 255.255.0.0  (WINS =  172.16.27.102 in
network config.)
parameter 'wins support = yes'.

How can to configure SAMBA (RH6.2 Linux) whith DNS on different servers?

with best regards
Vladimir Parkhomenko     mailto: vlad at nkmz.donetsk.ua

Return-Path: <alex at www.schnarff.com>
Delivered-To: samba at samba.org
Received: from www.schnarff.com (ec.cdbed1.client.atlantech.net
  [209.190.205.236]) by lists.samba.org (Postfix) with SMTP id D659A5856
  for <samba at samba.org>; Mon, 13 Aug 2001 05:48:32 -0700 (PDT)
Received: (qmail 26969 invoked by uid 1000); 13 Aug 2001 13:04:37 -0000
Message-ID: <20010813130437.11275.qmail at www.schnarff.com>
From: "Alex Kirk" <alex at schnarff.com>
To: samba at samba.org
Subject: REPOST: Backup Failure
Date: Mon, 13 Aug 2001 13:04:37 GMT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm reposting this since no one seemed to notice it last time (or the time 
before, about a month ago): 

I've been attempting to back up several directories on my OpenBSD system via 
a Windows-based tape back up program that sees the BSD system via a Samba 
share (I've exported the entire drive out to one share in this case). It 
runs OK every time, going through files that are not owned by the user 
accessing the share, until it's about 95% done...and then it invariably 
locks up the Windows machine. 

Any idea why this would happen? It's probably not the tape drive or the 
software for it, as I've tried buring the files to CD as well, and they lock 
at around the same point. 

BTW, I'm running Samba version 2.0.7. 

Thanks,
Alex Le Fevre 

Return-Path: <noam.izenberg at jhuapl.edu>
Delivered-To: samba at samba.org
Received: from spacemsg3.jhuapl.edu (spacemsg3.jhuapl.edu
  [128.244.47.170]) by lists.samba.org (Postfix) with ESMTP id 46A174C48
  for <samba at samba.org>; Mon, 13 Aug 2001 05:52:58 -0700 (PDT)
Received: from localhost (128.244.144.48 [128.244.144.48]) by
  spacemsg3.jhuapl.edu with SMTP (Microsoft Exchange Internet Mail
  Service Version 5.5.2650.21) id 3PD8B7WZ; Mon, 13 Aug 2001 08:56:50
  -0400
Date: Mon, 13 Aug 2001 08:52:27 -0400
Content-Type: text/plain; format=flowed; charset=us-ascii
Mime-Version: 1.0 (Apple Message framework v388)
From: Noam Izenberg <noam.izenberg at jhuapl.edu>
To: samba at samba.org
X-Mailer: Apple Mail (2.388)
Content-Transfer-Encoding: 7bit
Subject: Samba X question
Message-Id: <20010813125300.46A174C48 at lists.samba.org>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Dear Andrew,
	
	I have a question about Samba X. I'm returning to the Mac platform 
after many years, and my place of work is primarily Unix and WinPC 
based. I was hoping I could use Samba or something like it to see the 
Windows/Unix network from my machine. I have no trouble getting into the 
Unix system via rlogin or the like from the OS-X terminals, but seeing 
and exchanging data (both serving and getting) with other PCs and many 
of the network printers is something I can't seem to do but would like 
to. I've read the Samba readmes, but am still not sure whether its what 
I'm looking for. Can you advise?

Sincerely

Noam Izenberg

-----------------
Noam Izenberg                                 noam.izenberg at jhuapl.edu

4-115 Space Department                        P: 443-778-7918
JHU Applied Physics Laboratory           F: 443-778-6670
11100 Johns Hopkins Road
Laurel MD, 20723-6099

"I've always wanted to fight a desperate battle against incredible odds"
- Grig (The Last Starfighter)

Return-Path: <s.a.hardy at connectux.com>
Delivered-To: samba at samba.org
Received: from griffin.sio2.nl (griffin.sio2.nl [212.204.249.201]) by
  lists.samba.org (Postfix) with SMTP id D11EA45B8 for
  <samba at samba.org>; Mon, 13 Aug 2001 06:00:43 -0700 (PDT)
Received: (qmail 4841 invoked by uid 104); 13 Aug 2001 12:46:29 -0000
Received: from s.a.hardy at connectux.com by griffin with
  qmail-scanner-0.96 (uvscan: v4.1.40/v4152. . Clean. Processed in
  0.13282 secs); 13 Aug 2001 12:46:29 -0000
Received: from huurders.geodelft.nl (HELO shark) (145.3.1.48) by
  griffin.sio2.nl with SMTP; 13 Aug 2001 12:46:29 -0000
From: "Steve Hardy" <s.a.hardy at connectux.com>
To: "Alex Kirk" <alex at schnarff.com>, <samba at samba.org>
Subject: RE: REPOST: Backup Failure
Date: Mon, 13 Aug 2001 15:02:51 +0200
Message-ID: <NEBBJBDAMLAOPMEDFICJOEDOCGAA.s.a.hardy at connectux.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <20010813130437.11275.qmail at www.schnarff.com>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

sounds like you have a symbolic link loop ... are there any self-referencing
links in the directories you're backing up ?

> -----Oorspronkelijk bericht-----
> Van: samba-admin at lists.samba.org
> [mailto:samba-admin at lists.samba.org]Namens Alex Kirk
> Verzonden: maandag 13 augustus 2001 15:05
> Aan: samba at samba.org
> Onderwerp: REPOST: Backup Failure
>
>
> I'm reposting this since no one seemed to notice it last time (or
> the time
> before, about a month ago):
>
> I've been attempting to back up several directories on my OpenBSD
> system via
> a Windows-based tape back up program that sees the BSD system via a Samba
> share (I've exported the entire drive out to one share in this case). It
> runs OK every time, going through files that are not owned by the user
> accessing the share, until it's about 95% done...and then it invariably
> locks up the Windows machine.
>
> Any idea why this would happen? It's probably not the tape drive or the
> software for it, as I've tried buring the files to CD as well,
> and they lock
> at around the same point.
>
> BTW, I'm running Samba version 2.0.7.
>
> Thanks,
> Alex Le Fevre
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

Return-Path: <kwillmert at visionaryweb.com>
Delivered-To: samba at lists.samba.org
Received: from janus.hosting4u.net (janus.hosting4u.net [209.15.2.37])
  by lists.samba.org (Postfix) with SMTP id 26BC14B20 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 07:33:11 -0700 (PDT)
Received: (qmail 23498 invoked from network); 13 Aug 2001 14:37:12 -0000
Received: from earth.hosting4u.net (HELO visionaryweb.com) (209.15.2.7)
  by mail-gate.hosting4u.net with SMTP; 13 Aug 2001 14:37:12 -0000
Received: from cardassia ([216.241.148.10]) by visionaryweb.com ; Mon,
  13 Aug 2001 09:37:10 -0500
Content-Type: text/plain; charset="us-ascii"
From: Konrad Willmert <kwillmert at visionaryweb.com>
Organization: Visionary Web Design
To: samba at lists.samba.org
Subject: Connecting to Samba Server
Date: Mon, 13 Aug 2001 09:41:23 -0400
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01081309412302.11169 at cardassia>
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 run a Samba Server and have 6 windows machines and my own red hat linux 
machine connecting to it.  I recently upgraded the server software to fix the 
Microsoft Word Save As bug, and now I can't get my linux machine to mount the 
server anymore.  The other machines all connect just fine, though there's a 
huge delay making the initial connectino, and when I boot the linux machine 
(dual booting) up in windows 2k it connects also.  Any idea what went wrong?  
I can mount other drives on the network, just not the server.  Here is my 
mount string and the error it returns:

smbmount "\\\\server\\share" /home/server 'mount /server' -o 
username=xxxx,password=xxxx,fmask=777,dmask=777

session setup failed: code 0
SMB connection failed

Everything worked before I installed the newest samba server, and now this is 
the only thing that does not work.
 
-----------------------------
Konrad Willmert
kwillmert at visionaryweb.com
Programmer - Visionary Web Design, LLC.

Return-Path: <bcaudle at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (f90.law10.hotmail.com [64.4.15.90]) by
  lists.samba.org (Postfix) with ESMTP id 615E24BE3 for
  <samba at samba.org>; Mon, 13 Aug 2001 07:41:09 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Mon, 13 Aug 2001 07:45:10 -0700
Received: from 64.192.99.49 by lw10fd.law10.hotmail.msn.com with HTTP;
  Mon, 13 Aug 2001 14:45:10 GMT
X-Originating-IP: [64.192.99.49]
Reply-To: bcaudle at hotmail.com
From: "Brandon Caudle" <bcaudle at hotmail.com>
To: gcarter at valinux.com
Cc: samba at samba.org
Subject: Setup of 2.2.1a in Suse 7.2
Date: Mon, 13 Aug 2001 10:45:10 -0400
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F90QVjp3b6uIU1Gj03o00005fe7 at hotmail.com>
X-OriginalArrivalTime: 13 Aug 2001 14:45:10.0617 (UTC)
  FILETIME=[8D8AC490:01C12406]
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 decided to start over with a fresh format of both drives and no rpm 
install of samba. I just wanted to know if this will work CORRRECTLY with 
samba 2.2.1a on 7.2 Suse

./configure --sbindir=/usr/sbin
--mandir=/usr/share/doc/packages/samba/manpages
--with-privatedir=/home/samba  --with-swatdir=/usr/lib/samba/swat
--with-configdir=/etc --with-codepages=/usr/lib/samba/codepages
--with-profile

Am i missing anything? do i need to include anything else?

Brandon Caudle
--------------
15yr Old Avid Unix User (HP-UX,FreeBSD,Linux)
Larkhaven Golf Course
Charlotte, NC

"There cannot be a crisis next week. My schedule is already full." -- Henry 
Kissinger



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

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at samba.org
Received: from dc-mx03.cluster1.charter.net
  (dc-mx03.cluster0.hsacorp.net [209.225.8.13]) by lists.samba.org
  (Postfix) with ESMTP id BF0FB54E0 for <samba at samba.org>; Mon, 13 Aug
  2001 07:43:11 -0700 (PDT)
Received: from [24.216.84.59] (HELO pogo.plainjoe.org) by
  dc-mx03.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP
  id 10235892; Mon, 13 Aug 2001 10:53:36 -0400
Date: Mon, 13 Aug 2001 09:49:57 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Brandon Caudle <bcaudle at hotmail.com>
Cc: <samba at samba.org>
Subject: Re: Setup of 2.2.1a in Suse 7.2
In-Reply-To: <F90QVjp3b6uIU1Gj03o00005fe7 at hotmail.com>
Message-ID: <Pine.LNX.4.33.0108130949040.11464-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Mon, 13 Aug 2001, Brandon Caudle wrote:

> I decided to start over with a fresh format of both drives and no rpm
> install of samba. I just wanted to know if this will work CORRRECTLY with
> samba 2.2.1a on 7.2 Suse
>
> ./configure --sbindir=/usr/sbin
> --mandir=/usr/share/doc/packages/samba/manpages
> --with-privatedir=/home/samba  --with-swatdir=/usr/lib/samba/swat
> --with-configdir=/etc --with-codepages=/usr/lib/samba/codepages
> --with-profile
  ^^^^^^^^^^^^^^

Do not use this.  It is a developer option for gather source code
profiling information.  It has since been renamed to something more
sane (--with-profiling-data)





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: <mbowman at vbcomm.net>
Delivered-To: samba at lists.samba.org
Received: from mail.vbcomm.net (climax.vbcomm.net [208.178.120.12]) by
  lists.samba.org (Postfix) with ESMTP id 490644AC3 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 08:10:13 -0700 (PDT)
X-Real-Return-Path: mbowman at vbcomm.net
Received: from matthewb (stu-ns.vbcomm.net [208.178.123.46]) by
  mail.vbcomm.net (8.9.3/8.8.7) with SMTP id LAA03833 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 11:12:10 -0400
Message-ID: <006001c1240a$5553e940$bf65a8c0 at matthewb>
Reply-To: "Matthew Bowman" <mbowman at vbcomm.net>
From: "Matthew Bowman" <mbowman at vbcomm.net>
To: <samba at lists.samba.org>
Subject: SAMBA 2.0.9 
Date: Mon, 13 Aug 2001 11:12:13 -0400
Organization: Universal Digital Communications
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi

I've recently upgraded my Cobalt RaQxtr to Samba 2.0.9 and have been trying
to connect to the server via a Windows 2000 Server.  smb and nmb appear to
be ok on the cobalt server but when I try to do a net view from the PC I get
access is ednied.

/etc/hosts on the samba server is setup correctly
and lmhosts on the W2K is setup correctly

I haven't put the reg file on the W2K server nor is the samba server part of
the same workgroup that the W2K is on - would this be the problem?

Please email me direct - thanks

Matthew Bowman
Systems Administrator
Universal Digital Communications, Inc.

Return-Path: <bnies at hsr.ch>
Delivered-To: samba at lists.samba.org
Received: from hsr.ch (pollux.hsr.ch [152.96.36.20]) by lists.samba.org
  (Postfix) with ESMTP id 0C56941A1 for <samba at lists.samba.org>; Mon, 13
  Aug 2001 08:22:39 -0700 (PDT)
Received: from [152.96.129.27] (HELO hsr.ch) by hsr.ch (CommuniGate Pro
  SMTP 3.4.2) with ESMTP id 2904727 for samba at lists.samba.org; Mon, 13
  Aug 2001 17:26:38 +0200
Message-ID: <3B77F1AE.4432E6B2 at hsr.ch>
Date: Mon, 13 Aug 2001 17:26:38 +0200
From: Bernd Nies <bnies at hsr.ch>
Organization: HSR - Hochschule fuer Technik Rapperswil
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17-14 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: SAMBA Mailinglist <samba at lists.samba.org>
Subject: multiple password servers
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,

We're running Samba 2.0.7 on HP-UX 11 for serving user home
accounts. Authentication is done by AS/U 4.06 on the same
box. The AS/U is our primary domain controller. The current smb.conf which works 
fine looks like this:

[global]
        workgroup = HSR
        netbios name = SAMBA
        security = server
        encrypt passwords = Yes
        password server = NT_PDC
        name resolve order = lmhosts hosts wins bcast
        wins support = Yes
        guest account = noaccess
        invalid users = root, admin, mail, daemon, bin, apache, administrator

The netbios names and IP addresses are listed in the /etc/opt/samba/lmhosts

To have fault tolerance we set up an NT4 backup domain
controller. I tested this by changing the netbios name in smb.conf
Authentication via the BDC works fine.

Now I want a failover from PDC to BDC. According to the smb.conf man page
one has to change the security level to "domain".

        ...
        security = domain
        password server = NT_PDC, NT_BDC
        ...

But this does not work. The Samba documentatio at
http://samba.epfl.ch/samba/docs/Samba-HOWTO-Collection.html
tells that one has to add the Samba server to the NT security
domain with

	smbpasswd -r PDC_NAME -j DOMAIN_NAME

But this gives me this error:

cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT
cli_nt_setup_creds: auth2 challenge failed
modify_trust_password: unable to setup the PDC credentials to machine WEGA. Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT.
2001/08/13 17:00:20 : change_trust_account_password: Failed to change password for domain HSR.
Unable to join domain HSR.



What do I have to do that I can authenticate via PDC and BDC if PDC fails?

Thanks in advance.

Regards,
Bernd Nies

-- 
 _  _ ___ ___  
| || / __| _ \ Bernd Nies, System Engineer
| __ \__ \   / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil
|_||_|___/_|_\ +41-55-2224984, http://www.id.hsr.ch/ bnies at hsr.ch

Return-Path: <rickera2 at SLU.EDU>
Delivered-To: samba at lists.samba.org
Received: from sva.slu.edu (slumailrelay.slu.edu [165.134.36.3]) by
  lists.samba.org (Postfix) with ESMTP id C4A97435F for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 08:41:04 -0700 (PDT)
Received: from slu.edu ([165.134.134.82]) by SLU.EDU (PMDF V6.0-025
  #38756) with ESMTP id <01K72Z82P1TI90MWB0 at SLU.EDU> for
  samba at lists.samba.org; Mon, 13 Aug 2001 10:41:25 -0500 (CDT)
Date: Mon, 13 Aug 2001 10:45:41 -0500
From: Tony Ricker <rickera2 at SLU.EDU>
Subject: PDC help
To: samba <samba at lists.samba.org>
Message-id: <3B77F625.EB693725 at slu.edu>
Organization: Saint Louis University
MIME-version: 1.0
X-Mailer: Mozilla 4.7 [en] (Win98; U)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Accept-Language: en
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Can samba be a PDC for its own domain? In other words, can Samba
authenticate users and machine accounts? I have to set up a domain for
my group, and I thought that it could. I would like to get some
verification form the the Samba gods that are on this list. Are there
any issues with using samba as a PDC that I should be aware of? I
appreciate your help in this matter.

Respectfully.
--
-------------------------------
Tony Ricer
Technology Coordinator
Sulkier - P.M..
St. Louis University
Phone:  314.977.6844
E-mail: rickera2 at slu.edu
-------------------------------
"Think Different"
-------------------------------
"In the beginners mind, there
are many possibilities. In the
experts mind, there are few"
- Chunky Suzuki

Return-Path: <L.Korossy at amc.uva.nl>
Delivered-To: samba at lists.samba.org
Received: from mekka.amc.uva.nl (mekka2.amc.uva.nl [145.117.32.18]) by
  lists.samba.org (Postfix) with ESMTP id 37B314720 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 08:43:22 -0700 (PDT)
Received: from Reddwarf.amc.uva.nl (reddwarf.amc.uva.nl [145.117.34.39])
  by mekka.amc.uva.nl (8.9.3/8.9.1) with ESMTP id RAA17712 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 17:47:22 +0200 (MET DST)
Received: from REDDWARF/SpoolDir by Reddwarf.amc.uva.nl (Mercury 1.48);
  13 Aug 01 17:46:33 +0200
Received: from SpoolDir by REDDWARF (Mercury 1.48); 13 Aug 01 17:46:29
  +0200
From: "L.Korossy" <L.Korossy at amc.uva.nl>
Organization: Academisch Medisch Centrum - Amsterdam
To: samba at lists.samba.org
Date: Mon, 13 Aug 2001 17:46:21 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7bit
Subject: a user cannot change their password with smbpasswd
Message-ID: <3B78125E.14100.1FF5F9A at localhost>
Priority: normal
X-mailer: Pegasus Mail for Win32 (v3.12cNL)
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 listmembers,

I am quite a new user/administrator on a new linux machine.
Configured samba as a server, not as a PDC.

My problem is: only root can change passwords with smbpasswd.
users get the message:

error connecting to 127.0.0.1:139 (Connection refused)
unable to connect to SMB server on machine 127.0.0.1:139. Error was. code 0.



this looks familiar to the archive of june 2001
{HYPERLINK "045936.html"}smbpasswd command wsteffen at bwn.net
any idea ?
thnks.


Laszls Kvrvssy
Technikus

FC-KNO afd audiologie
AMC
020-5663822

Return-Path: <alex at www.schnarff.com>
Delivered-To: samba at samba.org
Received: from www.schnarff.com (ec.cdbed1.client.atlantech.net
  [209.190.205.236]) by lists.samba.org (Postfix) with SMTP id 0AA8D4775
  for <samba at samba.org>; Mon, 13 Aug 2001 08:52:43 -0700 (PDT)
Received: (qmail 719 invoked by uid 1000); 13 Aug 2001 16:08:53 -0000
Message-ID: <20010813160853.5876.qmail at www.schnarff.com>
References: <NEBBJBDAMLAOPMEDFICJOEDOCGAA.s.a.hardy at connectux.com>
In-Reply-To: <NEBBJBDAMLAOPMEDFICJOEDOCGAA.s.a.hardy at connectux.com> 
From: "Alex Kirk" <alex at schnarff.com>
To: samba at samba.org
Subject: Re: REPOST: Backup Failure
Date: Mon, 13 Aug 2001 16:08:53 GMT
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; 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/

Steve Hardy writes: 

> sounds like you have a symbolic link loop ... are there any self-referencing
> links in the directories you're backing up ?

That's entirely possible, as I'm grabbing most of /usr. Is there any good 
way to a) check for that and b) skip over those files? 

Alex

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from atlrel6.hp.com (atlrel6.hp.com [192.151.27.8]) by
  lists.samba.org (Postfix) with ESMTP id 0E20D47ED for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 09:06:22 -0700 (PDT)
Received: from xatlrelay1.atl.hp.com (xatlrelay1.atl.hp.com
  [15.45.89.190]) by atlrel6.hp.com (Postfix) with ESMTP id 9B3B81F7FB;
  Mon, 13 Aug 2001 12:10:21 -0400 (EDT)
Received: from xatlbh1.atl.hp.com (xatlbh1.atl.hp.com [15.45.89.186]) by
  xatlrelay1.atl.hp.com (Postfix) with ESMTP id 3E1201F546; Mon, 13 Aug
  2001 12:10:21 -0400 (EDT)
Received: by xatlbh1.atl.hp.com with Internet Mail Service (5.5.2653.19)
  id <QV1223GH>; Mon, 13 Aug 2001 12:10:21 -0400
Message-ID: <079FD72E42C9D311B854009027650E6F0758EFAA at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Bernd Nies' <bnies at hsr.ch>, SAMBA Mailinglist
  <samba at lists.samba.org>
Subject: RE: multiple password servers
Date: Mon, 13 Aug 2001 12:10:12 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello Bernd,
The ability to join a domain where AS/U is the pdc was 
not available in the CIFS/9000 (Samba) product on HP-UX until CIFS/9000
server version A.01.05.  If you are running the CIFS/9000 server product
that ships with 11.0 you can check the version by doing the following:

what /opt/samba/bin/smbd

The what string should show something similar to 
HP SAMBA: Version: A.01.05 based on Samba version: 2.0.7

If there IS no what string, or it reports a version lower than A.01.05, you
will need to update to A.01.05 or later, which can be found on your latest
HP-UX Application CD Rom set, or from the HP website:

http://software.hp.com  under the Network and System Administration link.

Once you do this, you should be able to remove and recreate your samba
machine account on the asu pdc, and use the smbpasswd command you mention to
rejoin the domain. 
If you put in 
password server = *

instead of password server = pdc name

then it will attempt to find a domain controller on the domain you are using
and authenticate with it.  If the domain controller it finds DOESN't answer
(ie it is down) then it will try another one.


Hope this helps,
Don

-----Original Message-----
From: Bernd Nies [mailto:bnies at hsr.ch]
Sent: Monday, August 13, 2001 11:27 AM
To: SAMBA Mailinglist
Subject: multiple password servers


Hi,

We're running Samba 2.0.7 on HP-UX 11 for serving user home
accounts. Authentication is done by AS/U 4.06 on the same
box. The AS/U is our primary domain controller. The current smb.conf which
works 
fine looks like this:

[global]
        workgroup = HSR
        netbios name = SAMBA
        security = server
        encrypt passwords = Yes
        password server = NT_PDC
        name resolve order = lmhosts hosts wins bcast
        wins support = Yes
        guest account = noaccess
        invalid users = root, admin, mail, daemon, bin, apache,
administrator

The netbios names and IP addresses are listed in the /etc/opt/samba/lmhosts

To have fault tolerance we set up an NT4 backup domain
controller. I tested this by changing the netbios name in smb.conf
Authentication via the BDC works fine.

Now I want a failover from PDC to BDC. According to the smb.conf man page
one has to change the security level to "domain".

        ...
        security = domain
        password server = NT_PDC, NT_BDC
        ...

But this does not work. The Samba documentatio at
http://samba.epfl.ch/samba/docs/Samba-HOWTO-Collection.html
tells that one has to add the Samba server to the NT security
domain with

	smbpasswd -r PDC_NAME -j DOMAIN_NAME

But this gives me this error:

cli_net_auth2: Error NT_STATUS_NO_TRUST_SAM_ACCOUNT
cli_nt_setup_creds: auth2 challenge failed
modify_trust_password: unable to setup the PDC credentials to machine WEGA.
Error was : NT_STATUS_NO_TRUST_SAM_ACCOUNT.
2001/08/13 17:00:20 : change_trust_account_password: Failed to change
password for domain HSR.
Unable to join domain HSR.



What do I have to do that I can authenticate via PDC and BDC if PDC fails?

Thanks in advance.

Regards,
Bernd Nies

-- 
 _  _ ___ ___  
| || / __| _ \ Bernd Nies, System Engineer
| __ \__ \   / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil
|_||_|___/_|_\ +41-55-2224984, http://www.id.hsr.ch/ bnies at hsr.ch
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <s.a.hardy at connectux.com>
Delivered-To: samba at samba.org
Received: from griffin.sio2.nl (griffin.sio2.nl [212.204.249.201]) by
  lists.samba.org (Postfix) with SMTP id 60D2B4C13 for
  <samba at samba.org>; Mon, 13 Aug 2001 09:12:49 -0700 (PDT)
Received: (qmail 5857 invoked by uid 104); 13 Aug 2001 15:58:31 -0000
Received: from s.a.hardy at connectux.com by griffin with
  qmail-scanner-0.96 (uvscan: v4.1.40/v4152. . Clean. Processed in
  0.129073 secs); 13 Aug 2001 15:58:31 -0000
Received: from huurders.geodelft.nl (HELO shark) (145.3.1.48) by
  griffin.sio2.nl with SMTP; 13 Aug 2001 15:58:30 -0000
From: "Steve Hardy" <s.a.hardy at connectux.com>
To: "Alex Kirk" <alex at schnarff.com>, <samba at samba.org>
Subject: RE: REPOST: Backup Failure
Date: Mon, 13 Aug 2001 18:14:53 +0200
Message-ID: <NEBBJBDAMLAOPMEDFICJMEECCGAA.s.a.hardy at connectux.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <20010813160853.5876.qmail at www.schnarff.com>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

a) kinda hard, although a find -follow /usr will show you any looping links
if you wait long enough :)
b) set follow symlinks = no in your smb.conf ..

> -----Oorspronkelijk bericht-----
> Van: samba-admin at lists.samba.org
> [mailto:samba-admin at lists.samba.org]Namens Alex Kirk
> Verzonden: maandag 13 augustus 2001 18:09
> Aan: samba at samba.org
> Onderwerp: Re: REPOST: Backup Failure
>
>
> Steve Hardy writes:
>
> > sounds like you have a symbolic link loop ... are there any
> self-referencing
> > links in the directories you're backing up ?
>
> That's entirely possible, as I'm grabbing most of /usr. Is there any good
> way to a) check for that and b) skip over those files?
>
> Alex
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from atlrel7.hp.com (atlrel7.hp.com [192.151.27.9]) by
  lists.samba.org (Postfix) with ESMTP id 1FCE34CD5 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 09:22:01 -0700 (PDT)
Received: from xatlrelay1.atl.hp.com (unknown [15.45.89.190]) by
  atlrel7.hp.com (Postfix) with ESMTP id 8F36D1F53E; Mon, 13 Aug 2001
  12:24:55 -0400 (EDT)
Received: from xatlbh4.atl.hp.com (xatlbh4.atl.hp.com [15.45.89.189]) by
  xatlrelay1.atl.hp.com (Postfix) with ESMTP id 545871F540; Mon, 13 Aug
  2001 12:25:59 -0400 (EDT)
Received: by xatlbh4.atl.hp.com with Internet Mail Service (5.5.2653.19)
  id <Q56NQTFY>; Mon, 13 Aug 2001 12:25:59 -0400
Message-ID: <079FD72E42C9D311B854009027650E6F0758EFAB at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: "'reinout.wijnveen at philips.com'" <reinout.wijnveen at philips.com>,
  "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
Cc: reinout.wijnveen at wanadoo.nl, jeremy at valinux.com,
  samba at lists.samba.org
Subject: RE: Locking issues with HP-UX 11.00
Date: Mon, 13 Aug 2001 12:25:54 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi reinout;
Well, I suspect that the offset and count being sent by the win client/notes
application is probably based on what it thinks samba can handle based on
something it has received previously from a prior smb request/reply, and
this maybe probably is different when you compiled on a 64bit wide system,
rather than using the binaries provided with HP-UX 11.0 (which are built on
32 bit systems, so they can be run either on 32 or 64 bit archetectures).

Take a look at the log files from the 10.20 binaries that are working on the
same platform that you are seeing failures on the compiled 11.0 binaries,
and lets see what the largest offset/count that the client asks for on those
logs.  This will give us some clues...
Don

-----Original Message-----
From: reinout.wijnveen at philips.com [mailto:reinout.wijnveen at philips.com]
Sent: Monday, August 13, 2001 6:51 AM
To: don_mccall at hp.com
Cc: reinout.wijnveen at wanadoo.nl; jeremy at valinux.com;
samba at lists.samba.org
Subject: RE: Locking issues with HP-UX 11.00



Don,

I don't believe you are right here.

We've been serving files from NFS with Samba for about two years now.
Locking has never been a problem as long as we used HP 10.20 (and thus NFS
v2) on both the NFS-server and -client. Deployment of HP-UX 11 (with NFS v2)
on an NFS client breaks locking
for files served from NFS. If you are right I can only explain this if  the
HP-UX 11 locking implementation for NFS v2 has changed.

To find out more i ran an extra test, with interesting results:
I installed binaries compiled for HP-UX 10.20 on our HP-UX 11 testserver.
Locking works as before!
Of course there are (at least) three variables different between samba
compiled on HP-UX 11 and HP-UX 10.20:
- host platform during compilation;
- compiler used;
- libraries.

Can you comment on this?


With regards to your remarks about the offset: I think i am missing
something here. Which brings up a question:

I suppose the offset is offset within the file? The value seems quite large
to me: the files where locking fails (desktop.dsk and names.nsf) are only
about 1.5 tot 2.5 Meg! Could this be an error?



-
Regards,
Reinout Wijnveen

"All those who believe in psychokinesis raise my hand"

ICT-N/Philips Semiconductors Nijmegen
Address: AC 0.062, Gerstweg 2, 6534 AE Nijmegen, Fax: +31 24 353 2019





"MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>@lists.samba.org on 08/12/2001
09:35:57 PM

Sent by:  samba-admin at lists.samba.org


To:     "'Reinout Wijnveen'" <reinout.wijnveen at wanadoo.nl>
        "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
cc:     jeremy at valinux.com
        samba at lists.samba.org (bcc: Reinout Wijnveen/NYM/SC/PHILIPS)
Subject:  RE: Locking issues with HP-UX 11.00
Classification:



Helo Reinout,
Well, I believe that that is the issue - on an NFS filesystem, you're not
going to be able to satisfy a lock
at the offset that you mention.  NFS v2 does not support filesystems beyond
4gigabite.  the lock is starting at 4294901760 with a byte count of 65535,
which is going to exceed the nfs max file size capacity, and you will get no
locks available.  You would have to be using NFS v3 on both sides (nfs
client and server) for a lock of this type to succeed.
Sorry,
Don

-----Original Message-----
From: Reinout Wijnveen [mailto:reinout.wijnveen at wanadoo.nl]
Sent: Sunday, August 12, 2001 5:10
To: don_mccall at hp.com
Cc: jeremy at valinux.com; samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00


I am sorry if you recieve this mail twice. I had problems sending it.

Don, here's the information you asked for:

> 1. uname -a

HP-UX hpf01 B.11.00 A 9000/861 2010561247 two-user license

> 2. exactly what are you doing to test the locking? (smbtorture?)

I connect my homedir from the testserver and start Lotus Notes.
Lotus Notes is infamous for it's sensitivity for 'non-optimal' network
connections. Notes tries to lock certain files and complains immediately if
that fails.

> 3. does the log message always fail at the same offset/count:
> (fcntl_lock: lock failed at offset 4294901760 count 65535)

Yes, always the same with both samba 2.2.1 and the cvs version:
lock failed at offset 4294901760 count 65535 op 9 type 2

I have a level 10 log available.  It looks like the first two or three
requests succeed, but then start failing. See the summary at the end of this

mail.

> 4. what filesystem type is the share you are using for
> this test?  (nfs, hfs, vxfs?)

NFS. The fileserver is HP-UX 10.20.
As an additional test I copied my notes files to a local vxfs on the
testserver and that works OK. (!)

> The message you mention indicates that you are running
> samba on a 64bit HP-UX os - can you pull the latest 2.2
> CVS and do the following:
> - remove source/config.cache
> - run configure again, then make and make install  and
>   do your test again.

I retrieved a fresh cvs tree, with the same results.

> If you can tell me the above, I will try to do the same
> on a 64 bit hp-ux system and see if I get the same results.  Currently the
> build farm machines are all 32 bit machines...
>
> Thanks,
> Don
>

Summary of the level 10 log:

hpf01 # grep _posix_lock level10_debug_samba_cvs_locking

  set_posix_lock: File notes/pid.nbf, offset = 0, count = 4, type = READ
  add_posix_lock: File notes/pid.nbf: type = WRITE: start=0 size=4:
dev=-16776679 inode=3377
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 4
  release_posix_lock: File notes/pid.nbf, offset = 0, count = 4
  delete_posix_lock_entry: type = WRITE: start=0 size=4, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 4
  set_posix_lock: File notes/~notes.lck, offset = 0, count = 65535, type =
READ
  add_posix_lock: File notes/~notes.lck: type = WRITE: start=0 size=65535:
dev=-16776679 inode=96
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 65535
  release_posix_lock: File notes/~notes.lck, offset = 0, count = 65535
  delete_posix_lock_entry: type = WRITE: start=0 size=65535, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 65535
  set_posix_lock: File notes/~notes.lck, offset = 0, count = 1, type = READ
  add_posix_lock: File notes/~notes.lck: type = WRITE: start=0 size=1:
dev=-16776679 inode=96
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 1
  set_posix_lock: File notes/names.nsf, offset = 4294901760, count = 65535,
type = READ
  add_posix_lock: File notes/names.nsf: type = WRITE: start=4294901760
size=65535: dev=-16776679 inode=1917
  set_posix_lock: Real lock: Type = WRITE: offset = 4294901760, count =
65535
  set_posix_lock: Lock fail !: Type = WRITE: offset = 4294901760, count =
65535
  set_posix_lock: File notes/desktop.dsk, offset = 4294901760, count =
65535,
type = READ
  add_posix_lock: File notes/desktop.dsk: type = WRITE: start=4294901760
size=65535: dev=-16776679 inode=15420
  set_posix_lock: Real lock: Type = WRITE: offset = 4294901760, count =
65535
  set_posix_lock: Lock fail !: Type = WRITE: offset = 4294901760, count =
65535
  release_posix_lock: File notes/~notes.lck, offset = 0, count = 1
  delete_posix_lock_entry: type = WRITE: start=0 size=1, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 1
  set_posix_lock: File notes/pid.nbf, offset = 0, count = 4, type = READ
  add_posix_lock: File notes/pid.nbf: type = WRITE: start=0 size=4:
dev=-16776679 inode=3377
  set_posix_lock: Real lock: Type = WRITE: offset = 0, count = 4
  release_posix_lock: File notes/pid.nbf, offset = 0, count = 4
  delete_posix_lock_entry: type = WRITE: start=0 size=4, num_records = 0
  release_posix_lock: Real unlock: offset = 0, count = 4

--
Regards,

Reinout Wijnveen
reinout.wijnveen at wanadoo.nl

"All who believe in psychokinesis raise my hand"
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <rickera2 at SLU.EDU>
Delivered-To: samba at lists.samba.org
Received: from sva.slu.edu (slumailrelay.slu.edu [165.134.36.3]) by
  lists.samba.org (Postfix) with ESMTP id E82EA54CF for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 09:46:06 -0700 (PDT)
Received: from slu.edu ([165.134.134.82]) by SLU.EDU (PMDF V6.0-025
  #38756) with ESMTP id <01K731HQ8J5490MWC6 at SLU.EDU> for
  samba at lists.samba.org; Mon, 13 Aug 2001 11:46:28 -0500 (CDT)
Date: Mon, 13 Aug 2001 11:50:45 -0500
From: Tony Ricker <rickera2 at SLU.EDU>
Subject: PDC help revisited
To: samba <samba at lists.samba.org>
Message-id: <3B780564.310A8929 at slu.edu>
Organization: Saint Louis University
MIME-version: 1.0
X-Mailer: Mozilla 4.7 [en] (Win98; U)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Accept-Language: en
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Can samba be a PDC for its own domain? In other words, can Samba
authenticate users and machine accounts? I have to set up a domain for
my group, and I thought that it could. I would like to get some
verification form the the Samba gods that are on this list. Are there
any issues with using samba as a PDC that I should be aware of? I
appreciate your help in this matter. I forgot to add that the clients
are windoze 95, 98 and a few NT boxes.

Respectfully.

--
-------------------------------
Tony Ricker
Technology Coordinator
SLUCare - P.M.O.
St. Louis University
Phone:  314.977.6844
E-mail: rickera2 at slu.edu
-------------------------------
"Think Different"
-------------------------------
"In the beginners mind, there
are many possibilities. In the
experts mind, there are few"
- Shunryu Suzuki

Return-Path: <smblist at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (oe62.pav2.hotmail.com [64.4.36.196]) by
  lists.samba.org (Postfix) with ESMTP id 4540F5888 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 09:59:45 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Mon, 13 Aug 2001 10:03:46 -0700
X-Originating-IP: [216.123.170.131]
From: "smb" <smblist at hotmail.com>
To: <samba at lists.samba.org>
Subject: User auth.
Date: Mon, 13 Aug 2001 12:03:44 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 6.00.2462.0000
Message-ID: <OE62hvfPAZScXrbw8b900001fe7 at hotmail.com>
X-OriginalArrivalTime: 13 Aug 2001 17:03:46.0122 (UTC)
  FILETIME=[E9F822A0:01C12419]
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/

In the smb.conf I have
security=user
user=elomax

I configured workstation to send clear tex-password but when I try to
authenticate to linux box I just cannot,for some reasons password is not
accepted.
P.S. elomax user exists on linux box and has the same password.

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 691C558B2
  for <samba at samba.org>; Mon, 13 Aug 2001 10:54:55 -0700 (PDT)
Received: from fw.teststation.com (fw.teststation.com [212.32.186.210])
  by fungus.teststation.com (8.11.2/8.11.2) with SMTP id f7DHwm318616;
  Mon, 13 Aug 2001 19:58:48 +0200
Received: from COLA by fw.teststation.com via smtpd (for
  fungus.teststation.com [212.32.186.211]) with SMTP; 13 Aug 2001
  17:33:04 UT
Date: Mon, 13 Aug 2001 19:58:48 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Jurgen Kobierczynski <JKobierczynski at sdlintl.com>
Cc: "'samba at samba.org'" <samba at samba.org>
Subject: Re: Samba 2.0.7 on RedHat 7.1 hangs Linux
In-Reply-To: <9795AAEF1C0AD511908F0060085FD4463212EC at belxch1.traffic.be>
Message-ID: <Pine.LNX.4.30.0108131956340.3502-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 Mon, 13 Aug 2001, Jurgen Kobierczynski wrote:

> Hi!
> 
> I've a question. I'm running 2 RedHat 7.1 with the default samba
> configuration on a NT Domain network.
> I mount often NT-shares with samba on my boxes, and I've noticed that
> altough the samba mount works correctly, samba lockup after a hour, or
> several hours Linux. That means: hangs, blocks, no cursor, keyentry , no
> remote login anymore possible.

Is it the box running smbfs/smbmount that hangs or some server running 
samba? Do you get an oops or anything in the logfiles or on the console?

Which kernel is this? If < 2.4.4 I'd try updating the kernel.

/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 C49DA5931 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 10:57:40 -0700 (PDT)
Received: from [198.144.195.74] (helo=valinux.com) by mail.valinux.com
  with asmtp  (Cipher SSLv3:RC4-MD5:128) (Exim 3.31-VA-mm2 #1 (Debian))
  id 15WM1t-00011s-00; Mon, 13 Aug 2001 11:01:33 -0700
Message-ID: <3B7813D5.838128F4 at valinux.com>
Date: Mon, 13 Aug 2001 10:52:21 -0700
From: Jeremy Allison <jeremy at valinux.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.17 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
Cc: "'reinout.wijnveen at philips.com'" <reinout.wijnveen at philips.com>,
  reinout.wijnveen at wanadoo.nl, samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00
References: <079FD72E42C9D311B854009027650E6F0758EFAB at xatl02.atl.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/

"MCCALL,DON (HP-USA,ex1)" wrote:
> 
> Hi reinout;
> Well, I suspect that the offset and count being sent by the win client/notes
> application is probably based on what it thinks samba can handle based on
> something it has received previously from a prior smb request/reply, and
> this maybe probably is different when you compiled on a 64bit wide system,
> rather than using the binaries provided with HP-UX 11.0 (which are built on
> 32 bit systems, so they can be run either on 32 or 64 bit archetectures).
> 
> Take a look at the log files from the 10.20 binaries that are working on the
> same platform that you are seeing failures on the compiled 11.0 binaries,
> and lets see what the largest offset/count that the client asks for on those
> logs.  This will give us some clues...

If you compile samba on a 64-bit capable platform
Samba will configure itself to issue 64 bit lock
requests on all filesystems it exports.

If these include nfs v2 and the kernel issues an
EFBIG error (ie. out of 31 bit range) then Samba
will truncate the lock request to 31 bits and
try again.

Add the following patch to determine why the lock
requests are failing (adds printing of errno to
lock fail messages).

Jeremy.

Index: locking/posix.c
===================================================================
RCS file: /data/cvs/samba/source/locking/posix.c,v
retrieving revision 1.19.4.6
diff -u -r1.19.4.6 posix.c
--- locking/posix.c	2 Jul 2001 02:42:16 -0000	1.19.4.6
+++ locking/posix.c	13 Aug 2001 17:56:20 -0000
@@ -1123,8 +1123,8 @@
 			posix_lock_type_name(posix_lock_type), (double)offset, (double)count ));
 
 		if (!posix_fcntl_lock(fsp,SMB_F_SETLK,offset,count,posix_lock_type)) {
-			DEBUG(5,("set_posix_lock: Lock fail !: Type = %s: offset = %.0f, count = %.0f\n",
-				posix_lock_type_name(posix_lock_type), (double)offset, (double)count ));
+			DEBUG(5,("set_posix_lock: Lock fail !: Type = %s: offset = %.0f, count = %.0f. Errno = %s\n",
+				posix_lock_type_name(posix_lock_type), (double)offset, (double)count, strerror(errno) ));
 			ret = False;
 			break;
 		}
@@ -1206,7 +1206,7 @@
 
 	if (num_overlapped_entries > 0 && deleted_lock.lock_type == F_WRLCK) {
 		if (!posix_fcntl_lock(fsp,SMB_F_SETLK,offset,count,F_RDLCK)) {
-			DEBUG(0,("release_posix_lock: downgrade of lock failed !\n"));
+			DEBUG(0,("release_posix_lock: downgrade of lock failed with error %s !\n", strerror(errno) ));
 			return False;
 		}
 	}

Return-Path: <kwillmert at visionaryweb.com>
Delivered-To: samba at lists.samba.org
Received: from janus.hosting4u.net (janus.hosting4u.net [209.15.2.37])
  by lists.samba.org (Postfix) with SMTP id 480604CF6 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 11:25:12 -0700 (PDT)
Received: (qmail 29570 invoked from network); 13 Aug 2001 18:29:13 -0000
Received: from earth.hosting4u.net (HELO visionaryweb.com) (209.15.2.7)
  by mail-gate.hosting4u.net with SMTP; 13 Aug 2001 18:29:13 -0000
Received: from cardassia ([216.241.148.10]) by visionaryweb.com ; Mon,
  13 Aug 2001 13:29:10 -0500
Content-Type: text/plain; charset="iso-8859-1"
From: Konrad Willmert <kwillmert at visionaryweb.com>
Organization: Visionary Web Design
To: Urban Widmark <urban at teststation.com>
Subject: Re: Connecting to Samba Server
Date: Mon, 13 Aug 2001 13:33:23 -0400
X-Mailer: KMail [version 1.2]
Cc: <samba at lists.samba.org>
References: <Pine.LNX.4.30.0108131948080.3502-100000 at cola.teststation.co
  m>
In-Reply-To: <Pine.LNX.4.30.0108131948080.3502-100000 at cola.teststation.c
  om>
MIME-Version: 1.0
Message-Id: <01081313332301.01096 at cardassia>
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/

The samba version is 2.2.1a
I got 'mount /server' from an on-line documentation someplace.  After 
reviewing some other documentation sources, I noticed most people's init 
strings didn't have that and took it out and that solved the connection 
problem.   Still slow initially connecting though.

On Monday 13 August 2001 01:56 pm, Urban Widmark wrote:
> On Mon, 13 Aug 2001, Konrad Willmert wrote:
> > I run a Samba Server and have 6 windows machines and my own red hat linux
> > machine connecting to it.  I recently upgraded the server software to fix
> > the Microsoft Word Save As bug, and now I can't get my linux machine to
> > mount the server anymore.  The other machines all connect just fine,
> > though there's a huge delay making the initial connectino, and when I
> > boot the linux machine (dual booting) up in windows 2k it connects also. 
> > Any idea what went wrong? I can mount other drives on the network, just
> > not the server.  Here is my mount string and the error it returns:
> >
> > smbmount "\\\\server\\share" /home/server 'mount /server' -o
> > username=xxxx,password=xxxx,fmask=777,dmask=777
>
> Which version is this?
> Where did you get the idea to use 'mount /server'?
> (try reading the manpage of your new version)
>
> Can't help with the slow initial connections.. Lookup problems?
>
> /Urban

-- 
-----------------------------
Konrad Willmert
kwillmert at visionaryweb.com
Programmer - Visionary Web Design, LLC.

Return-Path: <JKobierczynski at sdlintl.com>
Delivered-To: samba at samba.org
Received: from belxch1.sdlintl.com (unknown [193.75.171.1]) by
  lists.samba.org (Postfix) with ESMTP id 834305962 for
  <samba at samba.org>; Mon, 13 Aug 2001 11:29:02 -0700 (PDT)
Received: by belxch1.traffic.be with Internet Mail Service (5.5.2650.21)
  id <QM4DJDZF>; Mon, 13 Aug 2001 20:30:26 +0200
Message-ID: <9795AAEF1C0AD511908F0060085FD4463212EF at belxch1.traffic.be>
From: Jurgen Kobierczynski <JKobierczynski at sdlintl.com>
To: 'Urban Widmark' <urban at teststation.com>
Cc: "'samba at samba.org'" <samba at samba.org>
Subject: RE: Samba 2.0.7 on RedHat 7.1 hangs Linux
Date: Mon, 13 Aug 2001 20:30:21 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

This is a smbfs/smbmount client on a NT network that lockup the linux
system. No special configuration on the samba client was done. Actually, I
have 2 RedHat 7.1 systems, who behave in the same way. I've also upgraded
samba on the machines to the latest and the problem is still there. 

Mostly when a lockup occurs, It occurs suddenly when I try to copy data
from/to the NT-server. Sometimes I've noticed some time between when the
first problems occurs, and when total lockup arrives. In this case a major
degradation in system response are signs that's something is wrong. But
mostly blocks the system immediately.

I've searched for the samba mailinglist for related problems, and I've found
this message with similar problems:

Message: 11
Date: Wed, 28 Feb 2001 18:27:37 -0500
From: Mike Baptiste <[PRIVACY PROTECTION]>
Subject: Lock up issue

http://faqchest.dynhost.com/linux/samba-l/smb-01/smb-0103/smb01030112_17460.
html

(I've noticed exactly the same symptoms twice, on booth machines where
programs that accessed the filesystems couldn't be killed by SIGABORT, I'm
not sure if this is actually the same problem as this one)

In this case, the full system locks. The applications that I use when lockup
occurs. are Midnight Commander, Kfilemanager, and sometimes the shell.
mostly I've mounted 3 different filesystems from the same server, but this
lockup happens also when I mount only one filesystem. I don't have the
impression that these lockups are caused by multiaccessing the same
documents/folders. This problem happens with different NT server also.

On booth system runs kernel 2.4.2-2 from RedHat 7.1

is this caused by the kernelmodule for the smbfs?

Jurgen

-----Original Message-----
From: Urban Widmark [mailto:urban at teststation.com]
Sent: maandag 13 augustus 2001 19:59
To: Jurgen Kobierczynski
Cc: 'samba at samba.org'
Subject: Re: Samba 2.0.7 on RedHat 7.1 hangs Linux


On Mon, 13 Aug 2001, Jurgen Kobierczynski wrote:

> Hi!
> 
> I've a question. I'm running 2 RedHat 7.1 with the default samba
> configuration on a NT Domain network.
> I mount often NT-shares with samba on my boxes, and I've noticed that
> altough the samba mount works correctly, samba lockup after a hour, or
> several hours Linux. That means: hangs, blocks, no cursor, keyentry , no
> remote login anymore possible.

Is it the box running smbfs/smbmount that hangs or some server running 
samba? Do you get an oops or anything in the logfiles or on the console?

Which kernel is this? If < 2.4.4 I'd try updating the kernel.

/Urban

Return-Path: <teng at bnl.gov>
Delivered-To: samba at lists.samba.org
Received: from smtpgw.bnl.gov (smtpgw.bnl.gov [130.199.3.16]) by
  lists.samba.org (Postfix) with ESMTP id 1F3BE59EE for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 11:33:32 -0700 (PDT)
Received: from bnl.gov ([130.199.128.163]) by smtpgw.bnl.gov with esmtp
  (Exim 3.22 #1 ) id 15WMai-00062q-00 for <samba at lists.samba.org>; Mon,
  13 Aug 2001 14:37:32 -0400
Received: from exchange02.bnl.gov (exchange02.bnl.gov [130.199.74.18])
  by bnl.gov (8.9.2/8.9.2) with ESMTP id OAA26014 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 14:37:32 -0400 (EDT)
Received: by exchange02.bnl.gov with Internet Mail Service (5.5.2653.19)
  id <MX1L6YQ6>; Mon, 13 Aug 2001 14:35:16 -0400
Message-ID: <1655641A03CED411BDCB0002B309452461A184 at exchange02.bnl.gov>
From: "Teng, Cheo S" <teng at bnl.gov>
To: "'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: connections.tdb file size
Date: Mon, 13 Aug 2001 14:35:15 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,

Please help!
I have Samba 2.2.1a running on HP-UX 10.20.  smbd and nmbd are restarted
from startup and shutdown functions in /etc/rc4.d and /etc/rc3.d.
(Kill -9 PID (of smbd); kill -9 PID (of nmbd) in /etc/rc3.d)
(/usr/local/samba/bin/smbd -D; /usr/local/samba/bin/nmbd -D in /sbin/rc4.d)

File connections.tdb increases its size over 10Mb and cauese file system
full.  When this happens, there is only one user using Samba.
What are the proper procedures to restart Samba?

Thanks.  
>
>
>

Cheo Teng

============================================
Cheo Teng
National Synchrotron Light Source     MS:725B
Brookhaven National Laboratory
Upton, NY 11973

Phone: 631-344-5028     Fax: 631-344-4745
Email: teng at bnl.gov
============================================

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at samba.org
Received: from dc-mx08.cluster1.charter.net
  (dc-mx08.cluster0.hsacorp.net [209.225.8.18]) by lists.samba.org
  (Postfix) with ESMTP id 4B20D5A0E for <samba at samba.org>; Mon, 13 Aug
  2001 11:36:51 -0700 (PDT)
Received: from [24.216.84.59] (HELO pogo.plainjoe.org) by
  dc-mx08.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP
  id 19745006; Mon, 13 Aug 2001 14:47:25 -0400
Date: Mon, 13 Aug 2001 13:43:35 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Ray Phillips <r.phillips at mailbox.uq.edu.au>
Cc: <samba at samba.org>
Subject: Re: CIDR Notation
In-Reply-To: <l03130337b79cdca70e77@[130.102.20.138]>
Message-ID: <Pine.LNX.4.33.0108131343160.11464-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Mon, 13 Aug 2001, Ray Phillips wrote:

> Dear Samba:
>
> This request has been prompted by me scratching my head for the past couple
> of days because I couldn't get samba working.  I finally traced the problem
> down to a mistake I'd made in the global section.  I'd written
>
>    hosts allow = 130.102.18.192/26 130.102.20.0/24
>
> instead of
>
>    hosts allow = 130.102.18.192/255.255.255.192 130.102.20.0/255.255.255.0
>
>
> It was my own fault, I know.  I just thought I'd see if you like the idea
> of modifying the parsing of the smb.conf file so the hosts allow option
> will accept CIDR notation (in addition to the current ones)?

It used to work.  I'll have to look and see why it is not....






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-mx05.cluster1.charter.net
  (dc-mx05.cluster0.hsacorp.net [209.225.8.15]) by lists.samba.org
  (Postfix) with ESMTP id AD71A5A16 for <samba at lists.samba.org>; Mon, 13
  Aug 2001 11:39:44 -0700 (PDT)
Received: from [24.216.84.59] (HELO pogo.plainjoe.org) by
  dc-mx05.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP
  id 21775744; Mon, 13 Aug 2001 14:49:21 -0400
Date: Mon, 13 Aug 2001 13:46:28 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Stormblade <stormblade at bellsouth.net>
Cc: <samba at lists.samba.org>
Subject: Re: Trying Samba again
In-Reply-To: <5.1.0.14.2.20010810163549.0402fc38 at mail.atl.bellsouth.net>
Message-ID: <Pine.LNX.4.33.0108131345440.11464-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Fri, 10 Aug 2001, Stormblade wrote:

> Now, the problem is that when I try to use swat it asks me for
> authorization. I give it the root username and password and it will
> not let me in. I tried logging in as my normal user but that didn't
> work either. I just get Authorization failed messages.

Did you use --with-pam during configure?  Did you create /etc/pam.d/samba?
Not well documented I know....








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: <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 D474A58D3
  for <samba at lists.samba.org>; Mon, 13 Aug 2001 11:47:16 -0700 (PDT)
Received: from fw.teststation.com (fw.teststation.com [212.32.186.210])
  by fungus.teststation.com (8.11.2/8.11.2) with SMTP id f7DHuR318595;
  Mon, 13 Aug 2001 19:56:27 +0200
Received: from COLA by fw.teststation.com via smtpd (for
  fungus.teststation.com [212.32.186.211]) with SMTP; 13 Aug 2001
  17:30:44 UT
Date: Mon, 13 Aug 2001 19:56:27 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Konrad Willmert <kwillmert at visionaryweb.com>
Cc: <samba at lists.samba.org>
Subject: Re: Connecting to Samba Server
In-Reply-To: <01081309412302.11169 at cardassia>
Message-ID: <Pine.LNX.4.30.0108131948080.3502-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 Mon, 13 Aug 2001, Konrad Willmert wrote:

> I run a Samba Server and have 6 windows machines and my own red hat linux 
> machine connecting to it.  I recently upgraded the server software to fix the 
> Microsoft Word Save As bug, and now I can't get my linux machine to mount the 
> server anymore.  The other machines all connect just fine, though there's a 
> huge delay making the initial connectino, and when I boot the linux machine 
> (dual booting) up in windows 2k it connects also.  Any idea what went wrong?  
> I can mount other drives on the network, just not the server.  Here is my 
> mount string and the error it returns:
> 
> smbmount "\\\\server\\share" /home/server 'mount /server' -o 
> username=xxxx,password=xxxx,fmask=777,dmask=777

Which version is this?
Where did you get the idea to use 'mount /server'?
(try reading the manpage of your new version)

Can't help with the slow initial connections.. Lookup problems?

/Urban

Return-Path: <perickson at platinumpersonals.com>
Delivered-To: samba at lists.samba.org
Received: from imp.platinumpersonals.com (imp.platinumpersonals.com
  [208.210.146.196]) by lists.samba.org (Postfix) with ESMTP id
  A78F15397 for <Samba at lists.samba.org>; Mon, 13 Aug 2001 11:50:43 -0700
  (PDT)
Received: from optimusprime.platinumpersonals.com ([208.210.146.197]) by
  imp.platinumpersonals.com (8.11.2/8.11.2) with ESMTP id f7DIsgN95241
  for <Samba at lists.samba.org>; Mon, 13 Aug 2001 13:54:42 -0500 (CDT)
Message-Id: <5.0.2.1.0.20010813134307.00a97ab8 at 208.210.146.196>
X-Sender: redlamb at 208.210.146.196
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Mon, 13 Aug 2001 13:54:51 -0500
To: Samba at lists.samba.org
From: Peter Erickson <perickson at platinumpersonals.com>
Subject: Passwords and Swat
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Swat:
I know I have seen this question asked a couple of times, but none of them 
seem to be related to *BSD. I am running samba 2.2.1a on FreeBSD 4.3 and am 
having troubles getting access into swat. I am not using the shadow file or 
pam. Has anyone found a way to get this to work?

Passwords:
Last time I ran samba was with version 1.7 or something like that and I was 
able to use the smbclient to get access to local shares without using the 
"encrypt passwords = yes" directive. Now (with 2.2.1a) the only way that I 
can use smbclient to see/test the local machine is to have encrypt 
passwords directive. Without this option I get the following error;

Defaulting to Lanman password for user_name
Rejecting user 'user_name': authentication failed
closing connection

I have tried this with the user in the smbpasswd file, passwd file and both 
and get the same error. All works well with the encrypt passwords set. Any 
ideas on what causes this? Was the default authentication scheme changed? 
Is there a way to get samba to work with the passwd file? Just curious.

Return-Path: <rohrer at pdx.edu>
Delivered-To: samba at lists.samba.org
Received: from thor.oit.pdx.edu (thor.oit.pdx.edu [131.252.120.40]) by
  lists.samba.org (Postfix) with ESMTP id 3F8915922 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 11:54:20 -0700 (PDT)
Received: from svalin.oit.pdx.edu (svalin.oit.pdx.edu [131.252.120.35])
  by thor.oit.pdx.edu (8.11.1/8.11.1) with ESMTP id f7DIwKe22889 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 11:58:20 -0700 (PDT)
Received: from localhost (rohrer at localhost) by svalin.oit.pdx.edu
  (8.11.1/8.11.1) with ESMTP id f7DIwJP14872 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 11:58:19 -0700 (PDT)
X-Authentication-Warning: svalin.oit.pdx.edu: rohrer owned process doing
  -bs
Date: Mon, 13 Aug 2001 11:58:18 -0700 (PDT)
From: Matt Rohrer <rohrer at pdx.edu>
X-X-Sender: <rohrer at svalin.oit.pdx.edu>
To: <samba at lists.samba.org>
Subject: a chown equivalent w/smbclient
Message-ID: <Pine.GSO.4.33.0108131152250.13187-100000 at svalin.oit.pdx.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/

Hey all,

I'm working on an account-creation system that creates an account on
our unix machines as well as an Active Directory account. It runs on
our sun boxes and speaks LDAP over SSL to create the AD account.
That's working fine, now my problem is making a home directory in
windows land. It looks like I can use smbclient to make the folder and
assign it the right permissions, but then I need to "chown" it over to
the user. It doesn't look like this is possible using smbclient.

Am I wrong?

Is there another way to go about this (other than code on the
windows side) ?

Thanks,

- Matt
--
Matt Rohrer     rohrer at pdx.edu
Portland State University
Computing and Network Services
UNIX Group        503.725.3369

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at lists.samba.org
Received: from dc-mx08.cluster1.charter.net
  (dc-mx08.cluster0.hsacorp.net [209.225.8.18]) by lists.samba.org
  (Postfix) with ESMTP id 9E750598C for <samba at lists.samba.org>; Mon, 13
  Aug 2001 12:05:42 -0700 (PDT)
Received: from [24.216.84.59] (HELO pogo.plainjoe.org) by
  dc-mx08.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP
  id 19751584; Mon, 13 Aug 2001 15:16:16 -0400
Date: Mon, 13 Aug 2001 14:12:25 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: "Santomauro, Deborah" <deborah.santomauro at lmco.com>
Cc: "Samba Group (E-mail)" <samba at lists.samba.org>
Subject: Re: Adding Users - SWAT Problem (newbie)
In-Reply-To: <784F51866054D4118E8A00508BDF581A06561876 at emss02m02.ems.lmc
  o  .com>
Message-ID: <Pine.LNX.4.33.0108131411390.11464-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, 8 Aug 2001, Santomauro, Deborah wrote:

> Whenever I try to add a user, I receive the following:
> Using Unix account login and password:
> make_sam_from_nisresult: NIS+ lookup failure: Database for table does not
> exist. Failed to add entry for user joeuser. Failed to modify password entry
> for user joeuser.

Don't use --with-nisplus when running configure.  It is now unsupported
and will be removed in 2.2.2.  It doesn't dow what you think anyways.




cheers, jerry
SAMBA Team

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at lists.samba.org
Received: from dc-mx05.cluster1.charter.net
  (dc-mx05.cluster0.hsacorp.net [209.225.8.15]) by lists.samba.org
  (Postfix) with ESMTP id 81C2D599C for <samba at lists.samba.org>; Mon, 13
  Aug 2001 12:07:47 -0700 (PDT)
Received: from [24.216.84.59] (HELO pogo.plainjoe.org) by
  dc-mx05.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP
  id 21781651; Mon, 13 Aug 2001 15:17:23 -0400
Date: Mon, 13 Aug 2001 14:14:30 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: "Michels, Gustavo [EES/BR]" <gustavo.michels at emersonenergy.com>
Cc: <samba at lists.samba.org>, <pegr at gmx.net>
Subject: RE: compiling: --with-pam / --with-pam_smbpass
In-Reply-To: <7F0147C496F3D411813C0002B32BF1CCF99F18 at eesekkex001.kkekant
  .  ericsson.se>
Message-ID: <Pine.LNX.4.33.0108131414090.11464-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Fri, 10 Aug 2001, Michels, Gustavo [EES/BR] wrote:

> Hi,
>
> Uhhh, I really don't know what smb-pass is for, but I know you can configure
> using --with-pam and not using --with-pam-smbpass, as I have my server setup
> here, using winbind through pam.

Check out the README.smbpass in the docs directory.



cheers, jerry

Return-Path: <gustavo.michels at emersonenergy.com>
Delivered-To: samba at lists.samba.org
Received: from ukproxy1.emrsn.co.uk (smtpmail.emrsn.co.uk
  [194.202.166.141]) by lists.samba.org (Postfix) with ESMTP id
  94D105B77 for <samba at lists.samba.org>; Mon, 13 Aug 2001 13:48:55 -0700
  (PDT)
Received: from etstest01.emrsn.co.uk ([129.76.102.20]) by
  ukproxy1.emrsn.co.uk (8.9.3/8.9.3) with SMTP id UAA10115 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 20:25:17 +0200
Received: from 129.254.5.5 by etstest01.emrsn.co.uk (InterScan E-Mail
  VirusWall NT); Mon, 13 Aug 2001 21:54:13 +0100 (GMT Daylight Time)
Received: from mxsemeacn2.emrsn.co.uk (mxsemeacn2.emrsn.co.uk
  [129.254.5.203]) by etsdns2.emrsn.co.uk (8.9.3/8.9.3) with ESMTP id
  VAA22866 for <samba at lists.samba.org>; Mon, 13 Aug 2001 21:53:44 GMT
Received: by mxsemeacn2.emrsn.co.uk with Internet Mail Service
  (5.5.2653.19) id <Q6F5P12Q>; Mon, 13 Aug 2001 21:53:20 +0100
Message-ID: <7F0147C496F3D411813C0002B32BF1CCF9A28C at eesekkex001.kkekant.
  ericsson.se>
From: "Michels, Gustavo [EES/BR]" <gustavo.michels at emersonenergy.com>
To: samba at lists.samba.org
Subject: Local Master and Domain Master
Date: Mon, 13 Aug 2001 21:52:04 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi!

Just wondering: I have a NT PDC and a samba 2.2.1a domain member server in
the same subnet. Can I set the samba server as a local master browser? Would
it cause me any problems?

Cheers
Gustavo

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 D635C435A
  for <samba at samba.org>; Mon, 13 Aug 2001 12:55:57 -0700 (PDT)
Received: from fw.teststation.com (fw.teststation.com [212.32.186.210])
  by fungus.teststation.com (8.11.2/8.11.2) with SMTP id f7DJxt319108;
  Mon, 13 Aug 2001 21:59:55 +0200
Received: from COLA by fw.teststation.com via smtpd (for
  fungus.teststation.com [212.32.186.211]) with SMTP; 13 Aug 2001
  19:34:12 UT
Date: Mon, 13 Aug 2001 21:59:55 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Jurgen Kobierczynski <JKobierczynski at sdlintl.com>
Cc: "'samba at samba.org'" <samba at samba.org>
Subject: RE: Samba 2.0.7 on RedHat 7.1 hangs Linux
In-Reply-To: <9795AAEF1C0AD511908F0060085FD4463212EF at belxch1.traffic.be>
Message-ID: <Pine.LNX.4.30.0108132120110.3502-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 Mon, 13 Aug 2001, Jurgen Kobierczynski wrote:

> This is a smbfs/smbmount client on a NT network that lockup the linux
> system. No special configuration on the samba client was done. Actually, I
> have 2 RedHat 7.1 systems, who behave in the same way. I've also upgraded
> samba on the machines to the latest and the problem is still there. 

You confused me with mixing smbmount and then saying that samba made the
machine lock up. Have you tried upgrading the kernel?

smbmount is not that different between RedHat's samba-2.0.7 and the samba
team's samba 2.2.1 (smbmount patches that went in 2.2.0 are already in RH
samba 2.0.7).

> http://faqchest.dynhost.com/linux/samba-l/smb-01/smb-0103/smb01030112_17460.
> html

That problem is the good old "smb_retry: signal failed, error=-3" problem.
I have seen and fixed a few causes, but apparently he had a different way
of causing it. Which is why I asked for more info (if you read all of it).
IIRC, I never got an answer to that ... :(

The page doesn't mention anything about that person getting kernel level
lockups. Or am I blind?

> On booth system runs kernel 2.4.2-2 from RedHat 7.1
> 
> is this caused by the kernelmodule for the smbfs?

Most likely.

smbfs in 2.4.2, and RH 2.4.2-2 as well I believe, has a nasty bug where it
would corrupt the dcache lists which would lead to a total lockup. That
was fixed in 2.4.3, so upgrade the kernel.

I had forgotten that I fixed that bug (which I copied from ncpfs :). Also,
not enough people have managed to get these lockups on 2.4.2-2 for it to
become my standard answer when people use that version ...

RedHat's 2.4.3-12 is for smbfs the same as 2.4.4-ac10, and the changes
after that are small. So either get that one, or 2.4.8.

/Urban

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from palrel1.hp.com (palrel1.hp.com [156.153.255.242]) by
  lists.samba.org (Postfix) with ESMTP id A9C1A58B3 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 13:00:21 -0700 (PDT)
Received: from xparelay2.corp.hp.com (unknown [15.58.137.112]) by
  palrel1.hp.com (Postfix) with ESMTP id 507091498; Mon, 13 Aug 2001
  13:04:17 -0700 (PDT)
Received: from xpabh4.corp.hp.com (xpabh4.corp.hp.com [15.58.136.1]) by
  xparelay2.corp.hp.com (Postfix) with ESMTP id 4C7101F54A; Mon, 13 Aug
  2001 13:04:15 -0700 (PDT)
Received: by xpabh4.corp.hp.com with Internet Mail Service (5.5.2653.19)
  id <QRC5380L>; Mon, 13 Aug 2001 13:04:15 -0700
Message-ID: <079FD72E42C9D311B854009027650E6F0758EFAE at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Jeremy Allison' <jeremy at valinux.com>, "MCCALL,DON (HP-USA,ex1)"
  <don_mccall at hp.com>
Cc: "'reinout.wijnveen at philips.com'" <reinout.wijnveen at philips.com>,
  reinout.wijnveen at wanadoo.nl, samba at lists.samba.org
Subject: RE: Locking issues with HP-UX 11.00
Date: Mon, 13 Aug 2001 13:04:05 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Jeremy,
I may have the answer to this.  I modified a  quick test program (I had been
using for another issue) where /borsdump  is an nfs mounted volume,and
compiled and ran it on a 64bit wide HPUX 11.x system, and what I find is
that HPUX is not returning a EFBIG error when I do an fcntl lock, or an
lseek64.  It only fails with EFBIG when I actually try to WRITE to the
file...
So I expect that Samba is not falling back to the 31bit lock request... (or
I'm doing something stupid in my test program ,always a possibility ;->)
Even more telling, the code indicates that a debug statement should indicate
this fallback at level 8...  Are you seeing this, Reinout?

The program is as follows:

#include <stdio.h>
#include <errno.h>
#include <sys/fcntl.h>
#define BUFSIZE 512
#define PMODE 0644

main(argc,argv)
int argc;
char *argv[];
{
        int f1, f2, f3, n, i, count;
        char buf[BUFSIZE];
        char a;
        char temp;
        struct flock64 lock;

        if ((f2 = open("/borsdumps/BWserver2.txt",O_RDWR|O_CREAT,0666)) ==
-1)
                printf("display: can't create file BWServer2.txt,errno =
%d\n",e
rrno);

                lock.l_type = F_WRLCK;
                lock.l_whence = SEEK_SET;
                lock.l_start = 4294901760;
                lock.l_len = 65535;
                lock.l_pid = getpid();
                lock.l_type = F_WRLCK;
              if (fcntl(f2, F_SETLK64, lock) == -1)
                printf("display: can't lock file BWServer2.txt,errno =
%d\n",err
no);
                if (lseek64(f2,4292901760,65535) == -1)
                printf("display: can't lseek file BWServer2.txt,errno =
%d\n",er
rno);
                if (write(f2,"line of text\n",15) == -1)
                printf("display: can't write file BWServer2.txt,errno =
%d\n",er
rno);

        printf("hit return to end program\n");
        scanf("%c",&temp);

}

I'll look into this; our man page for fcntl doesn't mention EFBIG as a
possible error return.

Hope this helps,
Don


Jeremy wrote>>>

If you compile samba on a 64-bit capable platform
Samba will configure itself to issue 64 bit lock
requests on all filesystems it exports.

If these include nfs v2 and the kernel issues an
EFBIG error (ie. out of 31 bit range) then Samba
will truncate the lock request to 31 bits and
try again.

Add the following patch to determine why the lock
requests are failing (adds printing of errno to
lock fail messages).

Jeremy.

Index: locking/posix.c
===================================================================
RCS file: /data/cvs/samba/source/locking/posix.c,v
retrieving revision 1.19.4.6
diff -u -r1.19.4.6 posix.c
--- locking/posix.c	2 Jul 2001 02:42:16 -0000	1.19.4.6
+++ locking/posix.c	13 Aug 2001 17:56:20 -0000
@@ -1123,8 +1123,8 @@
 			posix_lock_type_name(posix_lock_type),
(double)offset, (double)count ));
 
 		if
(!posix_fcntl_lock(fsp,SMB_F_SETLK,offset,count,posix_lock_type)) {
-			DEBUG(5,("set_posix_lock: Lock fail !: Type = %s:
offset = %.0f, count = %.0f\n",
-				posix_lock_type_name(posix_lock_type),
(double)offset, (double)count ));
+			DEBUG(5,("set_posix_lock: Lock fail !: Type = %s:
offset = %.0f, count = %.0f. Errno = %s\n",
+				posix_lock_type_name(posix_lock_type),
(double)offset, (double)count, strerror(errno) ));
 			ret = False;
 			break;
 		}
@@ -1206,7 +1206,7 @@
 
 	if (num_overlapped_entries > 0 && deleted_lock.lock_type == F_WRLCK)
{
 		if (!posix_fcntl_lock(fsp,SMB_F_SETLK,offset,count,F_RDLCK))
{
-			DEBUG(0,("release_posix_lock: downgrade of lock
failed !\n"));
+			DEBUG(0,("release_posix_lock: downgrade of lock
failed with error %s !\n", strerror(errno) ));
 			return False;
 		}
 	}

Return-Path: <nawasthi at vanguardsolutions.com>
Delivered-To: samba at lists.samba.org
Received: from vh2.forward.net (vh2.forward.net [209.0.136.65]) by
  lists.samba.org (Postfix) with ESMTP id A395D5B51; Mon, 13 Aug 2001
  13:27:26 -0700 (PDT)
Received: from vanguardspare (800roos160.stservice.net [63.208.74.160]
  (may be forged)) by vh2.forward.net (8.9.3/8.9.3) with SMTP id
  PAA18374; Mon, 13 Aug 2001 15:22:00 -0500
From: "Nawasthi" <nawasthi at vanguardsolutions.com>
To: <samba at lists.samba.org>
Cc: <samba-technical at lists.samba.org>
Subject: Help !!! Can`t connect to internet using LINUX machine
Date: Mon, 13 Aug 2001 15:27:51 -0500
Message-ID: <001f01c12436$71935740$53c8a8c0 at vanguardspare>
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)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi guys...

Only problem right now with me after successfully
configuring Samba and windows is that.

I cannot access internet from LINUX machine.

It was working fine when I installed Linux and configured it to windows
but after some time I don`t know when Internet access
started getting "Network error occurred. unable to connect to server(TCP
Error: Network is unreachable)"

If anyone have a wonderful ideas about how to fix it please
mail me at nawasthi at vanguardsolutions.com

I can access any machine within the network but no machine outside the
network
(using Netscape navigator on the Linux machine)

Thanks everone
Nishant

Return-Path: <gustavo.michels at emersonenergy.com>
Delivered-To: samba at lists.samba.org
Received: from ukproxy1.emrsn.co.uk (smtpmail.emrsn.co.uk
  [194.202.166.141]) by lists.samba.org (Postfix) with ESMTP id
  E2BF55A20 for <samba at lists.samba.org>; Mon, 13 Aug 2001 13:38:39 -0700
  (PDT)
Received: from viruswall1.emrsn.co.uk (viruswall1.emrsn.co.uk
  [129.254.5.225] (may be forged)) by ukproxy1.emrsn.co.uk (8.9.3/8.9.3)
  with SMTP id UAA09772 for <samba at lists.samba.org>; Mon, 13 Aug 2001
  20:15:02 +0200
Received: from 129.254.5.5 by viruswall1.emrsn.co.uk (InterScan E-Mail
  VirusWall NT); Mon, 13 Aug 2001 21:40:31 +0100 (GMT Daylight Time)
Received: from mxsemeacn1.emrsn.co.uk (mxsemeacn1.emrsn.co.uk
  [129.254.5.202]) by etsdns2.emrsn.co.uk (8.9.3/8.9.3) with ESMTP id
  VAA22493 for <samba at lists.samba.org>; Mon, 13 Aug 2001 21:43:30 GMT
Received: by mxsemeacn1.emrsn.co.uk with Internet Mail Service
  (5.5.2653.19) id <Q37BRH2K>; Mon, 13 Aug 2001 21:42:13 +0100
Message-ID: <7F0147C496F3D411813C0002B32BF1CCF9A286 at eesekkex001.kkekant.
  ericsson.se>
From: "Michels, Gustavo [EES/BR]" <gustavo.michels at emersonenergy.com>
To: samba at lists.samba.org
Subject: Browsing with WINS - please help
Date: Mon, 13 Aug 2001 21:41:37 +0100
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello!

Maybe you can help me with a weird problem I am having trying to setup
netbios name resolution inside my samba linux box. Here is my setup:

- Samba cvs cource, branch SAMBA_2_2 (this morning)
- Red Hat Linux 7.1, default kernel (2.4.2-2)

The samba server is supposed to be a member server in an existing NT domain,
serving file and print services. I am using winbind to authenticate the
users with my NT PDC.

The problem is I am not being able to resolve netbios names from the linux
box. First, some background:

- config/compile/install are all ok. I have also compiled
nsswitch/libnss_wins.so and followed the steps in the docs. I am sure all
steps covered by the docs have been done.
- at first, winbind wouldn't work. It wasn't finding the domain controller
for my domain. After some playing with smb.conf, I realized the problem was
in the 'name resolve order' entry in smb.conf. After changing it to 'name
resolve order = bcast wins', winbind worked. (actually it seemed to be
finding the dc, but for some strange reason the logs said it wasn't. Well,
the name and ip to be found were there. If needed, I can show some logs
about this).

Ok, now the netbios name resolution. In /etc/nsswitch.conf I have 'hosts =
dns files wins'. If I try to ping a server that is not in my current subnet
and dns server, I get this result:

[root at splus001 var]# ping eesekknt001
ERROR: Badly formed boolean in configuration file: "@"EERDBR001\Domain
Admins" @
ENERGYMD\BRSPE-EI-dep-C".
ERROR: Badly formed boolean in configuration file: "@"ENERGYMD\Domain
Guests"".
load_client_codepage: filename /usr/local/samba/lib/codepages/codepage.000
does
not exist.
ERROR: Badly formed boolean in configuration file: "bcast wins".
ERROR: Badly formed boolean in configuration file: "/usr/sbin/lpc -P%p
start". Segmentation fault (core dumped)
[root at splus001 var]#

Log.nmbd does not show anything about this. It won't even notice I tried to
do a netbios name lookup (I am using debug level = 2, I also tried 3).

If I try this:

[root at splus001 var]# nmblookup -R -U 136.225.168.10 spntwgumh
INFO: Debug class all level = 2   (pid 1165 from pid 1165)
added interface ip=172.18.9.111 bcast=172.18.9.255 nmask=255.255.255.0
querying spntwgumh on 136.225.168.10
Got a positive name query response from 136.225.168.10 ( 172.18.10.55 )
172.18.10.55 spntwgumh<00>

That ip (136.225...) is the WINS server and it is in the 'wins server' entry
in smb.conf. The client spntwgumh is my computer. The samba server is in
another subnet (172.18.9.111).

Anyone could bring me some light in this? I really don't know what to do,
I've read the docs (BROWSING.txt and BROWSING-Config.txt) and searched the
archives but they don't say anything about this.

Also, I put here the relevant parts of log.nmbd, where the server register
itself in its current subnet, in UNICAST_SUBNET and REMOTE_ANNOUNCE_SUBNET,
using debug level =3. 

PS: All name requests from other servers requests are being directed to this
REMOTE_ANNOUNCE_SUBNET, like the example I below. There are 3 tries for each
request (I saw in the docs it would try for 3 times before giving up). I
couldn't find any documentation for REMOTE_ANNOUNCE_SUBNET and I don't know
what it does nor how to change anything with it.

[2001/08/13 17:16:57, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request
(480)
  process_name_query_request: Name query from 172.18.11.101 on subnet
REMOTE_BRO
ADCAST_SUBNET for name E00D0591269F5<00>
[2001/08/13 17:16:57, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request
(480)
  process_name_query_request: Name query from 172.18.11.101 on subnet
REMOTE_BRO
ADCAST_SUBNET for name E00D0591269F5<00>
[2001/08/13 17:16:58, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request
(480)
  process_name_query_request: Name query from 172.18.11.101 on subnet
REMOTE_BRO
ADCAST_SUBNET for name E00D0591269F5<00>
[2001/08/13 17:17:00, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request
(480)

Thank you for ANY information you may give... :)

Cheers
Gustavo

And here is a snip of nmbd.log. I hope my mail client doesn't screw it :)

[2001/08/13 17:16:44, 3] nmbd/nmbd.c:open_sockets(541)
  open_sockets: Broadcast sockets opened.
[2001/08/13 17:16:44, 2] lib/interface.c:add_interface(85)
  added interface ip=172.18.9.111 bcast=172.18.9.255 nmask=255.255.255.0
[2001/08/13 17:16:44, 3] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 137
[2001/08/13 17:16:44, 3] lib/util_sock.c:open_socket_in(832)
  bind succeeded on port 138
[2001/08/13 17:16:44, 2] nmbd/nmbd_subnetdb.c:make_subnet(195)
  making subnet name:172.18.9.111 Broadcast address:172.18.9.255 Subnet
mask:255
.255.255.0
[2001/08/13 17:16:44, 2] nmbd/nmbd_subnetdb.c:make_subnet(195)
  making subnet name:UNICAST_SUBNET Broadcast address:136.225.168.10 Subnet
mask
:136.225.168.10
[2001/08/13 17:16:44, 2] nmbd/nmbd_subnetdb.c:make_subnet(195)
  making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0
Subnet ma
sk:0.0.0.0
[2001/08/13 17:16:44, 3] nmbd/nmbd.c:main(848)
  Loaded hosts file
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name *<00> with first IP 172.18.9.111
ttl=0
nb_flags=40 to subnet 172.18.9.111
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name *<20> with first IP 172.18.9.111
ttl=0
nb_flags=40 to subnet 172.18.9.111
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP
172.18.9.11
1 ttl=0 nb_flags=40 to subnet 172.18.9.111
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP
172.18.9.11
1 ttl=0 nb_flags=40 to subnet 172.18.9.111
[2001/08/13 17:16:44, 3]
nmbd/nmbd_serverlistdb.c:create_server_on_workgroup(172
)
  create_server_on_workgroup: Created server entry SPLUS001 of type 40009b23
(Fi
le and Print Server (2.2.1)) on workgroup EERDBR001.
[2001/08/13 17:16:44, 3]
nmbd/nmbd_workgroupdb.c:initiate_myworkgroup_startup(27
2)
  initiate_myworkgroup_startup: Added server name entry SPLUS001 on subnet
172.1
8.9.111
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name *<00> with first IP 172.18.9.111
ttl=0
nb_flags=40 to subnet UNICAST_SUBNET
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name *<20> with first IP 172.18.9.111
ttl=0
nb_flags=40 to subnet UNICAST_SUBNET
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP
172.18.9.11
1 ttl=0 nb_flags=40 to subnet UNICAST_SUBNET
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP
172.18.9.11
1 ttl=0 nb_flags=40 to subnet UNICAST_SUBNET
[2001/08/13 17:16:44, 3]
nmbd/nmbd_serverlistdb.c:create_server_on_workgroup(172
)
  create_server_on_workgroup: Created server entry SPLUS001 of type 40009b23
(Fi
le and Print Server (2.2.1)) on workgroup EERDBR001.
[2001/08/13 17:16:44, 3]
nmbd/nmbd_workgroupdb.c:initiate_myworkgroup_startup(27
2)
  initiate_myworkgroup_startup: Added server name entry SPLUS001 on subnet
UNICA
ST_SUBNET
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name *<00> with first IP 172.18.9.111
ttl=0
nb_flags=40 to subnet REMOTE_BROADCAST_SUBNET
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name *<20> with first IP 172.18.9.111
ttl=0
nb_flags=40 to subnet REMOTE_BROADCAST_SUBNET
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name __SAMBA__<20> with first IP
172.18.9.11
1 ttl=0 nb_flags=40 to subnet REMOTE_BROADCAST_SUBNET
[2001/08/13 17:16:44, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name __SAMBA__<00> with first IP
172.18.9.11
1 ttl=0 nb_flags=40 to subnet REMOTE_BROADCAST_SUBNET
[2001/08/13 17:16:44, 3]
nmbd/nmbd_sendannounce.c:send_host_announcement(217)
  send_host_announcement: type 9b23 for host SPLUS001 on subnet 172.18.9.111
for
 workgroup EERDBR001
[2001/08/13 17:16:44, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request
(480)
  process_name_query_request: Name query from 172.18.9.111 on subnet
172.18.9.11
1 for name EERDBR001<1c>
[2001/08/13 17:16:45, 3]
nmbd/nmbd_incomingrequests.c:process_name_query_request
(480)
  process_name_query_request: Name query from 172.18.9.111 on subnet
172.18.9.11
1 for name EEBRSPNT001<20>
[2001/08/13 17:16:45, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name SPLUS001<20> with first IP
172.18.9.111
 ttl=518400 nb_flags=40 to subnet UNICAST_SUBNET
[2001/08/13 17:16:45, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name EERDBR001<00> with first IP
172.18.9.11
1 ttl=518400 nb_flags=c0 to subnet UNICAST_SUBNET
[2001/08/13 17:16:45, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name SPLUS001<03> with first IP
172.18.9.111
 ttl=518400 nb_flags=40 to subnet UNICAST_SUBNET
[2001/08/13 17:16:45, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name EERDBR001<1e> with first IP
172.18.9.11
1 ttl=518400 nb_flags=c0 to subnet UNICAST_SUBNET
[2001/08/13 17:16:45, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name SPLUS001<00> with first IP
172.18.9.111
 ttl=518400 nb_flags=40 to subnet UNICAST_SUBNET
[2001/08/13 17:16:49, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name SPLUS001<20> with first IP
172.18.9.111
 ttl=0 nb_flags=40 to subnet 172.18.9.111
[2001/08/13 17:16:49, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name SPLUS001<03> with first IP
172.18.9.111
 ttl=0 nb_flags=40 to subnet 172.18.9.111
[2001/08/13 17:16:49, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name SPLUS001<00> with first IP
172.18.9.111
 ttl=0 nb_flags=40 to subnet 172.18.9.111
[2001/08/13 17:16:49, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name EERDBR001<00> with first IP
172.18.9.11
1 ttl=0 nb_flags=c0 to subnet 172.18.9.111
[2001/08/13 17:16:49, 3] nmbd/nmbd_namelistdb.c:add_name_to_subnet(243)
  add_name_to_subnet: Added netbios name EERDBR001<1e> with first IP
172.18.9.11
1 ttl=0 nb_flags=c0 to subnet 172.18.9.111
[2001/08/13 17:16:52, 3] nmbd/nmbd_serverlistdb.c:write_browse_list(458)
  write_browse_list: Wrote browse list into file
/usr/local/samba/var/locks/brow
se.dat

Return-Path: <luridBlack at satx.rr.com>
Delivered-To: samba at lists.samba.org
Received: from sm14.texas.rr.com (sm14.texas.rr.com [24.93.35.41]) by
  lists.samba.org (Postfix) with ESMTP id F08F8586A for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 13:50:31 -0700 (PDT)
Received: from jason (cs162170-105.satx.rr.com [24.162.170.105]) by
  sm14.texas.rr.com (8.12.0.Beta16/8.12.0.Beta16) with SMTP id
  f7DL1OXD030723 for <samba at lists.samba.org>; Mon, 13 Aug 2001 16:01:24
  -0500
Message-ID: <001c01c12439$ff3fed80$0400a8c0 at jason>
From: ")ason" <luridBlack at satx.rr.com>
To: <samba at lists.samba.org>
Subject: samba and printing: "tree connect failed"
Date: Mon, 13 Aug 2001 15:53:23 -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/

When I try to access my printer via smbclient, I get an error message like:

#>smbclient //Lserver/lPrinter -P
added interface ip=[censored] bcast=24.162.171.255 nmask=255.255.254.0
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
Got a positive name query response from (ip addy)
Password:
Anonymous login successful
Domain=[N-AMERICA] OS=[Unix] Server=[Samba 2.0.7]
tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree
connec
t.)
#>

Invalid network name? What should I do?

my smb.conf includes:
[lPrinter]
	comment = a printer
	path = /var/spool/lpd/lPrinter
	guest ok = Yes
	printable = Yes
	printing = lprng
	printer = lPrinter

Return-Path: <deborah.santomauro at lmco.com>
Delivered-To: samba at lists.samba.org
Received: from mailgw1a.lmco.com (mailgw1a.lmco.com [192.31.106.7]) by
  lists.samba.org (Postfix) with ESMTP id 719815B4E for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 14:12:57 -0700 (PDT)
Received: from emss02g01.ems.lmco.com (relay2.ems.lmco.com
  [166.29.2.54]) by mailgw1a.lmco.com (8.8.8/8.8.8) with ESMTP id
  PAA14172; Mon, 13 Aug 2001 15:16:54 -0600 (MDT)
Received: from CONVERSION-DAEMON by lmco.com (PMDF V5.2-33 #38887) id
  <0GI000M01Z43PX at lmco.com>; Mon, 13 Aug 2001 15:16:53 -0600 (MDT)
Received: from emss02i00.ems.lmco.com ([166.29.2.48]) by lmco.com (PMDF
  V5.2-33 #38887) with ESMTP id <0GI000L4JZ3YT2 at lmco.com>; Mon, 13 Aug
  2001 15:16:46 -0600 (MDT)
Received: by emss02i00.ems.lmco.com with Internet Mail Service
  (5.5.2653.19)	id <QYR27HSM>; Mon, 13 Aug 2001 15:17:52 -0600
Content-return: allowed
Date: Mon, 13 Aug 2001 15:17:50 -0600
From: "Santomauro, Deborah" <deborah.santomauro at lmco.com>
Subject: RE: Adding Users - SWAT Problem (newbie)
To: "'Gerald Carter'" <gcarter at valinux.com>
Cc: "Samba Group (E-mail)" <samba at lists.samba.org>, "SOLARIS-L (E-mail)"
  <SOLARIS-L at OPENITX.COM>
Message-id: <784F51866054D4118E8A00508BDF581A065618B2 at emss02m02.ems.lmco
  .com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

okay I've tried using "smbpasswd -a" method and it failed so then I tried
via SWAT and still received a message "Failed to add entry for user ....".
Maybe "smbpasswd" is trying to look for the user's Unix account info. from
the default /etc/passwd file. In NIS+, this is not used - what is used is
the "passwd.org_dir' table. It appears that Samba and NIS+ are not talking
to each other. Therefore my question is....is there a way of "pre-defining"
where I want "smbpasswd" to pull this information? I understand that
"nisplus" is no longer supported, but that is what I have to use on my
system and the users are demanding that Samba also be included. Can't the
two play well with each other?

thanks,
Deborah

-----Original Message-----
From: Gerald Carter [mailto:gcarter at valinux.com]
Sent: Monday, August 13, 2001 1:12 PM
To: Santomauro, Deborah
Cc: Samba Group (E-mail)
Subject: Re: Adding Users - SWAT Problem (newbie)


On Wed, 8 Aug 2001, Santomauro, Deborah wrote:

> Whenever I try to add a user, I receive the following:
> Using Unix account login and password:
> make_sam_from_nisresult: NIS+ lookup failure: Database for table does not
> exist. Failed to add entry for user joeuser. Failed to modify password
entry
> for user joeuser.

Don't use --with-nisplus when running configure.  It is now unsupported
and will be removed in 2.2.2.  It doesn't dow what you think anyways.




cheers, jerry
SAMBA Team

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 AB87C5B64 for <samba at lists.samba.org>; Mon, 13
  Aug 2001 14:16:16 -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 18412876; Mon, 13 Aug 2001 17:26:54 -0400
Date: Mon, 13 Aug 2001 16:22:58 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: "Santomauro, Deborah" <deborah.santomauro at lmco.com>
Cc: "Samba Group (E-mail)" <samba at lists.samba.org>, "SOLARIS-L (E-mail)"
  <SOLARIS-L at OPENITX.COM>
Subject: RE: Adding Users - SWAT Problem (newbie)
In-Reply-To: <784F51866054D4118E8A00508BDF581A065618B2 at emss02m02.ems.lmc
  o.com>
Message-ID: <Pine.LNX.4.33.0108131620390.11464-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Mon, 13 Aug 2001, Santomauro, Deborah wrote:

> okay I've tried using "smbpasswd -a" method and it failed so then I tried
> via SWAT and still received a message "Failed to add entry for user ....".
> Maybe "smbpasswd" is trying to look for the user's Unix account info. from
> the default /etc/passwd file. In NIS+, this is not used - what is used is
> the "passwd.org_dir' table. It appears that Samba and NIS+ are not talking
> to each other. Therefore my question is....is there a way of "pre-defining"
> where I want "smbpasswd" to pull this information? I understand that
> "nisplus" is no longer supported, but that is what I have to use on my
> system and the users are demanding that Samba also be included. Can't the
> two play well with each other?

Deborah,

The misconception is that --with-nisplus is needed for NIS+ passwd maps.
the --with-nisplus option is to store smbpasswd as a NIS+ table.
You should be able to do a getpwnam() can return a user from the NIS+
passwd table (see /etc/nsswithch,conf).  smbpasswd(8) requires that the
user to be added to the smbpasswd(5) file exists in the system list of
accounts.

Does this make sense?








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: <fredb at life-link.com>
Delivered-To: samba at lists.samba.org
Received: from cobalt.life-link.com (LIFE-LINK.LIFE-LINK.COM
  [216.67.165.2]) by lists.samba.org (Postfix) with ESMTP id DEB745ADE
  for <samba at lists.samba.org>; Mon, 13 Aug 2001 14:31:55 -0700 (PDT)
Received: from fredb.life-link.com (fredb.life-link.com [198.60.17.143])
  by cobalt.life-link.com (8.9.3/8.9.3) with ESMTP id PAA01487 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 15:35:48 -0600
Message-Id: <5.1.0.14.2.20010813154705.00a13c90 at 198.60.17.109>
X-Sender: fredb at 198.60.17.109
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 13 Aug 2001 15:54:02 -0600
To: samba at lists.samba.org
From: Fred Bowditch <fredb at life-link.com>
Subject: Print to disk and not printer
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have samba set up on a computer running HPUX and wish to print to the C:\ 
drive on a NT server running 4.0.
I have set up a printer that prints to file on the NT server and this 
works. However, when I prompt the print job the NT server asks for "Output 
file name". I would like to be able to send the "Output file name" with the 
print job. How should this be done?
Thank You,
Fred

Return-Path: <edror at panasas.com>
Delivered-To: samba at lists.samba.org
Received: from PIKES.panasas.com (gw2.panasas.com [65.194.124.178]) by
  lists.samba.org (Postfix) with ESMTP id EDCCF4D47 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 14:39:19 -0700 (PDT)
Received: from GORSUCH (dynamic-w-223.panasas.com [172.17.132.223]) by
  PIKES.panasas.com with SMTP (Microsoft Exchange Internet Mail Service
  Version 5.5.2653.13) id QCJ6VRP9; Mon, 13 Aug 2001 17:43:17 -0400
Reply-To: <edror at panasas.com>
From: "Ephi Dror" <edror at panasas.com>
To: "Samba (E-mail)" <samba at lists.samba.org>
Subject: Join a domain without creating machine account?
Date: Mon, 13 Aug 2001 14:43:14 -0700
Message-ID: <000701c12440$f55a3080$df8411ac at GORSUCH>
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.2911.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 All
Is there a way for a SAMBA server to create a machine account for itself on
the NT domain? or it must be done manually using  Server Manager for Domains
?
In order for this method to work the Samba server needs to join the MS
Windows NT security domain. This is done as follows:
On the MS Windows NT domain controller using the Server Manager add a
machine account for the Samba server.
Next, on the Linux system execute: smbpasswd -r PDC_NAME -j DOMAIN_NAME

Reading collection of HOWTOs 7.1 it says:
"There is existing development code to join a domain without having to
create the machine trust account on the PDC beforehand. This code will
hopefully be available soon in release branches as well.
"
Is this done already?
Thanks a lot for any information.
Ephi.

Return-Path: <andrew 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 9131747EC for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 14:43:34 -0700 (PDT)
Received: from andrew ([210.8.148.28]) by www.ivt.com.au (8.11.0/8.11.0)
  with SMTP id f7E8mDH13673 for <samba at lists.samba.org>; Tue, 14 Aug
  2001 18:48:13 +1000
Message-ID: <003d01c12442$16c168a0$1c9408d2 at andrew>
From: "IVT" <andrew at ivt.com.au>
To: <samba at lists.samba.org>
References: <Pine.LNX.4.33.0108131411390.11464-100000 at pogo.plainjoe.org>
Subject: Logging into Samba from Dialup User 
Date: Tue, 14 Aug 2001 07:51:20 +1000
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2615.200
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/

Trying to setup a Samba server for dialup modem users (no perm IP address).
Connection time seems to be excessive (approx 50-60sec) - same also occurs
when logging shares. Has anyone seen this problem and knpw how to fix it?

Thanks,
Andrew Minett

Return-Path: <barry at arhosting.com>
Delivered-To: samba at lists.samba.org
Received: from arhosting.com (arhosting.com [216.63.180.37]) by
  lists.samba.org (Postfix) with SMTP id D42CC5A86 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 14:49:04 -0700 (PDT)
Received: (qmail 30143 invoked by uid 104); 13 Aug 2001 21:20:08 -0000
Received: from barry at arhosting.com by dns1.arhosting.com with
  qmail-scanner-0.96 (uvscan: v4.1.50/v4147. . Clean. Processed in
  1.053087 secs); 13 Aug 2001 21:20:08 -0000
Received: from proxy.bryant.dsc.k12.ar.us (HELO bspiii800)
  (165.29.94.254) by arhosting.com with SMTP; 13 Aug 2001 21:20:07 -0000
From: "Barry Smoke" <barry at arhosting.com>
To: <samba at lists.samba.org>
Subject: browseable according to group?
Date: Mon, 13 Aug 2001 17:59:04 -0500
Message-ID: <IMEKIDMFAEBICGFFGJPKOEGLGMAA.barry at arhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <Pine.LNX.4.33.0108131414090.11464-100000 at pogo.plainjoe.org
  >
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

We are migrating 5 novell servers to a large dell server running samba.
We have used a lot of samba's features(%variable completion) to make this as
transparent as possible.
we have done this with server based groups...old server1 has a server1
group, and all users from that server had their primary group changed to
server1.
this allowed us to use a share with a %g path, and allow the users to only
see all the same old files that was on their old server, and none of the
files on the other 4 servers.  If we run into a large file, or directory
that is shared between the users(such as a office 2000 share) then we use
symbolic links to save disk space.

As nice as all of this is, we have run into a roadblock.  There are certain
shares, and printers that we would like to only appear in network
neighborhood for a certain group.  If a printer was on the old server1, then
we only want people that belong to server1 group to see it in network
neighborhood.
Is anyone doing this? Can someone tell me how to do this?

Thanks,
Barry Smoke
RHCE
Network Administrator
Bryant Public Schools
Bryant, AR

Return-Path: <Isaac.Williams at wmirvdev.com>
Delivered-To: samba at samba.org
Received: from wmiirvdevms.wmirvdev.com (unknown [63.203.142.123]) by
  lists.samba.org (Postfix) with ESMTP id 139325B56 for
  <samba at samba.org>; Mon, 13 Aug 2001 15:01:07 -0700 (PDT)
Received: by WMIIRVDEVMS with Internet Mail Service (5.5.2650.21) id
  <QDGRYDG4>; Mon, 13 Aug 2001 15:04:41 -0700
Message-ID: <2EFEA713482DD51185440060943F44548A5A91 at WMIIRVDEVMS>
From: Isaac Williams <Isaac.Williams at wmirvdev.com>
To: 'samba' <samba at samba.org>
Subject: Request for Help -ksamba-0.3.4
Date: Mon, 13 Aug 2001 15:04:40 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
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 multipart/alternative
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 need your help with the ksamba-0.3.4 install. I have attached a sample of
the error message that I get.

 <<Samba Make Error_081301.doc>> 

Isaac Williams
Data Center Architecture
949-833-4887

[demime 0.98b removed an attachment of type application/msword which had a name of Samba Make Error_081301.doc]

Return-Path: <dan.tappin at orourke-eng.com>
Delivered-To: samba at lists.samba.org
Received: from h-207-228-121-48.gen.cadvision.com
  (h-207-228-121-48.gen.cadvision.com [207.228.121.48]) by
  lists.samba.org (Postfix) with SMTP id 63BFF5BC7 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 15:32:31 -0700 (PDT)
Received: from 192.168.0.27 by 207.228.121.48; Mon, 13 Aug 2001 16:36:26
  -0600
Reply-To: <dan.tappin at orourke-eng.com>
From: "Dan Tappin" <dan.tappin at orourke-eng.com>
To: <samba at lists.samba.org>
Subject: Browsing Problems
Date: Mon, 13 Aug 2001 16:36:43 -0600
Message-ID: <NEBBJHEDELJOHGLFBBFFMEBECIAA.dan.tappin at orourke-eng.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <20010813191854.5E03B59F9 at lists.samba.org>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Machine: Samba 2.0.7 running on Red Hat 7.0

Problem: Unable to browse the shares

I have ~50 Win98 clients and I have only found 3 systems that have this
issue.  They are three different machines so I am pretty sure it is not a
hardware issue.

A computer search using the IP address of the Samba server results in a IP
share which works correctly.  A simple shortcut to the desktop gets the user
back up and running and accessing the shares but I would really like to
solve the bigger issue of why these machines can't see the server in the
network neighborhood.

I searched the list but I could not find a specific solution to this issue.
I have found numerous posts but none with a solution.  In my search I found
a few ideas which I tried with no luck:

 - turning on master browser status
 - running nbtstat on the clients
 - turning off ipchains on the server
 - running smbclient (the suspect machines do not show in the services
list??)

My intuition makes me think is some weird Win98 NetBios issue.

Any ideas from all you smart people on the list??

Please CC: dan.tappin at orourke-eng.com with any replies to the list (or use
reply all).

Thanks,

Dan

Return-Path: <kwillmert at visionaryweb.com>
Delivered-To: samba at lists.samba.org
Received: from epimetheus.hosting4u.net (epimetheus.hosting4u.net
  [209.15.2.70]) by lists.samba.org (Postfix) with SMTP id A0B335BA1 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 15:14:47 -0700 (PDT)
Received: (qmail 16411 invoked from network); 13 Aug 2001 22:18:46 -0000
Received: from earth.hosting4u.net (HELO visionaryweb.com) (209.15.2.7)
  by mail-gate.hosting4u.net with SMTP; 13 Aug 2001 22:18:46 -0000
Received: from cardassia ([216.241.148.10]) by visionaryweb.com ; Mon,
  13 Aug 2001 17:18:45 -0500
Message-ID: <002b01c12446$82fa0aa0$06a8a8c0 at cardassia>
From: "Konrad Willmert" <kwillmert at visionaryweb.com>
To: <samba at lists.samba.org>
Subject: samba and filenames
Date: Mon, 13 Aug 2001 17:23:00 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I have had no end to troubles with my Samba server arbitrarily changing or not
changing the case of my filenames.  I have a Samba file server sharing a
mounted FAT32 drive with the network.  I would like the server preserve the
case of files I copy move save or download.  For some reason when we download
.html files that are all lower case, they are all converted to UPPER case even
though the default case is set to lower.  This is the best configuration I
could come up with, I desparately need to get this to work right, please
help!
relevant smb.conf:
***********************
[global]
  preserve case = yes
  short preserve case = yes
# Default case is normally upper case for all DOS files
  default case = lower
# Be very careful with case sensitivity - it can break things!
  case sensitive = no
  mangle case = yes
  mixed case = yes
  mangle names = no

[share]
    comment = Server
    path = /mnt/server/
    valid users = xxx yyy zzz etc
    public = yes
    guest ok = yes
    writable = yes
    guest ok = yes
    create mask = 0777
    force create mode = 777
    force directory mode = 777
    read only = no
    browseable = yes
    locking = no
*******************************************

Konrad
---------------------------------------
Konrad Willmert
kwillmert at visionaryweb.com
Programmer - Visionary Web Design, LLC.
http://www.visionaryweb.com

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 9F64B5BA6 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 15:15:51 -0700 (PDT)
Received: from [198.144.195.74] (helo=valinux.com) by mail.valinux.com
  with asmtp  (Cipher SSLv3:RC4-MD5:128) (Exim 3.31-VA-mm2 #1 (Debian))
  id 15WQ3l-0003w3-00; Mon, 13 Aug 2001 15:19:46 -0700
Message-ID: <3B78505E.3152B24D at valinux.com>
Date: Mon, 13 Aug 2001 15:10:38 -0700
From: Jeremy Allison <jeremy at valinux.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.17 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
Cc: "'reinout.wijnveen at philips.com'" <reinout.wijnveen at philips.com>,
  reinout.wijnveen at wanadoo.nl, samba at lists.samba.org
Subject: Re: Locking issues with HP-UX 11.00
References: <079FD72E42C9D311B854009027650E6F0758EFAE at xatl02.atl.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/

"MCCALL,DON (HP-USA,ex1)" wrote:
> 
> Hi Jeremy,
> I may have the answer to this.  I modified a  quick test program (I had been
> using for another issue) where /borsdump  is an nfs mounted volume,and
> compiled and ran it on a 64bit wide HPUX 11.x system, and what I find is
> that HPUX is not returning a EFBIG error when I do an fcntl lock, or an
> lseek64.  It only fails with EFBIG when I actually try to WRITE to the
> file...
> So I expect that Samba is not falling back to the 31bit lock request... (or
> I'm doing something stupid in my test program ,always a possibility ;->)
> Even more telling, the code indicates that a debug statement should indicate
> this fallback at level 8...  Are you seeing this, Reinout?

I'll check into the large file summit paper as to
the correct error returns for 64 bit locks on a 
32 bit nfs v2 filesystem.

What errno is it returning ? Does the lock fail,
or claim to succeed ?

Jeremy.

Return-Path: <sotl155360 at earthlink.net>
Delivered-To: samba at lists.samba.org
Received: from scaup.mail.pas.earthlink.net
  (scaup.mail.pas.earthlink.net [207.217.121.49]) by lists.samba.org
  (Postfix) with ESMTP id 4BC64593D for <samba at lists.samba.org>; Mon, 13
  Aug 2001 15:36:44 -0700 (PDT)
Received: from localhost.localdomain
  (dialup-63.208.203.107.Dial1.Tampa1.Level3.net [63.208.203.107]) by
  scaup.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id PAA23969
  for <samba at lists.samba.org>; Mon, 13 Aug 2001 15:40:42 -0700 (PDT)
Content-Type: text/plain; charset="iso-8859-1"
From: Frank Roberts - SOTL <sotl155360 at earthlink.net>
To: samba at lists.samba.org
Subject: Server files not showing at workstation
Date: Mon, 13 Aug 2001 18:23:54 -0400
X-Mailer: KMail [version 1.2]
References: <001701c122d8$f9e50260$0400a8c0 at jason>
  <01081216300700.26558 at bits.linuxball>
In-Reply-To: <01081216300700.26558 at bits.linuxball>
MIME-Version: 1.0
Message-Id: <01081318235400.02034 at localhost.localdomain>
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I am very new to Samba and Networking.
I am attempting to learn networking by setting Samba up on two boxes I have 
setup on a home work bench.

First machine which my network called lan_sys_opt with address 192.168.1.1 is 
a RH 7.1 running Samba and is connected to the internal network by eth1. 
Connection to the external network is by ppp0. eth0 is not in use at this 
time.

Second machine called lan_user1 with address 192.168.1.2 is a Win 98 box.
Data files are to be stored on the RH 7.1 box on 40 GB HD.
Network is called OFFICE.LAN

Problem: 
I am not seeing a files server files in the Win 98 box.
When I click on Network Neighborhood I get:
Entire network icon and LAN_USER1.

When I click on Entire Network I get:
OFFICE.LAN

Attached is the Samba configuration file:
I would appreciate any help that you may offer.

Thanks
Frank

#==========================================================
[global]
   workgroup = OFFICE.LAN
   server string = Samba Server
   hosts allow = 192.168.1.  127.
   printcap name = /etc/printcap
   load printers = yes
   printing = lprng
  guest account = smbuser
   log file = /var/log/samba/%m.log
   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
   wins server = 192.168.1.100
   wins proxy = yes
   dns proxy = no

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

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   guest ok = yes
   printable = yes

[public]
   comment = Public
   path = /home/public
   read only = No
   writable = Yes
   printable = Yes
   create mask = 0664
   directory mask = 0775
   guest ok = yes

# Data directory
[data]
   comment = Data
   path = /home/samba/data
   read only = No
   writable = Yes
   printable = Yes
   create mask = 0660
   directory mask = 0770
   guest ok = yes
 

Return-Path: <teg at redhat.com>
Delivered-To: samba at samba.org
Received: from halden.devel.redhat.com (nat-pool-meridian.redhat.com
  [199.183.24.200]) by lists.samba.org (Postfix) with ESMTP id 3B1754E5E
  for <samba at samba.org>; Mon, 13 Aug 2001 15:41:45 -0700 (PDT)
Received: (from teg at localhost) by halden.devel.redhat.com
  (8.11.4/8.11.4) id f7DMjRO24556; Mon, 13 Aug 2001 18:45:27 -0400
X-Authentication-Warning: halden.devel.redhat.com: teg set sender to
  teg at redhat.com using -f
To: Urban Widmark <urban at teststation.com>
Cc: Jurgen Kobierczynski <JKobierczynski at sdlintl.com>,
  "'samba at samba.org'" <samba at samba.org>
Subject: Re: Samba 2.0.7 on RedHat 7.1 hangs Linux
References: <Pine.LNX.4.30.0108132120110.3502-100000 at cola.teststation.co
  m>
Organization: Red Hat, Inc.
From: teg at redhat.com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
Date: 13 Aug 2001 18:45:26 -0400
In-Reply-To: <Pine.LNX.4.30.0108132120110.3502-100000 at cola.teststation.c
  o m>
Message-ID: <xuy4rrblgu0.fsf at halden.devel.redhat.com>
Lines: 13
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.104
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/

Urban Widmark <urban at teststation.com> writes:

> smbfs in 2.4.2, and RH 2.4.2-2 as well I believe, has a nasty bug where it
> would corrupt the dcache lists which would lead to a total lockup. That
> was fixed in 2.4.3, so upgrade the kernel.

If it was in 2.4.3 and a bugfix, chances are it's present in 2.4.2-2
(it's only a 2.4.2 kernel because we applied bugfixes only for some
time...). That said, an upgrade to 2.4.3-12 is heartily recommended.

-- 
Trond Eivind Glomsrxd
Red Hat, Inc.

Return-Path: <phil at cgrg.ohio-state.edu>
Delivered-To: samba at lists.samba.org
Received: from cgrg.ohio-state.edu (mane.cgrg.ohio-state.edu
  [128.146.18.78]) by lists.samba.org (Postfix) with ESMTP id 706695A46
  for <samba at lists.samba.org>; Mon, 13 Aug 2001 15:50:41 -0700 (PDT)
Received: (from phil at localhost) by cgrg.ohio-state.edu
  (8.9.3/8.9.3/990623) id SAA25698; Mon, 13 Aug 2001 18:54:39 -0400
  (EDT)
From: Phil Ritzenthaler <phil at cgrg.ohio-state.edu>
Message-Id: <200108132254.SAA25698 at cgrg.ohio-state.edu>
Subject: upgrading from 2.0.5 to 2.2.1a problems
To: samba at lists.samba.org
Date: Mon, 13 Aug 2001 18:54:39 -0400 (EDT)
Cc: phil at mane.cgrg.ohio-state.edu (Phil Ritzenthaler)
X-Mailer: ELM [version 2.5 PL3]
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/

Systems:	Sun E250 w/Solaris 2.6 (File server)
		Sun E250 w/Solaris 2.6 (PDC)

Hello.

I am currently in the process of upgrading these 2 systems from 2.0.5 to
2.2.1a and have encountered a couple problems that I cannot figure out.

Problem #1
----------

We have roaming profiles (path=/nfs/samba/home/%U/NTProfile) for every
user.  When I switched to 2.2.1a and a user logged in, they got the Default
Profile instead of their own.  If they made changes and logged out, the
times on these 2 important files (NTUSER.DAT and ntuser.dat.LOG) would
change appropriately, but when the user logged back in, they again got the
Default Profile.  

The only Solution I could come up with was to *remove* NTUSER.DAT and
ntuser.dat.LOG, have them log in, make changes if they'd like, and then log
out.

After that, all would be well again.  It's like the NT systems didn't like
the NTUSER.DAT and ntuser.dat.LOG files written by the previous Samba.


Problem #2
----------
Both machines were configured and compiled the same:
     configure  --verbose --with-quotas

However, when I run smbpasswd, smbstatus, etc. on the PDC, I get the
following:

/usr/local/samba/bin/smbpasswd -a -m call
INFO: Debug class all level = 3   (pid 23636 from pid 23636)
Can't find include file /usr/local/samba/lib/smb.conf.
Added user call$.

or:

test smb.conf
Load smb config files from smb.conf
INFO: Debug class all level = 3   (pid 25545 from pid 25545)
Can't find include file /usr/local/samba/lib/smb.conf.
Processing section "[homes]"
Processing section "[netlogon]"
Processing section "[profile]"
Loaded services file OK.

Huh?  of course there is a /usr/local/samba/lib/smb.conf file.  permissions
on it are 644 root:root  What do the programs mean "Can't find include file
/usr/local/samba/lib/smb.conf."??

Sorry for the long note.  If I've missed any vital information, please let
me know.  .conf files follow.  Thanks.

-- 
Phil Ritzenthaler	  Systems Administrator
ACCAD			  THE Ohio State University
phil at cgrg.ohio-state.edu  (voice) 614-292-3416  (fax) 614-292-7776


============================ File Server conf Flie ============================
[global]

   workgroup = ASDF
   netbios name = FS
   server string = ACCAD Samba Fileserver


   hosts allow = 128.146.18. 128.146.179 127.


   deadtime = 30

   log file = /nfs/samba/logs/log.%m
   max log size = 50


   security = domain
   password server = PASS
   null passwords = yes
   update encrypted = yes
   encrypt passwords = yes

   socket options = TCP_NODELAY 

    local master = yes
    os level = 33

    logon path = \%N%U
    wins server = 128.146.18.78
    wins proxy = yes
    dns proxy = yes

    preserve case = yes

#============================ Share Definitions ==============================#

; special section for exporting home areas
[homes]
comment = Home Directories
browseable = no
writable = yes
   ; Allow only 1 user to access any home area from a machine and only
   ; the user who owns the home area
only user = True
user = %S

[All Homes]
comment = All Home Directories
path = /nfs/samba/home/
browseable = yes
writable = yes
only user = false
user = %S


=============================== PDC conf File =================================

[global]

#IDENTITY
         workgroup = ASDF
         netbios name = PASS
         server string = ACCAD Samba Server

#SECURITY
         security = user
         hosts allow = 128.146.18. 128.146.179 127. 140.254.27
         encrypt passwords = yes
         domain admin group = @ntadmin
         status = yes
        
#DOMAIN
         local master = yes
         os level = 100
         domain master = yes
         preferred master = yes
         domain logons = yes
         logon path = \%L%UNTProfile
         logon script=logon.bat
#WINS
         wins support = yes
         dns proxy = no
         name resolve order = wins lmhosts hosts bcast

#GENERAL
         socket options = TCP_NODELAY 
         log file = /var/samba/logs/log.%m
         log level = 3
         max log size = 3096
         deadtime = 30
;        debug level = 100
         preserve case = yes
         short preserve case = yes
         case sensitive = no

# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
    include = /usr/local/samba/lib/smb.conf.%m

#============================ Share Definitions ==============================#
[homes]
   comment = Home Directories
   browseable = no
   writable = yes
   guest ok = no
   read only = no
   create mask = 0744
   directory mask = 0755
   oplocks = false

# Un-comment the following and create the netlogon directory for Domain Logons
 [netlogon]
   comment = Network Logon Service
   path = /nfs/samba/netlogon
   guest ok = yes
   writable = no
   share modes = no
   browseable = no

[profile]
    path = /nfs/samba/home/%U/NTProfile    
    browseable = no
    writable = yes
    guest ok = no

Return-Path: <estam at indm.nl>
Delivered-To: samba at samba.org
Received: from smtp.wanadoo.nl (smtp2.wanadoo.nl [194.134.35.138]) by
  lists.samba.org (Postfix) with ESMTP id 322344D96 for
  <samba at samba.org>; Mon, 13 Aug 2001 16:35:03 -0700 (PDT)
Received: from erics (p3068.vwr.wanadoo.nl [212.129.224.4]) by
  smtp.wanadoo.nl (8.11.3/8.11.3) with SMTP id f7DNcvj04612 for
  <samba at samba.org>; Tue, 14 Aug 2001 01:38:57 +0200 (MEST)
From: "Eric Stam" <estam at indm.nl>
To: <samba at samba.org>
Subject: Samba 2.0.7 word2000 printing
Date: Tue, 14 Aug 2001 01:35:24 +0200
Message-ID: <MLEJJMKELCOBONIKBJNPKELLCAAA.estam at indm.nl>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello

I Have a very big problem. I'm running Redhat 7.1 and samba 2.0.7.
I can print out of the explorer without any problem, but printing out of
word 2000 give one big mess on the paper.
I think this is a known problem, but can sombody tell me the secret

Thanks for your help

Eric Stam
Holland
estam at indm.nl

Return-Path: <sotl155360 at earthlink.net>
Delivered-To: samba at lists.samba.org
Received: from avocet.mail.pas.earthlink.net
  (avocet.mail.pas.earthlink.net [207.217.121.50]) by lists.samba.org
  (Postfix) with ESMTP id 909755940 for <samba at lists.samba.org>; Mon, 13
  Aug 2001 16:28:42 -0700 (PDT)
Received: from localhost.localdomain
  (dialup-63.208.200.84.Dial1.Tampa1.Level3.net [63.208.200.84]) by
  avocet.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with SMTP id QAA00764
  for <samba at lists.samba.org>; Mon, 13 Aug 2001 16:32:41 -0700 (PDT)
Content-Type: text/plain; charset="iso-8859-1"
From: Frank Roberts - SOTL <sotl155360 at earthlink.net>
To: "Samba Group (E-mail)" <samba at lists.samba.org>
Subject: test
Date: Mon, 13 Aug 2001 19:15:51 -0400
X-Mailer: KMail [version 1.2]
References: <Pine.LNX.4.33.0108131411390.11464-100000 at pogo.plainjoe.org>
In-Reply-To: <Pine.LNX.4.33.0108131411390.11464-100000 at pogo.plainjoe.org
  >
MIME-Version: 1.0
Message-Id: <01081319155100.02033 at localhost.localdomain>
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/

test

Return-Path: <phil at cgrg.ohio-state.edu>
Delivered-To: samba at lists.samba.org
Received: from cgrg.ohio-state.edu (mane.cgrg.ohio-state.edu
  [128.146.18.78]) by lists.samba.org (Postfix) with ESMTP id 3EE734B2F
  for <samba at lists.samba.org>; Mon, 13 Aug 2001 17:09:29 -0700 (PDT)
Received: (from phil at localhost) by cgrg.ohio-state.edu
  (8.9.3/8.9.3/990623) id UAA26969; Mon, 13 Aug 2001 20:13:28 -0400
  (EDT)
From: Phil Ritzenthaler <phil at cgrg.ohio-state.edu>
Message-Id: <200108140013.UAA26969 at cgrg.ohio-state.edu>
Subject: 3rd problem moving from 2.0.5 to 2.2.1a
To: samba at lists.samba.org
Date: Mon, 13 Aug 2001 20:13:28 -0400 (EDT)
Cc: phil at mane.cgrg.ohio-state.edu (Phil Ritzenthaler)
X-Mailer: ELM [version 2.5 PL3]
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/

Sorry about this, but I just found a third problem:

In log files for the different machines, I find the following entry:

[2001/08/13 19:57:55, 0] smbd/password.c:domain_client_validate(1563)
  domain_client_validate: could not fetch trust account password for domain ADSF

Does anyone know why all of my machines are putting out this message?  This
only occurs after a reboot of the system.

Thanks again.

-- 
Phil Ritzenthaler	  Systems Administrator
ACCAD			  THE Ohio State University
phil at cgrg.ohio-state.edu  (voice) 614-292-3416  (fax) 614-292-7776

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at lists.samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id B7EA559EE for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 17:36:29 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f7DGd3v02203; Mon, 13 Aug 2001 20:39:03 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  mpl.samera.com (8.11.2/8.11.2) with ESMTP id f7E0a7f07515; Mon, 13 Aug
  2001 20:36:07 -0400
Message-ID: <3B787276.8090001 at samera.com.py>
Date: Mon, 13 Aug 2001 20:36:06 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: Matt Mortensen <mmortens at co.weber.ut.us>
Cc: Samba list <samba at lists.samba.org>
Subject: Re: Is anyone else having trouble with oplocks in 2.2 and
  RH7.1?
References: <3B45E33C.DB8FBDAD at co.weber.ut.us>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm too having oplock problems in RH7.1

Any solutions yet?

Thanks
Oliver

Matt Mortensen wrote:

>Since upgrading to Samba 2.2 and RedHat 7.1 (all at the same time).  I
>have been getting samba server lockups.  It seems that the samba server
>will run for about a week before crashing.  Below is sample output form
>/var/log/samba/log.smbd.  Any help is greatly appreciated.
>
>
>[2001/06/30 06:16:46, 0] lib/util_sock.c:write_socket(566)
>  write_socket: Error writing 69 bytes to socket 10: ERRNO = Connection
>timed out
>[2001/06/30 06:16:46, 0] lib/util_sock.c:send_smb(753)
>  Error writing 69 bytes to client. -1. Exiting
>[2001/06/30 07:05:44, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection reset by peer
>
>[2001/06/30 07:10:46, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection reset by peer
>
>[2001/06/30 12:02:12, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection timed out
>[2001/06/30 13:26:13, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection reset by peer
>
>[2001/06/30 13:28:50, 0] smbd/oplock.c:process_local_message(357)
>  process_local_message: Received unsolicited break reply - dumping
>info.
>[2001/06/30 13:28:50, 0] smbd/oplock.c:process_local_message(372)
>  process_local_message: unsolicited oplock break reply from pid 1107,
>port 32900, dev = 811, inode = 196017
>[2001/06/30 15:37:27, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection reset by peer
>
>[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(357)
>  process_local_message: Received unsolicited break reply - dumping
>info.
>[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(372)
>  process_local_message: unsolicited oplock break reply from pid 1373,
>port 32949, dev = 811, inode = 195846
>[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(357)
>  process_local_message: Received unsolicited break reply - dumping
>info.
>[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(372)
>  process_local_message: unsolicited oplock break reply from pid 774,
>port 32949, dev = 811, inode = 195846
>[2001/06/30 16:11:25, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection timed out
>[2001/06/30 16:32:37, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection reset by peer
>
>[2001/06/30 20:29:08, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection timed out
>[2001/06/30 20:41:14, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection reset by peer
>
>[2001/07/01 05:48:39, 0] smbd/oplock.c:oplock_break(768)
>  oplock_break: receive_smb timed out after 30 seconds.
>  oplock_break failed for file jmsrptcomp.dll (dev = 811, inode =
>196020).
>[2001/07/01 05:48:39, 0] smbd/oplock.c:oplock_break(841)
>  oplock_break: client failure in oplock break in file jmsrptcomp.dll
>[2001/07/01 05:49:09, 0] smbd/oplock.c:oplock_break(768)
>  oplock_break: receive_smb timed out after 30 seconds.
>  oplock_break failed for file jmssearch.dll (dev = 811, inode =
>196027).
>[2001/07/01 05:49:09, 0] smbd/oplock.c:oplock_break(841)
>  oplock_break: client failure in oplock break in file jmssearch.dll
>[2001/07/01 05:49:39, 0] smbd/oplock.c:oplock_break(768)
>  oplock_break: receive_smb timed out after 30 seconds.
>  oplock_break failed for file jmsscanner.dll (dev = 811, inode =
>196026).
>[2001/07/01 05:49:39, 0] smbd/oplock.c:oplock_break(841)
>  oplock_break: client failure in oplock break in file jmsscanner.dll
>[2001/07/01 05:50:25, 0] smbd/oplock.c:oplock_break(768)
>  oplock_break: receive_smb timed out after 30 seconds.
>  oplock_break failed for file jmsssnum.dll (dev = 811, inode = 196028).
>
>[2001/07/01 05:50:25, 0] smbd/oplock.c:oplock_break(841)
>  oplock_break: client failure in oplock break in file jmsssnum.dll
>[2001/07/01 05:51:17, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection reset by peer
>
>[2001/07/01 06:02:42, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection timed out
>[2001/07/01 15:22:48, 0] lib/util_sock.c:read_socket_data(479)
>  read_socket_data: recv failure for 4. Error = Connection reset by peer
>
>[2001/07/01 19:43:44, 0] smbd/oplock.c:oplock_break(768)
>  oplock_break: receive_smb timed out after 30 seconds.
>  oplock_break failed for file dwacct.dll (dev = 811, inode = 195904).
>[2001/07/01 19:43:44, 0] smbd/oplock.c:oplock_break(841)
>  oplock_break: client failure in oplock break in file dwacct.dll
>[2001/07/01 19:44:14, 0] smbd/oplock.c:oplock_break(768)
>  oplock_break: receive_smb timed out after 30 seconds.
>  oplock_break failed for file jms218.dll (dev = 811, inode = 195845).
>[2001/07/01 19:44:14, 0] smbd/oplock.c:oplock_break(841)
>  oplock_break: client failure in oplock break in file jms218.dll
>[2001/07/01 19:44:42, 0] lib/util_sock.c:read_socket_with_timeout(301)
>  read_socket_with_timeout: timeout read. read error = Connection reset
>by peer.
>[2001/07/01 19:44:42, 0] smbd/oplock.c:oplock_break(764)
>  oplock_break: receive_smb error (Connection reset by peer)
>  oplock_break failed for file jmscd.dll (dev = 811, inode = 196001).
>[2001/07/01 19:44:42, 0] smbd/oplock.c:oplock_break(852)
>  oplock_break: client failure in break - shutting down this smbd.
>[2001/07/01 20:48:03, 0] smbd/oplock.c:oplock_break(768)
>  oplock_break: receive_smb timed out after 30 seconds.
>  oplock_break failed for file jmsdw2.dll (dev = 811, inode = 196003).
>
>
>
>
>--
>Matt Mortensen
>Network Administrator
>Weber County Information Technology
>(801)399-8629 Office (801)399-8864 Fax
>

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

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at lists.samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id C1A0F4CF0 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 17:38:22 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f7DGfqg02292 for samba at lists.samba.org; Mon, 13 Aug 2001
  20:41:52 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  mpl.samera.com (8.11.2/8.11.2) with ESMTP id f7E0eAf07604 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 20:40:10 -0400
Message-ID: <3B787369.5060304 at samera.com.py>
Date: Mon, 13 Aug 2001 20:40:09 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Are oplock errors critical?
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,
I having oplock errors reported in the log files.
Should I care for these errors? Or are they normal?

Example:
[2001/08/13 15:37:53, 0] smbd/oplock.c:oplock_break(766)
  oplock_break: receive_smb error (Connection reset by peer)
  oplock_break failed for file all.bat (dev = 900, inode = 391587).
[2001/08/13 15:37:53, 0] smbd/oplock.c:oplock_break(854)
  oplock_break: client failure in break - shutting down this smbd.
[2001/08/13 15:38:25, 0] smbd/oplock.c:request_oplock_break(997)
  request_oplock_break: no response received to oplock break request to 
pid 1833 on port 33259 for dev = 900, inode = 391587
  for dev = 900, inode = 391587, tv_sec = 3b782a32, tv_usec = d6a55


Running samba 2.2.1a(rpm from rawhide) and RedHat 7.1

Thanks
Oliver

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

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at lists.samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id DDF0D5965 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 17:44:20 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f7DGlr102397 for samba at lists.samba.org; Mon, 13 Aug 2001
  20:47:53 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  mpl.samera.com (8.11.2/8.11.2) with ESMTP id f7E0k1f07673 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 20:46:01 -0400
Message-ID: <3B7874C8.4030805 at samera.com.py>
Date: Mon, 13 Aug 2001 20:46:00 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Netlogon name length restriction
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,
what is the maximum file name lenght for a samba 2.2.1a running in 
kernel 2.4.x?
I use RedHat 7.1 and if I use this:
        logon script = all.bat
all works fine.

But, if I use this:
        logon script = christian.bat
it does not work and the "Z:" drive error appears

These issue has been reported in the list and one thing I found is that 
if I use
a RH6.2 rpm in RH7.1, this problem does not occurs.
But, I install the RH7.1 rpm, the problem occurs always that the logon 
script
exeeds some lenght.

Thanks
Oliver

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

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from palrel2.hp.com (palrel2.hp.com [156.153.255.234]) by
  lists.samba.org (Postfix) with ESMTP id A75B04D92 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 18:34:32 -0700 (PDT)
Received: from xparelay2.corp.hp.com (unknown [15.58.137.112]) by
  palrel2.hp.com (Postfix) with ESMTP id 5978A1064; Mon, 13 Aug 2001
  18:38:32 -0700 (PDT)
Received: from xpabh4.corp.hp.com (xpabh4.corp.hp.com [15.58.136.1]) by
  xparelay2.corp.hp.com (Postfix) with ESMTP id 929E31F519; Mon, 13 Aug
  2001 18:38:31 -0700 (PDT)
Received: by xpabh4.corp.hp.com with Internet Mail Service (5.5.2653.19)
  id <QRC5PQ2V>; Mon, 13 Aug 2001 18:38:31 -0700
Message-ID: <079FD72E42C9D311B854009027650E6F0758EFAF at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: "'Teng, Cheo S'" <teng at bnl.gov>, "'samba at lists.samba.org'"
  <samba at lists.samba.org>
Subject: RE: connections.tdb file size
Date: Mon, 13 Aug 2001 18:38:23 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Teng,
this is a known problem, corrected in the latest 2.2 CVS code.  Try pulling
that down and building it.
Hope this helps,
Don
-----Original Message-----
From: Teng, Cheo S [mailto:teng at bnl.gov]
Sent: Monday, August 13, 2001 14:35
To: 'samba at lists.samba.org'
Subject: connections.tdb file size


Hi,

Please help!
I have Samba 2.2.1a running on HP-UX 10.20.  smbd and nmbd are restarted
from startup and shutdown functions in /etc/rc4.d and /etc/rc3.d.
(Kill -9 PID (of smbd); kill -9 PID (of nmbd) in /etc/rc3.d)
(/usr/local/samba/bin/smbd -D; /usr/local/samba/bin/nmbd -D in /sbin/rc4.d)

File connections.tdb increases its size over 10Mb and cauese file system
full.  When this happens, there is only one user using Samba.
What are the proper procedures to restart Samba?

Thanks.  
>
>
>

Cheo Teng

============================================
Cheo Teng
National Synchrotron Light Source     MS:725B
Brookhaven National Laboratory
Upton, NY 11973

Phone: 631-344-5028     Fax: 631-344-4745
Email: teng at bnl.gov
============================================
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <david.salisbury at vtservices.com>
Delivered-To: samba at lists.samba.org
Received: from mail.vtservices.com (mail.vtservices.com [216.198.41.66])
  by lists.samba.org (Postfix) with ESMTP id E443749A4 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 19:06:19 -0700 (PDT)
Received: from JDSalisburydsk (mercury.vtservices.com [216.198.41.107])
  by mail.vtservices.com (8.9.3/8.8.7) with SMTP id VAA27671; Mon, 13
  Aug 2001 21:13:00 -0500
Message-ID: <002101c12466$76dc55a0$8000a8c0 at JDSalisburydsk>
From: "David Salisbury" <david.salisbury at vtservices.com>
To: "Oliver Schulze L." <oliver at samera.com.py>, "Matt Mortensen"
  <mmortens at co.weber.ut.us>
Cc: "Samba list" <samba at lists.samba.org>
References: <3B45E33C.DB8FBDAD at co.weber.ut.us>
  <3B787276.8090001 at samera.com.py>
Subject: Re: Is anyone else having trouble with oplocks in 2.2 and 
  RH7.1?
Date: Mon, 13 Aug 2001 21:11:14 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I don't know if anyone said this or if it's been checked, but we were having
weird problems with Samba freezing up, and it turned out it was a bad NIC.
Your problem does seem more Samba-related, but I just thought I'd throw that
suggestion into the mix. :)

David

----- Original Message -----
From: "Oliver Schulze L." <oliver at samera.com.py>
To: "Matt Mortensen" <mmortens at co.weber.ut.us>
Cc: "Samba list" <samba at lists.samba.org>
Sent: Monday, August 13, 2001 7:36 PM
Subject: Re: Is anyone else having trouble with oplocks in 2.2 and RH7.1?


> I'm too having oplock problems in RH7.1
>
> Any solutions yet?
>
> Thanks
> Oliver
>
> Matt Mortensen wrote:
>
> >Since upgrading to Samba 2.2 and RedHat 7.1 (all at the same time).  I
> >have been getting samba server lockups.  It seems that the samba server
> >will run for about a week before crashing.  Below is sample output form
> >/var/log/samba/log.smbd.  Any help is greatly appreciated.
> >
> >
> >[2001/06/30 06:16:46, 0] lib/util_sock.c:write_socket(566)
> >  write_socket: Error writing 69 bytes to socket 10: ERRNO = Connection
> >timed out
> >[2001/06/30 06:16:46, 0] lib/util_sock.c:send_smb(753)
> >  Error writing 69 bytes to client. -1. Exiting
> >[2001/06/30 07:05:44, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection reset by peer
> >
> >[2001/06/30 07:10:46, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection reset by peer
> >
> >[2001/06/30 12:02:12, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection timed out
> >[2001/06/30 13:26:13, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection reset by peer
> >
> >[2001/06/30 13:28:50, 0] smbd/oplock.c:process_local_message(357)
> >  process_local_message: Received unsolicited break reply - dumping
> >info.
> >[2001/06/30 13:28:50, 0] smbd/oplock.c:process_local_message(372)
> >  process_local_message: unsolicited oplock break reply from pid 1107,
> >port 32900, dev = 811, inode = 196017
> >[2001/06/30 15:37:27, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection reset by peer
> >
> >[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(357)
> >  process_local_message: Received unsolicited break reply - dumping
> >info.
> >[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(372)
> >  process_local_message: unsolicited oplock break reply from pid 1373,
> >port 32949, dev = 811, inode = 195846
> >[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(357)
> >  process_local_message: Received unsolicited break reply - dumping
> >info.
> >[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(372)
> >  process_local_message: unsolicited oplock break reply from pid 774,
> >port 32949, dev = 811, inode = 195846
> >[2001/06/30 16:11:25, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection timed out
> >[2001/06/30 16:32:37, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection reset by peer
> >
> >[2001/06/30 20:29:08, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection timed out
> >[2001/06/30 20:41:14, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection reset by peer
> >
> >[2001/07/01 05:48:39, 0] smbd/oplock.c:oplock_break(768)
> >  oplock_break: receive_smb timed out after 30 seconds.
> >  oplock_break failed for file jmsrptcomp.dll (dev = 811, inode =
> >196020).
> >[2001/07/01 05:48:39, 0] smbd/oplock.c:oplock_break(841)
> >  oplock_break: client failure in oplock break in file jmsrptcomp.dll
> >[2001/07/01 05:49:09, 0] smbd/oplock.c:oplock_break(768)
> >  oplock_break: receive_smb timed out after 30 seconds.
> >  oplock_break failed for file jmssearch.dll (dev = 811, inode =
> >196027).
> >[2001/07/01 05:49:09, 0] smbd/oplock.c:oplock_break(841)
> >  oplock_break: client failure in oplock break in file jmssearch.dll
> >[2001/07/01 05:49:39, 0] smbd/oplock.c:oplock_break(768)
> >  oplock_break: receive_smb timed out after 30 seconds.
> >  oplock_break failed for file jmsscanner.dll (dev = 811, inode =
> >196026).
> >[2001/07/01 05:49:39, 0] smbd/oplock.c:oplock_break(841)
> >  oplock_break: client failure in oplock break in file jmsscanner.dll
> >[2001/07/01 05:50:25, 0] smbd/oplock.c:oplock_break(768)
> >  oplock_break: receive_smb timed out after 30 seconds.
> >  oplock_break failed for file jmsssnum.dll (dev = 811, inode = 196028).
> >
> >[2001/07/01 05:50:25, 0] smbd/oplock.c:oplock_break(841)
> >  oplock_break: client failure in oplock break in file jmsssnum.dll
> >[2001/07/01 05:51:17, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection reset by peer
> >
> >[2001/07/01 06:02:42, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection timed out
> >[2001/07/01 15:22:48, 0] lib/util_sock.c:read_socket_data(479)
> >  read_socket_data: recv failure for 4. Error = Connection reset by peer
> >
> >[2001/07/01 19:43:44, 0] smbd/oplock.c:oplock_break(768)
> >  oplock_break: receive_smb timed out after 30 seconds.
> >  oplock_break failed for file dwacct.dll (dev = 811, inode = 195904).
> >[2001/07/01 19:43:44, 0] smbd/oplock.c:oplock_break(841)
> >  oplock_break: client failure in oplock break in file dwacct.dll
> >[2001/07/01 19:44:14, 0] smbd/oplock.c:oplock_break(768)
> >  oplock_break: receive_smb timed out after 30 seconds.
> >  oplock_break failed for file jms218.dll (dev = 811, inode = 195845).
> >[2001/07/01 19:44:14, 0] smbd/oplock.c:oplock_break(841)
> >  oplock_break: client failure in oplock break in file jms218.dll
> >[2001/07/01 19:44:42, 0] lib/util_sock.c:read_socket_with_timeout(301)
> >  read_socket_with_timeout: timeout read. read error = Connection reset
> >by peer.
> >[2001/07/01 19:44:42, 0] smbd/oplock.c:oplock_break(764)
> >  oplock_break: receive_smb error (Connection reset by peer)
> >  oplock_break failed for file jmscd.dll (dev = 811, inode = 196001).
> >[2001/07/01 19:44:42, 0] smbd/oplock.c:oplock_break(852)
> >  oplock_break: client failure in break - shutting down this smbd.
> >[2001/07/01 20:48:03, 0] smbd/oplock.c:oplock_break(768)
> >  oplock_break: receive_smb timed out after 30 seconds.
> >  oplock_break failed for file jmsdw2.dll (dev = 811, inode = 196003).
> >
> >
> >
> >
> >--
> >Matt Mortensen
> >Network Administrator
> >Weber County Information Technology
> >(801)399-8629 Office (801)399-8864 Fax
> >
>
> --
> Oliver Schulze L.
> oliver at samera.com.py
> Asuncion-Paraguay
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
>
>

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at lists.samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id A89B84E48 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 19:38:04 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f7DIdv004379; Mon, 13 Aug 2001 22:39:57 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  mpl.samera.com (8.11.2/8.11.2) with ESMTP id f7E2dxf21936; Mon, 13 Aug
  2001 22:39:59 -0400
Message-ID: <3B788F7F.30801 at samera.com.py>
Date: Mon, 13 Aug 2001 22:39:59 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: David Salisbury <david.salisbury at vtservices.com>
Cc: Matt Mortensen <mmortens at co.weber.ut.us>, Samba list
  <samba at lists.samba.org>
Subject: Re: Is anyone else having trouble with oplocks in 2.2 and 
  RH7.1?
References: <3B45E33C.DB8FBDAD at co.weber.ut.us>
  <3B787276.8090001 at samera.com.py>
  <002101c12466$76dc55a0$8000a8c0 at JDSalisburydsk>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

uff, that a relief.
I'm having oplock problems too and I don't if I should care of this or 
are just
normal operation errors.
I posted a new message to the list to see if I can get more info about 
this issue.

Thanks
Oliver

David Salisbury wrote:

>I don't know if anyone said this or if it's been checked, but we were having
>weird problems with Samba freezing up, and it turned out it was a bad NIC.
>Your problem does seem more Samba-related, but I just thought I'd throw that
>suggestion into the mix. :)
>
>David
>
>----- Original Message -----
>From: "Oliver Schulze L." <oliver at samera.com.py>
>To: "Matt Mortensen" <mmortens at co.weber.ut.us>
>Cc: "Samba list" <samba at lists.samba.org>
>Sent: Monday, August 13, 2001 7:36 PM
>Subject: Re: Is anyone else having trouble with oplocks in 2.2 and RH7.1?
>
>
>>I'm too having oplock problems in RH7.1
>>
>>Any solutions yet?
>>
>>Thanks
>>Oliver
>>
>>Matt Mortensen wrote:
>>
>>>Since upgrading to Samba 2.2 and RedHat 7.1 (all at the same time).  I
>>>have been getting samba server lockups.  It seems that the samba server
>>>will run for about a week before crashing.  Below is sample output form
>>>/var/log/samba/log.smbd.  Any help is greatly appreciated.
>>>
>>>
>>>[2001/06/30 06:16:46, 0] lib/util_sock.c:write_socket(566)
>>> write_socket: Error writing 69 bytes to socket 10: ERRNO = Connection
>>>timed out
>>>[2001/06/30 06:16:46, 0] lib/util_sock.c:send_smb(753)
>>> Error writing 69 bytes to client. -1. Exiting
>>>[2001/06/30 07:05:44, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection reset by peer
>>>
>>>[2001/06/30 07:10:46, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection reset by peer
>>>
>>>[2001/06/30 12:02:12, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection timed out
>>>[2001/06/30 13:26:13, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection reset by peer
>>>
>>>[2001/06/30 13:28:50, 0] smbd/oplock.c:process_local_message(357)
>>> process_local_message: Received unsolicited break reply - dumping
>>>info.
>>>[2001/06/30 13:28:50, 0] smbd/oplock.c:process_local_message(372)
>>> process_local_message: unsolicited oplock break reply from pid 1107,
>>>port 32900, dev = 811, inode = 196017
>>>[2001/06/30 15:37:27, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection reset by peer
>>>
>>>[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(357)
>>> process_local_message: Received unsolicited break reply - dumping
>>>info.
>>>[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(372)
>>> process_local_message: unsolicited oplock break reply from pid 1373,
>>>port 32949, dev = 811, inode = 195846
>>>[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(357)
>>> process_local_message: Received unsolicited break reply - dumping
>>>info.
>>>[2001/06/30 15:57:33, 0] smbd/oplock.c:process_local_message(372)
>>> process_local_message: unsolicited oplock break reply from pid 774,
>>>port 32949, dev = 811, inode = 195846
>>>[2001/06/30 16:11:25, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection timed out
>>>[2001/06/30 16:32:37, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection reset by peer
>>>
>>>[2001/06/30 20:29:08, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection timed out
>>>[2001/06/30 20:41:14, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection reset by peer
>>>
>>>[2001/07/01 05:48:39, 0] smbd/oplock.c:oplock_break(768)
>>> oplock_break: receive_smb timed out after 30 seconds.
>>> oplock_break failed for file jmsrptcomp.dll (dev = 811, inode =
>>>196020).
>>>[2001/07/01 05:48:39, 0] smbd/oplock.c:oplock_break(841)
>>> oplock_break: client failure in oplock break in file jmsrptcomp.dll
>>>[2001/07/01 05:49:09, 0] smbd/oplock.c:oplock_break(768)
>>> oplock_break: receive_smb timed out after 30 seconds.
>>> oplock_break failed for file jmssearch.dll (dev = 811, inode =
>>>196027).
>>>[2001/07/01 05:49:09, 0] smbd/oplock.c:oplock_break(841)
>>> oplock_break: client failure in oplock break in file jmssearch.dll
>>>[2001/07/01 05:49:39, 0] smbd/oplock.c:oplock_break(768)
>>> oplock_break: receive_smb timed out after 30 seconds.
>>> oplock_break failed for file jmsscanner.dll (dev = 811, inode =
>>>196026).
>>>[2001/07/01 05:49:39, 0] smbd/oplock.c:oplock_break(841)
>>> oplock_break: client failure in oplock break in file jmsscanner.dll
>>>[2001/07/01 05:50:25, 0] smbd/oplock.c:oplock_break(768)
>>> oplock_break: receive_smb timed out after 30 seconds.
>>> oplock_break failed for file jmsssnum.dll (dev = 811, inode = 196028).
>>>
>>>[2001/07/01 05:50:25, 0] smbd/oplock.c:oplock_break(841)
>>> oplock_break: client failure in oplock break in file jmsssnum.dll
>>>[2001/07/01 05:51:17, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection reset by peer
>>>
>>>[2001/07/01 06:02:42, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection timed out
>>>[2001/07/01 15:22:48, 0] lib/util_sock.c:read_socket_data(479)
>>> read_socket_data: recv failure for 4. Error = Connection reset by peer
>>>
>>>[2001/07/01 19:43:44, 0] smbd/oplock.c:oplock_break(768)
>>> oplock_break: receive_smb timed out after 30 seconds.
>>> oplock_break failed for file dwacct.dll (dev = 811, inode = 195904).
>>>[2001/07/01 19:43:44, 0] smbd/oplock.c:oplock_break(841)
>>> oplock_break: client failure in oplock break in file dwacct.dll
>>>[2001/07/01 19:44:14, 0] smbd/oplock.c:oplock_break(768)
>>> oplock_break: receive_smb timed out after 30 seconds.
>>> oplock_break failed for file jms218.dll (dev = 811, inode = 195845).
>>>[2001/07/01 19:44:14, 0] smbd/oplock.c:oplock_break(841)
>>> oplock_break: client failure in oplock break in file jms218.dll
>>>[2001/07/01 19:44:42, 0] lib/util_sock.c:read_socket_with_timeout(301)
>>> read_socket_with_timeout: timeout read. read error = Connection reset
>>>by peer.
>>>[2001/07/01 19:44:42, 0] smbd/oplock.c:oplock_break(764)
>>> oplock_break: receive_smb error (Connection reset by peer)
>>> oplock_break failed for file jmscd.dll (dev = 811, inode = 196001).
>>>[2001/07/01 19:44:42, 0] smbd/oplock.c:oplock_break(852)
>>> oplock_break: client failure in break - shutting down this smbd.
>>>[2001/07/01 20:48:03, 0] smbd/oplock.c:oplock_break(768)
>>> oplock_break: receive_smb timed out after 30 seconds.
>>> oplock_break failed for file jmsdw2.dll (dev = 811, inode = 196003).
>>>
>>>
>>>
>>>
>>>--
>>>Matt Mortensen
>>>Network Administrator
>>>Weber County Information Technology
>>>(801)399-8629 Office (801)399-8864 Fax
>>>
>>--
>>Oliver Schulze L.
>>oliver at samera.com.py
>>Asuncion-Paraguay
>>--
>>To unsubscribe from this list go to the following URL and read the
>>instructions:  http://lists.samba.org/mailman/listinfo/samba
>>
>>

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

Return-Path: <ssharpe at qualcomm.com>
Delivered-To: samba at lists.samba.org
Received: from ladybug.qualcomm.com (ladybug.qualcomm.com [129.46.4.97])
  by lists.samba.org (Postfix) with ESMTP id D80544161 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 20:32:51 -0700 (PDT)
Received: from ladybug.qualcomm.com (localhost [127.0.0.1]) by
  ladybug.qualcomm.com (8.9.3/8.9.3/1.0) with SMTP id UAA22701 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 20:36:50 -0700 (PDT)
Message-Id: <200108140336.UAA22701 at ladybug.qualcomm.com>
To: samba at lists.samba.org
Subject: Samba 209 and Windows Authentication
Date: Mon, 13 Aug 2001 20:36:50 -0700
From: Shelia Sharpe <ssharpe at qualcomm.com>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm fairly new to samba and have an interesting challenge on my hands.

We currently have samba 2.0.9 running in our environment with security=domain
and encryption=yes and have just recently migrated to a 2000 domain.   We
know samba doesn't run in a native 2000 environment and are still using
samba from our NT domain having users authenticate with their 2000 domain
accounts (there is a trust).

After the migration, most people were able to access samba resources with
their 2000 domain account; however, a subset of our users cannot.  When
trying to access a samba resource, they get the mysterious "Logon Failure:
unknown account or bad password" error.  Moreover, for those people getting
access denied, the samba log has this consistent message before being
denied access:

---start message
[2001/08/09 10:45:57, 0] rpc_parse/parse_prs.c:prs_mem_get(317)
prs_mem_get: reading data of size 60 would overrun buffer.

[2001/08/09 10:45:57, 0] smbd/password.c:domain_client_validate(1470)
domain_client_validate: unable to validate password for user ssamba in
domain <2000 domain> to Domain controller <NT domain>. Error was code 0.
---end message

Having them authenticate with their old account works.

Has anyone seen this problem or have any idea where to look next?

Thanks
-Shelia

Return-Path: <jhdoucette at home.com>
Delivered-To: samba at lists.samba.org
Received: from femail33.sdc1.sfba.home.com (femail33.sdc1.sfba.home.com
  [24.254.60.23]) by lists.samba.org (Postfix) with ESMTP id 7AD10410F
  for <samba at lists.samba.org>; Mon, 13 Aug 2001 20:54:18 -0700 (PDT)
Received: from enzo ([24.64.72.66]) by femail33.sdc1.sfba.home.com
  (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id
  <20010814035817.EWQN5159.femail33.sdc1.sfba.home.com at enzo>; Mon, 13
  Aug 2001 20:58:17 -0700
From: "John Doucette" <jhdoucette at home.com>
To: <dan.tappin at orourke-eng.com>, <samba at lists.samba.org>
Subject: RE: Browsing Problems
Date: Mon, 13 Aug 2001 21:56:54 -0600
Message-ID: <NDBBKLMLIAKNPCHHNJLIKELCDFAA.jhdoucette at home.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
In-Reply-To: <NEBBJHEDELJOHGLFBBFFMEBECIAA.dan.tappin at orourke-eng.com>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

This is a Win98 issue which I have seen where Win98 cannot see NT shares. It
is not related to Samba. And it is not like the machines are not networking
properly as in the cases I have seen I could manually map drives to a NT
share.

You could try removing all network settings and protocols, rebooting then
setting up the network settings again from scratch. This has gotten me out
of odd spots more than a few times.

John

-----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
Behalf Of Dan Tappin
Sent: Monday, August 13, 2001 4:37 PM
To: samba at lists.samba.org
Subject: Browsing Problems


Machine: Samba 2.0.7 running on Red Hat 7.0

Problem: Unable to browse the shares

I have ~50 Win98 clients and I have only found 3 systems that have this
issue.  They are three different machines so I am pretty sure it is not a
hardware issue.

A computer search using the IP address of the Samba server results in a IP
share which works correctly.  A simple shortcut to the desktop gets the user
back up and running and accessing the shares but I would really like to
solve the bigger issue of why these machines can't see the server in the
network neighborhood.

I searched the list but I could not find a specific solution to this issue.
I have found numerous posts but none with a solution.  In my search I found
a few ideas which I tried with no luck:

 - turning on master browser status
 - running nbtstat on the clients
 - turning off ipchains on the server
 - running smbclient (the suspect machines do not show in the services
list??)

My intuition makes me think is some weird Win98 NetBios issue.

Any ideas from all you smart people on the list??

Please CC: dan.tappin at orourke-eng.com with any replies to the list (or use
reply all).

Thanks,

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

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 40F21423C for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 22:18:54 -0700 (PDT)
Received: from bits.linuxball (bits [208.161.142.154]) by
  srvr201.castmark.com (8.11.0/8.11.0) with SMTP id f7E5NW411689; Tue,
  14 Aug 2001 00:23:32 -0500
Content-Type: text/plain; charset="iso-8859-1"
From: Fred Jackson <fred at arkansaswebs.com>
To: <samba at lists.samba.org>
Subject: Re: samba and filenames
Date: Tue, 14 Aug 2001 00:20:57 -0500
X-Mailer: KMail [version 1.2]
References: <002b01c12446$82fa0aa0$06a8a8c0 at cardassia>
In-Reply-To: <002b01c12446$82fa0aa0$06a8a8c0 at cardassia>
Cc: "Konrad Willmert" <kwillmert at visionaryweb.com>
MIME-Version: 1.0
Message-Id: <01081400205704.01486 at bits.linuxball>
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 had a different but similiar problem, I could not figure out how to 
give multiple users write access to a mounted Fat32 drive. I fixed 
the problem by backing up the data, changing the partition type to 
ext2 and reformatting ext2, then restoring the data.
after that all worked well.

cheers
Fred

_________________________________ 
On Monday 13 August 2001 05:23 pm, Konrad Willmert wrote:
> I have had no end to troubles with my Samba server arbitrarily 
changing or not
> changing the case of my filenames.  I have a Samba file server 
sharing a
> mounted FAT32 drive with the network.  I would like the server 
preserve the
> case of files I copy move save or download.  For some reason when 
we download
> .html files that are all lower case, they are all converted to 
UPPER case even
> though the default case is set to lower.  This is the best 
configuration I
> could come up with, I desparately need to get this to work right, 
please
> help!
> relevant smb.conf:
> ***********************
> [global]
>   preserve case = yes
>   short preserve case = yes
> # Default case is normally upper case for all DOS files
>   default case = lower
> # Be very careful with case sensitivity - it can break things!
>   case sensitive = no
>   mangle case = yes
>   mixed case = yes
>   mangle names = no
> 
> [share]
>     comment = Server
>     path = /mnt/server/
>     valid users = xxx yyy zzz etc
>     public = yes
>     guest ok = yes
>     writable = yes
>     guest ok = yes
>     create mask = 0777
>     force create mode = 777
>     force directory mode = 777
>     read only = no
>     browseable = yes
>     locking = no
> *******************************************
> 
> Konrad
> ---------------------------------------
> Konrad Willmert
> kwillmert at visionaryweb.com
> Programmer - Visionary Web Design, LLC.
> http://www.visionaryweb.com
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

Return-Path: <tvilla at cyllene.uwa.edu.au>
Delivered-To: samba at lists.samba.org
Received: from elysium.uwa.edu.au (elysium.uwa.edu.au [130.95.128.2]) by
  lists.samba.org (Postfix) with ESMTP id 561DE4A37 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 22:28:52 -0700 (PDT)
Received: from cyllene.uwa.edu.au (root at cyllene.uwa.edu.au
  [130.95.128.7]) by elysium.uwa.edu.au (8.11.1/8.10.2) with ESMTP id
  f7E5WlZ25153; Tue, 14 Aug 2001 13:32:47 +0800 (WST)
Received: from ecel-tim.cyllene.uwa.edu.au (ecel-tim.ecel.uwa.edu.au
  [130.95.4.117]) by cyllene.uwa.edu.au (8.11.1/8.10.2) with ESMTP id
  f7E5Wi225421; Tue, 14 Aug 2001 13:32:44 +0800
Message-Id: <5.1.0.14.2.20010814132848.03be9ee0 at cyllene.uwa.edu.au>
X-Sender: tvilla at cyllene.uwa.edu.au
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 14 Aug 2001 13:30:38 +0800
To: "Barry Smoke" <barry at arhosting.com>, <samba at lists.samba.org>
From: Tim Villa <tvilla at cyllene.uwa.edu.au>
Subject: Re: browseable according to group?
In-Reply-To: <IMEKIDMFAEBICGFFGJPKOEGLGMAA.barry at arhosting.com>
References: <Pine.LNX.4.33.0108131414090.11464-100000 at pogo.plainjoe.org
  >
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Sounds like the "valid users" and "invalid users" settings in smb.conf will 
do this nicely.  For the shares which only group1 has access to, add 
something like:

[share1]
         valid users = @group1
         invalid users = @group2, @group3, @group4

[share2]
         valid users = @group2
         invalid users = @group1, @group3, @group4

and so on.

Tim

At 17:59 13/08/2001 -0500, Barry Smoke wrote:
>We are migrating 5 novell servers to a large dell server running samba.
>We have used a lot of samba's features(%variable completion) to make this as
>transparent as possible.
>we have done this with server based groups...old server1 has a server1
>group, and all users from that server had their primary group changed to
>server1.
>this allowed us to use a share with a %g path, and allow the users to only
>see all the same old files that was on their old server, and none of the
>files on the other 4 servers.  If we run into a large file, or directory
>that is shared between the users(such as a office 2000 share) then we use
>symbolic links to save disk space.
>
>As nice as all of this is, we have run into a roadblock.  There are certain
>shares, and printers that we would like to only appear in network
>neighborhood for a certain group.  If a printer was on the old server1, then
>we only want people that belong to server1 group to see it in network
>neighborhood.
>Is anyone doing this? Can someone tell me how to do this?

--
Tim Villa, Network / Systems Administrator
Faculties of Economics & Commerce, Education and Law
The University of Western Australia
Phone: +61-8-9380-1796, Fax: +61-8-9380-1068
Mail <mailto:tvilla at cyllene.uwa.edu.au> WWW <http://buck.ecel.uwa.edu.au/>

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 E020A44B8 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 22:35:21 -0700 (PDT)
Received: from [198.144.195.74] (helo=valinux.com) by mail.valinux.com
  with asmtp  (Cipher SSLv3:RC4-MD5:128) (Exim 3.31-VA-mm2 #1 (Debian))
  id 15WWuz-0000tm-00; Mon, 13 Aug 2001 22:39:09 -0700
Message-ID: <3B78B75E.9D50DD27 at valinux.com>
Date: Mon, 13 Aug 2001 22:30:06 -0700
From: Jeremy Allison <jeremy at valinux.com>
X-Mailer: Mozilla 4.72 [en] (X11; U; Linux 2.2.17 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "Oliver Schulze L." <oliver at samera.com.py>
Cc: Matt Mortensen <mmortens at co.weber.ut.us>, Samba list
  <samba at lists.samba.org>
Subject: Re: Is anyone else having trouble with oplocks in 2.2 andRH7.1?
References: <3B45E33C.DB8FBDAD at co.weber.ut.us>
  <3B787276.8090001 at samera.com.py>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

"Oliver Schulze L." wrote:
> 
> I'm too having oplock problems in RH7.1
> 
> Any solutions yet?

If you're having oplock trouble with Samba 2.2.x and a Linux 2.4.x
kernel (as in RH 7.1) can you try setting the global parameter

kernel oplocks = no

for a while and see if the problem goes away. I am currently
tracking an issue in this area, but it needs more investigation.

Jeremy.

Return-Path: <barry at arhosting.com>
Delivered-To: samba at lists.samba.org
Received: from arhosting.com (arhosting.com [216.63.180.37]) by
  lists.samba.org (Postfix) with SMTP id DD4294D8D for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 23:01:54 -0700 (PDT)
Received: (qmail 31240 invoked by uid 104); 14 Aug 2001 05:33:12 -0000
Received: from barry at arhosting.com by dns1.arhosting.com with
  qmail-scanner-0.96 (uvscan: v4.1.50/v4147. . Clean. Processed in
  0.936714 secs); 14 Aug 2001 05:33:12 -0000
Received: from unknown (HELO piii600) (10.10.5.2) by arhosting.com with
  SMTP; 14 Aug 2001 05:33:10 -0000
From: "Barry Smoke" <barry at arhosting.com>
To: "Tim Villa" <tvilla at cyllene.uwa.edu.au>, <samba at lists.samba.org>
Subject: RE: browseable according to group?
Date: Tue, 14 Aug 2001 01:06:00 -0500
Message-ID: <IMEKIDMFAEBICGFFGJPKCEEGGJAA.barry at arhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <5.1.0.14.2.20010814132848.03be9ee0 at cyllene.uwa.edu.au>
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/

nope...the valid users is just for accessability...so this will just not
allow anyone else to use the share, or printer...
browseability is different.
the browseable = (yes/no)
is what controls that....but there is no browseable = @groupname, so that
only a certain group can see a share.  We are really needing this feature.
In print servers alone, we have over 40 printers campus wide...
if I could narrow down what printers a user is able to see by the location
they are at(primary group) it would really help.

We have tried a include line, which has a %g variable in it
meaning that we have 5 different include files:
smbincl.server1
smbincl.server2
smbincl.server3....etc...
and the include files contain only a list of printer shares for that group,
but the log files complain that the %g is not expanded(not mentioned in the
newest documentation BTW)so it can't find the include file.

We have tried including 1 of 5 different printcap files like this:
print cap = /etc/printcap.%g
but the log file complains on this .....meaning that the printcap entry is
only loaded at smb.conf load time, and not dynamically ....which we find
odd, since you can dynamically use other entries in [global]
such as logon home = \\samba\%U
or any number of others

We started to wonder if this was a problem with the smb protocol, where if
fixed would break things...but surely the list of shares is automagically
generated for each user at logon time, since when you browse network
neighborhood...they see their username there, and no-one else can see that
share...part of the homes magic :-)


Are we overlooking something simple....or is this simply not possible?




-----Original Message-----
From: Tim Villa [mailto:tvilla at cyllene.uwa.edu.au]
Sent: Tuesday, August 14, 2001 12:31 AM
To: Barry Smoke; samba at lists.samba.org
Subject: Re: browseable according to group?


Sounds like the "valid users" and "invalid users" settings in smb.conf will
do this nicely.  For the shares which only group1 has access to, add
something like:

[share1]
         valid users = @group1
         invalid users = @group2, @group3, @group4

[share2]
         valid users = @group2
         invalid users = @group1, @group3, @group4

and so on.

Tim

At 17:59 13/08/2001 -0500, Barry Smoke wrote:
>We are migrating 5 novell servers to a large dell server running samba.
>We have used a lot of samba's features(%variable completion) to make this
as
>transparent as possible.
>we have done this with server based groups...old server1 has a server1
>group, and all users from that server had their primary group changed to
>server1.
>this allowed us to use a share with a %g path, and allow the users to only
>see all the same old files that was on their old server, and none of the
>files on the other 4 servers.  If we run into a large file, or directory
>that is shared between the users(such as a office 2000 share) then we use
>symbolic links to save disk space.
>
>As nice as all of this is, we have run into a roadblock.  There are certain
>shares, and printers that we would like to only appear in network
>neighborhood for a certain group.  If a printer was on the old server1,
then
>we only want people that belong to server1 group to see it in network
>neighborhood.
>Is anyone doing this? Can someone tell me how to do this?

--
Tim Villa, Network / Systems Administrator
Faculties of Economics & Commerce, Education and Law
The University of Western Australia
Phone: +61-8-9380-1796, Fax: +61-8-9380-1068
Mail <mailto:tvilla at cyllene.uwa.edu.au> WWW <http://buck.ecel.uwa.edu.au/>

Return-Path: <tvilla at cyllene.uwa.edu.au>
Delivered-To: samba at lists.samba.org
Received: from elysium.uwa.edu.au (elysium.uwa.edu.au [130.95.128.2]) by
  lists.samba.org (Postfix) with ESMTP id CC1AD4DB3 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 23:03:59 -0700 (PDT)
Received: from cyllene.uwa.edu.au (root at cyllene.uwa.edu.au
  [130.95.128.7]) by elysium.uwa.edu.au (8.11.1/8.10.2) with ESMTP id
  f7E67vZ02248; Tue, 14 Aug 2001 14:07:57 +0800 (WST)
Received: from ecel-tim.cyllene.uwa.edu.au (ecel-tim.ecel.uwa.edu.au
  [130.95.4.117]) by cyllene.uwa.edu.au (8.11.1/8.10.2) with ESMTP id
  f7E67t203983; Tue, 14 Aug 2001 14:07:56 +0800
Message-Id: <5.1.0.14.2.20010814140432.03bd9dd0 at cyllene.uwa.edu.au>
X-Sender: tvilla at cyllene.uwa.edu.au
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 14 Aug 2001 14:05:51 +0800
To: "IVT" <andrew at ivt.com.au>, <samba at lists.samba.org>
From: Tim Villa <tvilla at cyllene.uwa.edu.au>
Subject: Re: Logging into Samba from Dialup User 
In-Reply-To: <003d01c12442$16c168a0$1c9408d2 at andrew>
References: <Pine.LNX.4.33.0108131411390.11464-100000 at pogo.plainjoe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

At 07:51 14/08/2001 +1000, IVT wrote:
>Trying to setup a Samba server for dialup modem users (no perm IP address).
>Connection time seems to be excessive (approx 50-60sec) - same also occurs
>when logging shares. Has anyone seen this problem and knpw how to fix it?

SMB is very chatty and, yes, it can take ages for some operations to 
execute over a slow link (eg modem).  I don't actually think it's a 
problem, it's just a pain.

Tim
--
Tim Villa, Network / Systems Administrator
Faculties of Economics & Commerce, Education and Law
The University of Western Australia
Phone: +61-8-9380-1796, Fax: +61-8-9380-1068
Mail <mailto:tvilla at cyllene.uwa.edu.au> WWW <http://buck.ecel.uwa.edu.au/>

Return-Path: <dan.tappin at orourke-eng.com>
Delivered-To: samba at lists.samba.org
Received: from h-207-228-121-48.gen.cadvision.com
  (h-207-228-121-48.gen.cadvision.com [207.228.121.48]) by
  lists.samba.org (Postfix) with SMTP id C6B784E23 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 23:09:04 -0700 (PDT)
Received: from raic2.wavefront.ab.ca [24.67.8.233] by
  h-207-228-121-48.gen.cadvision.com; Tue, 14 Aug 2001 00:12:56 -0600
User-Agent: Microsoft-Entourage/9.0.2509
Date: Tue, 14 Aug 2001 00:11:37 -0600
Subject: Re: Browsing Problems
From: Dan Tappin <dan.tappin at orourke-eng.com>
To: Tim Villa <tvilla at cyllene.uwa.edu.au>, <samba at lists.samba.org>
Message-ID: <B79E1D39.1038%dan.tappin at orourke-eng.com>
In-Reply-To: <5.1.0.14.2.20010814135919.038459b8 at cyllene.uwa.edu.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/

Nope... The set-up works for ~ 40 of the 45 systems we have in the office.

I will give that a try.

Should it be like this? (we have DHCP running from 192.168.0.1 to 255 all on
workgroup OROURKE):

remote announce = 192.168.0.255/OROURKE

Thanks,

Dan

> At 16:36 13/08/2001 -0600, you wrote:
>> Machine: Samba 2.0.7 running on Red Hat 7.0
>> 
>> Problem: Unable to browse the shares
> 
> Dumb question - have you got "browseable = no" set in the Global section of
> smb.conf?
> 
> Try using the "remote announce" setting to announce your server(s) to the
> entire subnet ie  "remote announce = YOUR.IP.SUBNETS.255/WORKGROUP".  This
> may force it to show up.
> 
> Tim
> --
> Tim Villa, Network / Systems Administrator
> Faculties of Economics & Commerce, Education and Law
> The University of Western Australia
> Phone: +61-8-9380-1796, Fax: +61-8-9380-1068
> Mail <mailto:tvilla at cyllene.uwa.edu.au> WWW <http://buck.ecel.uwa.edu.au/>
> 

Return-Path: <tvilla at cyllene.uwa.edu.au>
Delivered-To: samba at lists.samba.org
Received: from elysium.uwa.edu.au (elysium.uwa.edu.au [130.95.128.2]) by
  lists.samba.org (Postfix) with ESMTP id CFAA44E32 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 23:09:08 -0700 (PDT)
Received: from cyllene.uwa.edu.au (root at cyllene.uwa.edu.au
  [130.95.128.7]) by elysium.uwa.edu.au (8.11.1/8.10.2) with ESMTP id
  f7E6D6Z28965; Tue, 14 Aug 2001 14:13:06 +0800 (WST)
Received: from ecel-tim.cyllene.uwa.edu.au (ecel-tim.ecel.uwa.edu.au
  [130.95.4.117]) by cyllene.uwa.edu.au (8.11.1/8.10.2) with ESMTP id
  f7E6D3205644; Tue, 14 Aug 2001 14:13:03 +0800
Message-Id: <5.1.0.14.2.20010814141029.01c09df0 at cyllene.uwa.edu.au>
X-Sender: tvilla at cyllene.uwa.edu.au
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Tue, 14 Aug 2001 14:10:58 +0800
To: "smb" <smblist at hotmail.com>, <samba at lists.samba.org>
From: Tim Villa <tvilla at cyllene.uwa.edu.au>
Subject: Re: User auth.
In-Reply-To: <OE62hvfPAZScXrbw8b900001fe7 at hotmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Try the "password level" setting.  I had this exact problem when I used my 
unix boxes for authenticating before moving to the PDC.

Tim

At 12:03 13/08/2001 -0500, smb wrote:
>In the smb.conf I have
>security=user
>user=elomax
>
>I configured workstation to send clear tex-password but when I try to
>authenticate to linux box I just cannot,for some reasons password is not
>accepted.
>P.S. elomax user exists on linux box and has the same password.

--
Tim Villa, Network / Systems Administrator
Faculties of Economics & Commerce, Education and Law
The University of Western Australia
Phone: +61-8-9380-1796, Fax: +61-8-9380-1068
Mail <mailto:tvilla at cyllene.uwa.edu.au> WWW <http://buck.ecel.uwa.edu.au/>

Return-Path: <dan.tappin at orourke-eng.com>
Delivered-To: samba at lists.samba.org
Received: from h-207-228-121-48.gen.cadvision.com
  (h-207-228-121-48.gen.cadvision.com [207.228.121.48]) by
  lists.samba.org (Postfix) with SMTP id 9974C4B77 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 23:10:51 -0700 (PDT)
Received: from raic2.wavefront.ab.ca [24.67.8.233] by
  h-207-228-121-48.gen.cadvision.com; Tue, 14 Aug 2001 00:14:45 -0600
User-Agent: Microsoft-Entourage/9.0.2509
Date: Tue, 14 Aug 2001 00:13:26 -0600
Subject: Re: Browsing Problems
From: Dan Tappin <dan.tappin at orourke-eng.com>
To: John Doucette <jhdoucette at home.com>, <samba at lists.samba.org>
Message-ID: <B79E1DA6.1039%dan.tappin at orourke-eng.com>
In-Reply-To: <NDBBKLMLIAKNPCHHNJLIKELCDFAA.jhdoucette at home.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/

That seems to be a solution to most Windows problems.  That would have my
next step.  I am also going to try  "remote announce =
YOUR.IP.SUBNETS.255/WORKGROUP"  first and see if that helps.

Thanks for the tip,

Dan

> This is a Win98 issue which I have seen where Win98 cannot see NT shares. It
> is not related to Samba. And it is not like the machines are not networking
> properly as in the cases I have seen I could manually map drives to a NT
> share.
> 
> You could try removing all network settings and protocols, rebooting then
> setting up the network settings again from scratch. This has gotten me out
> of odd spots more than a few times.
> 
> John
> 
> -----Original Message-----
> From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
> Behalf Of Dan Tappin
> Sent: Monday, August 13, 2001 4:37 PM
> To: samba at lists.samba.org
> Subject: Browsing Problems
> 
> Machine: Samba 2.0.7 running on Red Hat 7.0
> 
> Problem: Unable to browse the shares
> 
> I have ~50 Win98 clients and I have only found 3 systems that have this
> issue.  They are three different machines so I am pretty sure it is not a
> hardware issue.
> 
> A computer search using the IP address of the Samba server results in a IP
> share which works correctly.  A simple shortcut to the desktop gets the user
> back up and running and accessing the shares but I would really like to
> solve the bigger issue of why these machines can't see the server in the
> network neighborhood.
> 
> I searched the list but I could not find a specific solution to this issue.
> I have found numerous posts but none with a solution.  In my search I found
> a few ideas which I tried with no luck:
> 
> - turning on master browser status
> - running nbtstat on the clients
> - turning off ipchains on the server
> - running smbclient (the suspect machines do not show in the services
> list??)
> 
> My intuition makes me think is some weird Win98 NetBios issue.
> 
> Any ideas from all you smart people on the list??
> 
> Please CC: dan.tappin at orourke-eng.com with any replies to the list (or use
> reply all).
> 
> Thanks,
> 
> Dan
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

Return-Path: <dragos.delcea at farmexim.ro>
Delivered-To: samba at lists.samba.org
Received: from mail.farmexim.ro (mail.farmexim.ro [193.230.163.129]) by
  lists.samba.org (Postfix) with SMTP id 88C044C6A for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 23:27:00 -0700 (PDT)
Received: (qmail 30913 invoked from network); 14 Aug 2001 06:33:21 -0000
Received: from dragosd.farmexim.ro (HELO busybox) (192.168.1.60) by
  192.168.1.3 with SMTP; 14 Aug 2001 06:33:21 -0000
Content-Type: text/plain; charset="iso-8859-1"
From: Dragos Delcea <dragos.delcea at farmexim.ro>
Reply-To: dragos.delcea at farmexim.ro
Organization: Farmexim SA
To: "Oliver Schulze L." <oliver at samera.com.py>, samba at lists.samba.org
Subject: Re: Netlogon name length restriction
Date: Tue, 14 Aug 2001 09:34:43 +0300
X-Mailer: KMail [version 1.2]
References: <3B7874C8.4030805 at samera.com.py>
In-Reply-To: <3B7874C8.4030805 at samera.com.py>
MIME-Version: 1.0
Message-Id: <01081409344302.01731 at busybox>
Content-Transfer-Encoding: 7bit
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Oliver, allthough I think I mailed you about this I must point out again that 
I have the same behaviour but only from FEW clients (win 98se); strange is 
that the ohter clients are the same version of OS (win98se)...
I could not see what it makes only those clients not work (even though I've 
had some tossling with codepage, locale settings).
I've made a workaround for now:
in main smb.conf I have include = /path/to/samba/smb.conf.%U and in 
smb.conf.some_user I put a truncated to 8 chars .bat (unique for every user)

dragos

On Tuesday 14 August 2001 03:46 am, Oliver Schulze L. wrote:
> Hi,
> what is the maximum file name lenght for a samba 2.2.1a running in
> kernel 2.4.x?
> I use RedHat 7.1 and if I use this:
>         logon script = all.bat
> all works fine.
>
> But, if I use this:
>         logon script = christian.bat
> it does not work and the "Z:" drive error appears
>
> These issue has been reported in the list and one thing I found is that
> if I use
> a RH6.2 rpm in RH7.1, this problem does not occurs.
> But, I install the RH7.1 rpm, the problem occurs always that the logon
> script
> exeeds some lenght.
>
> Thanks
> Oliver

Return-Path: <isaac at isaac.it>
Delivered-To: samba at lists.samba.org
Received: from galactica.it (mail5.galactica.it [212.41.208.22]) by
  lists.samba.org (Postfix) with ESMTP id 578DC49A5 for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 23:44:39 -0700 (PDT)
Received: from MK ([212.41.223.239]) by galactica.it  with Microsoft
  SMTPSVC(5.5.1877.537.53); Tue, 14 Aug 2001 08:53:10 +0200
Message-ID: <007e01c1248c$b677a400$f665fea9 at MK>
From: "Isaac Srl" <isaac at isaac.it>
To: <samba at lists.samba.org>
Subject: Samba Red Hat Linux 7.1
Date: Tue, 14 Aug 2001 08:45:30 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I need to know if to connecta Pc with 98 with linux i must need a client.If i
need a client where can i find it??

Tnx
Davide

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at lists.samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id 3B2584BCB for
  <samba at lists.samba.org>; Mon, 13 Aug 2001 23:58:12 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f7DN1JO08287; Tue, 14 Aug 2001 03:01:19 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  mpl.samera.com (8.11.2/8.11.2) with ESMTP id f7E6w8f26067; Tue, 14 Aug
  2001 02:58:08 -0400
Message-ID: <3B78CC00.2080203 at samera.com.py>
Date: Tue, 14 Aug 2001 02:58:08 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: Jeremy Allison <jeremy at valinux.com>
Cc: Matt Mortensen <mmortens at co.weber.ut.us>, Samba list
  <samba at lists.samba.org>
Subject: Re: Is anyone else having trouble with oplocks in 2.2 andRH7.1?
References: <3B45E33C.DB8FBDAD at co.weber.ut.us>
  <3B787276.8090001 at samera.com.py> <3B78B75E.9D50DD27 at valinux.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Jeremy,
thanks this solved my two problems:
- oplock errors
- long filenames in logon script

I posted a thread about log filenames in netlogon, will reply to that thread
with a report of what I did.
The short history is that with:
kernel oplocks = Yes
in RH7.1 you can't use long filenames in netlogon (logon script)
If you change to:
kernel oplocks = No
the, you can use the long filename again

Thanks! Going to production mode again :-)
Oliver


Jeremy Allison wrote:

>"Oliver Schulze L." wrote:
>
>>I'm too having oplock problems in RH7.1
>>
>>Any solutions yet?
>>
>
>If you're having oplock trouble with Samba 2.2.x and a Linux 2.4.x
>kernel (as in RH 7.1) can you try setting the global parameter
>
>kernel oplocks = no
>
>for a while and see if the problem goes away. I am currently
>tracking an issue in this area, but it needs more investigation.
>
>Jeremy.
>

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

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at lists.samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id 240FF4DED for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 00:06:29 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f7DN9rH08434; Tue, 14 Aug 2001 03:09:53 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  mpl.samera.com (8.11.2/8.11.2) with ESMTP id f7E79cf26608; Tue, 14 Aug
  2001 03:09:38 -0400
Message-ID: <3B78CEB1.8040306 at samera.com.py>
Date: Tue, 14 Aug 2001 03:09:37 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: Dragos Delcea <dragos.delcea at farmexim.ro>
Cc: samba at lists.samba.org
Subject: Re: Issues with RH7.1 and 2.2.1a rpm
References: <3B5BC19F.8050906 at samera.com.py>
  <3B5BC73A.621C5183 at farmexim.ro>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Dragos,
solved this problem with long filenames in logon script with this option:
kernel oplocks = No

check my newst post to the list.

Good luck
Oliver

Dragos Delcea wrote:

>"Oliver Schulze L." wrote:
>
>>Hi,
>>I was playing with samba 2.2.1a rpm this weekend.
>>First I compiled it in a RH6.2 server and all was working fine:
>>- Win2k domain join
>>- logon script
>>- roaming profile in Win98
>>
>>Then, I decided to upgrade to Rh7.1 and compiled the src.rpm for RH7.1
>>
>>The problem I found was that the logon script stop working. When the
>>user login,
>>the commands enters a loop saying "Permission denied" in each line.
>>
>>Also, if you go to \\server\netlogon and doble click on the .bat file,
>>it says
>>the same. But, if you copy that .bat to the desktop and execute it, it
>>works.
>>
>>I installed the 6.2 rpm instead, and the logon scripts was working again.
>>For example, I go to \\server\netlogon and doble click in the .bat files and
>>excecute with no problems.
>>
>>When compiling in RH 7.1, I get this errors(some examples):
>>Finding  Provides: (using /usr/lib/rpm/find-provides)...
>>Finding  Requires: (using /usr/lib/rpm/find-requires)...
>>objdump: /var/tmp/samba/etc/rc.d/init.d/smb: File format not recognized
>>objdump: /var/tmp/samba/usr/bin/findsmb: File format not recognized
>>objdump: /var/tmp/samba/usr/bin/mksmbpasswd.sh: File format not recognized
>>objdump: /var/tmp/samba/usr/bin/smbprint: File format not recognized
>>objdump: /var/tmp/samba/usr/bin/smbtar: File format not recognized
>>objdump:
>>/var/tmp/samba/usr/share/doc/samba-2.2.1a/docs/docbook/configure: File
>>format not recognized
>>objdump:
>>/var/tmp/samba/usr/share/doc/samba-2.2.1a/docs/docbook/scripts/ldp_print:
>>File format not recognized
>>objdump:
>>/var/tmp/samba/usr/share/doc/samba-2.2.1a/docs/docbook/scripts/make-article.pl:
>>File format not recognized
>>objdump:
>>/var/tmp/samba/usr/share/doc/samba-2.2.1a/docs/docbook/scripts/strip-links.pl:
>>File format not recognized
>>objdump:
>>/var/tmp/samba/usr/share/doc/samba-2.2.1a/examples/LDAP/export2_smbpasswd.pl:
>>File format not recognized
>>
>>and many more but only after this point.
>>
>>I tried using this files with the same error result:
>>http://va.samba.org/samba/ftp/Binary_Packages/redhat/SRPMS/7.1/samba-2.2.1a-20010717rh71.src.rpm
>>http://va.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/7.1/samba-2.2.1a-20010717rh71.i386.rpm
>>
>>Anyone got this errors in RH7.1 too?
>>I have RH7.1 with all official updates(including kernel 2.4.6)
>>
>>Oliver
>>
>
>hello Oliver,
>my problem seems the same as yours.
>I have a RH 7.1 with the updates, kernel 2.4.6 (compiled by hand) 
>with samba 2.2.1 compiled from source.
>Now I have about 50 win98 computers who log to the server;
>if username is longer than 8 chars, there are a few stations who
>don't like the bat and do not execute it (permission denied), but
>the 
>majority of the stations work (I have %U.bat as logon script).
>The old server (RH5.2 with samba 2.0.4b) works beautifuly with all 
>the clients (even with those which do not work with the new server)
>I'm going to try samba 2.2.0a to see how it behaves.
>I'm torturing myself with this since last week; I posted a question 
>on the list, nobody replied.
>hey, I'll keep you informed...
>
>cheers,
>dragos
>

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

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at lists.samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id BD9FC4DB6 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 00:05:21 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f7DN8sE08389 for samba at lists.samba.org; Tue, 14 Aug 2001
  03:08:54 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  mpl.samera.com (8.11.2/8.11.2) with ESMTP id f7E777f26588 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 03:07:07 -0400
Message-ID: <3B78CE1A.3080005 at samera.com.py>
Date: Tue, 14 Aug 2001 03:07:06 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Re: Netlogon name length restriction
References: <3B7874C8.4030805 at samera.com.py>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Solved!

Thanks to sugestion from Jeremy A., I put this line in my smb.conf:
        kernel oplocks = No
and I was able to use long filenames in the option:
logon script

The way I reached this conclusion was simple:
in smb.conf I have:
logon script = very_very_long_filename.bat
Then I do:
# /etc/init.d/smb stop
add 'kernel oplocks = No'  to smb.conf
# /etc/init.d/smb start
login from a Win98 client -> no problem

# /etc/init.d/smb stop
add 'kernel oplocks = Yes'  to smb.conf
# /etc/init.d/smb start
login from a Win98 client -> problem reported while accessing an 
existent(ghost) drive Z:

Test with:
samba-2.2.1a-2 src.rpm from rawhide.redhat.com
RedHat 7.1, linux 2.4.3-12(stock redhat kernel)
compiled with: rpm --clean --rebuild --target=i686

Conlusion:
The longfilename in logon script arise when the option 'kernel oplocks' 
is  set to:
kernel oplocks = Yes

HTH
Oliver
P.D.: back to production mode, woohoo


Oliver Schulze L. wrote:

> Hi,
> what is the maximum file name lenght for a samba 2.2.1a running in 
> kernel 2.4.x?
> I use RedHat 7.1 and if I use this:
>        logon script = all.bat
> all works fine.
>
> But, if I use this:
>        logon script = christian.bat
> it does not work and the "Z:" drive error appears
>
> These issue has been reported in the list and one thing I found is 
> that if I use
> a RH6.2 rpm in RH7.1, this problem does not occurs.
> But, I install the RH7.1 rpm, the problem occurs always that the logon 
> script
> exeeds some lenght.
>
> Thanks
> Oliver
>

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

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at lists.samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id 27F6C4E12 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 00:07:26 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f7DNAi108448; Tue, 14 Aug 2001 03:10:44 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  mpl.samera.com (8.11.2/8.11.2) with ESMTP id f7E7AWf26711; Tue, 14 Aug
  2001 03:10:32 -0400
Message-ID: <3B78CEE7.6050402 at samera.com.py>
Date: Tue, 14 Aug 2001 03:10:31 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: Chris Fry <chris at quillsoft.com.au>
Cc: samba at lists.samba.org
Subject: Re: Issues with RH7.1 and 2.2.1a rpm
References: <3B5BC19F.8050906 at samera.com.py>
  <3B5BC81C.9E4D624F at quillsoft.com.au>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Chris,
the problem was solved with this options:
kernel oplocks = No

Thanks for the sugestion on using notepad.exe, that was the way I 
created the
file.

Good luck
Oliver

Chris Fry wrote:

>Oliver,
>
>Sounds like this is a problem with the way you created the batch file.
>
>I'm assuming that you created it on the Redhat box.
>
>If you open it using notepad you will find that it is saved as a unix style file. Must be saved as a
>windows file otherwise it won't work.
>
>Had the same problem with Redhat 7.0.
>
>Chris
>
>"Oliver Schulze L." wrote:
>
>>Hi,
>>I was playing with samba 2.2.1a rpm this weekend.
>>First I compiled it in a RH6.2 server and all was working fine:
>>- Win2k domain join
>>- logon script
>>- roaming profile in Win98
>>
>>Then, I decided to upgrade to Rh7.1 and compiled the src.rpm for RH7.1
>>
>>The problem I found was that the logon script stop working. When the
>>user login,
>>the commands enters a loop saying "Permission denied" in each line.
>>
>>Also, if you go to \\server\netlogon and doble click on the .bat file,
>>it says
>>the same. But, if you copy that .bat to the desktop and execute it, it
>>works.
>>
>>I installed the 6.2 rpm instead, and the logon scripts was working again.
>>For example, I go to \\server\netlogon and doble click in the .bat files and
>>excecute with no problems.
>>
>>When compiling in RH 7.1, I get this errors(some examples):
>>Finding  Provides: (using /usr/lib/rpm/find-provides)...
>>Finding  Requires: (using /usr/lib/rpm/find-requires)...
>>objdump: /var/tmp/samba/etc/rc.d/init.d/smb: File format not recognized
>>objdump: /var/tmp/samba/usr/bin/findsmb: File format not recognized
>>objdump: /var/tmp/samba/usr/bin/mksmbpasswd.sh: File format not recognized
>>objdump: /var/tmp/samba/usr/bin/smbprint: File format not recognized
>>objdump: /var/tmp/samba/usr/bin/smbtar: File format not recognized
>>objdump:
>>/var/tmp/samba/usr/share/doc/samba-2.2.1a/docs/docbook/configure: File
>>format not recognized
>>objdump:
>>/var/tmp/samba/usr/share/doc/samba-2.2.1a/docs/docbook/scripts/ldp_print:
>>File format not recognized
>>objdump:
>>/var/tmp/samba/usr/share/doc/samba-2.2.1a/docs/docbook/scripts/make-article.pl:
>>File format not recognized
>>objdump:
>>/var/tmp/samba/usr/share/doc/samba-2.2.1a/docs/docbook/scripts/strip-links.pl:
>>File format not recognized
>>objdump:
>>/var/tmp/samba/usr/share/doc/samba-2.2.1a/examples/LDAP/export2_smbpasswd.pl:
>>File format not recognized
>>
>>and many more but only after this point.
>>
>>I tried using this files with the same error result:
>>http://va.samba.org/samba/ftp/Binary_Packages/redhat/SRPMS/7.1/samba-2.2.1a-20010717rh71.src.rpm
>>http://va.samba.org/samba/ftp/Binary_Packages/redhat/RPMS/7.1/samba-2.2.1a-20010717rh71.i386.rpm
>>
>>Anyone got this errors in RH7.1 too?
>>I have RH7.1 with all official updates(including kernel 2.4.6)
>>
>>Oliver
>>
>>--
>>Oliver Schulze L.
>>oliver at samera.com.py
>>Asuncion-Paraguay
>>--
>>To unsubscribe from this list go to the following URL and read the
>>instructions:  http://lists.samba.org/mailman/listinfo/samba
>>
>
>--
>
>Chris Fry
>Quillsoft Pty Ltd
>Specialists in Secure Internet Services and E-Commerce Solutions
>10 Gray Street
>Kogarah
>NSW  2217
>Australia
>
>Phone: +61 2 9553 1691
>Fax: +61 2 9553 1692
>Mobile: 0419 414 323
>eMail: chris at quillsoft.com.au
>http://www.quillsoft.com.au
>
>You can download our Public CA Certificate from:-
>https://ca.secureanywhere.com/htdocs/cacert.crt
>
>**********************************************************************
>
>This information contains confidential information intended only for
>the use of the authorised recipient.  If you are not an authorised
>recipient of this e-mail, please contact Quillsoft Pty Ltd by return
>e-mail.
>In this case, you should not read, print, re-transmit, store or act
>in reliance on this e-mail or any attachments, and should destroy all
>copies of them.
>This e-mail and any attachments may also contain copyright material
>belonging to Quillsoft Pty Ltd.
>The views expressed in this e-mail or attachments are the views of
>the author and not the views of Quillsoft Pty Ltd.
>You should only deal with the material contained in this e-mail if
>you are authorised to do so.
>
>This notice should not be removed.
>

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

Return-Path: <oliver at samera.com.py>
Delivered-To: samba at lists.samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
  by lists.samba.org (Postfix) with ESMTP id 9B3F14E4F for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 00:13:25 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
  with UUCP id f7DNGnN08554; Tue, 14 Aug 2001 03:16:49 +0400
Received: from samera.com.py (sojourner.samera.com [192.168.1.1]) by
  mpl.samera.com (8.11.2/8.11.2) with ESMTP id f7E7Eff26760; Tue, 14 Aug
  2001 03:14:41 -0400
Message-ID: <3B78CFE1.1080309 at samera.com.py>
Date: Tue, 14 Aug 2001 03:14:41 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.2)
  Gecko/20010726 Netscape6/6.1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: dragos.delcea at farmexim.ro
Cc: samba at lists.samba.org
Subject: Re: Netlogon name length restriction
References: <3B7874C8.4030805 at samera.com.py>
  <01081409344302.01731 at busybox>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Dragos,
this is a nice solution. Thanks for the tip.

Have you  'kernel oplocks = Yes' in your smb.conf?
If yes, what does this tell?
# grep oplock /var/log/samba/*

Oliver

Dragos Delcea wrote:

>Oliver, allthough I think I mailed you about this I must point out again that 
>I have the same behaviour but only from FEW clients (win 98se); strange is 
>that the ohter clients are the same version of OS (win98se)...
>I could not see what it makes only those clients not work (even though I've 
>had some tossling with codepage, locale settings).
>I've made a workaround for now:
>in main smb.conf I have include = /path/to/samba/smb.conf.%U and in 
>smb.conf.some_user I put a truncated to 8 chars .bat (unique for every user)
>
>dragos
>
>On Tuesday 14 August 2001 03:46 am, Oliver Schulze L. wrote:
>
>>Hi,
>>what is the maximum file name lenght for a samba 2.2.1a running in
>>kernel 2.4.x?
>>I use RedHat 7.1 and if I use this:
>>        logon script = all.bat
>>all works fine.
>>
>>But, if I use this:
>>        logon script = christian.bat
>>it does not work and the "Z:" drive error appears
>>
>>These issue has been reported in the list and one thing I found is that
>>if I use
>>a RH6.2 rpm in RH7.1, this problem does not occurs.
>>But, I install the RH7.1 rpm, the problem occurs always that the logon
>>script
>>exeeds some lenght.
>>
>>Thanks
>>Oliver
>>

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

Return-Path: <barry at arhosting.com>
Delivered-To: samba at lists.samba.org
Received: from arhosting.com (arhosting.com [216.63.180.37]) by
  lists.samba.org (Postfix) with SMTP id AAD654E1A for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 00:15:07 -0700 (PDT)
Received: (qmail 32711 invoked by uid 104); 14 Aug 2001 06:46:26 -0000
Received: from barry at arhosting.com by dns1.arhosting.com with
  qmail-scanner-0.96 (uvscan: v4.1.50/v4147. . Clean. Processed in
  1.012612 secs); 14 Aug 2001 06:46:26 -0000
Received: from unknown (HELO piii600) (10.10.5.2) by arhosting.com with
  SMTP; 14 Aug 2001 06:46:24 -0000
From: "Barry Smoke" <barry at arhosting.com>
To: "Dragos Delcea" <dragos.delcea at farmexim.ro>, "Samba-JP TAKAHASHI
  Motonobu" <monyo at samba.gr.jp>
Cc: <samba at lists.samba.org>
Subject: RE: limit on the share name to 13 characters?
Date: Tue, 14 Aug 2001 02:19:12 -0500
Message-ID: <IMEKIDMFAEBICGFFGJPKCEEJGJAA.barry at arhosting.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-Reply-To: <3B2E1F3C.C38E2796 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/

We are also having this problem.....
any success in fixing this?
our printer shares show up truncated in network neighborhood to 13 chars,
but if you go to port, and fill in the rest of the port, it prints just
fine.

The problem is we have too many printers to use strings under 13 chars...


-----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org]On
Behalf Of Dragos Delcea
Sent: Monday, June 18, 2001 10:33 AM
To: Samba-JP TAKAHASHI Motonobu
Cc: samba at lists.samba.org
Subject: Re: limit on the share name to 13 characters?


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


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

Return-Path: <send2anil at hotmail.com>
Delivered-To: samba at samba.anu.edu.au
Received: from hotmail.com (f39.law15.hotmail.com [64.4.23.39]) by
  lists.samba.org (Postfix) with ESMTP id BFF6C4491 for
  <samba at samba.anu.edu.au>; Tue, 14 Aug 2001 00:23:51 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Tue, 14 Aug 2001 00:27:49 -0700
Received: from 203.171.253.64 by lw15fd.law15.hotmail.msn.com with HTTP;
  Tue, 14 Aug 2001 07:27:49 GMT
X-Originating-IP: [203.171.253.64]
From: "Anil Sinha" <send2anil at hotmail.com>
To: samba at samba.anu.edu.au
Subject: Samba on Solaris 8.0
Date: Tue, 14 Aug 2001 07:27:49 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F39FohBL1f0EXVTP4rA00007eeb at hotmail.com>
X-OriginalArrivalTime: 14 Aug 2001 07:27:49.0854 (UTC)
  FILETIME=[9F3DD7E0:01C12492]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello:
I have problems installing apache on a sparc station.
After umpacking the tar file, when I try to run the "pkgadd"
utility, I receive this error message.
the whole process goes like this.

michigan# pkgadd -d samba-2.2.0-sparc-solaris-2.8.pkg

The following packages are available:
  1  samba     SMB based file/printer sharing
               (sparc) 2.2.0

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]:

Processing package instance <samba> from 
</jumpp/samba-2.2.0-sparc-solaris-2.8.p
kg>

SMB based file/printer sharing
(sparc) 2.2.0
cpio: Bad magic number/header.
1 errors
pkgadd: ERROR: attempt to process datastream failed
    - process </usr/bin/cpio -icdumD -C 512> failed, exit code 1
pkgadd: ERROR: unable to unpack datastream

Installation of <samba> failed (internal error).
No changes were made to the system.
michigan#

I'd tried two different files fron two different mirror servers
and I had the same answer.

Can you help me?

Thanks in advance.


Regards
Anil Sinha

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

Return-Path: <luridBlack at satx.rr.com>
Delivered-To: samba at lists.samba.org
Received: from sm14.texas.rr.com (sm14.texas.rr.com [24.93.35.41]) by
  lists.samba.org (Postfix) with ESMTP id A4B5B465A for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 00:25:45 -0700 (PDT)
Received: from jason (cs162170-105.satx.rr.com [24.162.170.105]) by
  sm14.texas.rr.com (8.12.0.Beta16/8.12.0.Beta16) with SMTP id
  f7E7abXD008892 for <samba at lists.samba.org>; Tue, 14 Aug 2001 02:36:37
  -0500
Message-ID: <001201c12492$bcbe5560$0400a8c0 at jason>
From: ")ason" <luridBlack at satx.rr.com>
To: <samba at lists.samba.org>
Subject: Unable to connect to printer share!
Date: Tue, 14 Aug 2001 02:28:37 -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/

Hi, I am trying to share a printer among various windows systems via samba.

I can print normally on the linux box but not via smbclient because:

> smbclient //Lserver/printerX
added interface ip=xx.162.171.xxx cast=xx.162.171.255 nmask=255.255.254.0
added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0
Got a positive name query response from xx.162.170.xxx ( xx.162.170.xxx )
Password:
Anonymous login successful
Domain=[N-AMERICA] OS=[Unix] Server=[Samba 2.0.7]
tree connect failed: ERRSRV - ERRinvnetname (Invalid network name in tree
connec
t.)

This is the same error message as if I were to try connect to an imaginary
share!
But when I smbclient -L, it does list a share named printerX and now I'm out
of ideas.

My smb.conf includes:
[printerX]
        path = /var/spool/lpd/samba
        guest ok = Yes
        printable = Yes
        printing = lprng
        print command = /usr/bin/lpr -r -P%p -r %s
        lpq command = /usr/bin/lpq -P%p
        lprm command = /usr/bin/lprm -P%p %j
        lppause command = /usr/sbin/lpc hold %p %j
        lpresume command = /usr/sbin/lpc release %p %j
        queuepause command = /usr/sbin/lpc -P%p stop
        queueresume command = /usr/sbin/lpc -P%p start
        printer = lp

Has anyone any ideas? Thanks.

Return-Path: <yfminc at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (f273.law12.hotmail.com [64.4.18.148]) by
  lists.samba.org (Postfix) with ESMTP id 1BDD34EE9 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 00:41:37 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Tue, 14 Aug 2001 00:45:25 -0700
Received: from 196.30.169.130 by lw12fd.law12.hotmail.msn.com with HTTP;
  Tue, 14 Aug 2001 07:45:25 GMT
X-Originating-IP: [196.30.169.130]
From: "yfm inc" <yfminc at hotmail.com>
To: samba at lists.samba.org
Subject: Cannot see Samba server from Microsoft RAS connection
Date: Tue, 14 Aug 2001 07:45:25 +0000
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <F2733L9BGTuAyHsjCGv00005e61 at hotmail.com>
X-OriginalArrivalTime: 14 Aug 2001 07:45:25.0437 (UTC)
  FILETIME=[146B06D0:01C12495]
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 a samba server setup, and working fine. However, if a remote user 
dials in via Microsoft RAS, they can see the other NT servers in the 
workgroup, but not the samba server.

Any suggestions or ideas

Thanks
Shaun

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

Return-Path: <epl at unimelb.edu.au>
Delivered-To: samba at samba.org
Received: from myriad.its.unimelb.edu.au (myriad.its.unimelb.edu.au
  [128.250.6.196]) by lists.samba.org (Postfix) with ESMTP id 0665A4EED
  for <samba at samba.org>; Tue, 14 Aug 2001 00:41:38 -0700 (PDT)
Received: from localhost (epl at localhost) by myriad.its.unimelb.edu.au
  (8.9.3/8.9.3) with ESMTP id RAA19575; Tue, 14 Aug 2001 17:45:11 +1000
  (AEST)
X-Authentication-Warning: myriad.its.unimelb.edu.au: epl owned process
  doing -bs
Date: Tue, 14 Aug 2001 17:45:10 +1000 (AEST)
From: Edmund Lam <epl at unimelb.edu.au>
X-Sender: epl at myriad.its.unimelb.edu.au
To: Gerald Carter <gcarter at valinux.com>
Cc: Ray Phillips <r.phillips at mailbox.uq.edu.au>, samba at samba.org
Subject: Re: CIDR Notation
In-Reply-To: <Pine.LNX.4.33.0108131343160.11464-100000 at pogo.plainjoe.org
  >
Message-ID: <Pine.OSF.4.10.10108141736450.10452-100000 at myriad.its.unimel
  b.edu.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Mon, 13 Aug 2001, Gerald Carter wrote:

> It used to work.  I'll have to look and see why it is not....
> 
   There is another behaviour which I suspect is a bug, but am not sure. I
posted something to samba-technical on the 3 Jul 2001. Basically, the
following line will work
   hosts allow = 130.102.18.192/255.255.255.192

but not
   hosts allow = 130.102.18.195/255.255.255.192

Thanks

Eddie

Return-Path: <dragos.delcea at farmexim.ro>
Delivered-To: samba at lists.samba.org
Received: from mail.farmexim.ro (mail.farmexim.ro [193.230.163.129]) by
  lists.samba.org (Postfix) with SMTP id 546344AE9 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 00:43:55 -0700 (PDT)
Received: (qmail 9359 invoked from network); 14 Aug 2001 07:50:16 -0000
Received: from dragosd.farmexim.ro (HELO busybox) (192.168.1.60) by
  192.168.1.3 with SMTP; 14 Aug 2001 07:50:16 -0000
Content-Type: text/plain; charset="iso-8859-1"
From: Dragos Delcea <dragos.delcea at farmexim.ro>
Reply-To: dragos.delcea at farmexim.ro
Organization: Farmexim SA
To: "Oliver Schulze L." <oliver at samera.com.py>,
  dragos.delcea at farmexim.ro
Subject: Re: Netlogon name length restriction
Date: Tue, 14 Aug 2001 10:51:38 +0300
X-Mailer: KMail [version 1.2]
Cc: samba at lists.samba.org
References: <3B7874C8.4030805 at samera.com.py>
  <01081409344302.01731 at busybox> <3B78CFE1.1080309 at samera.com.py>
In-Reply-To: <3B78CFE1.1080309 at samera.com.py>
MIME-Version: 1.0
Message-Id: <01081410513803.01731 at busybox>
Content-Transfer-Encoding: 7bit
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

yes, I have kernel oplocks = yes (it's the default for 2.4 kernels)
it doesn't say much now, but it did when I played around with locks/oplocks.
I have an old foxpro application which I could not make run reliable and fast 
(by fast meaning not so damn slooow). Back then I saw in the logs a timeout 
for an oplock followed by an message about an unsolicited oplock reply (you 
got the picture); tried toying with 'oplock break wait time' and with 
locks/oplocks and came to no solution.
I moved the msdos application on the old server (samba 2.0.4.b) and it works 
ok, for now, but it's a temporary solution, as I have no tape on that one and 
if it fails, I'm in trouble...

dragos

On Tuesday 14 August 2001 10:14 am, Oliver Schulze L. wrote:
> Hi Dragos,
> this is a nice solution. Thanks for the tip.
>
> Have you  'kernel oplocks = Yes' in your smb.conf?
> If yes, what does this tell?
> # grep oplock /var/log/samba/*
>
> Oliver
>
> Dragos Delcea wrote:
> >Oliver, allthough I think I mailed you about this I must point out again
> > that I have the same behaviour but only from FEW clients (win 98se);
> > strange is that the ohter clients are the same version of OS (win98se)...
> >I could not see what it makes only those clients not work (even though
> > I've had some tossling with codepage, locale settings).
> >I've made a workaround for now:
> >in main smb.conf I have include = /path/to/samba/smb.conf.%U and in
> >smb.conf.some_user I put a truncated to 8 chars .bat (unique for every
> > user)
> >
> >dragos
> >
> >On Tuesday 14 August 2001 03:46 am, Oliver Schulze L. wrote:
> >>Hi,
> >>what is the maximum file name lenght for a samba 2.2.1a running in
> >>kernel 2.4.x?
> >>I use RedHat 7.1 and if I use this:
> >>        logon script = all.bat
> >>all works fine.
> >>
> >>But, if I use this:
> >>        logon script = christian.bat
> >>it does not work and the "Z:" drive error appears
> >>
> >>These issue has been reported in the list and one thing I found is that
> >>if I use
> >>a RH6.2 rpm in RH7.1, this problem does not occurs.
> >>But, I install the RH7.1 rpm, the problem occurs always that the logon
> >>script
> >>exeeds some lenght.
> >>
> >>Thanks
> >>Oliver

Return-Path: <epl at unimelb.edu.au>
Delivered-To: samba at lists.samba.org
Received: from myriad.its.unimelb.edu.au (myriad.its.unimelb.edu.au
  [128.250.6.196]) by lists.samba.org (Postfix) with ESMTP id 471E34F6E
  for <samba at lists.samba.org>; Tue, 14 Aug 2001 01:02:19 -0700 (PDT)
Received: from localhost (epl at localhost) by myriad.its.unimelb.edu.au
  (8.9.3/8.9.3) with ESMTP id RAA20133 for <samba at lists.samba.org>; Tue,
  14 Aug 2001 17:55:18 +1000 (AEST)
X-Authentication-Warning: myriad.its.unimelb.edu.au: epl owned process
  doing -bs
Date: Tue, 14 Aug 2001 17:55:18 +1000 (AEST)
From: Edmund Lam <epl at unimelb.edu.au>
X-Sender: epl at myriad.its.unimelb.edu.au
To: samba at lists.samba.org
Subject: W2K attempts 8-10 logins before asking for user/pass combo
Message-ID: <Pine.OSF.4.10.10108141753400.10452-100000 at myriad.its.unimel
  b.edu.au>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi,
   I've observed behaviour in W2K that seems to indicate that it
attempts to login (using SMBsesssetupX) approx 8-10 times before
prompting the user for a username/password combo. I'm wondering whether
anyone has observed this behaviour and whether there are any
workarounds.

   I've recently hacked Samba to include some account locking code that
prevents a client from logging into Samba after (say) 5 failed
attempts. I've done this by altering reply_sesssetup_and_X() in
smbd/reply.c. (see http://samba.org/samba-patches?findid=494) Basically
something that pam_tally does, but for Tru64.

   W2K has a "feature" by which it tries your local username/password
on any remote server. Unfortunately, I've found a scenario where W2K
tries 8-10 times before prompting you for a new username/password.
Unfortunately, the account-locking code thinks someone is trying to
brute force a user's password and locks the account.

   In particular, this only occurs if you type in the UNC name
(ie \\servername) in say "Start|Run" rather than via shortcuts or
"Network Neighbourhood".

   A tcpdump of the traffic between the client and server indicates
that the W2K machine is indeed sending 7+ "SMBsesssetupX requests". This
indicates it isn't Samba's fault.

   Has anyone seen this behaviour before and does anyone know how to
turn it off. Alternatively, is there a way to implement account-locking
in Samba that can detect this behaviour and not lock the account --
whilst keeping Samba secure against sensible clients (eg smbclient).

   I am _not_ using "username/password level".

Thanks

Eddie

Return-Path: <dragos.delcea at farmexim.ro>
Delivered-To: samba at lists.samba.org
Received: from mail.farmexim.ro (mail.farmexim.ro [193.230.163.129]) by
  lists.samba.org (Postfix) with SMTP id 7899F4F11 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 00:51:24 -0700 (PDT)
Received: (qmail 10062 invoked from network); 14 Aug 2001 07:57:45 -0000
Received: from dragosd.farmexim.ro (HELO busybox) (192.168.1.60) by
  192.168.1.3 with SMTP; 14 Aug 2001 07:57:45 -0000
Content-Type: text/plain; charset="iso-8859-1"
From: Dragos Delcea <dragos.delcea at farmexim.ro>
Reply-To: dragos.delcea at farmexim.ro
Organization: Farmexim SA
To: "Barry Smoke" <barry at arhosting.com>, "Tim Villa"
  <tvilla at cyllene.uwa.edu.au>, <samba at lists.samba.org>
Subject: Re: browseable according to group?
Date: Tue, 14 Aug 2001 10:59:08 +0300
X-Mailer: KMail [version 1.2]
References: <IMEKIDMFAEBICGFFGJPKCEEGGJAA.barry at arhosting.com>
In-Reply-To: <IMEKIDMFAEBICGFFGJPKCEEGGJAA.barry at arhosting.com>
MIME-Version: 1.0
Message-Id: <01081410590804.01731 at busybox>
Content-Transfer-Encoding: 7bit
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Barry,
I maybe able to give you a solution (not sure though)...
try this:
have in you main smb.conf a line like that
inlude = smb.conf.%g
and in smb.conf.group1 have some parameters...
I've had a situation where this helped me, it wasn't about printers, groups, 
but just a thought...

dragos

On Tuesday 14 August 2001 09:06 am, Barry Smoke wrote:
> nope...the valid users is just for accessability...so this will just not
> allow anyone else to use the share, or printer...
> browseability is different.
> the browseable = (yes/no)
> is what controls that....but there is no browseable = @groupname, so that
> only a certain group can see a share.  We are really needing this feature.
> In print servers alone, we have over 40 printers campus wide...
> if I could narrow down what printers a user is able to see by the location
> they are at(primary group) it would really help.
>
> We have tried a include line, which has a %g variable in it
> meaning that we have 5 different include files:
> smbincl.server1
> smbincl.server2
> smbincl.server3....etc...
> and the include files contain only a list of printer shares for that group,
> but the log files complain that the %g is not expanded(not mentioned in the
> newest documentation BTW)so it can't find the include file.
>
> We have tried including 1 of 5 different printcap files like this:
> print cap = /etc/printcap.%g
> but the log file complains on this .....meaning that the printcap entry is
> only loaded at smb.conf load time, and not dynamically ....which we find
> odd, since you can dynamically use other entries in [global]
> such as logon home = \\samba\%U
> or any number of others
>
> We started to wonder if this was a problem with the smb protocol, where if
> fixed would break things...but surely the list of shares is automagically
> generated for each user at logon time, since when you browse network
> neighborhood...they see their username there, and no-one else can see that
> share...part of the homes magic :-)
>
>
> Are we overlooking something simple....or is this simply not possible?
>
>
>
>
> -----Original Message-----
> From: Tim Villa [mailto:tvilla at cyllene.uwa.edu.au]
> Sent: Tuesday, August 14, 2001 12:31 AM
> To: Barry Smoke; samba at lists.samba.org
> Subject: Re: browseable according to group?
>
>
> Sounds like the "valid users" and "invalid users" settings in smb.conf will
> do this nicely.  For the shares which only group1 has access to, add
> something like:
>
> [share1]
>          valid users = @group1
>          invalid users = @group2, @group3, @group4
>
> [share2]
>          valid users = @group2
>          invalid users = @group1, @group3, @group4
>
> and so on.
>
> Tim
>
> At 17:59 13/08/2001 -0500, Barry Smoke wrote:
> >We are migrating 5 novell servers to a large dell server running samba.
> >We have used a lot of samba's features(%variable completion) to make this
>
> as
>
> >transparent as possible.
> >we have done this with server based groups...old server1 has a server1
> >group, and all users from that server had their primary group changed to
> >server1.
> >this allowed us to use a share with a %g path, and allow the users to only
> >see all the same old files that was on their old server, and none of the
> >files on the other 4 servers.  If we run into a large file, or directory
> >that is shared between the users(such as a office 2000 share) then we use
> >symbolic links to save disk space.
> >
> >As nice as all of this is, we have run into a roadblock.  There are
> > certain shares, and printers that we would like to only appear in network
> > neighborhood for a certain group.  If a printer was on the old server1,
>
> then
>
> >we only want people that belong to server1 group to see it in network
> >neighborhood.
> >Is anyone doing this? Can someone tell me how to do this?
>
> --
> Tim Villa, Network / Systems Administrator
> Faculties of Economics & Commerce, Education and Law
> The University of Western Australia
> Phone: +61-8-9380-1796, Fax: +61-8-9380-1068
> Mail <mailto:tvilla at cyllene.uwa.edu.au> WWW <http://buck.ecel.uwa.edu.au/>

Return-Path: <bnies at hsr.ch>
Delivered-To: samba at lists.samba.org
Received: from hsr.ch (pollux.hsr.ch [152.96.36.20]) by lists.samba.org
  (Postfix) with ESMTP id 1BF464402 for <samba at lists.samba.org>; Tue, 14
  Aug 2001 01:19:07 -0700 (PDT)
Received: from [152.96.129.27] (HELO hsr.ch) by hsr.ch (CommuniGate Pro
  SMTP 3.4.2) with ESMTP id 2906406 for samba at lists.samba.org; Tue, 14
  Aug 2001 10:23:05 +0200
Message-ID: <3B78DFE9.2B3C7994 at hsr.ch>
Date: Tue, 14 Aug 2001 10:23:05 +0200
From: Bernd Nies <bnies at hsr.ch>
Organization: HSR - Hochschule fuer Technik Rapperswil
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17-14 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: SAMBA Mailinglist <samba at lists.samba.org>
Subject: Re: multiple password servers
References: <079FD72E42C9D311B854009027650E6F0758EFAA at xatl02.atl.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/

Hi Don,

We're running CIFS/9000 1.05 which is Samba 2.0.7. What changes does
HP make to the Samba code or do they just compile it?

I did not try the asterisk option of the password server command yet.
I just tried the security=domain instead of security=server with a
single password server.

Maybe it works but I cannot join the Samba server to the NT domain:

[root at rz1-node /etc/opt/samba]# smbpasswd -r WEGA -j HSR        
cli_net_srv_pwset: NT_STATUS_WRONG_PASSWORD
modify_trust_password: unable to change password for machine SAMBA in domain HSR to Domain controller WEGA. Error was NT_STATUS_WRONG
_PASSWORD.
2001/08/14 10:07:54 : change_trust_account_password: Failed to change password for domain HSR.
Unable to join domain HSR.

I was just following the instructions in the Samba doc:

http://samba.epfl.ch/samba/docs/Samba-HOWTO-Collection.html#AEN400


Regards,
Bernd
-- 
 _  _ ___ ___  
| || / __| _ \ Bernd Nies, System Engineer
| __ \__ \   / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil
|_||_|___/_|_\ +41-55-2224984, http://www.id.hsr.ch/ bnies at hsr.ch

Return-Path: <asokanon at yahoo.com>
Delivered-To: samba at lists.samba.org
Received: from smtp014.mail.yahoo.com (smtp014.mail.yahoo.com
  [216.136.173.58]) by lists.samba.org (Postfix) with SMTP id 125DA44B8
  for <samba at lists.samba.org>; Tue, 14 Aug 2001 02:07:53 -0700 (PDT)
Received: from rppp2-76.net.utulsa.edu (HELO Bart) (129.244.252.76) by
  smtp.mail.vip.sc5.yahoo.com with SMTP; 14 Aug 2001 09:11:51 -0000
X-Apparently-From: <asokanon at yahoo.com>
Message-ID: <002701c124a1$36b59910$0200a8c0 at Bart>
From: "Asoka Anon" <asokanon at yahoo.com>
To: <samba at lists.samba.org>
Subject: swat loggin problems
Date: Tue, 14 Aug 2001 04:12:15 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hello, first of all, I feel like an idiot.  Ive been having so many problems
just because I was away from linux for a long time and when I returned, I
forgot that I had to manually install inetd after the fact, so thats been a
big trouble for me, not anymore...now the problem is that swat wont let me
loggin.  I can get to the prompt, but when I enter my pass it just rejects
me sayig 401 Bad Authorization.  Any ideas why this would be?  I am using
samba-2.2.1a on redhat 6.2.  Thanks in advance for the help,
AA


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


Return-Path: <reinout.wijnveen at philips.com>
Delivered-To: samba at lists.samba.org
Received: from gw-nl4.philips.com (gw-nl4.philips.com [212.153.190.6])
  by lists.samba.org (Postfix) with ESMTP id 0373A4E5F for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 04:21:01 -0700 (PDT)
Received: from smtpscan-nl1.philips.com (localhost.philips.com
  [127.0.0.1]) by gw-nl4.philips.com with ESMTP id NAA03893; Tue, 14 Aug
  2001 13:24:57 +0200 (MEST) (envelope-from
  reinout.wijnveen at philips.com)
From: reinout.wijnveen at philips.com
Received: from smtpscan-nl1.philips.com(130.139.36.21) by
  gw-nl4.philips.com via mwrap (4.0a) id xma002963; Tue, 14 Aug 01
  13:24:57 +0200
Received: from smtprelay-nl1.philips.com (localhost [127.0.0.1])  by
  smtpscan-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id
  MAA07756; Tue, 14 Aug 2001 12:46:11 +0200 (MET DST)
Received: from notessmtp-nl1.philips.com (notessmtp-nl1.philips.com
  [130.139.36.10])  by smtprelay-nl1.philips.com
  (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id MAA02392; Tue, 14 Aug 2001
  12:46:11 +0200 (MET DST)
Received: from NLAUO01.diamond.philips.com
  (nlauo01sv1.diamond.philips.com [130.139.52.214])  by
  notessmtp-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with ESMTP id
  MAA04391; Tue, 14 Aug 2001 12:46:10 +0200 (MET DST)
Subject: Re: Locking issues with HP-UX 11.00
To: jeremy at valinux.com
Cc: don_mccall at hp.com, reinout.wijnveen at wanadoo.nl,
  samba at lists.samba.org
Date: Tue, 14 Aug 2001 12:46:01 +0200
Message-ID: <OFE0648065.A26164B1-ONC1256AA8.002F6765 at diamond.philips.com
  >
X-MIMETrack: Serialize by Router on NLAUO01/H/SERVER/PHILIPS(Release
  5.0.5 |September 22, 2000) at 14/08/2001 12:47:05
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/

Jeremy, Don.

In this mail i have the output of the patched version and the level10 outputs of the locking part of binaries compiled on HP-UX 10.20 and 11.

Here's the output of the patched version:
==================================
[2001/08/14 10:09:33, 3] lib/util.c:(1326)
  fcntl_lock: fcntl lock gave errno 46 (No locks available)
[2001/08/14 10:09:33, 3] lib/util.c:(1347)
  fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2 (No locks available)
[2001/08/14 10:09:33, 3] locking/posix.c:(708)
  posix_fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2 (No locks availa
ble)jnveen closed file notes/w32/vviewlst.smi (numopen=1)
[2001/08/14 10:09:33, 3] smbd/error.c:(123)7)
  error string = No locks available
[2001/08/14 10:09:33, 3] smbd/error.c:(136)0)
  error packet at line 4520 cmd=36 (SMBlockingX) eclass=1 ecode=33
[2001/08/14 10:09:33, 3] smbd/process.c:(837)
  Transaction 325 of length 46d=160 (SMBnttrans) eclass=2 ecode=65535


At level 10 i see quite some differences between output from binaries compiled on HP-UX 10.20 and HP-UX 11.  With the  64 bit binaries i see an error instead of a fallback attempt, with the 32bit version i see a lock being ignored.

compiled on HP-UX 10.20:
======================
[2001/08/13 19:57:19, 10] smbd/reply.c:(4476)
  reply_lockingX: lock start=4294901760, len=65535 for pid 51966, file notes/names.nsf
[2001/08/13 19:57:19, 10] locking/locking.c:(117)
  do_lock: lock type WRITE start=4294901760 len=65535 requested for file notes/names.nsf
[2001/08/13 19:57:19, 5] locking/posix.c:(1036)
  set_posix_lock: File notes/names.nsf, offset = 4294901760, count = 65535, type = READ
[2001/08/13 19:57:19, 10] locking/posix.c:(583)
  posix_lock_in_range: (offset = 4294901760) offset > 2147483647 and we cannot handle this. Ignoring lock.
[2001/08/13 19:57:19, 3] smbd/reply.c:(4525)
  lockingX fnum=4835 type=16 num_locks=1 num_ulocks=0
[2001/08/13 19:57:19, 5] lib/util.c:(285)
  size=39
  smb_com=0x24
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=136
  smb_flg2=1

compiled on HP-UX 11:
===================
[2001/08/14 09:32:57, 10] smbd/reply.c:(4476)
  reply_lockingX: lock start=4294901760, len=65535 for pid 51966, file notes/names.nsf
[2001/08/14 09:32:57, 10] locking/locking.c:(117)
  do_lock: lock type WRITE start=4294901760 len=65535 requested for file notes/names.nsf
[2001/08/14 09:32:57, 5] locking/posix.c:(1036)
  set_posix_lock: File notes/names.nsf, offset = 4294901760, count = 65535, type = READ
[2001/08/14 09:32:57, 10] locking/posix.c:(625)
  posix_lock_in_range: offset_out = 4294901760, count_out = 65535
[2001/08/14 09:32:57, 10] locking/posix.c:(389)
  add_posix_lock: File notes/names.nsf: type = WRITE: start=4294901760 size=65535: dev=-16776357 inode=1917
[2001/08/14 09:32:57, 5] locking/posix.c:(1122)
  set_posix_lock: Real lock: Type = WRITE: offset = 4294901760, count = 65535
[2001/08/14 09:32:57, 8] locking/posix.c:(686)
  posix_fcntl_lock 23 9 4294901760 65535 2
[2001/08/14 09:32:57, 8] lib/util.c:(1313)
  fcntl_lock 23 9 4294901760 65535 2
[2001/08/14 09:32:57, 3] lib/util.c:(1326)
  fcntl_lock: fcntl lock gave errno 46 (No locks available)
[2001/08/14 09:32:57, 3] lib/util.c:(1347)
  fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2 (No locks available)
[2001/08/14 09:32:57, 3] locking/posix.c:(708)
  posix_fcntl_lock: lock failed at offset 4294901760 count 65535 op 9 type 2 (No locks available)
[2001/08/14 09:32:57, 5] locking/posix.c:(1126)
  set_posix_lock: Lock fail !: Type = WRITE: offset = 4294901760, count = 65535. Errno = No locks available
[2001/08/14 09:32:57, 3] smbd/error.c:(123)
  error string = No locks available
[2001/08/14 09:32:57, 3] smbd/error.c:(136)
  error packet at line 4520 cmd=36 (SMBlockingX) eclass=1 ecode=33
[2001/08/14 09:32:57, 5] lib/util.c:(285)
  size=35
  smb_com=0x24
  smb_rcls=1
  smb_reh=0
  smb_err=33
  smb_flg=136
  smb_flg2=1

-
Regards,
Reinout Wijnveen

"All those who believe in psychokinesis raise my hand"

ICT-N/Philips Semiconductors Nijmegen
Address: AC 0.062, Gerstweg 2, 6534 AE Nijmegen, Fax: +31 24 353 2019





Jeremy Allison <jeremy at valinux.com>@lists.samba.org on 08/14/2001 12:10:38 AM

Sent by:  samba-admin at lists.samba.org


To:     "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
cc:     Reinout Wijnveen/NYM/SC/PHILIPS at EMEA2
        reinout.wijnveen at wanadoo.nl
        samba at lists.samba.org
Subject:  Re: Locking issues with HP-UX 11.00
Classification:



"MCCALL,DON (HP-USA,ex1)" wrote:
>
> Hi Jeremy,
> I may have the answer to this.  I modified a  quick test program (I had been
> using for another issue) where /borsdump  is an nfs mounted volume,and
> compiled and ran it on a 64bit wide HPUX 11.x system, and what I find is
> that HPUX is not returning a EFBIG error when I do an fcntl lock, or an
> lseek64.  It only fails with EFBIG when I actually try to WRITE to the
> file...
> So I expect that Samba is not falling back to the 31bit lock request... (or
> I'm doing something stupid in my test program ,always a possibility ;->)
> Even more telling, the code indicates that a debug statement should indicate
> this fallback at level 8...  Are you seeing this, Reinout?

I'll check into the large file summit paper as to
the correct error returns for 64 bit locks on a
32 bit nfs v2 filesystem.

What errno is it returning ? Does the lock fail,
or claim to succeed ?

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

Return-Path: <yudhi at akakom.ac.id>
Delivered-To: samba at lists.samba.org
Received: from ns.akakom.ac.id (unknown [202.95.157.18]) by
  lists.samba.org (Postfix) with ESMTP id 5A8F74E5D for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 04:38:26 -0700 (PDT)
Received: from localhost (yudhi at localhost) by ns.akakom.ac.id
  (8.11.4/8.11.4) with ESMTP id f7EBgLo12510 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 18:42:21 +0700
Date: Tue, 14 Aug 2001 18:42:21 +0700 (JAVT)
From: Yudhi Kusnanto <yudhi at akakom.ac.id>
To: <samba at lists.samba.org>
Subject: Re: Trying Samba again
In-Reply-To: <20010814071122.53CCF4E4C at lists.samba.org>
Message-ID: <Pine.LNX.4.33.0108141838340.12320-100000 at ns.akakom.ac.id>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

> On Fri, 10 Aug 2001, Stormblade wrote:
>
> > Now, the problem is that when I try to use swat it asks me for
> > authorization. I give it the root username and password and it will
> > not let me in. I tried logging in as my normal user but that didn't
> > work either. I just get Authorization failed messages.
>
> Did you use --with-pam during configure?  Did you create /etc/pam.d/samba?
> Not well documented I know....

i have the same experience, my setup is --without-pam --with-acl-support
(samba-cvs-latest). it seems that swat doesn't look for shadow password.
maybe i am wrong.

--
yudhi kusnanto

Return-Path: <craigem at BabcockBrown.com>
Delivered-To: samba at lists.samba.org
Received: from alcatraz.babcockbrown.com (alcatraz.babcockbrown.com
  [208.1.254.2]) by lists.samba.org (Postfix) with ESMTP id 30D2F481A
  for <samba at lists.samba.org>; Tue, 14 Aug 2001 05:50:28 -0700 (PDT)
Received: from tiburon.babcockbrown.com (tiburon.babcockbrown.com
  [208.1.254.14]) by alcatraz.babcockbrown.com (8.11.3/8.11.3) with
  ESMTP id f7DLrbS29689; Tue, 14 Aug 2001 05:53:37 +0800 (GMT)
Received: from redwarf.babcockbrown.com (localhost [127.0.0.1]) by
  tiburon.babcockbrown.com (8.11.3/8.11.3) with ESMTP id f7DLsc916965;
  Tue, 14 Aug 2001 05:54:38 +0800 (GMT)
Received: from avalon by redwarf.babcockbrown.com (8.9.3+Sun/SMI-SVR4)
  id WAA20120; Tue, 14 Aug 2001 22:59:13 +1000 (EST)
Received: from craigem by avalon with local (Exim 3.31 #1 (Debian)) id
  15Wdd4-0008TI-00; Tue, 14 Aug 2001 22:49:06 +1000
Date: Tue, 14 Aug 2001 22:49:06 +1000
From: Craige McWhirter <Craige.McWhirter at BabcockBrown.com>
To: Asoka Anon <asokanon at yahoo.com>
Cc: samba at lists.samba.org
Subject: Re: swat loggin problems
Message-ID: <20010814224906.A32474 at oz>
References: <002701c124a1$36b59910$0200a8c0 at Bart>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <002701c124a1$36b59910$0200a8c0 at Bart>
User-Agent: Mutt/1.3.20i
X-Converted-To-Plain-Text: from multipart/signed by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Are you using *your* name/passwd or root/passwd?

Thus spake Asoka Anon (asokanon at yahoo.com):

> Hello, first of all, I feel like an idiot.  Ive been having so many
problems
> just because I was away from linux for a long time and when I returned, I
> forgot that I had to manually install inetd after the fact, so thats been a
> big trouble for me, not anymore...now the problem is that swat wont let me
> loggin.  I can get to the prompt, but when I enter my pass it just rejects
> me sayig 401 Bad Authorization.  Any ideas why this would be?  I am using
> samba-2.2.1a on redhat 6.2.  Thanks in advance for the help,
> AA

--

Cheers,
      Craige,

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

Return-Path: <gcarter at valinux.com>
Delivered-To: samba at lists.samba.org
Received: from dc-mx05.cluster1.charter.net
  (dc-mx05.cluster0.hsacorp.net [209.225.8.15]) by lists.samba.org
  (Postfix) with ESMTP id A4DA14DEA for <samba at lists.samba.org>; Tue, 14
  Aug 2001 06:08:04 -0700 (PDT)
Received: from [24.216.84.59] (HELO pogo.plainjoe.org) by
  dc-mx05.cluster1.charter.net (CommuniGate Pro SMTP 3.4.6) with ESMTP
  id 21967220; Tue, 14 Aug 2001 09:17:39 -0400
Date: Tue, 14 Aug 2001 08:14:44 -0500 (CDT)
From: Gerald Carter <gcarter at valinux.com>
X-X-Sender: <gcarter at pogo.plainjoe.org>
To: Ephi Dror <edror at panasas.com>
Cc: "Samba (E-mail)" <samba at lists.samba.org>
Subject: Re: Join a domain without creating machine account?
In-Reply-To: <000701c12440$f55a3080$df8411ac at GORSUCH>
Message-ID: <Pine.LNX.4.33.0108140813350.4798-100000 at pogo.plainjoe.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

On Mon, 13 Aug 2001, Ephi Dror wrote:

> Reading collection of HOWTOs 7.1 it says:
> "There is existing development code to join a domain without having to
> create the machine trust account on the PDC beforehand. This code will
> hopefully be available soon in release branches as well."
> Is this done already?

Yes.  It is in the latest SAMBA_2_2 (and HEAD) code.  The syntax is

	smbpasswd -j <domain> -r <dc name> -U <adminuser%pw>






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: <deborah.santomauro at lmco.com>
Delivered-To: samba at lists.samba.org
Received: from mailgw1a.lmco.com (mailgw1a.lmco.com [192.31.106.7]) by
  lists.samba.org (Postfix) with ESMTP id E87A3440B for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 06:17:24 -0700 (PDT)
Received: from emss02g01.ems.lmco.com (relay2.ems.lmco.com
  [166.29.2.54]) by mailgw1a.lmco.com (8.8.8/8.8.8) with ESMTP id
  HAA28549; Tue, 14 Aug 2001 07:21:22 -0600 (MDT)
Received: from CONVERSION-DAEMON by lmco.com (PMDF V5.2-33 #38887) id
  <0GI2002017RJBS at lmco.com>; Tue, 14 Aug 2001 07:21:20 -0600 (MDT)
Received: from emss02i00.ems.lmco.com ([166.29.2.48]) by lmco.com (PMDF
  V5.2-33 #38887) with ESMTP id <0GI200N3L7RE6D at lmco.com>; Tue, 14 Aug
  2001 07:21:14 -0600 (MDT)
Received: by emss02i00.ems.lmco.com with Internet Mail Service
  (5.5.2653.19)	id <QYR27NRL>; Tue, 14 Aug 2001 07:22:20 -0600
Content-return: allowed
Date: Tue, 14 Aug 2001 07:22:17 -0600
From: "Santomauro, Deborah" <deborah.santomauro at lmco.com>
Subject: RE: Adding Users - SWAT Problem (newbie)
To: "'Gerald Carter'" <gcarter at valinux.com>, "Santomauro, Deborah"
  <deborah.santomauro at lmco.com>
Cc: "Samba Group (E-mail)" <samba at lists.samba.org>, "SOLARIS-L (E-mail)"
  <SOLARIS-L at OPENITX.COM>
Message-id: <784F51866054D4118E8A00508BDF581A065618B3 at emss02m02.ems.lmco
  .com>
MIME-version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Jerry,

Doesn't "nispasswd" basically do the same? I'm trying this process out on
already existing users - myself. Would it work, if I first created an
smbpasswd file (/usr/local/samba/private) and then manually entered a user's
Unix login info. into the  file using the example in the O'Reilly book on
Samba (Ch. 6 - pg. 176)? And does "password synchronization" have to be set
up as well in the smb.conf file? I thought that by creating what I call "an
alias file" (/usr/local/samba/lib/smbusers) and include this pathname in the
smb.conf file would help resolve the problem, but it didn't. I'm probably
asking  questions that have obvious answers, but having never used Samba,
all I can do is take it one step at a time.

thx,
-deb
 
-----Original Message-----
From: Gerald Carter [mailto:gcarter at valinux.com]
Sent: Monday, August 13, 2001 3:23 PM
To: Santomauro, Deborah
Cc: Samba Group (E-mail); SOLARIS-L (E-mail)
Subject: RE: Adding Users - SWAT Problem (newbie)


On Mon, 13 Aug 2001, Santomauro, Deborah wrote:

> okay I've tried using "smbpasswd -a" method and it failed so then I tried
> via SWAT and still received a message "Failed to add entry for user ....".
> Maybe "smbpasswd" is trying to look for the user's Unix account info. from
> the default /etc/passwd file. In NIS+, this is not used - what is used is
> the "passwd.org_dir' table. It appears that Samba and NIS+ are not talking
> to each other. Therefore my question is....is there a way of
"pre-defining"
> where I want "smbpasswd" to pull this information? I understand that
> "nisplus" is no longer supported, but that is what I have to use on my
> system and the users are demanding that Samba also be included. Can't the
> two play well with each other?

Deborah,

The misconception is that --with-nisplus is needed for NIS+ passwd maps.
the --with-nisplus option is to store smbpasswd as a NIS+ table.
You should be able to do a getpwnam() can return a user from the NIS+
passwd table (see /etc/nsswithch,conf).  smbpasswd(8) requires that the
user to be added to the smbpasswd(5) file exists in the system list of
accounts.

Does this make sense?








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: <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 A53CA4562 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 06:37:10 -0700 (PDT)
Received: from bits.linuxball (bits [208.161.142.154]) by
  srvr201.castmark.com (8.11.0/8.11.0) with SMTP id f7EDe7412471; Tue,
  14 Aug 2001 08:40:07 -0500
Content-Type: text/plain; charset="iso-8859-1"
From: Fred Jackson <fred at arkansaswebs.com>
To: Yudhi Kusnanto <yudhi at akakom.ac.id>, <samba at lists.samba.org>
Subject: Re: Trying Samba again
Date: Tue, 14 Aug 2001 08:37:31 -0500
X-Mailer: KMail [version 1.2]
References: <Pine.LNX.4.33.0108141838340.12320-100000 at ns.akakom.ac.id>
In-Reply-To: <Pine.LNX.4.33.0108141838340.12320-100000 at ns.akakom.ac.id>
MIME-Version: 1.0
Message-Id: <01081408373101.11869 at bits.linuxball>
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi guys, 

if swats broke, it broke after samba 2.2.0.

I'm running RedHat 7.1
my config for swat is relatively simple, and I had no problem setting 
it up except that I had to edit the path of the swat executable and 
enable it ( e.g. change to 'disable = no' on the last line).
the only references to passwords in my conf file are:

encrypt passwords = Yes
smb passwd file = /etc/smbpasswd 

cheers
Fred

---------------/etc/xinetd.d/swat---------------

# 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
}
--------------------------------------------------------


_________________________________ 
On Tuesday 14 August 2001 06:42 am, Yudhi Kusnanto wrote:
> > On Fri, 10 Aug 2001, Stormblade wrote:
> >
> > > Now, the problem is that when I try to use swat it asks me for
> > > authorization. I give it the root username and password and it 
will
> > > not let me in. I tried logging in as my normal user but that 
didn't
> > > work either. I just get Authorization failed messages.
> >
> > Did you use --with-pam during configure?  Did you create 
/etc/pam.d/samba?
> > Not well documented I know....
> 
> i have the same experience, my setup is --without-pam 
--with-acl-support
> (samba-cvs-latest). it seems that swat doesn't look for shadow 
password.
> maybe i am wrong.
> 
> --
> yudhi kusnanto
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

Return-Path: <stymar at agcs.com>
Delivered-To: samba at samba.org
Received: from bootstrap.agcs.com (bootstrap.agcs.com [130.131.48.11])
  by lists.samba.org (Postfix) with ESMTP id 41AA6441B for
  <samba at samba.org>; Tue, 14 Aug 2001 06:59:40 -0700 (PDT)
Received: from pxmail1.agcs.com (pxmail1.agcs.com [130.131.168.5]) by
  bootstrap.agcs.com (Pro-8.9.3/8.9.3) with ESMTP id HAA18812 for
  <samba at samba.org>; Tue, 14 Aug 2001 07:02:46 -0700 (MST)
Received: from agcs.com ([130.131.36.72]) by pxmail1.agcs.com (Netscape
  Messaging Server 3.61)  with ESMTP id AAA2DB3; Tue, 14 Aug 2001
  07:03:36 -0700
Message-ID: <3B792FAB.D441BAE6 at agcs.com>
Date: Tue, 14 Aug 2001 07:03:23 -0700
From: Robert Styma <stymar at agcs.com>
Reply-To: stymar at agcs.com
Organization: AG Communication Systems
X-Mailer: Mozilla 4.75 [en] (X11; U; SunOS 5.5.1 sun4m)
X-Accept-Language: en
MIME-Version: 1.0
To: Anil Sinha <send2anil at hotmail.com>
Cc: samba at samba.org
Subject: Re: Samba on Solaris 8.0
References: <F39FohBL1f0EXVTP4rA00007eeb at hotmail.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

The message looks like what you get when the transfer (ftp://...)
was done in ascii mode instead of binary mode.  You might try
going to one of the anonymous ftp sites (can be derived from the
URL) and download using ftp directly.  Then you can be sure how
it transferred.

Anil Sinha wrote:
> 
> Hello:
> I have problems installing apache on a sparc station.
> After umpacking the tar file, when I try to run the "pkgadd"
> utility, I receive this error message.
> the whole process goes like this.
> 
> michigan# pkgadd -d samba-2.2.0-sparc-solaris-2.8.pkg
> 
> The following packages are available:
>   1  samba     SMB based file/printer sharing
>                (sparc) 2.2.0
> 
> Select package(s) you wish to process (or 'all' to process
> all packages). (default: all) [?,??,q]:
> 
> Processing package instance <samba> from
> </jumpp/samba-2.2.0-sparc-solaris-2.8.p
> kg>
> 
> SMB based file/printer sharing
> (sparc) 2.2.0
> cpio: Bad magic number/header.
> 1 errors
> pkgadd: ERROR: attempt to process datastream failed
>     - process </usr/bin/cpio -icdumD -C 512> failed, exit code 1
> pkgadd: ERROR: unable to unpack datastream
> 
> Installation of <samba> failed (internal error).
> No changes were made to the system.
> michigan#
> 
> I'd tried two different files fron two different mirror servers
> and I had the same answer.
> 
> Can you help me?
> 
> Thanks in advance.
> 
> Regards
> Anil Sinha
> 
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba

-- 
Robert E. Styma 
Principal Engineer
AG Communication Systems, Phoenix - A subsidiary of Lucent
Email: stymar at agcs.com
Phone: 623-582-7323
FAX:   623-581-4884
Company:  http://www.agcs.com
Personal: http://www.swlink.net/~styma

Return-Path: <rickera2 at SLU.EDU>
Delivered-To: samba at lists.samba.org
Received: from sva.slu.edu (slumailrelay.slu.edu [165.134.36.3]) by
  lists.samba.org (Postfix) with ESMTP id DE3C44694 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 07:18:32 -0700 (PDT)
Received: from slu.edu ([165.134.134.82]) by SLU.EDU (PMDF V6.0-025
  #38756) with ESMTP id <01K74AMZ3DFI90MX6Q at SLU.EDU> for
  samba at lists.samba.org; Tue, 14 Aug 2001 09:18:48 -0500 (CDT)
Date: Tue, 14 Aug 2001 09:23:05 -0500
From: Tony Ricker <rickera2 at SLU.EDU>
Subject: Samba in network neighborhood
To: samba <samba at lists.samba.org>
Message-id: <3B793449.60032CD7 at slu.edu>
Organization: Saint Louis University
MIME-version: 1.0
X-Mailer: Mozilla 4.7 [en] (Win98; U)
Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7bit
X-Accept-Language: en
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/

All,
    I configured the smb.conf and first put "sluh_his" as the domain,
which is the real name. I then didi the smbclient -L and the master
becomes the name of the linux box, in this case sifl. I then changed the
domain name in the smb.conf to sifl and the master still becomes sifl. I
see it in network hood but can not browse it, says share name can not be
found. Any ideas?

Perplexed but hope full.

--
-------------------------------
Tony Ricker
Technology Coordinator
SLUCare - P.M.O.
St. Louis University
Phone:  314.977.6844
E-mail: rickera2 at slu.edu
-------------------------------
"Think Different"
-------------------------------
"In the beginners mind, there
are many possibilities. In the
experts mind, there are few"
- Shunryu Suzuki

Return-Path: <kwillmert at visionaryweb.com>
Delivered-To: samba at lists.samba.org
Received: from janus.hosting4u.net (janus.hosting4u.net [209.15.2.37])
  by lists.samba.org (Postfix) with SMTP id 6EC0644E7 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 07:36:22 -0700 (PDT)
Received: (qmail 31630 invoked from network); 14 Aug 2001 14:40:20 -0000
Received: from earth.hosting4u.net (HELO visionaryweb.com) (209.15.2.7)
  by mail-gate.hosting4u.net with SMTP; 14 Aug 2001 14:40:20 -0000
Received: from cardassia ([216.241.148.10]) by visionaryweb.com ; Tue,
  14 Aug 2001 09:40:17 -0500
Message-ID: <003301c124cf$a0e66b10$06a8a8c0 at cardassia>
From: "Konrad Willmert" <kwillmert at visionaryweb.com>
To: <samba at lists.samba.org>
Subject: Re: samba and filenames + connection
Date: Tue, 14 Aug 2001 09:44:31 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4807.1700
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/

Is there any way to fix this besides changing the filesystem?  I want to be
absolutely sure, that's a lot of work.  :-)

Also, that problem I was having connecting to our file server with linux (but
not windows) popped up again.  I guess when I used the modified smbmount
string it was a fluke or something, because  I haven't changed a thing, and it
quit working again.  Here's the string again:
smbmount "\\\\enterprise\\server" /home/server -o username=xxxx,password=xxxx

I get a failed code 0 samba session failed connect, or something similar.
Before, I had an extra 'mount /server' in the init string and when I took that
out it worked... well not any longer.  All the machines running windows can
connect, but when I run linux on this one it will not. Grrr.  Ideas?

Konrad
  ----- Original Message -----
  From: Konrad Willmert
  To: samba at lists.samba.org
  Sent: Monday, August 13, 2001 5:23 PM
  Subject: samba and filenames


  I have had no end to troubles with my Samba server arbitrarily changing or
not changing the case of my filenames.  I have a Samba file server sharing a
mounted FAT32 drive with the network.  I would like the server preserve the
case of files I copy move save or download.  For some reason when we download
.html files that are all lower case, they are all converted to UPPER case even
though the default case is set to lower.  This is the best configuration I
could come up with, I desparately need to get this to work right, please
help!
  relevant smb.conf:
  ***********************
  [global]
    preserve case = yes
    short preserve case = yes
  # Default case is normally upper case for all DOS files
    default case = lower
  # Be very careful with case sensitivity - it can break things!
    case sensitive = no
    mangle case = yes
    mixed case = yes
    mangle names = no

  [share]
      comment = Server
      path = /mnt/server/
      valid users = xxx yyy zzz etc
      public = yes
      guest ok = yes
      writable = yes
      guest ok = yes
      create mask = 0777
      force create mode = 777
      force directory mode = 777
      read only = no
      browseable = yes
      locking = no
  *******************************************

  Konrad
  ---------------------------------------
  Konrad Willmert
  kwillmert at visionaryweb.com
  Programmer - Visionary Web Design, LLC.
  http://www.visionaryweb.com

Return-Path: <don_mccall at hp.com>
Delivered-To: samba at lists.samba.org
Received: from palrel2.hp.com (palrel2.hp.com [156.153.255.234]) by
  lists.samba.org (Postfix) with ESMTP id 43AA04742 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 07:37:35 -0700 (PDT)
Received: from xparelay1.corp.hp.com (unknown [15.58.136.173]) by
  palrel2.hp.com (Postfix) with ESMTP id 1A90E1B72; Tue, 14 Aug 2001
  07:41:33 -0700 (PDT)
Received: from xpabh1.corp.hp.com (xpabh1.corp.hp.com [15.58.136.191])
  by xparelay1.corp.hp.com (Postfix) with ESMTP id 128B11F554; Tue, 14
  Aug 2001 07:41:32 -0700 (PDT)
Received: by xpabh1.corp.hp.com with Internet Mail Service (5.5.2653.19)
  id <QVBAJB7W>; Tue, 14 Aug 2001 07:41:32 -0700
Message-ID: <079FD72E42C9D311B854009027650E6F0758EFB0 at xatl02.atl.hp.com>
From: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
To: 'Bernd Nies' <bnies at hsr.ch>, SAMBA Mailinglist
  <samba at lists.samba.org>
Subject: RE: multiple password servers
Date: Tue, 14 Aug 2001 07:41:31 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi Bernd;
Try the following steps:
1. stop samba
2. as administrator of the domain HSR, use server mgr
to REMOVE the machine account for your samba server from the domain.
3. then add the machine account for your samba server back into the domain.
4. make sure that your smb.conf file has
   security = domain
   netbios name = <hostname of your samba server - should
   be same name that you added as a machine account to
   the domain>
   workgroup = HSR
   password server = *
5. THEN use smbpasswd -r <PDC NAME> -j HSR

HP DOES make changes to the Samba code when we build and compile into
CIFS/9000 server, but they are MOSTLY enhancements for samba to support JFS
acl's, and default path changes (like instead of /usr/local/samba/bin,
/opt/samba/bin).
Whenever we DO find a problem and make a change, we share it back to the
SAMBA team so it can be merged into the current CVS.  Or just as often it's
one of the samba team that helps us fix a problem (maybe it's in the 2.2 CVS
code, but still applies to 2.0.x, and we will apply the 
fix to the CIFS/9000 product, even though the 2.0.X opensource branch is no
longer being developed/changed...).

Anyway, A.01.05 CIFS/9000 Server SHOULD be able to join a domain with AS/U
as the domain controller.  If you still have problems, you might consider
opening up a s/w call with the Response center, to get full HP attention to
it.

Hope this helps,
Don  

Hope this helps

-----Original Message-----
From: Bernd Nies [mailto:bnies at hsr.ch]
Sent: Tuesday, August 14, 2001 4:23 AM
To: SAMBA Mailinglist
Subject: Re: multiple password servers


Hi Don,

We're running CIFS/9000 1.05 which is Samba 2.0.7. What changes does
HP make to the Samba code or do they just compile it?

I did not try the asterisk option of the password server command yet.
I just tried the security=domain instead of security=server with a
single password server.

Maybe it works but I cannot join the Samba server to the NT domain:

[root at rz1-node /etc/opt/samba]# smbpasswd -r WEGA -j HSR        
cli_net_srv_pwset: NT_STATUS_WRONG_PASSWORD
modify_trust_password: unable to change password for machine SAMBA in domain
HSR to Domain controller WEGA. Error was NT_STATUS_WRONG
_PASSWORD.
2001/08/14 10:07:54 : change_trust_account_password: Failed to change
password for domain HSR.
Unable to join domain HSR.

I was just following the instructions in the Samba doc:

http://samba.epfl.ch/samba/docs/Samba-HOWTO-Collection.html#AEN400


Regards,
Bernd
-- 
 _  _ ___ ___  
| || / __| _ \ Bernd Nies, System Engineer
| __ \__ \   / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil
|_||_|___/_|_\ +41-55-2224984, http://www.id.hsr.ch/ bnies at hsr.ch
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Return-Path: <fred at arkansaswebs.com>
Delivered-To: samba at samba.org
Received: from srvr201.castmark.com (unknown [209.38.98.99]) by
  lists.samba.org (Postfix) with ESMTP id C3C6F46C1 for
  <samba at samba.org>; Tue, 14 Aug 2001 07:45:46 -0700 (PDT)
Received: from bits.linuxball (bits [208.161.142.154]) by
  srvr201.castmark.com (8.11.0/8.11.0) with SMTP id f7EEoQ412587; Tue,
  14 Aug 2001 09:50:26 -0500
Content-Type: text/plain; charset="iso-8859-1"
From: Fred Jackson <fred at arkansaswebs.com>
To: Robert Styma <stymar at agcs.com>, Anil Sinha <send2anil at hotmail.com>
Subject: Re: Samba on Solaris 8.0
Date: Tue, 14 Aug 2001 09:47:50 -0500
X-Mailer: KMail [version 1.2]
Cc: samba at samba.org
References: <F39FohBL1f0EXVTP4rA00007eeb at hotmail.com>
  <3B792FAB.D441BAE6 at agcs.com>
In-Reply-To: <3B792FAB.D441BAE6 at agcs.com>
MIME-Version: 1.0
Message-Id: <01081409475003.11869 at bits.linuxball>
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/

Is this about apache or samba?

Fred

_________________________________ 
On Tuesday 14 August 2001 09:03 am, Robert Styma wrote:
> The message looks like what you get when the transfer (ftp://...)
> was done in ascii mode instead of binary mode.  You might try
> going to one of the anonymous ftp sites (can be derived from the
> URL) and download using ftp directly.  Then you can be sure how
> it transferred.
> 
> Anil Sinha wrote:
> > 
> > Hello:
> > I have problems installing apache on a sparc station.
> > After umpacking the tar file, when I try to run the "pkgadd"
> > utility, I receive this error message.
> > the whole process goes like this.
> > 
> > michigan# pkgadd -d samba-2.2.0-sparc-solaris-2.8.pkg
> > 
> > The following packages are available:
> >   1  samba     SMB based file/printer sharing
> >                (sparc) 2.2.0
> > 
> > Select package(s) you wish to process (or 'all' to process
> > all packages). (default: all) [?,??,q]:
> > 
> > Processing package instance <samba> from
> > </jumpp/samba-2.2.0-sparc-solaris-2.8.p
> > kg>
> > 
> > SMB based file/printer sharing
> > (sparc) 2.2.0
> > cpio: Bad magic number/header.
> > 1 errors
> > pkgadd: ERROR: attempt to process datastream failed
> >     - process </usr/bin/cpio -icdumD -C 512> failed, exit code 1
> > pkgadd: ERROR: unable to unpack datastream
> > 
> > Installation of <samba> failed (internal error).
> > No changes were made to the system.
> > michigan#
> > 
> > I'd tried two different files fron two different mirror servers
> > and I had the same answer.
> > 
> > Can you help me?
> > 
> > Thanks in advance.
> > 
> > Regards
> > Anil Sinha
> > 
> > _________________________________________________________________
> > Get your FREE download of MSN Explorer at 
http://explorer.msn.com/intl.asp
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
> -- 
> Robert E. Styma 
> Principal Engineer
> AG Communication Systems, Phoenix - A subsidiary of Lucent
> Email: stymar at agcs.com
> Phone: 623-582-7323
> FAX:   623-581-4884
> Company:  http://www.agcs.com
> Personal: http://www.swlink.net/~styma
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 

Return-Path: <bnies at hsr.ch>
Delivered-To: samba at lists.samba.org
Received: from hsr.ch (pollux.hsr.ch [152.96.36.20]) by lists.samba.org
  (Postfix) with ESMTP id 7B079498C for <samba at lists.samba.org>; Tue, 14
  Aug 2001 07:46:40 -0700 (PDT)
Received: from [152.96.129.27] (HELO hsr.ch) by hsr.ch (CommuniGate Pro
  SMTP 3.4.2) with ESMTP id 2930902; Tue, 14 Aug 2001 16:50:37 +0200
Message-ID: <3B793ABD.B8055E3A at hsr.ch>
Date: Tue, 14 Aug 2001 16:50:37 +0200
From: Bernd Nies <bnies at hsr.ch>
Organization: HSR - Hochschule fuer Technik Rapperswil
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.17-14 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: "MCCALL,DON (HP-USA,ex1)" <don_mccall at hp.com>
Cc: SAMBA Mailinglist <samba at lists.samba.org>
Subject: Re: multiple password servers
References: <079FD72E42C9D311B854009027650E6F0758EFB0 at xatl02.atl.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/

Hi Don,

> Hi Bernd;
> Try the following steps:
> 1. stop samba
> 2. as administrator of the domain HSR, use server mgr
> to REMOVE the machine account for your samba server from the domain.
> 3. then add the machine account for your samba server back into the domain.
> 4. make sure that your smb.conf file has
>    security = domain
>    netbios name = <hostname of your samba server - should
>    be same name that you added as a machine account to
>    the domain>
>    workgroup = HSR
>    password server = *
> 5. THEN use smbpasswd -r <PDC NAME> -j HSR
> 
> HP DOES make changes to the Samba code when we build and compile into
> CIFS/9000 server, but they are MOSTLY enhancements for samba to support JFS
> acl's, and default path changes (like instead of /usr/local/samba/bin,
> /opt/samba/bin).
> Whenever we DO find a problem and make a change, we share it back to the
> SAMBA team so it can be merged into the current CVS.  Or just as often it's
> one of the samba team that helps us fix a problem (maybe it's in the 2.2 CVS
> code, but still applies to 2.0.x, and we will apply the
> fix to the CIFS/9000 product, even though the 2.0.X opensource branch is no
> longer being developed/changed...).
> 
> Anyway, A.01.05 CIFS/9000 Server SHOULD be able to join a domain with AS/U
> as the domain controller.  If you still have problems, you might consider
> opening up a s/w call with the Response center, to get full HP attention to
> it.

Thanks for that hint. I'll try it tomorrow when we have another
maintenance time slot and will let you know. 

BTW: I already opened a software call at HP because I need a solution this 
week because I go to the HP World in Chicago on Saturday and after that
trip we have no maintenance time slot for playing around with our main
file server.

Regards,
Bernd


-- 
 _  _ ___ ___  
| || / __| _ \ Bernd Nies, System Engineer
| __ \__ \   / HSR Hochschule, Oberseestr.10, CH-8640 Rapperswil
|_||_|___/_|_\ +41-55-2224984, http://www.id.hsr.ch/ bnies at hsr.ch

Return-Path: <smblist at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (oe73.pav2.hotmail.com [64.4.36.207]) by
  lists.samba.org (Postfix) with ESMTP id B72D14762 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 08:18:13 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
  SMTPSVC; Tue, 14 Aug 2001 08:22:11 -0700
X-Originating-IP: [216.123.170.131]
From: "smb" <smblist at hotmail.com>
To: <samba at lists.samba.org>, "Tim Villa" <tvilla at cyllene.uwa.edu.au>
References: <5.1.0.14.2.20010814141029.01c09df0 at cyllene.uwa.edu.au>
Subject: Re: User auth.
Date: Tue, 14 Aug 2001 10:22:10 -0500
MIME-Version: 1.0
Content-Type: text/plain;	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 6.00.2462.0000
Message-ID: <OE73GNsokLQ8aZRhQdO00002fa8 at hotmail.com>
X-OriginalArrivalTime: 14 Aug 2001 15:22:11.0589 (UTC)
  FILETIME=[E3C1F350:01C124D4]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I'm not very familiar with this setting - how can I use it?
----- Original Message -----
From: "Tim Villa" <tvilla at cyllene.uwa.edu.au>
To: "smb" <smblist at hotmail.com>; <samba at lists.samba.org>
Sent: Tuesday, August 14, 2001 1:10 AM
Subject: Re: User auth.


> Try the "password level" setting.  I had this exact problem when I used my
> unix boxes for authenticating before moving to the PDC.
>
> Tim
>
> At 12:03 13/08/2001 -0500, smb wrote:
> >In the smb.conf I have
> >security=user
> >user=elomax
> >
> >I configured workstation to send clear tex-password but when I try to
> >authenticate to linux box I just cannot,for some reasons password is not
> >accepted.
> >P.S. elomax user exists on linux box and has the same password.
>
> --
> Tim Villa, Network / Systems Administrator
> Faculties of Economics & Commerce, Education and Law
> The University of Western Australia
> Phone: +61-8-9380-1796, Fax: +61-8-9380-1068
> Mail <mailto:tvilla at cyllene.uwa.edu.au> WWW <http://buck.ecel.uwa.edu.au/>
>
>

Return-Path: <JamieGertsch at Freightliner.com>
Delivered-To: samba at lists.samba.org
Received: from relay1.freightliner.com (relay1.freightliner.com
  [208.26.204.160]) by lists.samba.org (Postfix) with SMTP id DA29B4228
  for <samba at lists.samba.org>; Tue, 14 Aug 2001 09:04:44 -0700 (PDT)
Received: from 170.2.32.100 by relay1.freightliner.com with ESMTP (
  WorldSecure Server SMTP Relay(WSS) v4.5); Tue, 14 Aug 2001 08:56:38
  -0700
X-Server-Uuid: 3c394ff6-2c2e-11d4-ade5-005004a1a2b0
Received: by corpowa1.freightliner.com with Internet Mail Service (
  5.5.2653.19) id <Q4WVJ9WT>; Tue, 14 Aug 2001 09:08:15 -0700
Message-ID: <FCE23CF58EDED41180670004120237E90479415C at corpexc4.freightli
  ner.com>
From: "Jamie Gertsch" <JamieGertsch at Freightliner.com>
To: samba at lists.samba.org
Subject: IT guys messing up SAMBA access?
Date: Tue, 14 Aug 2001 09:08:08 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
X-WSS-ID: 176795BC59401-02-01
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/

Hi all,

I have a Linux server (SuSE 6.3 with a 2.2.17 RAID-patched kernel) that is
running SAMBA 2.0.7.  As long as I can remember, there have not been any
problems with accessing the shared folders, e.g. UNIX home accounts.  Then,
last Monday, myself and others could no longer access any of the shares
through SAMBA.  We also couldn't print through our print server running
SAMBA.

I thought maybe I had somehow messed up the SAMBA config files so I rolled
back the changes to previous versions that I knew worked.  Still nothing.  I
was about to reinstall SAMBA when it started working again last Wednesday.
Mostly.  If I recall correctly, I couldn't descend into any directories on
my UNIX home directory but I could open files on the main level.  It was
basically like I had limited read-only access.  (My machine is running
Windows 2000.)

Other users were able to get normal access towards the end of the week.
Yesterday a colleague running Windows 98 had access to his shares but now I
had no access.  Today, he can't access the shares.  The messages that we get
are:

An error occurred while reconnecting [Drive]: to \ \server\share
Microsoft Windows Network : The local device name is already in use.
This connection has not been restored.

and

[Drive:] is not accessible.
Logon failure.  Unknown username or bad password.

I have verified that the SMB and NMB services are running.  I have always
been able to access SWAT.

At this point it is obvious to me that the IT guys are messing something up.
They have a long history of doing this.  A colleague has been speaking to IT
and they keep saying they haven't done anything.  I am going to speak to the
network guru today.

I should note that SAMBA is not "officially" supported on our network so I
need to help out as much as I can as far as suggesting a resolution.  I
believe it is a password and/or permissions issue on the Windows side based
on the experiences noted above.  I do not know enough about SAMBA or
networking to know what they could be doing wrong.  Does anyone have ideas
or been in a similar situation?  We are on a token ring network and I think
they are running Windows NT (not W2K) for the main servers.

TIA.

JG

"WorldSecure <Freightliner.com>" made the following
 annotations on 08/14/01 08:57:04
------------------------------------------------------------------------------

[INFO] -- Content Manager:
The information contained in this communication is confidential and intended solely for the use of the individual to whom it is addressed and others authorized to receive it.  If you are not the intended recipient, any disclosure, copying, distribution or taking of any action in reliance on the contents of this information is prohibited. If you have received this communication in error, please immediately notify the sender by phone if possible or via email message.  

==============================================================================

Return-Path: <Juer.Lee at raidtec.ie>
Delivered-To: samba at lists.samba.org
Received: from smtpstore.strencom.net (unknown [217.75.0.70]) by
  lists.samba.org (Postfix) with ESMTP id 0CAA74B77 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 09:27:31 -0700 (PDT)
Received: from raptor.raidtec.ie (unknown [217.75.2.18]) by
  smtpstore.strencom.net (Postfix) with SMTP id CF06B638D4 for
  <samba at lists.samba.org>; Tue, 14 Aug 2001 17:33:01 +0100 (IST)
Received: from no.name.available by raptor.raidtec.ie via smtpd (for
  [217.75.0.68]) with SMTP; 14 Aug 2001 17:51:31 UT
Subject: Samba_TNG
MIME-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 7bit
Date: Tue, 14 Aug 2001 17:31:25 +0100
content-class: urn:content-classes:message
Message-ID: <EB0AF92C5F6B6B45A3EC7A2608347EC005B772 at CORK-DC1.raidtec.ie>
Thread-Topic: Samba_TNG
Thread-Index: AcEk3o9xHpDwECD3REqfrnrlhaYY8w==
From: "Juer Lee" <Juer.Lee at raidtec.ie>
To: <samba at lists.samba.org>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Hi, All,

Has anybody ever tried to compile the samba-appliance-0.5/tng under
Suse7.1 which using Glibc2.2?
I met a link error when I did that.

Linking bin/samedit
bin/.libs/libsamba.so: undefined reference to '__va_arg_type_violation'
...
I failed searching that string in source code.

Thanks in advance for any help or suggestion.

Juer

Return-Path: <JamieGertsch at Freightliner.com>
Delivered-To: samba at lists.samba.org
Received: from relay1.freightliner.com (relay1.freightliner.com
  [208.26.204.160]) by lists.samba.org (Postfix) with SMTP id 95ED34C31
  for <samba at lists.samba.org>; Tue, 14 Aug 2001 09:46:36 -0700 (PDT)
Received: from 170.2.32.100 by relay1.freightliner.com with ESMTP (
  WorldSecure Server SMTP Relay(WSS) v4.5); Tue, 14 Aug 2001 09:38:55
  -0700
X-Server-Uuid: 3c394ff6-2c2e-11d4-ade5-005004a1a2b0
Received: by corpowa1.freightliner.com with Internet Mail Service (
  5.5.2653.19) id <Q4WVJ0FG>; Tue, 14 Aug 2001 09:50:33 -0700
Message-ID: <FCE23CF58EDED41180670004120237E90479416A at corpexc4.freightli
  ner.com>
From: "Jamie Gertsch" <JamieGertsch at Freightliner.com>
To: samba at lists.samba.org
Subject: RE: IT guys messing up SAMBA access?
Date: Tue, 14 Aug 2001 09:50:30 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
X-WSS-ID: 17678B9572675-01-01
Content-Type: text/plain;  charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I've got some more information:  Our print server is hosed again.  It
returns:

You do not have permission to use the selected printer.  If you need access,
contact your network administrator.

The print server is running SAMBA 2.0.6.  This is the message that keeps
recurring over and over in log.smb for yesterday:

[2001/08/13 22:59:00, 0] smbd/password.c:domain_client_validate(1431)
  domain_client_validate: unable to validate password for user da006f01 in
domain DA006 to Domain controller *. Error was NT_STATUS_NO_SUCH_USER.
[2001/08/13 22:59:01, 0] rpc_client/cli_netlogon.c:cli_net_sam_logon(392)
  cli_net_sam_logon: NT_STATUS_NO_SUCH_USER

and today:

[2001/08/14 09:41:08, 0] smbd/password.c:domain_client_validate(1392)
  domain_client_validate: Domain password server not available.

This would seem to validate my feeling that something with the passwords was
messed up.  The interesting thing is our Linux NFS server that I described
below has no error messages logged.  It looks as happy as a clam!?@!  Help?

JG

> -----Original Message-----
> From: Jamie Gertsch 
> Sent: Tuesday, August 14, 2001 9:08 AM
> To: samba at lists.samba.org
> Subject: IT guys messing up SAMBA access?
> 
> 
> Hi all,
> 
> I have a Linux server (SuSE 6.3 with a 2.2.17 RAID-patched 
> kernel) that is running SAMBA 2.0.7.  As long as I can 
> remember, there have not been any problems with accessing the 
> shared folders, e.g. UNIX home accounts.  Then, last Monday, 
> myself and others could no longer access any of the shares 
> through SAMBA.  We also couldn't print through our print 
> server running SAMBA.
> 
> I thought maybe I had somehow messed up the SAMBA config 
> files so I rolled back the changes to previous versions that 
> I knew worked.  Still nothing.  I was about to reinstall 
> SAMBA when it started working again last Wednesday.  Mostly.  
> If I recall correctly, I couldn't descend into any 
> directories on my UNIX home directory but I could open files 
> on the main level.  It was basically like I had limited 
> read-only access.  (My machine is running Windows 2000.)
> 
> Other users were able to get normal access towards the end of 
> the week.  Yesterday a colleague running Windows 98 had 
> access to his shares but now I had no access.  Today, he 
> can't access the shares.  The messages that we get are:
> 
> An error occurred while reconnecting [Drive]: to \ \server\share
> Microsoft Windows Network : The local device name is already in use.
> This connection has not been restored.
> 
> and
> 
> [Drive:] is not accessible.
> Logon failure.  Unknown username or bad password.
> 
> I have verified that the SMB and NMB services are running.  I 
> have always been able to access SWAT.
> 
> At this point it is obvious to me that the IT guys are 
> messing something up.  They have a long history of doing 
> this.  A colleague has been speaking to IT and they keep 
> saying they haven't done anything.  I am going to speak to 
> the network guru today.
> 
> I should note that SAMBA is not "officially" supported on our 
> network so I need to help out as much as I can as far as 
> suggesting a resolution.  I believe it is a password and/or 
> permissions issue on the Windows side based on the 
> experiences noted above.  I do not know enough about SAMBA or 
> networking to know what they could be doing wrong.  Does 
> anyone have ideas or been in a similar situation?  We are on 
> a token ring network and I think they are running Windows NT 
> (not W2K) for the main servers.
> 
> TIA.
> 
> JG
> 

"WorldSecure <Freightliner.com>" made the following
 annotations on 08/14/01 09:38:56
------------------------------------------------------------------------------

[INFO] -- Content Manager:
The information contained in this communication is confidential and intended solely for the use of the individual to whom it is addressed and others authorized to receive it.  If you are not the intended recipient, any disclosure, copying, distribution or taking of any action in reliance on the contents of this information is prohibited. If you have received this communication in error, please immediately notify the sender by phone if possible or via email message.  

==============================================================================

Return-Path: <JKobierczynski at sdlintl.com>
Delivered-To: samba at samba.org
Received: from belxch1.sdlintl.com (unknown [193.75.171.1]) by
  lists.samba.org (Postfix) with ESMTP id 33C654C7C for
  <samba at samba.org>; Tue, 14 Aug 2001 09:58:24 -0700 (PDT)
Received: by belxch1.traffic.be with Internet Mail Service (5.5.2650.21)
  id <QM4DJ17D>; Tue, 14 Aug 2001 18:59:39 +0200
Message-ID: <9795AAEF1C0AD511908F0060085FD4463212F3 at belxch1.traffic.be>
From: Jurgen Kobierczynski <JKobierczynski at sdlintl.com>
To: 'Urban Widmark' <urban at teststation.com>, "'teg at redhat.com'"
  <teg at redhat.com>, "'samba at samba.org'" <samba at samba.org>
Subject: RE: Samba 2.0.7 on RedHat 7.1 hangs Linux
Date: Tue, 14 Aug 2001 18:59:38 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

I've upgraded the kernel to 2.4.8 and everything works fine!

Thanks!!

Jurgen

-----Original Message-----
From: Urban Widmark [mailto:urban at teststation.com]
Sent: maandag 13 augustus 2001 22:00
To: Jurgen Kobierczynski
Cc: 'samba at samba.org'
Subject: RE: Samba 2.0.7 on RedHat 7.1 hangs Linux


On Mon, 13 Aug 2001, Jurgen Kobierczynski wrote:

> This is a smbfs/smbmount client on a NT network that lockup the linux
> system. No special configuration on the samba client was done. Actually, I
> have 2 RedHat 7.1 systems, who behave in the same way. I've also upgraded
> samba on the machines to the latest and the problem is still there. 

You confused me with mixing smbmount and then saying that samba made the
machine lock up. Have you tried upgrading the kernel?

smbmount is not that different between RedHat's samba-2.0.7 and the samba
team's samba 2.2.1 (smbmount patches that went in 2.2.0 are already in RH
samba 2.0.7).

>
http://faqchest.dynhost.com/linux/samba-l/smb-01/smb-0103/smb01030112_17460.
> html

That problem is the good old "smb_retry: signal failed, error=-3" problem.
I have seen and fixed a few causes, but apparently he had a different way
of causing it. Which is why I asked for more info (if you read all of it).
IIRC, I never got an answer to that ... :(

The page doesn't mention anything about that person getting kernel level
lockups. Or am I blind?

> On booth system runs kernel 2.4.2-2 from RedHat 7.1
> 
> is this caused by the kernelmodule for the smbfs?

Most likely.

smbfs in 2.4.2, and RH 2.4.2-2 as well I believe, has a nasty bug where it
would corrupt the dcache lists which would lead to a total lockup. That
was fixed in 2.4.3, so upgrade the kernel.

I had forgotten that I fixed that bug (which I copied from ncpfs :). Also,
not enough people have managed to get these lockups on 2.4.2-2 for it to
become my standard answer when people use that version ...

RedHat's 2.4.3-12 is for smbfs the same as 2.4.4-ac10, and the changes
after that are small. So either get that one, or 2.4.8.

/Urban

Return-Path: <steve at gbnet.org>
Delivered-To: samba at samba.org
Received: from ford.gbnet.org (ford.gbnet.org [192.188.96.10]) by
  lists.samba.org (Postfix) with SMTP id 9D2954409 for
  <samba at samba.org>; Tue, 14 Aug 2001 10:32:49 -0700 (PDT)
Received: (qmail 3232 invoked by uid 100); 14 Aug 2001 17:36:45 -0000
Date: Tue, 14 Aug 2001 18:36:44 +0100
From: Steve Kennedy <steve at gbnet.org>
To: samba at samba.org
Subject: Compiler warnings on Solaris 7
Message-ID: <20010814183644.A3226 at ford.gbnet.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.11i
Organisation: NetTek Ltd
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/

Latest CVS as today (14/08/01)

Sun Forte C, Solaris 7, Sparc.

"smbd/vfs.c", line 476: warning: argument #3 is incompatible with prototype:
        prototype: pointer to char : "unknown", line 0
        argument : pointer to unsigned char
Compiling libsmb/smbencrypt.c
"libsmb/smbencrypt.c", line 68: warning: argument #2 is incompatible with protot
ype:
        prototype: pointer to const unsigned short : "include/proto.h", line 698
        argument : pointer to short
"libsmb/smbencrypt.c", line 205: warning: argument #1 is incompatible with proto
type:
        prototype: pointer to unsigned char : "include/proto.h", line 145
        argument : pointer to char
Compiling rpc_server/srv_samr_nt.c
"rpc_server/srv_samr_nt.c", line 2467: warning: argument #1 is incompatible with
 prototype:
        prototype: pointer to char : "rpc_server/srv_samr_nt.c", line 2335
        argument : pointer to unsigned char
Compiling nsswitch/wb_common.c
"nsswitch/wb_common.c", line 40: warning: improper pointer/integer combination:
op "="
Compiling printing/nt_printing.c
"printing/nt_printing.c", line 2869: warning: assignment type mismatch:
        pointer to char "=" pointer to unsigned char
Compiling smbd/quotas.c
"smbd/quotas.c", line 292: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int
"smbd/quotas.c", line 296: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int
"smbd/quotas.c", line 300: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 340
        argument : pointer to unsigned int
Compiling nsswitch/winbindd_user.c
"nsswitch/winbindd_user.c", line 141: warning: argument #3 is incompatible with
prototype:
        prototype: pointer to enum SID_NAME_USE {SID_NAME_UNKNOWN(8), SID_NAME_I
NVALID(7), SID_NAME_DELETED(6), SID_NAME_WKN_GRP(5), SID_NAME_ALIAS(4), SID_NAME
_DOMAIN(3), SID_NAME_DOM_GRP(2), SID_NAME_USER(1), SID_NAME_USE_NONE(0)} : "nssw
itch/winbindd_proto.h", line 119
        argument : pointer to unsigned int
Compiling nsswitch/winbindd_group.c
Compiling nsswitch/winbindd_idmap.c
"nsswitch/winbindd_idmap.c", l