Jeremy: your mail is bouncing

Eloy A. Paris eparis at ven.ra.rockwell.com
Fri Oct 2 04:12:25 GMT 1998


Jeremy:

Your mail is bouncing:

Returned mail: /usr/people/jallison/.forward: line 1:
   "|/usr/sbin/vacation jallison"... User jallison at legion.engr.sgi.com 
   doesn't have a valid shell for mailing to programs

Please see below my original message as I think there is something
wrong in the latest changes to smbpass.c.

Eloy.-


---------- Forwarded message ----------
Date: Thu, 1 Oct 1998 15:16:20 -0700 (PDT)
From: Mail Delivery Subsystem <MAILER-DAEMON at legion.engr.sgi.com>
To: eparis at ven.ra.rockwell.com
Subject: Returned mail: /usr/people/jallison/.forward: line 1: "|/usr/sbin/vacation jallison"... User jallison at legion.engr.sgi.com doesn't have a valid shell for mailing to programs

The original message was received at Thu, 1 Oct 1998 15:16:08 -0700 (PDT)
from cthulhu.engr.sgi.com [192.26.80.2]

   ----- The following addresses had permanent fatal errors -----
"|/usr/sbin/vacation jallison"
    (expanded from: <jallison at legion.engr.sgi.com>)

   ----- Transcript of session follows -----
550 /usr/people/jallison/.forward: line 1: "|/usr/sbin/vacation jallison"... User jallison at legion.engr.sgi.com doesn't have a valid shell for mailing to programs

   ----- Original message follows -----

Received: from cthulhu.engr.sgi.com (cthulhu.engr.sgi.com [192.26.80.2]) by legion.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id PAA61889 for <jallison at legion.engr.sgi.com>; Thu, 1 Oct 1998 15:16:08 -0700 (PDT)
Return-Path: <eparis at ven.ra.rockwell.com>
Received: from sgi.sgi.com (sgi.engr.sgi.com [192.26.80.37])
	by cthulhu.engr.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF)
	via ESMTP id PAA44567
	for <jallison at cthulhu.engr.sgi.com>;
	Thu, 1 Oct 1998 15:16:07 -0700 (PDT)
	mail_from (eparis at ven.ra.rockwell.com)
Received: from extfw.mke.ra.rockwell.com (extfw.mke.ra.rockwell.com [192.94.123.11]) 
	by sgi.sgi.com (980327.SGI.8.8.8-aspam/980304.SGI-aspam:
       SGI does not authorize the use of its proprietary
       systems or networks for unsolicited or bulk email
       from the Internet.) 
	via ESMTP id PAA03108
	for <jallison at cthulhu.engr.sgi.com>; Thu, 1 Oct 1998 15:16:05 -0700 (PDT)
	mail_from (eparis at ven.ra.rockwell.com)
Received: (from uucp at localhost)
	by extfw.mke.ra.rockwell.com (8.9.1/8.9.1) id RAA16325
	for <jallison at cthulhu.engr.sgi.com>; Thu, 1 Oct 1998 17:16:04 -0500 (CDT)
Received: from relay1.ra.rockwell.com(130.151.103.32) by extfw.mke.ra.rockwell.com via smap (3.2)
	id xma006994; Thu, 1 Oct 98 15:15:38 -0500
Received: from zeus.ven.ra.rockwell.com (eparis at zeus.ven.ra.rockwell.com [130.151.17.154])
	by relay1.ra.rockwell.com (8.8.6/8.8.6) with ESMTP id PAA29649
	for <jallison at cthulhu.engr.sgi.com>; Thu, 1 Oct 1998 15:14:00 -0500 (CDT)
Received: (from eparis at localhost)
	by zeus.ven.ra.rockwell.com (8.8.8/8.8.8/Debian/GNU) id QAA23232
	for jallison at cthulhu.engr.sgi.com; Thu, 1 Oct 1998 16:12:11 -0400
Date: Thu, 1 Oct 1998 16:12:11 -0400
From: "Eloy A. Paris" <eparis at ven.ra.rockwell.com>
Message-Id: <199810012012.QAA23232 at zeus.ven.ra.rockwell.com>
To: jallison at cthulhu.engr.sgi.com
Subject: Re: Smbpasswd problem with NT Wst
X-Newsgroups: lists.samba-ntdom
In-Reply-To: <1E3CD9E2453ED211A85C080009DCA6690A1595 at RYOBI4> <3613B7EA.F858E0 at engr.sgi.com>
User-Agent: tin/pre-1.4-980226 (UNIX) (Linux/2.0.35 (i686))

Hi Jeremy,

In article <3613B7EA.F858E0 at engr.sgi.com> you wrote:

> Oh damn. I recently added a patch to widen the fields
> in the smbpasswd file to allow easier maintenance.

Yup, I noticed the change.

> I thought I'd got the code so that it wouldn't overwrite
> older style entries with the smaller [U] or [W] fields.

I am not sure about this. I got the "mod_smbfilepwd_entry: check fail
on file /etc/samba/smbpasswd." message when I had the old smbpasswd
format. But... I would not worry because the format was so old that it
dated back to when I created my smbpasswd out of my /etc/passwd (so
fields like shell, home directory, etc. where in there).

Since I had that problem and my smbpasswd is very small (I am the only
one testing this stuff here) I created it from scratch, in the new
format.

> Newer entries would be added with the spaces.

Yup, that's working fine.

> Could someone try the latest CVS code and test if
> the two cases above are breaking the code that parses
> the smbpasswd file ?
> 
> In my tests everything seems to work ok.

You know, I am seeing something strange. When parsing the smbpasswd
file, mod_smbfilepwd_entry is failing on a sanity test:

[1998/10/01 14:22:37, 0] passdb/smbpass.c:mod_smbfilepwd_entry(921)
  mod_smbfilepwd_entry: read fail on file /etc/samba/smbpasswd.
[1998/10/01 14:22:37, 0] passdb/smbpass.c:mod_smbfilepwd_entry(922)
  mod_smbfilepwd_entry: count=96, wr_len=99
[1998/10/01 14:22:37, 0] passdb/smbpass.c:mod_smbfilepwd_entry(923)
  mod_smbfilepwd_entry: linebuf:":" "A" "3" "4" "C" "C" "D" "E" "4" "3" "B" "0"
"E" "5" "2" "F" "B" "A" "A" "D" "3" "B" "4" "3" "5" "B" "5" "1" "4" "0" "4" "E"
"E" ":" "C" "2" "C" "B" "0" "9" "8" "A" "6" "F" "A" "9" "F" "6" "8" "2" "8" "5"
"2" "3" "E" "8" "E" "D" "7" "7" "1" "0" "A" "8" "A" "2" ":" "[" "W" " " " " " "
" " " " " " " " " " " " " " "]" ":" "L" "C" "T" "-" "3" "6" "1" "3" "B" "8" "F"
"8" ":" "\r" "\r" 

As you see I added some debugging code. I haven't found what's wrong,
though.

My smbpasswd file is this:

--- begin ---
#
# SMB password file.
#
jam$:2001:71695E9103354E6FAAD3B435B51404EE:D0716B70B62486C2BA4A6AC725A21C83:[W          ]:LCT-36125F33:
eparis:1000:8C76DB020E4521271AA818381E4E281B:0DFC4E0A35A8F5A87CCFB46F1A82264E:[U          ]:LCT-3613A359:
peloy:1080:8C76DB020E4521271AA818381E4E281B:0DFC4E0A35A8F5A87CCFB46F1A82264E:[U          ]:LCT-3613B8E9:
chapu$:2000:A34CCDE43B0E52FBAAD3B435B51404EE:C2CB098A6FA9F6828523E8ED7710A8A2:[W          ]:LCT-3613B8F8:

--- end

As you see, the problem happens when parsing the last line (the one
for chapu$).

I can login into the Samba PDC from the Chapu workstation, though. So
I don't know what are the effects of this failed test.

Can you see what's wrong just with this I've told you?

Bye for now.

Eloy.-




More information about the samba-ntdom mailing list