No subject
Mon Dec 1 11:34:25 GMT 2003
apply to this (security=domain) case, since auth is via the PDC.
So, shouldn't winbind_lookup_sid() be succeeding. Should I be
trying to track the failure in that code?
In case it's helpful, ldd /usr/sbin/smbd shows:
libdl.so.2 => /usr/lib/libdl.so.2 (0x40017000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4001a000)
libpam.so.0 => /lib/libpam.so.0 (0x40030000)
libc.so.6 => /lib/libc.so.6 (0x40038000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Is libnss supposed to be in there?
How do I proceed from here?
[A
Regards,
..jim
Return-Path: <tulip_ye at sina.com>
Delivered-To: samba at lists.samba.org
Received: from sina.com (unknown [202.106.187.156]) by lists.samba.org
(Postfix) with SMTP id CF1BF4570 for <samba at lists.samba.org>; Fri, 27
Jul 2001 09:58:51 -0700 (PDT)
Received: (qmail 9855 invoked from network); 27 Jul 2001 16:55:34 -0000
Received: from unknown (HELO client01) (64.163.216.99) by
202.106.187.156 with SMTP; 27 Jul 2001 16:55:34 -0000
Message-ID: <000c01c116be$5140e7d0$0200a8c0 at pacbell.net>
From: "andy" <tulip_ye at sina.com>
To: <samba at lists.samba.org>
Subject: how to connect to linux samba service
Date: Fri, 27 Jul 2001 10:05:13 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2919.6600
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 install sambe service on my linux server.
The smb.conf is
encrypt passwords=yes
netbios = linuxserver
workgroup = mygroup
[homes]
browseable=no
i log in as root
why i can see the server on my windows client, but when i access the server
from windows explore, it prompts a dialog ask me to input username and
password. I can't log in as a root or other user, why? it tells me that i
input a wrong username/password pair.
what kind of user i should create on my linux server.
Thanks
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 48C365193 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 10:05:23 -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; 27 Jul 2001
17:07:51 UT
Received: by zafnt2 with Internet Mail Service (5.5.2653.19) id
<3TT97X0D>; Fri, 27 Jul 2001 14:09:57 -0300
Message-ID: <2411209499ABD41180270090274DD8BC363137 at zafnt2>
From: Info - Demerson <demerson at zaffari.com.br>
To: samba at lists.samba.org
Subject: JetDirect Printers in SaMBa...
Date: Fri, 27 Jul 2001 14:09:54 -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/
Hello to all...
I'm trying to map a JetDirect printer in Windows using SaMBa, but it doesnt
seem to work. Here's my smb.conf file...
I know there's something wrong in the "path =" section, but how can I do it,
if it's a network printer, with its own IP?
Oh, SaMBa 2.0.6 is running in my HP/UX box...
Thanks...
[d001i050a]
comment = Impressora D001I050A
printer name = d001i050a
path = /var/spool/samba
browsable = yes
guest ok = yes
printable = yes
writable = yes
public = yes
______________
Demerson Zounar
Analista de Suporte
demerson at zaffari.com.br
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 D59E351F8
for <samba at lists.samba.org>; Fri, 27 Jul 2001 10:12:40 -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 f6RHFt321935; Fri, 27 Jul 2001 19:16:02 +0200
Date: Fri, 27 Jul 2001 19:15:55 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Jim Deas <jdeas at jadsystems.com>
Cc: <samba at lists.samba.org>
Subject: Re: 2G file limit for smbmount, compile for Redhat
In-Reply-To: <002701c11696$4e121d40$e1fcfea9 at jimdeas>
Message-ID: <Pine.LNX.4.30.0107271855090.17272-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, 27 Jul 2001, Jim Deas wrote:
> Does anyone have a patch for the 2G file size limit on smbmount?
smbmount does not have any 2G file limit. In fact, smbmount isn't aware
that you are looking at files ...
> I have tried the latest version but files over 2G are now reported as
> much larger than the whole array!
> I have also been changing the make files to compile Samba for
> our Redhat based systems. Does anyone have a FAQ on this subject
> where I can check my procedure to see if I have missed anything?
smbfs doesn't support LFS and will generally return garbage if a file is
too large. Go to:
http://www.hojdpunkten.ac.se/054/samba/index.html
There are some experimental patches, with 2.5 kernels as "target". They
should apply just fine to a 2.4.7 kernel. To get LFS in smbfs you need to
apply the 00, 01 and 02 patches, in order.
You also need a smbmount that will negotiate LFS with the windows server.
If ./configure gave you this at the end, you should be ok:
checking checking if large file support can be enabled ... yes
It seems pretty much ok in my limited testing, but be aware that it may
decide to eat your data and that you should keep backups and verify that
any file transfers are ok. And do let me know if you find anything
strange.
/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 068BB5204
for <samba at lists.samba.org>; Fri, 27 Jul 2001 10:13:30 -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 f6RHIL321943; Fri, 27 Jul 2001 19:18:21 +0200
Date: Fri, 27 Jul 2001 19:18:21 +0200 (CEST)
From: Urban Widmark <urban at teststation.com>
X-Sender: <puw at cola.teststation.com>
To: Matthieu MARC <matthieu.marc at netcelo.com>
Cc: <samba at lists.samba.org>
Subject: Re: smbmount : pb with option read-only
In-Reply-To: <3B617855.F48CA3C8 at netcelo.com>
Message-ID: <Pine.LNX.4.30.0107271916060.17272-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, 27 Jul 2001, Matthieu MARC wrote:
> Hi,
>
> I'm using smbmount version 2.2.0
Kernel version?
> I tried to mount a share dir from a nt server in read-only mode :
>
> smbmount //ntserver/sharedir /mnt/ntserver -o
> username=foo,password=bar,ro
>
> No error message.
>
> Now, when I verify the read-only mode :
smbfs used to zero some of the flags, including the readonly flag. I
believe this should work in recent 2.4 kernels.
/Urban
Return-Path: <dmoran at kyocera-wireless.com>
Delivered-To: samba at lists.samba.org
Received: from druid.intra.kyocera-wireless.com (unknown [12.34.94.50])
by lists.samba.org (Postfix) with ESMTP id E38AB4510 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 10:19:02 -0700 (PDT)
Received: from dmoran.kyocera-wireless.com
(dmoran.intra.kyocera-wireless.com [172.20.41.199]) by
druid.intra.kyocera-wireless.com (8.9.3/8.9.3/8.9) with ESMTP id
KAA15029 for <samba at lists.samba.org>; Fri, 27 Jul 2001 10:23:11 -0700
(PDT)
Message-Id: <4.3.2.7.2.20010727101325.00b059e0 at pandora.intra.kyocera-wir
eless.com>
X-Sender: dmoran at pandora.intra.kyocera-wireless.com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.2
Date: Fri, 27 Jul 2001 10:23:11 -0700
To: samba at lists.samba.org
From: Derek Moran <dmoran at kyocera-wireless.com>
Subject: Failed to set socket option
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hello,
The log.smb file on my samba (Samba version 2.0.6) server is receiving the
following messages:
[2001/07/26 19:22:51, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option SO_KEEPALIVE (Error Bad file number)
[2001/07/26 19:22:51, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option IPTOS_LOWDELAY (Error Bad file number)
[2001/07/26 19:22:51, 0] lib/util_sock.c:set_socket_options(148)
Failed to set socket option TCP_NODELAY (Error Bad file number)
I'm not sure why these TCP socket error messages are occurring.
Help,
Derek Moran
Return-Path: <kourosh at loop.com>
Delivered-To: samba at lists.samba.org
Received: from atlanticpearl.com (unknown [64.63.42.245]) by
lists.samba.org (Postfix) with SMTP id 2A35843E4 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 10:29:29 -0700 (PDT)
Received: (qmail 30456 invoked by uid 517); 27 Jul 2001 17:39:53 -0000
Received: from kourosh at loop.com by hera.atlanticpearl.com with
qmail-scanner-0.96 (uvscan: v4.1.40/v4144. . Clean. Processed in
0.340355 secs); 27 Jul 2001 17:39:53 -0000
Received: from (HELO ryoko.loop.com) () by hera.atlanticpearl.com with
SMTP; 27 Jul 2001 17:39:53 -0000
Message-Id: <5.0.2.1.0.20010727102531.03a64740 at pop.loop.com>
X-Sender: kourosh at pop.loop.com
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Fri, 27 Jul 2001 10:36:15 -0700
To: samba at lists.samba.org
From: Kourosh Ghassemieh <kourosh at loop.com>
Subject: Re: JetDirect Printers in SaMBa...
In-Reply-To: <2411209499ABD41180270090274DD8BC363137 at zafnt2>
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/
Demerson,
Is the HP/UX box the print server or is the Windows box the print server?
I'm going to assume you have the HP/UX box acting as the print server.
I also use a JetDirect and use Linux/Samba as the print server. I set up
a printer using LPRng in Linux which points to the JetDirect's IP address
at port 9100 (the default for JetDirect's). Then I created the print share as
you did in Samba. I did have to include the print commands to get it
to work properly (i.e. print command = lpr -l -r -P%p %s). I have shared
an HP LaserJet 4050 and a DeskJet 950C this way. Works woderfully.
Under most Unix implemenations LPR allows redirecting of print jobs to
another queue or IP. This is what you want to do.
HP might even have their JetDirect software ported to HP/UX but I'm not
familiar that.
Hope this helps.
At 02:09 PM 7/27/2001 -0300, you wrote:
>Hello to all...
>
>I'm trying to map a JetDirect printer in Windows using SaMBa, but it doesnt
>seem to work. Here's my smb.conf file...
>I know there's something wrong in the "path =" section, but how can I do it,
>if it's a network printer, with its own IP?
>Oh, SaMBa 2.0.6 is running in my HP/UX box...
>
>
>Thanks...
>
>
>[d001i050a]
> comment = Impressora D001I050A
> printer name = d001i050a
> path = /var/spool/samba
> browsable = yes
> guest ok = yes
> printable = yes
> writable = yes
> public = yes
>
>______________
>Demerson Zounar
>Analista de Suporte
>demerson at zaffari.com.br
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: http://lists.samba.org/mailman/listinfo/samba
-
------------------------------------------------------------------------
Kourosh Ghassemieh
MindWare Information Systems & Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
kourosh at loop.com
++++Networking Solutions for Your Business++++
Return-Path: <thien at ucdata.Berkeley.EDU>
Delivered-To: samba at samba.org
Received: from ucdata.Berkeley.EDU (ucdata.Berkeley.EDU [128.32.165.25])
by lists.samba.org (Postfix) with ESMTP id BEFA251C1 for
<samba at samba.org>; Fri, 27 Jul 2001 10:32:06 -0700 (PDT)
Received: from localhost (thien at localhost) by ucdata.Berkeley.EDU
(8.8.8+Sun/8.8.8) with ESMTP id KAA28824 for <samba at samba.org>; Fri,
27 Jul 2001 10:36:02 -0700 (PDT)
Date: Fri, 27 Jul 2001 10:36:01 -0700 (PDT)
From: Thien Vu <thien at ucdata.Berkeley.EDU>
To: samba at samba.org
Subject: INTERNAL ERROR: Signal 11
Message-ID: <Pine.SO4.4.03.10107271033030.24186-100000 at ucdata.Berkeley.E
DU>
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 getting the following error in log.smbd:
[2001/07/27 10:31:32, 0] lib/fault.c:fault_report(40)
===============================================================
[2001/07/27 10:31:32, 0] lib/fault.c:fault_report(41)
INTERNAL ERROR: Signal 11 in pid 27382 (2.2.1a)
Please read the file BUGS.txt in the distribution
[2001/07/27 10:31:32, 0] lib/fault.c:fault_report(43)
===============================================================
[2001/07/27 10:31:32, 0] lib/util.c:smb_panic(1101)
PANIC: internal error
This message keeps repeating.
I am able to see the machine in the Network Neighborhood, but cannot
connect to it at all. I am also unable to connect via smbclient.
My compile time options were: ./configure --with-profile
My smb.conf is very minimal also.
I am running Solaris 2.5.1
Thats it.
Help please.
Thien
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 5637C5218 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 10:44:42 -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; 27 Jul 2001
17:47:11 UT
Received: by zafnt2 with Internet Mail Service (5.5.2653.19) id
<3TT97YC7>; Fri, 27 Jul 2001 14:49:18 -0300
Message-ID: <2411209499ABD41180270090274DD8BC363139 at zafnt2>
From: Info - Demerson <demerson at zaffari.com.br>
To: 'Kourosh Ghassemieh' <kourosh at loop.com>, samba at lists.samba.org
Subject: RES: JetDirect Printers in SaMBa...
Date: Fri, 27 Jul 2001 14:49:09 -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 thought it was just simple, but i cant find a "printcap" file in HP/UX?
Somebody knows how HP/UX treats that?
-----Mensagem original-----
De: Kourosh Ghassemieh [mailto:kourosh at loop.com]
Enviada em: sexta-feira, 27 de julho de 2001 14:36
Para: samba at lists.samba.org
Assunto: Re: JetDirect Printers in SaMBa...
Demerson,
Is the HP/UX box the print server or is the Windows box the print server?
I'm going to assume you have the HP/UX box acting as the print server.
I also use a JetDirect and use Linux/Samba as the print server. I set up
a printer using LPRng in Linux which points to the JetDirect's IP address
at port 9100 (the default for JetDirect's). Then I created the print share
as
you did in Samba. I did have to include the print commands to get it
to work properly (i.e. print command = lpr -l -r -P%p %s). I have shared
an HP LaserJet 4050 and a DeskJet 950C this way. Works woderfully.
Under most Unix implemenations LPR allows redirecting of print jobs to
another queue or IP. This is what you want to do.
HP might even have their JetDirect software ported to HP/UX but I'm not
familiar that.
Hope this helps.
At 02:09 PM 7/27/2001 -0300, you wrote:
>Hello to all...
>
>I'm trying to map a JetDirect printer in Windows using SaMBa, but it doesnt
>seem to work. Here's my smb.conf file...
>I know there's something wrong in the "path =" section, but how can I do
it,
>if it's a network printer, with its own IP?
>Oh, SaMBa 2.0.6 is running in my HP/UX box...
>
>
>Thanks...
>
>
>[d001i050a]
> comment = Impressora D001I050A
> printer name = d001i050a
> path = /var/spool/samba
> browsable = yes
> guest ok = yes
> printable = yes
> writable = yes
> public = yes
>
>______________
>Demerson Zounar
>Analista de Suporte
>demerson at zaffari.com.br
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: http://lists.samba.org/mailman/listinfo/samba
-
------------------------------------------------------------------------
Kourosh Ghassemieh
MindWare Information Systems & Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
kourosh at loop.com
++++Networking Solutions for Your Business++++
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Return-Path: <dorota at ds2.pg.gda.pl>
Delivered-To: samba at lists.samba.org
Received: from delta.ds2.pg.gda.pl (delta.ds2.pg.gda.pl [213.192.72.1])
by lists.samba.org (Postfix) with ESMTP id 927765223 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 10:48:16 -0700 (PDT)
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP
id TAA29355 for <samba at lists.samba.org>; Fri, 27 Jul 2001 19:55:42
+0200 (MET DST)
Date: Fri, 27 Jul 2001 19:55:42 +0200 (MET DST)
From: Dorota Kulas <dorota at ds2.pg.gda.pl>
To: samba at lists.samba.org
Subject: samba, pam & ldap
Message-ID: <Pine.GSO.3.96.1010727192912.28968A-100000 at delta.ds2.pg.gda.
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/
Hello,
I'd like to do samba authorization via pam_ldap.
My system is RedHat Linux 6.2, samba version
- 2.0.6 (it is compiled --with-pam option).
I would like to authorize via pam_ldap and
I'd like users exists only in ldap (without
adding them to system - /etc/passwd etc.)
Is that possible?
I've installed pam_ldap module and configured
/etc/pam.d/samba file.
It looks like this:
auth required pam_ldap.so
account required pam_ldap.so
I think I've configured everything (I've disabled
the 'encrypt passwords' option in smb.conf), but pam_ldap
authorization seems not work, or not work properly.
In my auth.log I don't get any message, and samba
log says something like that: "couldn't find user
'username'".
Earlier my auth.log was saying something that
ldap can't find that object; I checked it out,
and of course there was not such object, so I've
created it. And then there was no message to
auth.log.
I don't know what I do wrong.
I looked into list archive and I've found similar
problem, but I coundn't find post with solution
(the message was posted at 28.VI.2001 by Christian
Brath, title: PAM and LDAP).
I would be very grateful if someone could help me.
Greetings
--
Dorota Kulas | "... Unix, MS-DOS, and Windows NT (also known as
dorota at ds2.pg.gda.pl | the Good, the Bad and the Ugly) ..." - Matt Welsh
Return-Path: <interpablo at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (law2-f15.hotmail.com [216.32.181.15]) by
lists.samba.org (Postfix) with ESMTP id 53BD34233 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 10:57:43 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
SMTPSVC; Fri, 27 Jul 2001 11:02:40 -0700
Received: from 196.40.21.132 by lw2fd.hotmail.msn.com with HTTP; Fri, 27
Jul 2001 18:02:40 GMT
X-Originating-IP: [196.40.21.132]
From: "Pablo Fernández" <interpablo at hotmail.com>
To: samba at lists.samba.org
Subject: Samba and windows 2000 server
Date: Fri, 27 Jul 2001 18:02:40
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <LAW2-F15s0Qzfud7bqV0000ac74 at hotmail.com>
X-OriginalArrivalTime: 27 Jul 2001 18:02:40.0975 (UTC)
FILETIME=[53E225F0:01C116C6]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <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 trying to mount in Linux a service from a win2k server, like this:
mount -t smbfs -o username=myuser //Services/foo /mnt/services-foo
It returns:
session setup failed: ERRDOS - ERRnoaccess (Access denied)
SMB connection failed
My versions of samba:
mount-2.10m
smbmount 2.0.7
smbclient 2.0.7
Do you know hoy to fix that problem?
P at blo
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
Return-Path: <jcastro at vialink.com.br>
Delivered-To: samba at samba.org
Received: from appi1.appi.com.br (unknown [200.255.193.129]) by
lists.samba.org (Postfix) with ESMTP id 2B00342FC for
<samba at samba.org>; Fri, 27 Jul 2001 11:21:30 -0700 (PDT)
Received: from vialink.com.br (juan.appi.com.br [10.4.2.46]) by
appi1.appi.com.br (8.9.3/8.9.3) with ESMTP id PAA27762 for
<samba at samba.org>; Fri, 27 Jul 2001 15:26:25 -0300
Message-ID: <3B61B24E.A45B34B8 at vialink.com.br>
Date: Fri, 27 Jul 2001 15:26:22 -0300
From: Juan Carlos Castro y Castro <jcastro at vialink.com.br>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: pt-BR,en
MIME-Version: 1.0
To: samba at samba.org
Subject: Re: Samba and windows 2000 server
References: <LAW2-F15s0Qzfud7bqV0000ac74 at hotmail.com>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
I might suggest upgrading to 2.2.1a. 2.0.x has some issues with Win2k.
"Pablo Fernandez" wrote:
> Hi!
>
> I'm trying to mount in Linux a service from a win2k server, like this:
>
> mount -t smbfs -o username=myuser //Services/foo /mnt/services-foo
>
> It returns:
>
> session setup failed: ERRDOS - ERRnoaccess (Access denied)
> SMB connection failed
>
> My versions of samba:
>
> mount-2.10m
> smbmount 2.0.7
> smbclient 2.0.7
>
> Do you know hoy to fix that problem?
>
> P at blo
--
"Mathematics possesses not only truth, but some supreme
beauty; a beauty cold and austere, like that of a sculpture."
-- Bertrand Russell
Return-Path: <kourosh at loop.com>
Delivered-To: samba at lists.samba.org
Received: from atlanticpearl.com (unknown [64.63.42.245]) by
lists.samba.org (Postfix) with SMTP id 08D0D5215 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 11:32:16 -0700 (PDT)
Received: (qmail 30876 invoked by uid 517); 27 Jul 2001 18:42:43 -0000
Received: from kourosh at loop.com by hera.atlanticpearl.com with
qmail-scanner-0.96 (uvscan: v4.1.40/v4144. . Clean. Processed in
0.433937 secs); 27 Jul 2001 18:42:43 -0000
Received: from (HELO ryoko.loop.com) () by hera.atlanticpearl.com with
SMTP; 27 Jul 2001 18:42:43 -0000
Message-Id: <5.0.2.1.0.20010727113709.00ac0408 at pop.loop.com>
X-Sender: kourosh at pop.loop.com
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Fri, 27 Jul 2001 11:39:05 -0700
To: Info - Demerson <demerson at zaffari.com.br>, samba at lists.samba.org
From: Kourosh Ghassemieh <kourosh at loop.com>
Subject: Re: RES: JetDirect Printers in SaMBa...
In-Reply-To: <2411209499ABD41180270090274DD8BC363139 at zafnt2>
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 don't know. man lp? lpr? lpd? printcap? Do you have system
documentation somewhere? Maybe you don't have the printing
subsystem installed?
At 02:49 PM 7/27/2001 -0300, Info - Demerson wrote:
>I thought it was just simple, but i cant find a "printcap" file in HP/UX?
>Somebody knows how HP/UX treats that?
>
>-----Mensagem original-----
>De: Kourosh Ghassemieh [mailto:kourosh at loop.com]
>Enviada em: sexta-feira, 27 de julho de 2001 14:36
>Para: samba at lists.samba.org
>Assunto: Re: JetDirect Printers in SaMBa...
>
>
>Demerson,
>
>Is the HP/UX box the print server or is the Windows box the print server?
>I'm going to assume you have the HP/UX box acting as the print server.
>I also use a JetDirect and use Linux/Samba as the print server. I set up
>a printer using LPRng in Linux which points to the JetDirect's IP address
>at port 9100 (the default for JetDirect's). Then I created the print share
>as
>you did in Samba. I did have to include the print commands to get it
>to work properly (i.e. print command = lpr -l -r -P%p %s). I have shared
>an HP LaserJet 4050 and a DeskJet 950C this way. Works woderfully.
>Under most Unix implemenations LPR allows redirecting of print jobs to
>another queue or IP. This is what you want to do.
>
>HP might even have their JetDirect software ported to HP/UX but I'm not
>familiar that.
>
>Hope this helps.
-
------------------------------------------------------------------------
Kourosh Ghassemieh
MindWare Information Systems & Technologies
9255 Sunset Blvd, Penthouse
West Hollywood CA 90069
(310) 729-1784
kourosh at loop.com
++++Networking Solutions for Your Business++++
Return-Path: <jcastro at vialink.com.br>
Delivered-To: samba at samba.org
Received: from appi1.appi.com.br (unknown [200.255.193.129]) by
lists.samba.org (Postfix) with ESMTP id 3C5B65234 for
<samba at samba.org>; Fri, 27 Jul 2001 11:43:22 -0700 (PDT)
Received: from vialink.com.br (juan.appi.com.br [10.4.2.46]) by
appi1.appi.com.br (8.9.3/8.9.3) with ESMTP id PAA28034 for
<samba at samba.org>; Fri, 27 Jul 2001 15:48:14 -0300
Message-ID: <3B61B76B.BF78A701 at vialink.com.br>
Date: Fri, 27 Jul 2001 15:48:11 -0300
From: Juan Carlos Castro y Castro <jcastro at vialink.com.br>
X-Mailer: Mozilla 4.77 [en] (Win98; U)
X-Accept-Language: pt-BR,en
MIME-Version: 1.0
To: samba at samba.org
Subject: Wanna build RedHat-style RPMs
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/
...but the script shipped with 2.2.1a makes one big RPM with everything.
I want samba, samba-common and samba-client, the Red Hat Way. How do I
do this?
Thanx,
Juan
P.S.: Don't tell me RawHide has it. I know that. For reasons to be
disclosed in due time, I have to build the thing myself. 8-*
--
"Mathematics possesses not only truth, but some supreme
beauty; a beauty cold and austere, like that of a sculpture."
-- Bertrand Russell
Return-Path: <BMarkley at Datalux.com>
Delivered-To: samba at lists.samba.org
Received: from datalux_exc.Datalux_corp (proxy.datalux.com
[204.111.16.98]) by lists.samba.org (Postfix) with ESMTP id 2B2E25234
for <samba at lists.samba.org>; Fri, 27 Jul 2001 11:43:50 -0700 (PDT)
Received: by datalux_exc with Internet Mail Service (5.5.2653.19) id
<PYH4S5QB>; Fri, 27 Jul 2001 14:48:48 -0400
Message-ID: <AB802CEF9C2DD411AA9800A0C9E927E74B8CC8 at datalux_exc>
From: Bill Markley <BMarkley at Datalux.com>
To: Samba List <samba at lists.samba.org>
Subject: FW: Swat Broke, How to fix it
Date: Fri, 27 Jul 2001 14:48:47 -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/
> -----Original Message-----
> From: Bill Markley
> Sent: Friday, July 27, 2001 2:39 PM
> To: 'Samba List'
> Subject: Swat Broke, How to fix it
>
> Hello,
>
> While trying to configure Samba using Swat in NS it broke. Not sure what
> happened to it?? After a reboot I wasn't able to connect to the Swat
> utility w/ http://loaclhost:901 I keep getting the error:: "A network
> error occurred:unable to connect to server(TCP Error:no route to host) The
> server may be down or unreachable". Smbd & nmbd are running.
>
> Anybody ever have this happen??
>
> Bill Markley
> Network Admin.
> Datalux Corp.
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 4DEB346F6
for <samba at samba.org>; Fri, 27 Jul 2001 11:51:33 -0700 (PDT)
Received: (from teg at localhost) by halden.devel.redhat.com
(8.11.4/8.11.4) id f6RIuDM04587; Fri, 27 Jul 2001 14:56:13 -0400
X-Authentication-Warning: halden.devel.redhat.com: teg set sender to
teg at redhat.com using -f
To: Juan Carlos Castro y Castro <jcastro at vialink.com.br>
Cc: samba at samba.org
Subject: Re: Wanna build RedHat-style RPMs
References: <3B61B76B.BF78A701 at vialink.com.br>
Organization: Red Hat, Inc.
From: teg at redhat.com (Trond Eivind =?iso-8859-1?q?Glomsr=F8d?=)
Date: 27 Jul 2001 14:56:12 -0400
In-Reply-To: <3B61B76B.BF78A701 at vialink.com.br>
Message-ID: <xuypuam2oc3.fsf at halden.devel.redhat.com>
Lines: 11
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/
Juan Carlos Castro y Castro <jcastro at vialink.com.br> writes:
> ...but the script shipped with 2.2.1a makes one big RPM with everything.
> I want samba, samba-common and samba-client, the Red Hat Way. How do I
> do this?
Get the one from Rawhide, and rebuild that.
--
Trond Eivind Glomsrxd
Red Hat, Inc.
Return-Path: <jstewart at rtl.org>
Delivered-To: samba at lists.samba.org
Received: from webserver.rtl.org (webserver2.rtl.org [63.94.12.188]) by
lists.samba.org (Postfix) with ESMTP id 7C89051FB for
<samba at lists.samba.org>; Fri, 27 Jul 2001 11:55:59 -0700 (PDT)
Received: from MIS3C.rtl.org ([63.106.163.130]) by webserver.rtl.org
(8.11.4/8.11.4) with ESMTP id f6RIxmb04724 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 14:59:48 -0400
Message-Id: <5.0.2.1.0.20010727145523.0217f868 at 63.94.12.188>
X-Sender: jstewart at 63.94.12.188
X-Mailer: QUALCOMM Windows Eudora Version 5.0.2
Date: Fri, 27 Jul 2001 15:00:55 -0400
To: samba at lists.samba.org
From: Jason Stewart <jstewart at rtl.org>
Subject: Re: RES: JetDirect Printers in SaMBa...
In-Reply-To: <5.0.2.1.0.20010727113709.00ac0408 at pop.loop.com>
References: <2411209499ABD41180270090274DD8BC363139 at zafnt2>
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 a few HP Jetdirects On our network. What I did was made an entry in
the /etc/printcap file for a remote printer (:rm=)and set the address to
the address of the Jetdirect Card. You can put JetAdmin on a windows box
and use it to turn on the lpd (515) ports on the Jetdirect cards. Another
problem that you may run into is speed. Whenever the UNIX box running Samba
would stat the jetdirect card, the client application would freeze (that is
when the windows print selector box pops up). I fixed the problem by using
lpc -P%p status for my lpq command in the smb.conf file.
Good Luck,
Jason
>>I also use a JetDirect and use Linux/Samba as the print server. I set up
>>a printer using LPRng in Linux which points to the JetDirect's IP address
>>at port 9100 (the default for JetDirect's). Then I created the print share
>>as
>>you did in Samba. I did have to include the print commands to get it
>>to work properly (i.e. print command = lpr -l -r -P%p %s). I have shared
>>an HP LaserJet 4050 and a DeskJet 950C this way. Works woderfully.
>>Under most Unix implemenations LPR allows redirecting of print jobs to
>>another queue or IP. This is what you want to do.
>>
>>HP might even have their JetDirect software ported to HP/UX but I'm not
>>familiar that.
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 7277E5259 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 12:06:49 -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; 27 Jul 2001
19:09:18 UT
Received: by zafnt2 with Internet Mail Service (5.5.2653.19) id
<3TT97YKG>; Fri, 27 Jul 2001 16:11:25 -0300
Message-ID: <2411209499ABD41180270090274DD8BC36313C at zafnt2>
From: Info - Demerson <demerson at zaffari.com.br>
To: 'Jason Stewart' <jstewart at rtl.org>, samba at lists.samba.org
Subject: RES: RES: JetDirect Printers in SaMBa...
Date: Fri, 27 Jul 2001 16:11:23 -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/
Ok, people, I figured it out... HP/UX doesnt use the LPQ command, it uses
the LP instead...
I had to set lpq command to lp -d%p.
Thanks ...
Demerson
-----Mensagem original-----
De: Jason Stewart [mailto:jstewart at rtl.org]
Enviada em: sexta-feira, 27 de julho de 2001 16:01
Para: samba at lists.samba.org
Assunto: Re: RES: JetDirect Printers in SaMBa...
I have a few HP Jetdirects On our network. What I did was made an entry in
the /etc/printcap file for a remote printer (:rm=)and set the address to
the address of the Jetdirect Card. You can put JetAdmin on a windows box
and use it to turn on the lpd (515) ports on the Jetdirect cards. Another
problem that you may run into is speed. Whenever the UNIX box running Samba
would stat the jetdirect card, the client application would freeze (that is
when the windows print selector box pops up). I fixed the problem by using
lpc -P%p status for my lpq command in the smb.conf file.
Good Luck,
Jason
>>I also use a JetDirect and use Linux/Samba as the print server. I set up
>>a printer using LPRng in Linux which points to the JetDirect's IP address
>>at port 9100 (the default for JetDirect's). Then I created the print
share
>>as
>>you did in Samba. I did have to include the print commands to get it
>>to work properly (i.e. print command = lpr -l -r -P%p %s). I have shared
>>an HP LaserJet 4050 and a DeskJet 950C this way. Works woderfully.
>>Under most Unix implemenations LPR allows redirecting of print jobs to
>>another queue or IP. This is what you want to do.
>>
>>HP might even have their JetDirect software ported to HP/UX but I'm not
>>familiar that.
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
Return-Path: <Errol.Fouquet at mms.gov>
Delivered-To: samba at lists.samba.org
Received: from imsdene.mms.gov (smtp.mms.gov [161.160.14.46]) by
lists.samba.org (Postfix) with ESMTP id F385E5279 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 12:43:53 -0700 (PDT)
Received: by imsdene.mms.gov with Internet Mail Service (5.5.2653.19) id
<P4FL2FD4>; Fri, 27 Jul 2001 13:48:51 -0600
Message-ID: <379313C94B76D2119AB60008C7A402E40344C438 at imsnolaa.mms.gov>
From: "Fouquet, Errol" <Errol.Fouquet at mms.gov>
To: "'THIBADEAU,DAN (HP-Roseville,ex1)'" <dan_thibadeau at hp.com>,
"'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: RE: Local Admin group access to Print share [was: Printing with
2 .2.1 a]
Date: Fri, 27 Jul 2001 13:48:41 -0600
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/
Dan,
You may want to consider letting Samba create the UNIX accounts for you via
the "add user script" directive in the smb.conf file. I've got a similar
situation here with 1000's of NT users which do not necessarily have an
account on the Samba box. By allowing Samba to create accounts for these
anonymous users on the fly, the ability to control print jobs is had by all.
In my setup the "add user script" entry in the smb.conf file looks like:
add user script = /usr/sbin/adduser %u
The defaults values used by "adduser" work fine for me ... but you can
modify the default behavior of this by modifying /etc/default/useradd and
/etc/login.defs.
hth
errol
Errol Fouquet - UNIX SysAdmin
Minerals Management Service, DOI
1201 Elmwood Park Blvd.
New Orleans, LA 70123
Phone: (504) 736-3255
Pager: (504) 374-2021
Fax: (504) 736-2464
email: errol.fouquet at mms.gov
http://www.gomr.mms.gov
-----Original Message-----
From: THIBADEAU,DAN (HP-Roseville,ex1) [mailto:dan_thibadeau at hp.com]
Sent: Thursday, July 26, 2001 5:34 PM
To: 'samba at lists.samba.org'
Subject: Local Admin group access to Print share [was: Printing with
2.2.1 a]
Can anyone out there see the print queue status from thier Windows NT/2000
client under the following 2 conditions:
1) your logged into the Windows NT/2000 client using a domain
account that is in the local machine Administrator group.
2) this account DOES NOT map to a user on the Samba server that has
"printer admin" privileges.
The error I get (and at least one other on this list) on my PC is:
<access denied, unable to connect>
I believe this is a Samba bug, but want to collect all the info I can before
reporting. I'm gathering some more info from Craig Hibbert (the other
listee having the same error) to rule out OS and compiler problems.
One of the tests I ran was to get a debug=10 log file showing the failed
access, then taking myself out of the local Administrator group and creating
a debug=10 log file of a passing connection. I have saved both files if
anyone needs them.
I descovered, that they BOTH do an SPOOLSS_OPENPRINTEREX command and
generate an access denied message. The difference is that the failing log
file shows that Samba went into the "closing connection" process immediatly
following the "access denied", where as the passing log file shows "got smb
length of 300" and went about reporting the data to the client.
I assume this means that the CLIENT initiated a secondary request for data
after being refused the first time. It apparently doesn't do this if the
local user is in the Administrator group. If it can't get full access it
gives up.
This really is a show stopper as I don't really want to give 80,000 people
"printer admin" rights on my Samba server so they can cancel thier print
jobs.
Please help,
Dan T.
==========================================
Dan Thibadeau
HP NAOD Managed Output Services Engineer
Hewlett Packard Co. Phone: (208) 396-5936
11311 Chinden Blvd. FAX: (208) 938-3546
Boise, ID 83714 Email: dan_Thibadeau at hp.com
==========================================
--
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 canospam.agcs.com (canospam.agcs.com [130.131.166.29]) by
lists.samba.org (Postfix) with ESMTP id 477B543FC for
<samba at samba.org>; Fri, 27 Jul 2001 13:01:29 -0700 (PDT)
Received: from mkultra (mkultra.agcs.com [130.131.166.68]) by
canospam.agcs.com (8.9.3/8.9.1) with SMTP id NAA08129 for
<samba at samba.org>; Fri, 27 Jul 2001 13:06:26 -0700 (MST)
Posted-Date: Fri, 27 Jul 2001 13:06:26 -0700 (MST)
Received: FROM bootstrap.agcs.com BY mkultra ; Fri Jul 27 13:06:27 2001
-0700
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 NAA11716 for
<samba at samba.org>; Fri, 27 Jul 2001 13:05:36 -0700 (MST)
Received: from agcs.com ([130.131.36.72]) by pxmail1.agcs.com (Netscape
Messaging Server 3.61) with ESMTP id AAA2FC1 for <samba at samba.org>;
Fri, 27 Jul 2001 13:06:24 -0700
Message-ID: <3B61C9C0.F5B04138 at agcs.com>
Date: Fri, 27 Jul 2001 13:06:24 -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: Samba Mailing LIst <samba at samba.org>
Subject: Another INTERNAL ERROR: Signal 11
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 am getting the same results as Thien Vu.
I compiled 2.2.1a on Solaris 2.5.1 and try to connect to
it from an NT machine. My configure on the compile was:
./configure --with-utmp --with-automount --with-syslog --with-smbwrapper
--prefix=/usr/samba --exec-prefix=/usr/samba
I am attaching a debug = 10 log. The only connection attempt was the test
causing
the problem. I am also including my test smb.conf file.
<a href="http://www.swlink.net/~styma/tmp/smb.conf">smb.conf file</a>
<a href="http://www.swlink.net/~styma/tmp/log.smbd">log.smbd file</a>
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: <AJAVID1 at motorola.com>
Delivered-To: samba at lists.samba.org
Received: from motgate.mot.com (motgate.mot.com [129.188.136.100]) by
lists.samba.org (Postfix) with ESMTP id 60827477C for
<samba at lists.samba.org>; Fri, 27 Jul 2001 13:12:13 -0700 (PDT)
Received: [from pobox3.mot.com (pobox3.mot.com [10.64.251.242]) by
motgate.mot.com (motgate 2.1) with ESMTP id NAA08333 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 13:17:06 -0700 (MST)]
Received: [from il75exm04.cig.mot.com ([136.182.110.113]) by
pobox3.mot.com (MOT-pobox3 2.0) with ESMTP id NAA11401 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 13:09:36 -0700 (MST)]
Received: by IL75EXM04 with Internet Mail Service (5.5.2653.19) id
<NKTBC458>; Fri, 27 Jul 2001 15:17:05 -0500
Message-ID: <715C8C1A871FD511B4920002B328C27616BA1B at IL75EXM04>
From: Javid Abdul-AJAVID1 <AJAVID1 at motorola.com>
To: "'samba at lists.samba.org'" <samba at lists.samba.org>
Cc: Javid Abdul-AJAVID1 <AJAVID1 at motorola.com>
Subject: unix and samba file permissions
Date: Fri, 27 Jul 2001 15:16:50 -0500
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hi
I have questions, umask on unix side is set to 022, meaning directories
createed will have 755 permissions.
How do i make through samba, these permissions to 775.
I tried these parameters on smb.conf
create mask = 0775
directory mask = 0775
force create mode = 0775
force directory mode = 0775
its not working, i want users to be able have 775 permission when they
access and save file on unix via NT.
thanks
Return-Path: <dan_thibadeau 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 CF42B5291 for
<samba at lists.samba.org>; Fri, 27 Jul 2001 13:16:15 -0700 (PDT)
Received: from xparelay1.corp.hp.com (unknown [15.58.136.173]) by
palrel1.hp.com (Postfix) with ESMTP id 24D2A1BAA; Fri, 27 Jul 2001
13:21:13 -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 23A2D1F537; Fri, 27
Jul 2001 13:21:12 -0700 (PDT)
Received: by xpabh1.corp.hp.com with Internet Mail Service (5.5.2653.19)
id <3PHLXC1D>; Fri, 27 Jul 2001 13:21:11 -0700
Message-ID: <028FE7141C79D511B65100D0B74FE875CF9AA9 at xrose01.rose.hp.com>
From: "THIBADEAU,DAN (HP-Roseville,ex1)" <dan_thibadeau at hp.com>
To: "'samba at lists.samba.org'" <samba at lists.samba.org>
Cc: "'kourosh at loop.com'" <kourosh at loop.com>, "'demerson at zaffari.com.br'"
<demerson at zaffari.com.br>, "THIBADEAU,DAN (HP-Roseville,ex1)"
<dan_thibadeau at hp.com>
Subject: Re: JetDirect Printers in SaMBa...
Date: Fri, 27 Jul 2001 13:21:09 -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/
Demersion,
I'm running an HPUX server printing to several JetDirect supported network
printers. HPUX as a SYSV style lp subsystem and has several differences to
the BSD style that Linux and most other UNIX's use. However, Samba will
work fine with HPUX with the following setups:
1) First make sure the HPUX box can print to the printer from the command
prompt (ie: lp -dd001i050a file.txt). For help getting that to work, you
need to use with Web JetAdmin
(http://www.hp.com/cposupport/swindexes/hpwebjetad1880_swen.html) or the
Jetdirect Printer Install for Unix (JPIU and my personal choice)
(http://www.hp.com/cposupport/nonjsnav/hpuxandsol28679.html). The JetAdmin
product I believe is being discontinued for HPUX and these are the
replacements.
2) Once you can print from HPUX, make sure you set "printing = hpux" in the
global paramaters in smb.conf.
3) HPUX does NOT have a printcap file. If you wish to load all printers
when Samba starts, you can use "printcap name = lpstat" and Samba will get a
list of all printers using the "lpstat -v" command. See the man page for
smb.conf and read the section for the "printcap name" paramater. (note: if
you see a print share called "remote to" please let me know. It was a bug
from way back. I'm curious if it is still there.)
4) OR if you want to use a printcap file (so you can define defaults using
the [printers] section), then just create one and point "printcap name" to
that file. You will have to manually keep that file up to date or add it to
whatever process you already have for adding printers. The contents of the
printcap file should look like:
d001i050a|Impressora D001I050A
printer2|comment 2
printer3|comment 3
...
Everything else is pretty much the same as any other setup of Samba.
Dan T.
=============================================
Dan Thibadeau
HP NAOD Managed Output Services Engineer
Hewlett Packard Co. Phone: (208) 396-5936
11311 Chinden Blvd. FAX: (208) 938-3546
Boise, ID 83714 Email: dan_thibadeau at hp.com
=============================================
At 02:09 PM 7/27/2001 -0300, you wrote:
>Hello to all...
>
>I'm trying to map a JetDirect printer in Windows using SaMBa, but it doesnt
>seem to work. Here's my smb.conf file...
>I know there's something wrong in the "path =" section, but how can I do
it,
>if it's a network printer, with its own IP?
>Oh, SaMBa 2.0.6 is running in my HP/UX box...
>
>
>Thanks...
>
>
>[d001i050a]
> comment = Impressora D001I050A
> printer name = d001i050a
> path = /var/spool/samba
> browsable = yes
> guest ok = yes
> printable = yes
> writable = yes
> public = yes
>
>______________
>Demerson Zounar
>Analista de Suporte
>demerson at zaffari.com.br
Return-Path: <FletcherB at viair.com>
Delivered-To: samba at samba.org
Received: from qassmtp01.viair.com (unknown [64.85.80.165]) by
lists.samba.org (Postfix) with ESMTP id 64738474C for
<samba at samba.org>; Fri, 27 Jul 2001 15:15:13 -0700 (PDT)
Received: from PILSNER.queenanne.viairinc.com ([64.85.80.163]) by
qassmtp01.viair.com with Microsoft SMTPSVC(5.0.2195.1600); Fri, 27 Jul
2001 15:22:19 -0700
Received: by PILSNER.queenanne.viairinc.com with Internet Mail Service
(5.5.2650.21) id <PRWL9PFB>; Fri, 27 Jul 2001 15:18:00 -0700
Message-ID: <BDBFE8A7DBA656458BEBC1D3CFE3C648B561C1 at PILSNER.queenanne.vi
airinc.com>
From: Fletcher Bonds <FletcherB at viair.com>
To: "'samba at samba.org'" <samba at samba.org>
Subject: smbmount for Solaris 2.8 SPARC?
Date: Fri, 27 Jul 2001 15:17:58 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
X-OriginalArrivalTime: 27 Jul 2001 22:22:19.0606 (UTC)
FILETIME=[99789760:01C116EA]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <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 running version 2.2. I noticed in the documentation there is mention of
a tool for mounting SMB partitions, but it's only available for Linux(?). I
doesn't appear in my binary distribution for Solaris SPARC. Why is this
Linux only? thanks.
Return-Path: <cnww at chebucto.ns.ca>
Delivered-To: samba at samba.org
Received: from m5.andara.com (m5.eastlink.ca [24.222.0.5]) by
lists.samba.org (Postfix) with ESMTP id DF3F74273 for
<samba at samba.org>; Fri, 27 Jul 2001 15:42:26 -0700 (PDT)
Received: from murphy (s5n205.hfx.eastlink.ca [24.222.5.205]) by
m5.andara.com (8.10.2/8.10.2) with SMTP id f6RMlX721353; Fri, 27 Jul
2001 19:47:33 -0300 (ADT)
Message-Id: <3.0.3.32.20010727194711.006ab114 at crunch>
X-Sender: cnww at crunch
X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32)
Date: Fri, 27 Jul 2001 19:47:11 -0300
To: samba at samba.org
From: Chris Watt <cnww at chebucto.ns.ca>
Subject: Re: smbmount for Solaris 2.8 SPARC?
Cc: Fletcher Bonds <FletcherB at viair.com>
In-Reply-To: <BDBFE8A7DBA656458BEBC1D3CFE3C648B561C1 at PILSNER.queenanne.v
i airinc.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/
At 03:17 PM 7/27/01 -0700, Fletcher Bonds wrote:
>I'm running version 2.2. I noticed in the documentation there is mention of
>a tool for mounting SMB partitions, but it's only available for Linux(?). I
>doesn't appear in my binary distribution for Solaris SPARC. Why is this
>Linux only? thanks.
In order to mount an SMB share you need an OS which supports SMB
filesystems (e.g. with the smbfs module found with the Linux kernel).
Naturally filesystem drivers are OS specific. Suggest you have a look at
http://www.samba.org/cifs/docs/what-is-smb.html#SMB_Clients which contains
some info and links on related software you might want to look at.
--
"Of course, Linux has become userfriendly. See, you can now click
buttons. But the thing is you don't feel like clicking them".
- Naba kumar
Return-Path: <JH_ML at invtools.com>
Delivered-To: samba at samba.org
Received: from mail.invtools.com (mail.invtools.com [209.81.227.140]) by
lists.samba.org (Postfix) with ESMTP id 3AEA84265 for
<samba at samba.org>; Fri, 27 Jul 2001 17:02:31 -0700 (PDT)
Received: from Spooler by mail.invtools.com (Mercury/32 v3.21c) ID
MO003221; 27 Jul 01 19:07:31 -0500
Received: from spooler by mail.invtools.com (Mercury/32 v3.21c); 27 Jul
01 19:07:23 -0500
Received: from jons2k (209.81.227.200) by invtools.com (Mercury/32
v3.21c) with ESMTP ID MG003220; 27 Jul 01 19:07:17 -0500
From: "Jon Hedlund" <JH_ML at invtools.com>
To: samba at samba.org
Date: Fri, 27 Jul 2001 19:07:16 -0500
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: 7bit
Subject: Samba bug report
Message-ID: <3B61BBE4.12254.9566AEC4 at localhost>
Priority: normal
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
When in a Win9x DOS window I try running a DOS app that is in a directory
with a Long File Name on a Samba 2.2.1 server running Linux 2.4.5, I am
getting a "Access denied" message. When I rename the directory to a 8.3
name I can then run the app with no problem. I can run it without error in the
LFN dir from NT4 and Win2KPro machines but have problems from Win95
and Win98 machines, I replicated the problem on a test server running Linux
2.4.7, the problem didn't happen when I booted that machine with a 2.2.19
kernel.
; my test machines smb.conf
[global]
netbios name = LINUX1
workgroup = INVEST
server string = Linux Dev
encrypt passwords = yes
; a member of the invest domain
security = domain
password server = *
os level = 0
local master = no
domain master = no
preferred master = no
wins server = NTServer1
wins support = No
hide local users = No
browsable = No
deadtime = 15
username level = 2
[test]
path = /usr
writeable = yes
valid users = +local,+remote,+admin
admin users = +admin
force group = users
map hidden = Yes
map system = Yes
create mask = 771
directory mask = 770
browsable = Yes
dos filemode = yes
dos filetimes = yes
Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at samba.org
Received: from dnscache.cbr.au.asiaonline.net
(dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
(Postfix) with ESMTP id 340D24273 for <samba at samba.org>; Fri, 27 Jul
2001 19:21:10 -0700 (PDT)
Received: from piglett.bartlett.house (as3-67.cbr.au.asiaonline.net
[210.215.11.67]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
with ESMTP id f6S2Pfp20540; Sat, 28 Jul 2001 12:25:42 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
[192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
MAA21038; Sat, 28 Jul 2001 12:24:54 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
[192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
MAA09190; Sat, 28 Jul 2001 12:24:53 +1000
Message-ID: <3B622275.40C7F841 at bartlett.house>
Date: Sat, 28 Jul 2001 12:24:53 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: stymar at agcs.com
Cc: Samba Mailing LIst <samba at samba.org>
Subject: Re: Another INTERNAL ERROR: Signal 11
References: <3B61C9C0.F5B04138 at agcs.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/
Robert Styma wrote:
>
> I am getting the same results as Thien Vu.
> I compiled 2.2.1a on Solaris 2.5.1 and try to connect to
> it from an NT machine. My configure on the compile was:
> ./configure --with-utmp --with-automount --with-syslog --with-smbwrapper
> --prefix=/usr/samba --exec-prefix=/usr/samba
>
> I am attaching a debug = 10 log. The only connection attempt was the test
> causing
> the problem. I am also including my test smb.conf file.
>
> <a href="http://www.swlink.net/~styma/tmp/smb.conf">smb.conf file</a>
> <a href="http://www.swlink.net/~styma/tmp/log.smbd">log.smbd file</a>
Any chance of you recompiling with ./configure.developer or at least
--with-debug ? This will enable you to set a 'panic action = /bin/sleep
9000' and attach a debugging session.
(If its was a gnu tool chain I would say 'gdb /path/to/smbd pid',
followed by bt full, but I'm not sure what Solaris uses).
Getting that backtrace gives us a much better idea where the problem is,
down to the line rather than the last log-file statement.
Thanks for the report,
Andrew Bartlett
--
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org
Return-Path: <abartlet at pcug.org.au>
Delivered-To: samba at lists.samba.org
Received: from dnscache.cbr.au.asiaonline.net
(dnscache.cbr.au.asiaonline.net [210.215.8.100]) by lists.samba.org
(Postfix) with ESMTP id BACF1454A for <samba at lists.samba.org>; Fri, 27
Jul 2001 19:44:34 -0700 (PDT)
Received: from piglett.bartlett.house (as3-67.cbr.au.asiaonline.net
[210.215.11.67]) by dnscache.cbr.au.asiaonline.net (8.10.2/8.10.2)
with ESMTP id f6S2nEp22932; Sat, 28 Jul 2001 12:49:15 +1000 (EST)
Received: from yowiee.bartlett.house (IDENT:root at yowiee.bartlett.house
[192.168.1.99]) by piglett.bartlett.house (8.9.3/8.8.7) with ESMTP id
MAA21844; Sat, 28 Jul 2001 12:48:27 +1000
Received: from bartlett.house (IDENT:abartlet at piglett.bartlett.house
[192.168.1.1]) by yowiee.bartlett.house (8.9.3/8.8.7) with ESMTP id
MAA09302; Sat, 28 Jul 2001 12:48:27 +1000
Message-ID: <3B6227FB.AA5CDC1F at bartlett.house>
Date: Sat, 28 Jul 2001 12:48:27 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19-6.2.1 i686)
X-Accept-Language: en
MIME-Version: 1.0
To: Dorota Kulas <dorota at ds2.pg.gda.pl>
Cc: samba at lists.samba.org
Subject: Re: samba, pam & ldap
References: <Pine.GSO.3.96.1010727192912.28968A-100000 at delta.ds2.pg.gda.
pl>
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/
Dorota Kulas wrote:
>
> Hello,
>
> I'd like to do samba authorization via pam_ldap.
> My system is RedHat Linux 6.2, samba version
> - 2.0.6 (it is compiled --with-pam option).
> I would like to authorize via pam_ldap and
> I'd like users exists only in ldap (without
> adding them to system - /etc/passwd etc.)
> Is that possible?
>
> I've installed pam_ldap module and configured
> /etc/pam.d/samba file.
> It looks like this:
>
> auth required pam_ldap.so
> account required pam_ldap.so
>
> I think I've configured everything (I've disabled
> the 'encrypt passwords' option in smb.conf), but pam_ldap
> authorization seems not work, or not work properly.
> In my auth.log I don't get any message, and samba
> log says something like that: "couldn't find user
> 'username'".
> Earlier my auth.log was saying something that
> ldap can't find that object; I checked it out,
> and of course there was not such object, so I've
> created it. And then there was no message to
> auth.log.
> I don't know what I do wrong.
>
> I looked into list archive and I've found similar
> problem, but I coundn't find post with solution
> (the message was posted at 28.VI.2001 by Christian
> Brath, title: PAM and LDAP).
> I would be very grateful if someone could help me.
You will need to setup nss_ldap as well, as samba does a LOT of
getpwnam() calls, and expects that if they fail, its not worth checking
the password.
I'm working on this area, but samba will (for the forseable future)
require local users for this kind of arrangment, with the possible
exception of guest only/force user shares.
Andrew Bartlett
--
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org
Return-Path: <karlson at stu.mech.titech.ac.jp>
Delivered-To: samba at lists.samba.org
Received: from stu-gw.mech.titech.ac.jp (komachi.mech.titech.ac.jp
[131.112.124.67]) by lists.samba.org (Postfix) with ESMTP id 209BF4272
for <samba at lists.samba.org>; Fri, 27 Jul 2001 22:59:59 -0700 (PDT)
Received: from stu.mech.titech.ac.jp (hagiwara110.mech.titech.ac.jp
[131.112.120.240]) by stu-gw.mech.titech.ac.jp (8.8.8/3.6W) with ESMTP
id PAA08494 for <samba at lists.samba.org>; Sat, 28 Jul 2001 15:14:27
+0900 (JST)
Message-ID: <3B6255FB.9128C0FB at stu.mech.titech.ac.jp>
Date: Sat, 28 Jul 2001 15:04:43 +0900
From: Nikita Kojekine AKA Kitya Karlson <karlson at stu.mech.titech.ac.jp>
X-Mailer: Mozilla 4.78 [en] (Win98; U)
X-Accept-Language: ru,en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Please, help me
Content-Type: text/plain; charset=koi8-r
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 sumba on linux server. But suddenly it no longer allows windows
mashines to log on. It writes this in log:
[2001/07/25 16:41:01, 6] lib/util_sock.c:write_socket(557)
write_socket (6,4)
[2001/07/25 16:41:01, 0] lib/util_sock.c:write_socket(537)
write_socket_data: write failure. Error = Broken pipe
[2001/07/25 16:41:01, 6] lib/util_sock.c:write_socket(560)
write_socket (6,4) wrote -1
2001/07/25 16:41:01, 0] lib/util_sock.c:write_socket(563)
write_socket: Error writing 4 bytes to socket 6: ERRNO = Broken pipe
2001/07/25 16:41:01, 0] lib/util_sock.c:send_smb(751)
Error writing 4 bytes to client. -1. Exiting
What can that be?
Please answer to my mail also, because I'm not the subscriber of
the list.
Sincerely yours, Nikita.
Return-Path: <dorota at ds2.pg.gda.pl>
Delivered-To: samba at lists.samba.org
Received: from delta.ds2.pg.gda.pl (delta.ds2.pg.gda.pl [213.192.72.1])
by lists.samba.org (Postfix) with ESMTP id 1887C4244 for
<samba at lists.samba.org>; Sat, 28 Jul 2001 01:08:18 -0700 (PDT)
Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP
id KAA09700; Sat, 28 Jul 2001 10:15:30 +0200 (MET DST)
Date: Sat, 28 Jul 2001 10:15:30 +0200 (MET DST)
From: Dorota Kulas <dorota at ds2.pg.gda.pl>
To: Andrew Bartlett <abartlet at pcug.org.au>
Cc: samba at lists.samba.org
Subject: Re: samba, pam & ldap
In-Reply-To: <3B6227FB.AA5CDC1F at bartlett.house>
Message-ID: <Pine.GSO.3.96.1010728100151.9603B-100000 at delta.ds2.pg.gda.p
l>
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 Sat, 28 Jul 2001, Andrew Bartlett wrote:
> Dorota Kulas wrote:
> >
> > Hello,
> >
> > I'd like to do samba authorization via pam_ldap.
> > My system is RedHat Linux 6.2, samba version
> > - 2.0.6 (it is compiled --with-pam option).
> > I would like to authorize via pam_ldap and
> > I'd like users exists only in ldap (without
> > adding them to system - /etc/passwd etc.)
> > Is that possible?
> >
> > I've installed pam_ldap module and configured
> > /etc/pam.d/samba file.
> > It looks like this:
> >
> > auth required pam_ldap.so
> > account required pam_ldap.so
> >
> > I think I've configured everything (I've disabled
> > the 'encrypt passwords' option in smb.conf), but pam_ldap
> > authorization seems not work, or not work properly.
> > In my auth.log I don't get any message, and samba
> > log says something like that: "couldn't find user
> > 'username'".
> > Earlier my auth.log was saying something that
> > ldap can't find that object; I checked it out,
> > and of course there was not such object, so I've
> > created it. And then there was no message to
> > auth.log.
> > I don't know what I do wrong.
> >
> > I looked into list archive and I've found similar
> > problem, but I coundn't find post with solution
> > (the message was posted at 28.VI.2001 by Christian
> > Brath, title: PAM and LDAP).
> > I would be very grateful if someone could help me.
>
> You will need to setup nss_ldap as well, as samba does a LOT of
> getpwnam() calls, and expects that if they fail, its not worth checking
> the password.
I've installed nss_ldap (this is the packet which provides
module pam_ldap.so). Do I have to do some additional
configuration? How can I get to know if samba does these
calls in my case?
> I'm working on this area, but samba will (for the forseable future)
> require local users for this kind of arrangment, with the possible
> exception of guest only/force user shares.
So, if I understood well, it is imposible not to have users
in local system (I mean the system with samba server)
for now, if I want to have limited access to shares, which
depends on user name and group, even if this information
exists in LDAP?
And I have one more question: does samba have it's own quota
mechanizm?
Greetings
--
Dorota Kulas | "... Unix, MS-DOS, and Windows NT (also known as
dorota at ds2.pg.gda.pl | the Good, the Bad and the Ugly) ..." - Matt Welsh
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 0FE6A46AF for
<samba at lists.samba.org>; Sat, 28 Jul 2001 01:14:04 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
with UUCP id f6S0JOF29752; Sat, 28 Jul 2001 04:19:24 +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 f6S8FJb00384; Sat, 28 Jul
2001 04:15:19 -0400
Message-ID: <3B627497.6030208 at samera.com.py>
Date: Sat, 28 Jul 2001 04:15:19 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.1)
Gecko/20010607 Netscape6/6.1b1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: Russ Roush <russellroush at yahoo.com>
Cc: Richard Smart <rsmart at netaccess.co.nz>, samba at lists.samba.org
Subject: Re: profiles driving me crazy
References: <5.1.0.14.0.20010727090427.00a29740 at king.tsbn.home>
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/
Then it should be:
logon drive = H:
logon home = \\%L\%U\profile
Also enable the [home] profile
Good luck
Oliver
Russ Roush wrote:
> Previous to me playing with it trying to get it moved to another
> partition it was working fine under:
>
> /home/user/profile
>
> but now I can't even get that working again.
>
> Thanks
> At 12:56 AM 7/28/01 +1200, you wrote:
>
>> At 22:57 26/07/01 -0500, you wrote:
>> >I am running samba 2.0.7
>> >No matter what I change the "logon path" to, my Win98se and WinME
>> clients
>> >are all placing the profile in the [Home} directory.
>> >
>> This is normal behaviour for Win9x clients (Refer O'Reilly - SWAT) the
>> logon path options are only used by NT clients.
>>
>> Richard S
>> --
>> 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: <christoph.beyer at desy.de>
Delivered-To: samba at lists.samba.org
Received: from mail2-195.desy.de (mailserver2.desy.de [131.169.87.110])
by lists.samba.org (Postfix) with ESMTP id BA163480D for
<samba at lists.samba.org>; Sat, 28 Jul 2001 01:17:32 -0700 (PDT)
Received: from desy.de (chbeyer-rem.desy.de [131.169.242.106]) by
mail2-195.desy.de (8.8.5/8.8.5/R) with ESMTP id KAA23872; Sat, 28 Jul
2001 10:22:15 +0200 (MET DST)
From: christoph.beyer at desy.de
Message-ID: <3B6275FA.8204B807 at desy.de>
Date: Sat, 28 Jul 2001 10:21:14 +0200
X-Mailer: Mozilla 4.77 [en] (Win95; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Info - Demerson <demerson at zaffari.com.br>
Cc: samba at lists.samba.org
Subject: Re: RES: JetDirect Printers in SaMBa...
References: <2411209499ABD41180270090274DD8BC363139 at zafnt2>
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,
on HPUX there is no lpd with a printcap but the SYSV pendant: the 'lpsched' you
can add or delete printer with something called the 'lpadmin' tool before using
it you have to 'enable' it and have it 'accept' jobs by using the same called
binaries. As you will see it is a bit tricky :-(
regards
~Christoph
Info - Demerson wrote:
> I thought it was just simple, but i cant find a "printcap" file in HP/UX?
> Somebody knows how HP/UX treats that?
>
> -----Mensagem original-----
> De: Kourosh Ghassemieh [mailto:kourosh at loop.com]
> Enviada em: sexta-feira, 27 de julho de 2001 14:36
> Para: samba at lists.samba.org
> Assunto: Re: JetDirect Printers in SaMBa...
>
> Demerson,
>
> Is the HP/UX box the print server or is the Windows box the print server?
> I'm going to assume you have the HP/UX box acting as the print server.
> I also use a JetDirect and use Linux/Samba as the print server. I set up
> a printer using LPRng in Linux which points to the JetDirect's IP address
> at port 9100 (the default for JetDirect's). Then I created the print share
> as
> you did in Samba. I did have to include the print commands to get it
> to work properly (i.e. print command = lpr -l -r -P%p %s). I have shared
> an HP LaserJet 4050 and a DeskJet 950C this way. Works woderfully.
> Under most Unix implemenations LPR allows redirecting of print jobs to
> another queue or IP. This is what you want to do.
>
> HP might even have their JetDirect software ported to HP/UX but I'm not
> familiar that.
>
> Hope this helps.
>
> At 02:09 PM 7/27/2001 -0300, you wrote:
> >Hello to all...
> >
> >I'm trying to map a JetDirect printer in Windows using SaMBa, but it doesnt
> >seem to work. Here's my smb.conf file...
> >I know there's something wrong in the "path =" section, but how can I do
> it,
> >if it's a network printer, with its own IP?
> >Oh, SaMBa 2.0.6 is running in my HP/UX box...
> >
> >
> >Thanks...
> >
> >
> >[d001i050a]
> > comment = Impressora D001I050A
> > printer name = d001i050a
> > path = /var/spool/samba
> > browsable = yes
> > guest ok = yes
> > printable = yes
> > writable = yes
> > public = yes
> >
> >______________
> >Demerson Zounar
> >Analista de Suporte
> >demerson at zaffari.com.br
> >--
> >To unsubscribe from this list go to the following URL and read the
> >instructions: http://lists.samba.org/mailman/listinfo/samba
>
> -
> ------------------------------------------------------------------------
> Kourosh Ghassemieh
> MindWare Information Systems & Technologies
> 9255 Sunset Blvd, Penthouse
> West Hollywood CA 90069
> (310) 729-1784
> kourosh at loop.com
>
> ++++Networking Solutions for Your Business++++
> --
> 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: <jfrancis at mail.usyd.edu.au>
Delivered-To: samba at lists.samba.org
Received: from hyperion.usyd.edu.au (nat-17.mp.usyd.edu.au
[129.78.4.17]) by lists.samba.org (Postfix) with ESMTP id 115E34659
for <samba at lists.samba.org>; Sat, 28 Jul 2001 02:10:49 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by
hyperion.usyd.edu.au (8.11.0/8.11.0) with ESMTP id f6S9Fg601899 for
<samba at lists.samba.org>; Sat, 28 Jul 2001 19:15:42 +1000
Date: Sat, 28 Jul 2001 19:15:41 +1000 (EST)
From: <jfrancis at mail.usyd.edu.au>
X-Sender: jfrancis at hyperion.usyd.edu.au
To: samba at lists.samba.org
Subject: File update problem
Message-ID: <Pine.LNX.4.21.0107281909030.1893-100000 at hyperion.usyd.edu.a
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/
PLEASE carbon-copy replies to me (jfrancis at mail.usyd.edu.au)
I have two machines, a linux box and a win98 box.
I am on the win box viewing a page such as h:/html/page.html where h: is a
samba share on linux box. I view the file, then edit page.html via a
telnet session to linux box (or directly on the linux box) and save and
refresh in IE but the page hasn't been updated.
I then proceed to open this file in notepad or similar (i.e. bypassing any
IE caching) and it appears that the file has not been updated.
Is the problem here a simple configuration problem in either smb.conf or
on the win98box. Or is it a problem inherent in samba or in win98.
Is there a way around this.
All help is greatly appreaciated.
John
Return-Path: <christoph.beyer at desy.de>
Delivered-To: samba at lists.samba.org
Received: from mail2-195.desy.de (mailserver2.desy.de [131.169.87.110])
by lists.samba.org (Postfix) with ESMTP id DBFFF46AA for
<samba at lists.samba.org>; Sat, 28 Jul 2001 02:31:04 -0700 (PDT)
Received: from desy.de (chbeyer-rem.desy.de [131.169.242.106]) by
mail2-195.desy.de (8.8.5/8.8.5/R) with ESMTP id LAA21039 for
<samba at lists.samba.org>; Sat, 28 Jul 2001 11:35:55 +0200 (MET DST)
From: christoph.beyer at desy.de
Message-ID: <3B62873F.4F662D32 at desy.de>
Date: Sat, 28 Jul 2001 11:34:55 +0200
X-Mailer: Mozilla 4.77 [en] (Win95; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: samba <samba at lists.samba.org>
Subject: viewer / editor for ntdrivers.tdb ?
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 tools for editing or looking at the ntdrivers.tdb ?
I have some problems with a printer that doesn't get installed on the
clients no matter which driver I assign to it...
regards
~Christoph
Return-Path: <fedegue at ciudad.com.ar>
Delivered-To: samba at lists.samba.org
Received: from postino4.prima.com.ar (postino4.prima.com.ar
[200.42.0.162]) by lists.samba.org (Postfix) with ESMTP id 0875C415B
for <samba at lists.samba.org>; Sat, 28 Jul 2001 05:44:31 -0700 (PDT)
Received: from fefo (a200042114214.rev.prima.com.ar [200.42.114.214]) by
postino4.prima.com.ar (8.9.1a/8.9.1) with SMTP id JAA67284 for
<samba at lists.samba.org>; Sat, 28 Jul 2001 09:49:23 -0300 (ART)
Message-ID: <001501c11763$bff52600$0100a8c0 at fefo>
From: "Federico Guerrini" <fedegue at ciudad.com.ar>
To: <samba at lists.samba.org>
Subject: Samba Security Policies
Date: Sat, 28 Jul 2001 09:49:32 -0300
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 want to know if in Samba working as a PDC and logon server I can implement
any kind of security policies such as password expiration, blocking an account
after 3 fail logins, password history....
Sorry if I make some mistakes but english is not my native lenguage
Thanks in advance,
Federico.
Return-Path: <rajeev.dutt at usa.net>
Delivered-To: samba at lists.samba.org
Received: from nwcst31c.netaddress.usa.net (nwcst31c.netaddress.usa.net
[204.68.23.58]) by lists.samba.org (Postfix) with SMTP id 59F00416E
for <samba at lists.samba.org>; Sat, 28 Jul 2001 06:38:18 -0700 (PDT)
Received: (qmail 23077 invoked by uid 60001); 28 Jul 2001 13:43:12 -0000
Message-ID: <20010728134312.23076.qmail at nwcst31c.netaddress.usa.net>
Received: from 204.68.23.58 by nwcst31c for [202.56.213.214] via
web-mailer(34FM.0700.18.03B) on Sat Jul 28 13:43:12 GMT 2001
Date: 28 Jul 2001 07:43:12 MDT
From: rajeev dutt <rajeev.dutt at usa.net>
To: samba at lists.samba.org
Subject: Samba 2.0.7 on Sol8
X-Mailer: USANET web-mailer (34FM.0700.18.03B)
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/
Hi,
I have installed samba-2.0.7 on Solaris8 (Intel platform)
When i am testing smbclient sitting on my server using:
smbclient -U% -L localhost
First it starts with adding my nic ip address and then gives an
error :
SMBSERVER not found
Please note that i have already intialised my daemons using
smbd -D & nmbd -D
Please HELP.....
Thanks
Rajeev
Return-Path: <brichardson at lineone.net>
Delivered-To: samba at lists.samba.org
Received: from knossos.bruce (du-018-0203.claranet.co.uk
[212.126.131.203]) by lists.samba.org (Postfix) with ESMTP id
1D1294164 for <samba at lists.samba.org>; Sat, 28 Jul 2001 08:42:56 -0700
(PDT)
Received: by knossos.bruce (Postfix, from userid 1002) id D6FF02793;
Sat, 28 Jul 2001 16:47:23 +0100 (BST)
Date: Sat, 28 Jul 2001 16:47:23 +0100
To: Samba List <samba at lists.samba.org>
Subject: Logon drive
Message-ID: <20010728164723.B23731 at knossos.bruce>
Mail-Followup-To: Samba List <samba at lists.samba.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
From: brichardson at lineone.net (Bruce Richardson)
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/
Which version of Samba introduced the logon drive parameter?
--
Bruce
A problem shared brings the consolation that someone else is now
feeling as miserable as you.
[demime 0.98b removed an attachment of type application/pgp-signature]
Return-Path: <kcella at hotmail.com>
Delivered-To: samba at lists.samba.org
Received: from hotmail.com (law2-oe27.hotmail.com [216.32.180.20]) by
lists.samba.org (Postfix) with ESMTP id F2C794359 for
<samba at lists.samba.org>; Sat, 28 Jul 2001 11:14:09 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
SMTPSVC; Sat, 28 Jul 2001 11:19:04 -0700
X-Originating-IP: [24.29.60.180]
From: "Kevin Cella" <kcella at hotmail.com>
To: <samba at lists.samba.org>
Subject: samba, inetd problem on firewall
Date: Sat, 28 Jul 2001 14:23:26 -0400
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
Message-ID: <LAW2-OE27lib4g3Sv0Y000026c4 at hotmail.com>
X-OriginalArrivalTime: 28 Jul 2001 18:19:04.0305 (UTC)
FILETIME=[C8682610:01C11791]
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
i have a firewall LAN connected through a linksys router and hub. machines
include: win98, winNT, win2k, linux. i used to be able to connect through
telnet, ftp and samba to access my linux box, but not anymore. they all seem
to timeout and never connect, except occasionally i will get a telnet login. i
can ping the linux box from any PC and vice versa. the PCs seem to recognize
the netbios name setup in smb.conf. i've tried all the tests in the samba
documentation and when it comes to connecting to the share, i get a session
unavailable msg. the lmhosts/wins server in windows doesn't help (besides, i
never needed it before when it was working). here is the extent of the errors
in smb.log:
lib/util_sock.c: write_data("some number"):write failure. Error = Broken
pipe.
lib/util_sock.c:send_smb("some number") Error writing 4 bytes to client. -1.
Exiting.
any ideas?
thanks,
Kevin
Return-Path: <>
Delivered-To: samba at lists.samba.org
Received: from mail.teledynamics.nl (unknown [195.240.90.94]) by
lists.samba.org (Postfix) with SMTP id 12770458A for
<samba at lists.samba.org>; Sat, 28 Jul 2001 12:03:27 -0700 (PDT)
Received: from TeleDynamics-Message_Server by mail.teledynamics.nl with
Novell_GroupWise; Sat, 28 Jul 2001 21:07:03 +0200
Message-Id: <sb632977.007 at mail.teledynamics.nl>
X-Mailer: Novell GroupWise 5.5.2
Date: Sat, 28 Jul 2001 21:06:41 +0200
From: "Martin Eggens" <eggens at teledynamics.nl>
To: <samba at lists.samba.org>
Subject: Re: samba digest, Vol 1 #507 - 21 msgs
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Dear reader.
I'll be on holiday from the 16th of July untill the 27th of July.
For urgent matters please contact Teledynamics Customer Care at 0800-0230175.
Or, alternatively, mail to support at teledynamics.nl.
Kind regards,
Martin Eggens
Customer Care Specialist
Teledynamics b.v.
>>> samba 07/28/01 21:01 >>>
Send samba mailing list submissions to
samba at lists.samba.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.samba.org/mailman/listinfo/samba
or, via email, send a message with subject or body 'help' to
samba-request at lists.samba.org
You can reach the person managing the list at
samba-admin at lists.samba.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of samba digest..."
Today's Topics:
1. RES: RES: JetDirect Printers in SaMBa... (Info - Demerson)
2. RE: Local Admin group access to Print share [was: Printing with
2 .2.1 a] (Fouquet, Errol)
3. Another INTERNAL ERROR: Signal 11 (Robert Styma)
4. unix and samba file permissions (Javid Abdul-AJAVID1)
5. Re: JetDirect Printers in SaMBa... (THIBADEAU,DAN (HP-Roseville,ex1))
6. smbmount for Solaris 2.8 SPARC? (Fletcher Bonds)
7. Re: smbmount for Solaris 2.8 SPARC? (Chris Watt)
8. Samba bug report (Jon Hedlund)
9. Re: Another INTERNAL ERROR: Signal 11 (Andrew Bartlett)
10. Re: samba, pam & ldap (Andrew Bartlett)
11. Please, help me (Nikita Kojekine AKA Kitya Karlson)
12. Re: samba, pam & ldap (Dorota Kulas)
13. Re: profiles driving me crazy (Oliver Schulze L.)
14. Re: RES: JetDirect Printers in SaMBa... (christoph.beyer at desy.de)
15. File update problem (jfrancis at mail.usyd.edu.au)
16. viewer / editor for ntdrivers.tdb ? (christoph.beyer at desy.de)
17. Samba Security Policies (Federico Guerrini)
18. Samba 2.0.7 on Sol8 (rajeev dutt)
19. Logon drive (Bruce Richardson)
20. samba, inetd problem on firewall (Kevin Cella)
--__--__--
Message: 1
From: Info - Demerson <demerson at zaffari.com.br>
To: 'Jason Stewart' <jstewart at rtl.org>, samba at lists.samba.org
Subject: RES: RES: JetDirect Printers in SaMBa...
Date: Fri, 27 Jul 2001 16:11:23 -0300
Ok, people, I figured it out... HP/UX doesnt use the LPQ command, it uses
the LP instead...
I had to set lpq command to lp -d%p.
Thanks ...
Demerson
-----Mensagem original-----
De: Jason Stewart [mailto:jstewart at rtl.org]
Enviada em: sexta-feira, 27 de julho de 2001 16:01
Para: samba at lists.samba.org
Assunto: Re: RES: JetDirect Printers in SaMBa...
I have a few HP Jetdirects On our network. What I did was made an entry in
the /etc/printcap file for a remote printer (:rm=)and set the address to
the address of the Jetdirect Card. You can put JetAdmin on a windows box
and use it to turn on the lpd (515) ports on the Jetdirect cards. Another
problem that you may run into is speed. Whenever the UNIX box running Samba
would stat the jetdirect card, the client application would freeze (that is
when the windows print selector box pops up). I fixed the problem by using
lpc -P%p status for my lpq command in the smb.conf file.
Good Luck,
Jason
>>I also use a JetDirect and use Linux/Samba as the print server. I set up
>>a printer using LPRng in Linux which points to the JetDirect's IP address
>>at port 9100 (the default for JetDirect's). Then I created the print
share
>>as
>>you did in Samba. I did have to include the print commands to get it
>>to work properly (i.e. print command = lpr -l -r -P%p %s). I have shared
>>an HP LaserJet 4050 and a DeskJet 950C this way. Works woderfully.
>>Under most Unix implemenations LPR allows redirecting of print jobs to
>>another queue or IP. This is what you want to do.
>>
>>HP might even have their JetDirect software ported to HP/UX but I'm not
>>familiar that.
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
--__--__--
Message: 2
From: "Fouquet, Errol" <Errol.Fouquet at mms.gov>
To: "'THIBADEAU,DAN (HP-Roseville,ex1)'" <dan_thibadeau at hp.com>,
"'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: RE: Local Admin group access to Print share [was: Printing with
2 .2.1 a]
Date: Fri, 27 Jul 2001 13:48:41 -0600
Dan,
You may want to consider letting Samba create the UNIX accounts for you via
the "add user script" directive in the smb.conf file. I've got a similar
situation here with 1000's of NT users which do not necessarily have an
account on the Samba box. By allowing Samba to create accounts for these
anonymous users on the fly, the ability to control print jobs is had by all.
In my setup the "add user script" entry in the smb.conf file looks like:
add user script = /usr/sbin/adduser %u
The defaults values used by "adduser" work fine for me ... but you can
modify the default behavior of this by modifying /etc/default/useradd and
/etc/login.defs.
hth
errol
Errol Fouquet - UNIX SysAdmin
Minerals Management Service, DOI
1201 Elmwood Park Blvd.
New Orleans, LA 70123
Phone: (504) 736-3255
Pager: (504) 374-2021
Fax: (504) 736-2464
email: errol.fouquet at mms.gov
http://www.gomr.mms.gov
-----Original Message-----
From: THIBADEAU,DAN (HP-Roseville,ex1) [mailto:dan_thibadeau at hp.com]
Sent: Thursday, July 26, 2001 5:34 PM
To: 'samba at lists.samba.org'
Subject: Local Admin group access to Print share [was: Printing with
2.2.1 a]
Can anyone out there see the print queue status from thier Windows NT/2000
client under the following 2 conditions:
1) your logged into the Windows NT/2000 client using a domain
account that is in the local machine Administrator group.
2) this account DOES NOT map to a user on the Samba server that has
"printer admin" privileges.
The error I get (and at least one other on this list) on my PC is:
<access denied, unable to connect>
I believe this is a Samba bug, but want to collect all the info I can before
reporting. I'm gathering some more info from Craig Hibbert (the other
listee having the same error) to rule out OS and compiler problems.
One of the tests I ran was to get a debug=10 log file showing the failed
access, then taking myself out of the local Administrator group and creating
a debug=10 log file of a passing connection. I have saved both files if
anyone needs them.
I descovered, that they BOTH do an SPOOLSS_OPENPRINTEREX command and
generate an access denied message. The difference is that the failing log
file shows that Samba went into the "closing connection" process immediatly
following the "access denied", where as the passing log file shows "got smb
length of 300" and went about reporting the data to the client.
I assume this means that the CLIENT initiated a secondary request for data
after being refused the first time. It apparently doesn't do this if the
local user is in the Administrator group. If it can't get full access it
gives up.
This really is a show stopper as I don't really want to give 80,000 people
"printer admin" rights on my Samba server so they can cancel thier print
jobs.
Please help,
Dan T.
==========================================
Dan Thibadeau
HP NAOD Managed Output Services Engineer
Hewlett Packard Co. Phone: (208) 396-5936
11311 Chinden Blvd. FAX: (208) 938-3546
Boise, ID 83714 Email: dan_Thibadeau at hp.com
==========================================
--
To unsubscribe from this list go to the following URL and read the
instructions: http://lists.samba.org/mailman/listinfo/samba
--__--__--
Message: 3
Date: Fri, 27 Jul 2001 13:06:24 -0700
From: Robert Styma <stymar at agcs.com>
Reply-To: stymar at agcs.com
Organization: AG Communication Systems
To: Samba Mailing LIst <samba at samba.org>
Subject: Another INTERNAL ERROR: Signal 11
I am getting the same results as Thien Vu.
I compiled 2.2.1a on Solaris 2.5.1 and try to connect to
it from an NT machine. My configure on the compile was:
./configure --with-utmp --with-automount --with-syslog --with-smbwrapper
--prefix=/usr/samba --exec-prefix=/usr/samba
I am attaching a debug = 10 log. The only connection attempt was the test
causing
the problem. I am also including my test smb.conf file.
<a href="http://www.swlink.net/~styma/tmp/smb.conf">smb.conf file</a>
<a href="http://www.swlink.net/~styma/tmp/log.smbd">log.smbd file</a>
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
--__--__--
Message: 4
From: Javid Abdul-AJAVID1 <AJAVID1 at motorola.com>
To: "'samba at lists.samba.org'" <samba at lists.samba.org>
Cc: Javid Abdul-AJAVID1 <AJAVID1 at motorola.com>
Subject: unix and samba file permissions
Date: Fri, 27 Jul 2001 15:16:50 -0500
Hi
I have questions, umask on unix side is set to 022, meaning directories
createed will have 755 permissions.
How do i make through samba, these permissions to 775.
I tried these parameters on smb.conf
create mask = 0775
directory mask = 0775
force create mode = 0775
force directory mode = 0775
its not working, i want users to be able have 775 permission when they
access and save file on unix via NT.
thanks
--__--__--
Message: 5
From: "THIBADEAU,DAN (HP-Roseville,ex1)" <dan_thibadeau at hp.com>
To: "'samba at lists.samba.org'" <samba at lists.samba.org>
Cc: "'kourosh at loop.com'" <kourosh at loop.com>, "'demerson at zaffari.com.br'"
<demerson at zaffari.com.br>, "THIBADEAU,DAN (HP-Roseville,ex1)"
<dan_thibadeau at hp.com>
Subject: Re: JetDirect Printers in SaMBa...
Date: Fri, 27 Jul 2001 13:21:09 -0700
Demersion,
I'm running an HPUX server printing to several JetDirect supported network
printers. HPUX as a SYSV style lp subsystem and has several differences to
the BSD style that Linux and most other UNIX's use. However, Samba will
work fine with HPUX with the following setups:
1) First make sure the HPUX box can print to the printer from the command
prompt (ie: lp -dd001i050a file.txt). For help getting that to work, you
need to use with Web JetAdmin
(http://www.hp.com/cposupport/swindexes/hpwebjetad1880_swen.html) or the
Jetdirect Printer Install for Unix (JPIU and my personal choice)
(http://www.hp.com/cposupport/nonjsnav/hpuxandsol28679.html). The JetAdmin
product I believe is being discontinued for HPUX and these are the
replacements.
2) Once you can print from HPUX, make sure you set "printing = hpux" in the
global paramaters in smb.conf.
3) HPUX does NOT have a printcap file. If you wish to load all printers
when Samba starts, you can use "printcap name = lpstat" and Samba will get a
list of all printers using the "lpstat -v" command. See the man page for
smb.conf and read the section for the "printcap name" paramater. (note: if
you see a print share called "remote to" please let me know. It was a bug
from way back. I'm curious if it is still there.)
4) OR if you want to use a printcap file (so you can define defaults using
the [printers] section), then just create one and point "printcap name" to
that file. You will have to manually keep that file up to date or add it to
whatever process you already have for adding printers. The contents of the
printcap file should look like:
d001i050a|Impressora D001I050A
printer2|comment 2
printer3|comment 3
...
Everything else is pretty much the same as any other setup of Samba.
Dan T.
=============================================
Dan Thibadeau
HP NAOD Managed Output Services Engineer
Hewlett Packard Co. Phone: (208) 396-5936
11311 Chinden Blvd. FAX: (208) 938-3546
Boise, ID 83714 Email: dan_thibadeau at hp.com
=============================================
At 02:09 PM 7/27/2001 -0300, you wrote:
>Hello to all...
>
>I'm trying to map a JetDirect printer in Windows using SaMBa, but it doesnt
>seem to work. Here's my smb.conf file...
>I know there's something wrong in the "path =" section, but how can I do
it,
>if it's a network printer, with its own IP?
>Oh, SaMBa 2.0.6 is running in my HP/UX box...
>
>
>Thanks...
>
>
>[d001i050a]
> comment = Impressora D001I050A
> printer name = d001i050a
> path = /var/spool/samba
> browsable = yes
> guest ok = yes
> printable = yes
> writable = yes
> public = yes
>
>______________
>Demerson Zounar
>Analista de Suporte
>demerson at zaffari.com.br
--__--__--
Message: 6
From: Fletcher Bonds <FletcherB at viair.com>
To: "'samba at samba.org'" <samba at samba.org>
Subject: smbmount for Solaris 2.8 SPARC?
Date: Fri, 27 Jul 2001 15:17:58 -0700
I'm running version 2.2. I noticed in the documentation there is mention of
a tool for mounting SMB partitions, but it's only available for Linux(?). I
doesn't appear in my binary distribution for Solaris SPARC. Why is this
Linux only? thanks.
--__--__--
Message: 7
Date: Fri, 27 Jul 2001 19:47:11 -0300
To: samba at samba.org
From: Chris Watt <cnww at chebucto.ns.ca>
Subject: Re: smbmount for Solaris 2.8 SPARC?
Cc: Fletcher Bonds <FletcherB at viair.com>
At 03:17 PM 7/27/01 -0700, Fletcher Bonds wrote:
>I'm running version 2.2. I noticed in the documentation there is mention of
>a tool for mounting SMB partitions, but it's only available for Linux(?). I
>doesn't appear in my binary distribution for Solaris SPARC. Why is this
>Linux only? thanks.
In order to mount an SMB share you need an OS which supports SMB
filesystems (e.g. with the smbfs module found with the Linux kernel).
Naturally filesystem drivers are OS specific. Suggest you have a look at
http://www.samba.org/cifs/docs/what-is-smb.html#SMB_Clients which contains
some info and links on related software you might want to look at.
--
"Of course, Linux has become userfriendly. See, you can now click
buttons. But the thing is you don't feel like clicking them".
- Naba kumar
--__--__--
Message: 8
From: "Jon Hedlund" <JH_ML at invtools.com>
To: samba at samba.org
Date: Fri, 27 Jul 2001 19:07:16 -0500
Subject: Samba bug report
When in a Win9x DOS window I try running a DOS app that is in a directory
with a Long File Name on a Samba 2.2.1 server running Linux 2.4.5, I am
getting a "Access denied" message. When I rename the directory to a 8.3
name I can then run the app with no problem. I can run it without error in
the
LFN dir from NT4 and Win2KPro machines but have problems from Win95
and Win98 machines, I replicated the problem on a test server running Linux
2.4.7, the problem didn't happen when I booted that machine with a 2.2.19
kernel.
; my test machines smb.conf
[global]
netbios name = LINUX1
workgroup = INVEST
server string = Linux Dev
encrypt passwords = yes
; a member of the invest domain
security = domain
password server = *
os level = 0
local master = no
domain master = no
preferred master = no
wins server = NTServer1
wins support = No
hide local users = No
browsable = No
deadtime = 15
username level = 2
[test]
path = /usr
writeable = yes
valid users = +local,+remote,+admin
admin users = +admin
force group = users
map hidden = Yes
map system = Yes
create mask = 771
directory mask = 770
browsable = Yes
dos filemode = yes
dos filetimes = yes
--__--__--
Message: 9
Date: Sat, 28 Jul 2001 12:24:53 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
To: stymar at agcs.com
Cc: Samba Mailing LIst <samba at samba.org>
Subject: Re: Another INTERNAL ERROR: Signal 11
Robert Styma wrote:
>
> I am getting the same results as Thien Vu.
> I compiled 2.2.1a on Solaris 2.5.1 and try to connect to
> it from an NT machine. My configure on the compile was:
> ./configure --with-utmp --with-automount --with-syslog --with-smbwrapper
> --prefix=/usr/samba --exec-prefix=/usr/samba
>
> I am attaching a debug = 10 log. The only connection attempt was the test
> causing
> the problem. I am also including my test smb.conf file.
>
> <a href="http://www.swlink.net/~styma/tmp/smb.conf">smb.conf file</a>
> <a href="http://www.swlink.net/~styma/tmp/log.smbd">log.smbd file</a>
Any chance of you recompiling with ./configure.developer or at least
--with-debug ? This will enable you to set a 'panic action = /bin/sleep
9000' and attach a debugging session.
(If its was a gnu tool chain I would say 'gdb /path/to/smbd pid',
followed by bt full, but I'm not sure what Solaris uses).
Getting that backtrace gives us a much better idea where the problem is,
down to the line rather than the last log-file statement.
Thanks for the report,
Andrew Bartlett
--
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org
--__--__--
Message: 10
Date: Sat, 28 Jul 2001 12:48:27 +1000
From: Andrew Bartlett <abartlet at pcug.org.au>
To: Dorota Kulas <dorota at ds2.pg.gda.pl>
Cc: samba at lists.samba.org
Subject: Re: samba, pam & ldap
Dorota Kulas wrote:
>
> Hello,
>
> I'd like to do samba authorization via pam_ldap.
> My system is RedHat Linux 6.2, samba version
> - 2.0.6 (it is compiled --with-pam option).
> I would like to authorize via pam_ldap and
> I'd like users exists only in ldap (without
> adding them to system - /etc/passwd etc.)
> Is that possible?
>
> I've installed pam_ldap module and configured
> /etc/pam.d/samba file.
> It looks like this:
>
> auth required pam_ldap.so
> account required pam_ldap.so
>
> I think I've configured everything (I've disabled
> the 'encrypt passwords' option in smb.conf), but pam_ldap
> authorization seems not work, or not work properly.
> In my auth.log I don't get any message, and samba
> log says something like that: "couldn't find user
> 'username'".
> Earlier my auth.log was saying something that
> ldap can't find that object; I checked it out,
> and of course there was not such object, so I've
> created it. And then there was no message to
> auth.log.
> I don't know what I do wrong.
>
> I looked into list archive and I've found similar
> problem, but I coundn't find post with solution
> (the message was posted at 28.VI.2001 by Christian
> Brath, title: PAM and LDAP).
> I would be very grateful if someone could help me.
You will need to setup nss_ldap as well, as samba does a LOT of
getpwnam() calls, and expects that if they fail, its not worth checking
the password.
I'm working on this area, but samba will (for the forseable future)
require local users for this kind of arrangment, with the possible
exception of guest only/force user shares.
Andrew Bartlett
--
Andrew Bartlett
abartlet at pcug.org.au
abartlet at samba.org
--__--__--
Message: 11
Date: Sat, 28 Jul 2001 15:04:43 +0900
From: Nikita Kojekine AKA Kitya Karlson <karlson at stu.mech.titech.ac.jp>
To: samba at lists.samba.org
Subject: Please, help me
I run sumba on linux server. But suddenly it no longer allows windows
mashines to log on. It writes this in log:
[2001/07/25 16:41:01, 6] lib/util_sock.c:write_socket(557)
write_socket (6,4)
[2001/07/25 16:41:01, 0] lib/util_sock.c:write_socket(537)
write_socket_data: write failure. Error = Broken pipe
[2001/07/25 16:41:01, 6] lib/util_sock.c:write_socket(560)
write_socket (6,4) wrote -1
2001/07/25 16:41:01, 0] lib/util_sock.c:write_socket(563)
write_socket: Error writing 4 bytes to socket 6: ERRNO = Broken pipe
2001/07/25 16:41:01, 0] lib/util_sock.c:send_smb(751)
Error writing 4 bytes to client. -1. Exiting
What can that be?
Please answer to my mail also, because I'm not the subscriber of
the list.
Sincerely yours, Nikita.
--__--__--
Message: 12
Date: Sat, 28 Jul 2001 10:15:30 +0200 (MET DST)
From: Dorota Kulas <dorota at ds2.pg.gda.pl>
To: Andrew Bartlett <abartlet at pcug.org.au>
Cc: samba at lists.samba.org
Subject: Re: samba, pam & ldap
On Sat, 28 Jul 2001, Andrew Bartlett wrote:
> Dorota Kulas wrote:
> >
> > Hello,
> >
> > I'd like to do samba authorization via pam_ldap.
> > My system is RedHat Linux 6.2, samba version
> > - 2.0.6 (it is compiled --with-pam option).
> > I would like to authorize via pam_ldap and
> > I'd like users exists only in ldap (without
> > adding them to system - /etc/passwd etc.)
> > Is that possible?
> >
> > I've installed pam_ldap module and configured
> > /etc/pam.d/samba file.
> > It looks like this:
> >
> > auth required pam_ldap.so
> > account required pam_ldap.so
> >
> > I think I've configured everything (I've disabled
> > the 'encrypt passwords' option in smb.conf), but pam_ldap
> > authorization seems not work, or not work properly.
> > In my auth.log I don't get any message, and samba
> > log says something like that: "couldn't find user
> > 'username'".
> > Earlier my auth.log was saying something that
> > ldap can't find that object; I checked it out,
> > and of course there was not such object, so I've
> > created it. And then there was no message to
> > auth.log.
> > I don't know what I do wrong.
> >
> > I looked into list archive and I've found similar
> > problem, but I coundn't find post with solution
> > (the message was posted at 28.VI.2001 by Christian
> > Brath, title: PAM and LDAP).
> > I would be very grateful if someone could help me.
>
> You will need to setup nss_ldap as well, as samba does a LOT of
> getpwnam() calls, and expects that if they fail, its not worth checking
> the password.
I've installed nss_ldap (this is the packet which provides
module pam_ldap.so). Do I have to do some additional
configuration? How can I get to know if samba does these
calls in my case?
> I'm working on this area, but samba will (for the forseable future)
> require local users for this kind of arrangment, with the possible
> exception of guest only/force user shares.
So, if I understood well, it is imposible not to have users
in local system (I mean the system with samba server)
for now, if I want to have limited access to shares, which
depends on user name and group, even if this information
exists in LDAP?
And I have one more question: does samba have it's own quota
mechanizm?
Greetings
--
Dorota Kulas | "... Unix, MS-DOS, and Windows NT (also known as
dorota at ds2.pg.gda.pl | the Good, the Bad and the Ugly) ..." - Matt Welsh
--__--__--
Message: 13
Date: Sat, 28 Jul 2001 04:15:19 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
To: Russ Roush <russellroush at yahoo.com>
Cc: Richard Smart <rsmart at netaccess.co.nz>, samba at lists.samba.org
Subject: Re: profiles driving me crazy
Then it should be:
logon drive = H:
logon home = \\%L\%U\profile
Also enable the [home] profile
Good luck
Oliver
Russ Roush wrote:
> Previous to me playing with it trying to get it moved to another
> partition it was working fine under:
>
> /home/user/profile
>
> but now I can't even get that working again.
>
> Thanks
> At 12:56 AM 7/28/01 +1200, you wrote:
>
>> At 22:57 26/07/01 -0500, you wrote:
>> >I am running samba 2.0.7
>> >No matter what I change the "logon path" to, my Win98se and WinME
>> clients
>> >are all placing the profile in the [Home} directory.
>> >
>> This is normal behaviour for Win9x clients (Refer O'Reilly - SWAT) the
>> logon path options are only used by NT clients.
>>
>> Richard S
>> --
>> 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
--__--__--
Message: 14
From: christoph.beyer at desy.de
Date: Sat, 28 Jul 2001 10:21:14 +0200
To: Info - Demerson <demerson at zaffari.com.br>
Cc: samba at lists.samba.org
Subject: Re: RES: JetDirect Printers in SaMBa...
hi,
on HPUX there is no lpd with a printcap but the SYSV pendant: the 'lpsched'
you
can add or delete printer with something called the 'lpadmin' tool before
using
it you have to 'enable' it and have it 'accept' jobs by using the same called
binaries. As you will see it is a bit tricky :-(
regards
~Christoph
Info - Demerson wrote:
> I thought it was just simple, but i cant find a "printcap" file in HP/UX?
> Somebody knows how HP/UX treats that?
>
> -----Mensagem original-----
> De: Kourosh Ghassemieh [mailto:kourosh at loop.com]
> Enviada em: sexta-feira, 27 de julho de 2001 14:36
> Para: samba at lists.samba.org
> Assunto: Re: JetDirect Printers in SaMBa...
>
> Demerson,
>
> Is the HP/UX box the print server or is the Windows box the print server?
> I'm going to assume you have the HP/UX box acting as the print server.
> I also use a JetDirect and use Linux/Samba as the print server. I set up
> a printer using LPRng in Linux which points to the JetDirect's IP address
> at port 9100 (the default for JetDirect's). Then I created the print share
> as
> you did in Samba. I did have to include the print commands to get it
> to work properly (i.e. print command = lpr -l -r -P%p %s). I have shared
> an HP LaserJet 4050 and a DeskJet 950C this way. Works woderfully.
> Under most Unix implemenations LPR allows redirecting of print jobs to
> another queue or IP. This is what you want to do.
>
> HP might even have their JetDirect software ported to HP/UX but I'm not
> familiar that.
>
> Hope this helps.
>
> At 02:09 PM 7/27/2001 -0300, you wrote:
> >Hello to all...
> >
> >I'm trying to map a JetDirect printer in Windows using SaMBa, but it
doesnt
> >seem to work. Here's my smb.conf file...
> >I know there's something wrong in the "path =" section, but how can I do
> it,
> >if it's a network printer, with its own IP?
> >Oh, SaMBa 2.0.6 is running in my HP/UX box...
> >
> >
> >Thanks...
> >
> >
> >[d001i050a]
> > comment = Impressora D001I050A
> > printer name = d001i050a
> > path = /var/spool/samba
> > browsable = yes
> > guest ok = yes
> > printable = yes
> > writable = yes
> > public = yes
> >
> >______________
> >Demerson Zounar
> >Analista de Suporte
> >demerson at zaffari.com.br
> >--
> >To unsubscribe from this list go to the following URL and read the
> >instructions: http://lists.samba.org/mailman/listinfo/samba
>
> -
> ------------------------------------------------------------------------
> Kourosh Ghassemieh
> MindWare Information Systems & Technologies
> 9255 Sunset Blvd, Penthouse
> West Hollywood CA 90069
> (310) 729-1784
> kourosh at loop.com
>
> ++++Networking Solutions for Your Business++++
> --
> 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
--__--__--
Message: 15
Date: Sat, 28 Jul 2001 19:15:41 +1000 (EST)
From: <jfrancis at mail.usyd.edu.au>
To: samba at lists.samba.org
Subject: File update problem
PLEASE carbon-copy replies to me (jfrancis at mail.usyd.edu.au)
I have two machines, a linux box and a win98 box.
I am on the win box viewing a page such as h:/html/page.html where h: is a
samba share on linux box. I view the file, then edit page.html via a
telnet session to linux box (or directly on the linux box) and save and
refresh in IE but the page hasn't been updated.
I then proceed to open this file in notepad or similar (i.e. bypassing any
IE caching) and it appears that the file has not been updated.
Is the problem here a simple configuration problem in either smb.conf or
on the win98box. Or is it a problem inherent in samba or in win98.
Is there a way around this.
All help is greatly appreaciated.
John
--__--__--
Message: 16
From: christoph.beyer at desy.de
Date: Sat, 28 Jul 2001 11:34:55 +0200
To: samba <samba at lists.samba.org>
Subject: viewer / editor for ntdrivers.tdb ?
hi,
are there any tools for editing or looking at the ntdrivers.tdb ?
I have some problems with a printer that doesn't get installed on the
clients no matter which driver I assign to it...
regards
~Christoph
--__--__--
Message: 17
From: "Federico Guerrini" <fedegue at ciudad.com.ar>
To: <samba at lists.samba.org>
Subject: Samba Security Policies
Date: Sat, 28 Jul 2001 09:49:32 -0300
I want to know if in Samba working as a PDC and logon server I can implement
any kind of security policies such as password expiration, blocking an
account
after 3 fail logins, password history....
Sorry if I make some mistakes but english is not my native lenguage
Thanks in advance,
Federico.
--__--__--
Message: 18
Date: 28 Jul 2001 07:43:12 MDT
From: rajeev dutt <rajeev.dutt at usa.net>
To: samba at lists.samba.org
Subject: Samba 2.0.7 on Sol8
Hi,
I have installed samba-2.0.7 on Solaris8 (Intel platform)
When i am testing smbclient sitting on my server using:
smbclient -U% -L localhost
First it starts with adding my nic ip address and then gives an
error :
SMBSERVER not found
Please note that i have already intialised my daemons using
smbd -D & nmbd -D
Please HELP.....
Thanks
Rajeev
--__--__--
Message: 19
Date: Sat, 28 Jul 2001 16:47:23 +0100
To: Samba List <samba at lists.samba.org>
Subject: Logon drive
From: brichardson at lineone.net (Bruce Richardson)
Which version of Samba introduced the logon drive parameter?
--
Bruce
A problem shared brings the consolation that someone else is now
feeling as miserable as you.
[demime 0.98b removed an attachment of type application/pgp-signature]
--__--__--
Message: 20
From: "Kevin Cella" <kcella at hotmail.com>
To: <samba at lists.samba.org>
Subject: samba, inetd problem on firewall
Date: Sat, 28 Jul 2001 14:23:26 -0400
i have a firewall LAN connected through a linksys router and hub. machines
include: win98, winNT, win2k, linux. i used to be able to connect through
telnet, ftp and samba to access my linux box, but not anymore. they all seem
to timeout and never connect, except occasionally i will get a telnet login.
i
can ping the linux box from any PC and vice versa. the PCs seem to recognize
the netbios name setup in smb.conf. i've tried all the tests in the samba
documentation and when it comes to connecting to the share, i get a session
unavailable msg. the lmhosts/wins server in windows doesn't help (besides, i
never needed it before when it was working). here is the extent of the errors
in smb.log:
lib/util_sock.c: write_data("some number"):write failure. Error = Broken
pipe.
lib/util_sock.c:send_smb("some number") Error writing 4 bytes to client. -1.
Exiting.
any ideas?
thanks,
Kevin
--__--__--
_______________________________________________
samba mailing list
samba at lists.samba.org
http://lists.samba.org/mailman/listinfo/samba
End of samba Digest
Return-Path: <jvell at cabletv.on.ca>
Delivered-To: samba at lists.samba.org
Received: from www.cabletv.on.ca (www.cabletv.on.ca [216.95.162.5]) by
lists.samba.org (Postfix) with ESMTP id 094954212 for
<samba at lists.samba.org>; Sat, 28 Jul 2001 15:18:29 -0700 (PDT)
Received: from cabletv.on.ca (pc217.pool3.cabletv.on.ca
[216.95.165.217]) by www.cabletv.on.ca (8.9.3/8.9.3) with ESMTP id
RAA32620 for <samba at lists.samba.org>; Sat, 28 Jul 2001 17:18:19 -0400
Message-ID: <3B633D12.E1705C8F at cabletv.on.ca>
Date: Sat, 28 Jul 2001 18:30:42 -0400
From: James Vellenga <jvell at cabletv.on.ca>
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2-2 i586)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: Re: Strange Samba Problem (Log info)
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 following is what comes from the log file for the win machine. I
decided to reinstall and once again everything worked for a day or so,
then today it stopped working.
To reiterat the problem. My whole lan works including samba. Then for
no apparent reason I get the error "The domain password you have
supplied is incorrect or the server is denying access." or something
like that.
[2001/07/28 18:11:03, 0] lib/util_sock.c:send_smb(759)
Error writing 4 bytes to client. -1. Exiting
[2001/07/28 18:11:21, 0] lib/util_sock.c:write_socket_data(545)
write_socket_data: write failure. Error = Connection reset by peer
[2001/07/28 18:11:21, 0] lib/util_sock.c:write_socket(570)
write_socket: Error writing 4 bytes to socket 6: ERRNO = Connection
reset by peer
[2001/07/28 18:11:21, 0] lib/util_sock.c:send_smb(759)
Error writing 4 bytes to client. -1. Exiting
Jim
Return-Path: <swsnyder at home.com>
Delivered-To: samba at lists.samba.org
Received: from femail28.sdc1.sfba.home.com (femail28.sdc1.sfba.home.com
[24.254.60.18]) by lists.samba.org (Postfix) with ESMTP id B88604855
for <samba at lists.samba.org>; Sat, 28 Jul 2001 17:32:49 -0700 (PDT)
Received: from mercury.snydernet.lan ([24.4.162.173]) by
femail28.sdc1.sfba.home.com (InterMail vM.4.01.03.20
201-229-121-120-20010223) with SMTP id
<20010729003742.GGCI554.femail28.sdc1.sfba.home.com at mercury.snydernet.
lan> for <samba at lists.samba.org>; Sat, 28 Jul 2001 17:37:42 -0700
Content-Type: text/plain; charset="iso-8859-1"
From: Steve Snyder <swsnyder at home.com>
Reply-To: swsnyder at home.com
To: samba at lists.samba.org
Subject: Maximizing performance on read-only share?
Date: Sat, 28 Jul 2001 19:37:40 -0500
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01072819374000.01664 at mercury.snydernet.lan>
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
I have a read-only share that is configured like this:
[clipart]
comment = Clip Art
path = /mnt/cdimgs/clipart
create mask = 0444
directory mask = 0444
guest ok = Yes
volume = ClipArt
writeable = no
fake oplocks = yes
As part of my global config I have:
socket options = IPTOS_LOWDELAY TCP_NODELAY
The server is Samba v2.010 running on RedHat Linux v7.1 and the client is
Win98.
Given the above info, is there anything I can do to improve performance in
accessing this share?
Thanks.
Return-Path: <eigerd at yahoo.com>
Delivered-To: samba at samba.org
Received: from web10002.mail.yahoo.com (web10002.mail.yahoo.com
[216.136.130.38]) by lists.samba.org (Postfix) with SMTP id 1AE564199
for <samba at samba.org>; Sat, 28 Jul 2001 21:45:59 -0700 (PDT)
Message-ID: <20010729045051.34306.qmail at web10002.mail.yahoo.com>
Received: from [63.27.143.78] by web10002.mail.yahoo.com; Sat, 28 Jul
2001 21:50:51 PDT
Date: Sat, 28 Jul 2001 21:50:51 -0700 (PDT)
From: Dean Eiger <eigerd at yahoo.com>
Subject: Installing Samba 2.2.1a-2
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/
When I attempt to install samba 2.2.1a-2 on a RedHat
Linux 7.1 system, the following error is returned:
error: failed dependencies:
libpamc.so.0 is needed by samba-2.2.1a-2
How do I get around this problem? Both the samba and
samba-common packages I am trying to install are for
the i386 architecture (I have a Pentium III processor)
and were acquired from rpmfind.net. Thank you very
much.
D. Eiger
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Return-Path: <mbnospam at mbeddow.net>
Delivered-To: samba at samba.org
Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com
[62.253.162.43]) by lists.samba.org (Postfix) with ESMTP id EA39C4215
for <samba at samba.org>; Sun, 29 Jul 2001 03:09:49 -0700 (PDT)
Received: from michaelnt2k ([62.252.196.103]) by mta03-svc.ntlworld.com
(InterMail vM.4.01.03.00 201-229-121) with SMTP id
<20010729101440.TWGD23687.mta03-svc.ntlworld.com at michaelnt2k> for
<samba at samba.org>; Sun, 29 Jul 2001 11:14:40 +0100
Message-ID: <01bf01c11817$d93ad330$0201010a at michaelnt2k>
From: "Michael Beddow" <mbnospam at mbeddow.net>
To: <samba at samba.org>
References: <20010729045051.34306.qmail at web10002.mail.yahoo.com>
Subject: Re: Installing Samba 2.2.1a-2
Date: Sun, 29 Jul 2001 11:18:41 +0100
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/
On Sunday, July 29, 2001 5:50 AM
Dean Eiger wrote:
> When I attempt to install samba 2.2.1a-2 on a RedHat
> Linux 7.1 system, the following error is returned:
>
> error: failed dependencies:
>
> libpamc.so.0 is needed by samba-2.2.1a-2
>
Not actually a Samba problem, but I saw the same thing on a friend's
Mandrake 8.0 setup recently.
Do ls -l /lib | grep libpam
You should see libpam.so symlinked to libpam.so.0 which is in turn
symlinked to libpam.so.0.NN. On my friend's machine, the symlink from
libpam.so wasn't present. Creating it allowed the samba rpm to install.
This may not be your problem, but worth checking out.
Michael
---------------------------------------------------------
Michael Beddow http://www.mbeddow.net/
---------------------------------------------------------
Return-Path: <byteuk at fullwormage.com>
Delivered-To: samba at lists.samba.org
Received: from mail5.svr.pol.co.uk (mail5.svr.pol.co.uk [195.92.193.20])
by lists.samba.org (Postfix) with ESMTP id DBB3B49BA for
<samba at lists.samba.org>; Sun, 29 Jul 2001 03:36:57 -0700 (PDT)
Received: from modem-30.silver.dialup.pol.co.uk ([62.136.39.30]
helo=Portable) by mail5.svr.pol.co.uk with esmtp (Exim 3.13 #0) id
15Qo16-00058N-00 for samba at lists.samba.org; Sun, 29 Jul 2001 11:41:48
+0100
Message-ID: <002101c1181a$4b0f6140$0200000a at Portable>
Reply-To: "ByteUK" <byteuk at fullwormage.com>
From: "ByteUK" <byteuk at fullwormage.com>
To: <samba at lists.samba.org>
References: <20010727190151.CE4A05247 at lists.samba.org>
Subject: Help! Swat can't see smbd and nmbd
Date: Sun, 29 Jul 2001 11:30:36 +0100
Organization: Full Wormage Staff
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
I'm using Samba 2.2.0a, and it works fine, I originally compiled it
for --prefix=/usr/lib/samba then realised that was wrong, so I compiled it
for /usr/local/samba but now swat can't find the smbd and nmbd processes'
status, I can't use restart, start, or stop from within swat, and it always
says they aren't running. The list of active shares does show samba
processes. A symbolic link of /usr/lib/samba > /usr/local/samba didn't make
it work, and I don't know what is wrong :(
ByteUK
Full Wormage Staff
www.fullwormage.com
fwteam at fullwormage.com
byteuk at fullwormage.com
Return-Path: <mbnospam at mbeddow.net>
Delivered-To: samba at lists.samba.org
Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com
[62.253.162.41]) by lists.samba.org (Postfix) with ESMTP id 0B38E4216
for <samba at lists.samba.org>; Sun, 29 Jul 2001 03:58:24 -0700 (PDT)
Received: from michaelnt2k ([62.252.196.103]) by mta01-svc.ntlworld.com
(InterMail vM.4.01.03.00 201-229-121) with SMTP id
<20010729110314.NVPY15984.mta01-svc.ntlworld.com at michaelnt2k> for
<samba at lists.samba.org>; Sun, 29 Jul 2001 12:03:14 +0100
Message-ID: <01df01c1181e$a2718a40$0201010a at michaelnt2k>
From: "Michael Beddow" <mbnospam at mbeddow.net>
To: <samba at lists.samba.org>
References: <20010727190151.CE4A05247 at lists.samba.org>
<002101c1181a$4b0f6140$0200000a at Portable>
Subject: Re: Help! Swat can't see smbd and nmbd
Date: Sun, 29 Jul 2001 12:07:18 +0100
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/
On Sunday July 29, 2001 11:30 AM
ByteUK wrote:
> I'm using Samba 2.2.0a, and it works fine, I originally compiled it
> for --prefix=/usr/lib/samba then realised that was wrong, so I
compiled it
> for /usr/local/samba
Maybe you not only configed/compiled it with /usr/lib/samba, but also
did a make install on the results. In which case you should run a Make
uninstall with same config to get rid of the various binaries which have
the unwanted locations compiled in. Or maybe you didn't actually install
the first version, but then altered the config and remade without doing
a Make clean first, so that some binaries from the first compile weren't
rebuilt. Your best way forward is probably to make sure all the existing
Samba-suite binaries that are in installed locations are zapped, then
zap your source tree, restore it from the tar and build again. You don't
need to specify /usr/local/samba if that's what you really want, since
it's the default.
This sort of problem generally occurs with people who build Samba from
source with default locations without first removing an existing
rpm-type install (in distro-specific locations).
Michael
---------------------------------------------------------
Michael Beddow http://www.mbeddow.net/
Return-Path: <tony.n at web.de>
Delivered-To: samba at lists.samba.org
Received: from mailgate3.cinetic.de (mailgate3.cinetic.de
[212.227.116.80]) by lists.samba.org (Postfix) with ESMTP id 5764D441F
for <samba at lists.samba.org>; Sun, 29 Jul 2001 05:01:15 -0700 (PDT)
Received: from smtp.web.de (smtp01.web.de [194.45.170.210]) by
mailgate3.cinetic.de (8.11.2/8.11.2/SuSE Linux 8.11.0-0.4) with SMTP
id f6TC66614328 for <samba at lists.samba.org>; Sun, 29 Jul 2001 14:06:06
+0200
Received: from servitus by smtp.web.de with smtp (freemail 4.2.2.2 #11)
id m15QpKf-007oNHC; Sun, 29 Jul 2001 14:06 +0200
From: antonio nikolic <tony.n at web.de>
To: samba at lists.samba.org
Subject: include = ...%G... in smb.conf (samba 2.2.1a)
Date: Sun, 29 Jul 2001 14:11:29 +0200
X-Mailer: KMail [version 1.1.99]
Content-Type: text/plain; charset="iso-8859-1"
MIME-Version: 1.0
Message-Id: <01072914112900.02863 at servitus>
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!
I am trying to set up a PDC with samba 2.2.1a and planned to let shares only
be seen depending on the primary groups the users belong to.
But the problem is, that samba ignores the variable %G from my include
parameter.
I have tested it with samba 2.0.7 and it works fine - but with 2.2.1a it
won't work.
The line is:
include = /etc/smb.conf.group-%G
I set up my logfile like this:
log file = /var/log/smblog.%U
so that after logging in, there are three logfiles:
smblog.
smblog.nobody
smblog.[USERNAME]
Where dooes the smblog.nobody file comes from??!?! The user's primary group
surely is not "nobody" in fact the user in no way is connected to that group!
I grepped all three logfiles for "include" and this is what I found in both
"smblog." and "smblog.nobody" BUT NOT IN "smblog.[USERNAME]":
[2001/07/29 12:47:07, 2] param/loadparm.c:handle_include(2399)
Can't find include file /etc/samba/smb.conf.group-%G
What is going wrong here? I would have expected such an error in the
user-logfile. Is it possible that samba too early tries to resolve the %G
variable when the username and the group has not yet been veryfied?
Maybe someone succeeded including a group-depending conf-file with samba
2.2.1a - and if so could post his smb.conf.
If not, hopefully someone knows sth. about this problem. Maybe I am just
getting things wrong thus such a configuration should be quite common, I
think - and if there was a problem with "include" and "%G" someone else
should already have realized it...
thank you
Return-Path: <Peter.Hicks at POGGS.CO.UK>
Delivered-To: samba at lists.samba.org
Received: from foxbase.st-albans.poggs.com
(pc1-hems3-0-cust70.bre.cable.ntl.com [213.105.87.70]) by
lists.samba.org (Postfix) with ESMTP id 12F5C425D for
<samba at lists.samba.org>; Sun, 29 Jul 2001 07:26:05 -0700 (PDT)
Received: from etienne (pwh at etienne.st-albans.poggs.com [10.180.250.3])
by foxbase.st-albans.poggs.com (8.11.1/8.11.1) with ESMTP id
f6TEUtw29223 for <samba at lists.samba.org>; Sun, 29 Jul 2001 15:30:55
+0100
From: "Peter Hicks" <Peter.Hicks at POGGS.CO.UK>
Organization: Poggs Computer Services
To: samba at lists.samba.org
Date: Sun, 29 Jul 2001 15:30:54 +0100
X-Total-Enclosures: 1
Subject: Painfully slow with small files
Reply-To: Peter.Hicks at POGGS.CO.UK
Message-ID: <3B642C2E.919.244FA1 at localhost>
Priority: normal
X-mailer: Pegasus Mail for Win32 (v3.12c)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
All,
I am suffering from SAMBA being pathetically slow at operations with small
files, and also appearing to 'freeze'.
My smb.conf is as below.
I'm also getting a lot of unexpected 'errors' in log.nmb - it appears as
though my machine, on 10.180.250.3, is losing its connection to the SAMBA
server. Physical connectivity between the two boxes, on the same hub, is
fine.
[2001/07/29 15:23:07, 1] nmbd/nmbd_processlogon.c:process_logon_packet(70)
process_logon_packet: Logon from 10.180.250.3: code = 0x12
[2001/07/29 15:23:07, 1] nmbd/nmbd_processlogon.c:process_logon_packet(70)
process_logon_packet: Logon from 10.180.250.3: code = 0x12
[2001/07/29 15:24:36, 1] nmbd/nmbd_processlogon.c:process_logon_packet(70)
process_logon_packet: Logon from 10.180.250.3: code = 0x12
[2001/07/29 15:24:36, 1] nmbd/nmbd_processlogon.c:process_logon_packet(70)
process_logon_packet: Logon from 10.180.250.3: code = 0x12
Can anybody help or suggest anything? :)
Peter.
---
Peter Hicks e-mail: peter.hicks(at)poggs.co.uk
Network Engineer web: http://www.poggs.com/
Poggs Computer Services
bobcode: K l E++++ m2 C B-x O L S++++ T A H b6 D1
-------------- Enclosure number 1 ----------------
[global]
coding system =
client code page = 850
code page directory = /usr/local/samba/lib/codepages
workgroup = POGGS
netbios name = FOXBASE
netbios aliases =
netbios scope =
server string = foxbase.st-albans.poggs.com
interfaces = eth0
bind interfaces only = Yes
security = USER
encrypt passwords = Yes
update encrypted = Yes
allow trusted domains = Yes
hosts equiv =
min passwd length = 5
map to guest = Never
null passwords = No
obey pam restrictions = No
password server =
smb passwd file = /usr/local/samba/private/smbpasswd
root directory =
pam password change = No
passwd program = /bin/passwd
passwd chat = *new*password* %n\n *new*password* %n\n *changed*
passwd chat debug = No
username map =
password level = 0
username level = 0
unix password sync = No
restrict anonymous = No
lanman auth = Yes
use rhosts = No
log level = 2
syslog = 1
syslog only = No
log file = /usr/local/samba/var/log.%m
max log size = 5000
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
large readwrite = No
max protocol = NT1
min protocol = CORE
read bmpx = No
read raw = Yes
write raw = Yes
nt smb support = Yes
nt pipe support = Yes
nt acl support = Yes
announce version = 4.5
announce as = NT
max mux = 50
max xmit = 4096
name resolve order = lmhosts host wins bcast
max packet = 65535
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max smbd processes = 0
max disk size = 0
max open files = 10000
read size = 16384
socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_SNDBUF=1024 SO_RCVBUF=4096
stat cache size = 50
total print jobs = 0
load printers = Yes
printcap name = /etc/printcap
enumports command =
addprinter command =
deleteprinter command =
show add printer wizard = Yes
os2 driver map =
strip dot = No
character set =
mangled stack = 50
stat cache = Yes
domain admin group = admin
domain guest group =
machine password timeout = 604800
add user script =
delete user script =
logon script = LOGON.BAT
logon path = \\%N\profiles\%u
logon drive = H:
logon home = \\foxbase\%u
domain logons = Yes
os level = 64
lm announce = Auto
lm interval = 60
preferred master = True
local master = Yes
domain master = True
browse list = Yes
enhanced browsing = Yes
dns proxy = Yes
wins proxy = No
wins server =
wins support = Yes
wins hook =
kernel oplocks = Yes
oplock break wait time = 0
add share command =
change share command =
delete share command =
config file =
preload =
lock dir = /usr/local/samba/var/locks
default service =
message command =
dfree command =
valid chars =
remote announce =
remote browse sync =
socket address = 0.0.0.0
homedir map =
time offset = 0
NIS homedir = No
source environment =
panic action =
hide local users = No
host msdfs = No
winbind uid =
winbind gid =
template homedir = /home/%D/%U
template shell = /bin/false
winbind separator = \
winbind cache time = 15
comment =
path =
alternate permissions = No
username =
guest account = nobody
invalid users =
valid users =
admin users =
read list =
write list =
printer admin = @admin
force user =
force group =
read only = Yes
create mask = 0744
force create mode = 00
security mask = 0777
force security mode = 00
directory mask = 0755
force directory mode = 00
directory security mask = 0777
force directory security mode = 00
inherit permissions = No
guest only = No
guest ok = No
only user = No
hosts allow =
hosts deny =
status = Yes
max connections = 0
min print space = 0
strict sync = No
sync always = No
write cache size = 0
max print jobs = 1000
printable = No
postscript = No
printing = bsd
print command = lpr -r -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j
lppause command =
lpresume command =
queuepause command =
queueresume command =
printer name =
printer driver =
printer driver file = /usr/local/samba/lib/printers.def
printer driver location =
default case = lower
case sensitive = No
preserve case = Yes
short preserve case = Yes
mangle case = No
mangling char = ~
hide dot files = Yes
hide unreadable = No
delete veto files = No
veto files =
hide files =
veto oplock files =
map system = No
map hidden = No
map archive = Yes
mangled names = Yes
mangled map =
browseable = Yes
blocking locks = Yes
fake oplocks = Yes
locking = Yes
oplocks = Yes
level2 oplocks = Yes
oplock contention limit = 2
posix locking = Yes
strict locking = No
share modes = Yes
copy =
include =
exec =
preexec close = No
postexec =
root preexec =
root preexec close = No
root postexec =
available = Yes
volume =
fstype = NTFS
set directory = No
wide links = No
follow symlinks = Yes
dont descend =
magic script =
magic output =
delete readonly = No
dos filemode = No
dos filetimes = No
dos filetime resolution = No
fake directory create times = No
vfs object =
vfs options =
msdfs root = No
[netlogon]
path = /usr/local/samba/lib/netlogon
write list = @admin
[profiles]
path = /usr/local/samba/profiles
read only = No
create mask = 0600
directory mask = 0700
[homes]
comment = Home Directories
read only = No
create mask = 0700
browseable = No
[printers]
comment = Printers
path = /tmp
create mask = 0700
guest ok = Yes
printable = Yes
browseable = No
[print$]
comment = All Printers
path = /usr/local/samba/printers
write list = @admin
[apps]
comment = Applications
path = /usr/local/pc_apps
read only = No
[cdrom]
comment = CD ROM drive
path = /cdrom
[win2000dist]
comment = Windows 2000 Distribution
path = /usr/local/pc_apps/win2kdist
read only = No
Return-Path: <rwlake at anp.nl>
Delivered-To: samba at samba.org
Received: from smtpf.casema.net (smtpf.casema.net [195.96.96.173]) by
lists.samba.org (Postfix) with SMTP id 733EC4242 for
<samba at samba.org>; Sun, 29 Jul 2001 08:20:48 -0700 (PDT)
Received: (qmail 3678 invoked by uid 0); 29 Jul 2001 15:25:32 -0000
Received: from unknown (HELO anp.nl) (212.64.65.12) by smtpf.casema.net
with SMTP; 29 Jul 2001 15:25:32 -0000
Message-ID: <3B642ADC.2730F771 at anp.nl>
Date: Sun, 29 Jul 2001 17:25:16 +0200
From: Rick Lake <rwlake at anp.nl>
Organization: ANP, Dutch National Press Agency
X-Mailer: Mozilla 4.72 [en] (Win95; I)
X-Accept-Language: en
MIME-Version: 1.0
To: samba at samba.org
Subject: Patch proposal [version 2.2.1a]
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/
<System-Info>
OS: QNX version 4.25
Compiler: Watcom version 10.6
</System-Info>
Hello Samba Team,
I would like to propose the following changes to version 2.2.1a.
Actually I started out these changes in 2.2.0, but I manually
encorporated them in 2.2.1a and made a fresh "diff -ru". I'll elaborate
through the diff "inline" here, but I've also included the same diff in
the attachment for your convenience, because lines get fold by the mail
client.
regards,
rick
----------------------------------------------------
(1) #include files and "#define"s needed
You may wish to not accept this change. I know this isn't the way
to do it. I tried using autoconf but didn't succeed. The resulting
configure script was completely different than the one you distribute.
In any case, these changes are necessary to build on QNX 4.25.
diff -ru samba-2.2.1a/source/include/includes.h
samba-2.2.1a-qnx/source/include/includes.h
--- samba-2.2.1a/source/include/includes.h Fri Jul 6 04:01:25 2001
+++ samba-2.2.1a-qnx/source/include/includes.h Sat Jul 28 20:04:39 2001
@@ -38,6 +38,9 @@
#ifdef QNX
#define DEFAULT_PRINTING PRINT_QNX
+#define strncasecmp strcasencmp
+#include <sys/termio.h>
+#include <unix.h>
#endif
#ifdef SUNOS4
----------------------------------------------------
(2) Register vs. stack calling convention problem.
This is an interesting one. It's been there since I started building
samba on QNX4 (which was samba version 2.0.4b) and probably before that
also. I had already flagged this one in the past, but didn't have any
fix then. I recently reposted this issue again in comp.protocols.smb,
and
this resulted in a long discussion (between an individual and one of the
Watcom team members) where the question was if the samba code or the
compiler is broken. Eventually the discussion was taken to the "Supreme
Court" in comp.std.c where eventually they ruled in favor of the
compiler, and that the samba code is broken.
The problem is this: The resulting nmbd kept crashing after a few
minutes. As it turned out, it's because Watcom uses register calling
convention by default. But there's source code in samba involving
variable argument passing and function pointer type conversions
eventually leading to bad function argument passing, when using register
calling convention. The key here is that a pointer to function was cast
from one type to another, and then called [i.e. (*p)(...)]. According to
the standard, this results in undefined behavior.
However, the standard also says that if the pointer is converted back to
the original type and *then* called [i.e. (*(original_type)p)(...)],
then
the behavior is as expected. I used this feature (thanks to a tip from
one of the comp.std.c posters) to solve this particular problem. It
might be worth mentioning, however, that most people suggested to solve
this using var args. But this would involve lots of rewriting and I
didn't want to risk breaking something else, or rendering the code "out
of
style".
Anyway, here are the places in the code I found so far where this
problem arises:
diff -ru samba-2.2.1a/source/nmbd/nmbd_namequery.c
samba-2.2.1a-qnx/source/nmbd/nmbd_namequery.c
--- samba-2.2.1a/source/nmbd/nmbd_namequery.c Wed Jul 11 22:08:26 2001
+++ samba-2.2.1a-qnx/source/nmbd/nmbd_namequery.c Sat Jul 28 20:15:33
2001
@@ -121,9 +121,9 @@
}
if(success && rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, question_name,
answer_ip, nmb->answers);
+ (*(query_name_success_function)rrec->success_fn)(subrec,
rrec->userdata, question_name, answer_ip, nmb->answers);
else if( rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, question_name, nmb->header.rcode);
+ (*(query_name_fail_function)rrec->fail_fn)(subrec, rrec,
question_name, nmb->header.rcode);
}
@@ -156,7 +156,7 @@
dbgtext( "on subnet %s.\n", subrec->subnet_name );
}
if(rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, question_name, 0);
+ (*(query_name_fail_function)rrec->fail_fn)(subrec, rrec,
question_name, 0);
}
remove_response_record(subrec, rrec);
@@ -242,7 +242,7 @@
/* Call the success function directly. */
if(success_fn)
- (*success_fn)(subrec, userdata, &nmbname, namerec->data.ip[0],
&rrec);
+ (*(query_name_success_function)success_fn)(subrec, userdata,
&nmbname, namerec->data.ip[0], &rrec);
return False;
}
diff -ru samba-2.2.1a/source/nmbd/nmbd_nameregister.c
samba-2.2.1a-qnx/source/nmbd/nmbd_nameregister.c
--- samba-2.2.1a/source/nmbd/nmbd_nameregister.c Fri Jan 7 07:55:35
2000
+++ samba-2.2.1a-qnx/source/nmbd/nmbd_nameregister.c Sat Jul 28 20:19:54
2001
@@ -144,12 +144,12 @@
the success function. */
standard_success_register(subrec, rrec->userdata, answer_name,
nb_flags, ttl, registered_ip);
if( rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, answer_name,
nb_flags, ttl, registered_ip);
+ (*(register_name_success_function)rrec->success_fn)(subrec,
rrec->userdata, answer_name, nb_flags, ttl, registered_ip);
}
else
{
if( rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, question_name);
+ (*(register_name_fail_function)rrec->fail_fn)(subrec, rrec,
question_name);
/* Remove the name. */
standard_fail_register( subrec, rrec, question_name);
}
@@ -226,12 +226,12 @@
the success function. */
standard_success_register(subrec, rrec->userdata, question_name,
nb_flags, ttl, registered_ip);
if( rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, question_name,
nb_flags, ttl, registered_ip);
+ (*(register_name_success_function)rrec->success_fn)(subrec,
rrec->userdata, question_name, nb_flags, ttl, registered_ip);
}
else
{
if( rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, question_name);
+ (*(register_name_fail_function)rrec->fail_fn)(subrec, rrec,
question_name);
/* Remove the name. */
standard_fail_register( subrec, rrec, question_name);
}
diff -ru samba-2.2.1a/source/nmbd/nmbd_namerelease.c
samba-2.2.1a-qnx/source/nmbd/nmbd_namerelease.c
--- samba-2.2.1a/source/nmbd/nmbd_namerelease.c Fri Jan 7 07:55:35 2000
+++ samba-2.2.1a-qnx/source/nmbd/nmbd_namerelease.c Sat Jul 28 20:23:11
2001
@@ -99,14 +99,14 @@
putip((char*)&released_ip ,&nmb->answers->rdata[2]);
if(rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, answer_name,
released_ip);
+ (*(release_name_success_function)rrec->success_fn)(subrec,
rrec->userdata, answer_name, released_ip);
standard_success_release( subrec, rrec->userdata, answer_name,
released_ip);
}
else
{
/* We have no standard_fail_release - maybe we should add one ? */
if(rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, answer_name);
+ (*(release_name_fail_function)rrec->fail_fn)(subrec, rrec,
answer_name);
}
remove_response_record(subrec, rrec);
@@ -174,14 +174,14 @@
if(success && rrec->success_fn)
{
if(rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, question_name,
released_ip);
+ (*(release_name_success_function)rrec->success_fn)(subrec,
rrec->userdata, question_name, released_ip);
standard_success_release( subrec, rrec->userdata, question_name,
released_ip);
}
else
{
/* We have no standard_fail_release - maybe we should add one ? */
if( rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, question_name);
+ (*(release_name_fail_function)rrec->fail_fn)(subrec, rrec,
question_name);
}
remove_response_record(subrec, rrec);
diff -ru samba-2.2.1a/source/nmbd/nmbd_nodestatus.c
samba-2.2.1a-qnx/source/nmbd/nmbd_nodestatus.c
--- samba-2.2.1a/source/nmbd/nmbd_nodestatus.c Fri Jan 7 07:55:35 2000
+++ samba-2.2.1a-qnx/source/nmbd/nmbd_nodestatus.c Sat Jul 28 20:24:06
2001
@@ -52,7 +52,7 @@
/* Just send the whole answer resource record for the success
function
to parse. */
if(rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, nmb->answers, p->ip);
+ (*(node_status_success_function)rrec->success_fn)(subrec,
rrec->userdata, nmb->answers, p->ip);
/* Ensure we don't retry. */
remove_response_record(subrec, rrec);
----------------------------------------------------
(3) setgroups() code needs to be wrapped
QNX4 doesn't support setgroups(). The configure script correctly detects
this, but the code needs to be wrapped accordingly.
diff -ru samba-2.2.1a/source/nsswitch/wb_client.c
samba-2.2.1a-qnx/source/nsswitch/wb_client.c
--- samba-2.2.1a/source/nsswitch/wb_client.c Fri Jul 6 04:01:43 2001
+++ samba-2.2.1a-qnx/source/nsswitch/wb_client.c Sat Jul 28 20:25:18
2001
@@ -298,12 +298,13 @@
/* Set the groups */
+#ifdef HAVE_SETGROUPS
if (sys_setgroups(ngroups, groups) == -1) {
errno = EPERM;
result = -1;
goto done;
}
-
+#endif
} else {
/* The call failed. Set errno to something so we don't get
----------------------------------------------------
(4) sys/select.h needed
File wb_common.c uses the FD_* macros. They are defined in sys/select.h
on QNX4. But perhaps you can solve this with autoconf?
diff -ru samba-2.2.1a/source/nsswitch/wb_common.c
samba-2.2.1a-qnx/source/nsswitch/wb_common.c
--- samba-2.2.1a/source/nsswitch/wb_common.c Fri Jul 6 04:01:43 2001
+++ samba-2.2.1a-qnx/source/nsswitch/wb_common.c Sat Jul 28 20:26:12
2001
@@ -25,6 +25,9 @@
#include "winbind_nss_config.h"
#include "winbindd_nss.h"
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
/* Global variables. These are effectively the client state
information */
----------------------------------------------------
(5) Incompatible SHM in QNX4
The file profile.c which contains lots of shm code is compiled (with
errors), eventhough configure detects that SHM isn't usable. There is a
PROFILE_OBJ var defined in the Makefile which I can comment out. That's
one way of preventing profile.c of being compiled/linked. But after a
new configure run, this change gets destroyed. So I suggest wrapping the
whole profile.c in #ifdef HAVE_SYS_SHM_H. But perhaps you can solve this
also in autoconf?
diff -ru samba-2.2.1a/source/profile/profile.c
samba-2.2.1a-qnx/source/profile/profile.c
--- samba-2.2.1a/source/profile/profile.c Fri Jul 6 04:01:48 2001
+++ samba-2.2.1a-qnx/source/profile/profile.c Sat Jul 28 21:16:14 2001
@@ -21,7 +21,7 @@
*/
#include "includes.h"
-
+#ifdef HAVE_SYS_SHM_H
extern int DEBUGLEVEL;
#define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
@@ -157,4 +157,4 @@
message_register(MSG_REQ_PROFILELEVEL, reqprofile_message);
return True;
}
-
+#endif /* HAVE_SYS_SHM_H */
----------------------------------------------------
(6) uint?
It appears that the "uint" macro is used, but not defined. I changed it
to uint32. Is this OK?
diff -ru samba-2.2.1a/source/smbd/nttrans.c
samba-2.2.1a-qnx/source/smbd/nttrans.c
--- samba-2.2.1a/source/smbd/nttrans.c Fri Jul 6 04:02:00 2001
+++ samba-2.2.1a-qnx/source/smbd/nttrans.c Sat Jul 28 20:28:29 2001
@@ -1101,7 +1101,7 @@
Internal fn to set security descriptors.
****************************************************************************/
-static BOOL set_sd(files_struct *fsp, char *data, uint32 sd_len, uint
security_info_sent, int *pdef_class,uint32 *pdef_code)
+static BOOL set_sd(files_struct *fsp, char *data, uint32 sd_len, uint32
security_info_sent, int *pdef_class,uint32 *pdef_code)
{
prs_struct pd;
SEC_DESC *psd = NULL;
diff -ru samba-2.2.1a/source/include/includes.h samba-2.2.1a-qnx/source/include/includes.h
--- samba-2.2.1a/source/include/includes.h Fri Jul 6 04:01:25 2001
+++ samba-2.2.1a-qnx/source/include/includes.h Sat Jul 28 20:04:39 2001
@@ -38,6 +38,9 @@
#ifdef QNX
#define DEFAULT_PRINTING PRINT_QNX
+#define strncasecmp strcasencmp
+#include <sys/termio.h>
+#include <unix.h>
#endif
#ifdef SUNOS4
diff -ru samba-2.2.1a/source/nmbd/nmbd_namequery.c samba-2.2.1a-qnx/source/nmbd/nmbd_namequery.c
--- samba-2.2.1a/source/nmbd/nmbd_namequery.c Wed Jul 11 22:08:26 2001
+++ samba-2.2.1a-qnx/source/nmbd/nmbd_namequery.c Sat Jul 28 20:15:33 2001
@@ -121,9 +121,9 @@
}
if(success && rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, question_name, answer_ip, nmb->answers);
+ (*(query_name_success_function)rrec->success_fn)(subrec, rrec->userdata, question_name, answer_ip, nmb->answers);
else if( rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, question_name, nmb->header.rcode);
+ (*(query_name_fail_function)rrec->fail_fn)(subrec, rrec, question_name, nmb->header.rcode);
}
@@ -156,7 +156,7 @@
dbgtext( "on subnet %s.\n", subrec->subnet_name );
}
if(rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, question_name, 0);
+ (*(query_name_fail_function)rrec->fail_fn)(subrec, rrec, question_name, 0);
}
remove_response_record(subrec, rrec);
@@ -242,7 +242,7 @@
/* Call the success function directly. */
if(success_fn)
- (*success_fn)(subrec, userdata, &nmbname, namerec->data.ip[0], &rrec);
+ (*(query_name_success_function)success_fn)(subrec, userdata, &nmbname, namerec->data.ip[0], &rrec);
return False;
}
diff -ru samba-2.2.1a/source/nmbd/nmbd_nameregister.c samba-2.2.1a-qnx/source/nmbd/nmbd_nameregister.c
--- samba-2.2.1a/source/nmbd/nmbd_nameregister.c Fri Jan 7 07:55:35 2000
+++ samba-2.2.1a-qnx/source/nmbd/nmbd_nameregister.c Sat Jul 28 20:19:54 2001
@@ -144,12 +144,12 @@
the success function. */
standard_success_register(subrec, rrec->userdata, answer_name, nb_flags, ttl, registered_ip);
if( rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, answer_name, nb_flags, ttl, registered_ip);
+ (*(register_name_success_function)rrec->success_fn)(subrec, rrec->userdata, answer_name, nb_flags, ttl, registered_ip);
}
else
{
if( rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, question_name);
+ (*(register_name_fail_function)rrec->fail_fn)(subrec, rrec, question_name);
/* Remove the name. */
standard_fail_register( subrec, rrec, question_name);
}
@@ -226,12 +226,12 @@
the success function. */
standard_success_register(subrec, rrec->userdata, question_name, nb_flags, ttl, registered_ip);
if( rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, question_name, nb_flags, ttl, registered_ip);
+ (*(register_name_success_function)rrec->success_fn)(subrec, rrec->userdata, question_name, nb_flags, ttl, registered_ip);
}
else
{
if( rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, question_name);
+ (*(register_name_fail_function)rrec->fail_fn)(subrec, rrec, question_name);
/* Remove the name. */
standard_fail_register( subrec, rrec, question_name);
}
diff -ru samba-2.2.1a/source/nmbd/nmbd_namerelease.c samba-2.2.1a-qnx/source/nmbd/nmbd_namerelease.c
--- samba-2.2.1a/source/nmbd/nmbd_namerelease.c Fri Jan 7 07:55:35 2000
+++ samba-2.2.1a-qnx/source/nmbd/nmbd_namerelease.c Sat Jul 28 20:23:11 2001
@@ -99,14 +99,14 @@
putip((char*)&released_ip ,&nmb->answers->rdata[2]);
if(rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, answer_name, released_ip);
+ (*(release_name_success_function)rrec->success_fn)(subrec, rrec->userdata, answer_name, released_ip);
standard_success_release( subrec, rrec->userdata, answer_name, released_ip);
}
else
{
/* We have no standard_fail_release - maybe we should add one ? */
if(rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, answer_name);
+ (*(release_name_fail_function)rrec->fail_fn)(subrec, rrec, answer_name);
}
remove_response_record(subrec, rrec);
@@ -174,14 +174,14 @@
if(success && rrec->success_fn)
{
if(rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, question_name, released_ip);
+ (*(release_name_success_function)rrec->success_fn)(subrec, rrec->userdata, question_name, released_ip);
standard_success_release( subrec, rrec->userdata, question_name, released_ip);
}
else
{
/* We have no standard_fail_release - maybe we should add one ? */
if( rrec->fail_fn)
- (*rrec->fail_fn)(subrec, rrec, question_name);
+ (*(release_name_fail_function)rrec->fail_fn)(subrec, rrec, question_name);
}
remove_response_record(subrec, rrec);
diff -ru samba-2.2.1a/source/nmbd/nmbd_nodestatus.c samba-2.2.1a-qnx/source/nmbd/nmbd_nodestatus.c
--- samba-2.2.1a/source/nmbd/nmbd_nodestatus.c Fri Jan 7 07:55:35 2000
+++ samba-2.2.1a-qnx/source/nmbd/nmbd_nodestatus.c Sat Jul 28 20:24:06 2001
@@ -52,7 +52,7 @@
/* Just send the whole answer resource record for the success function
to parse. */
if(rrec->success_fn)
- (*rrec->success_fn)(subrec, rrec->userdata, nmb->answers, p->ip);
+ (*(node_status_success_function)rrec->success_fn)(subrec, rrec->userdata, nmb->answers, p->ip);
/* Ensure we don't retry. */
remove_response_record(subrec, rrec);
diff -ru samba-2.2.1a/source/nsswitch/wb_client.c samba-2.2.1a-qnx/source/nsswitch/wb_client.c
--- samba-2.2.1a/source/nsswitch/wb_client.c Fri Jul 6 04:01:43 2001
+++ samba-2.2.1a-qnx/source/nsswitch/wb_client.c Sat Jul 28 20:25:18 2001
@@ -298,12 +298,13 @@
/* Set the groups */
+#ifdef HAVE_SETGROUPS
if (sys_setgroups(ngroups, groups) == -1) {
errno = EPERM;
result = -1;
goto done;
}
-
+#endif
} else {
/* The call failed. Set errno to something so we don't get
diff -ru samba-2.2.1a/source/nsswitch/wb_common.c samba-2.2.1a-qnx/source/nsswitch/wb_common.c
--- samba-2.2.1a/source/nsswitch/wb_common.c Fri Jul 6 04:01:43 2001
+++ samba-2.2.1a-qnx/source/nsswitch/wb_common.c Sat Jul 28 20:26:12 2001
@@ -25,6 +25,9 @@
#include "winbind_nss_config.h"
#include "winbindd_nss.h"
+#ifdef HAVE_SYS_SELECT_H
+#include <sys/select.h>
+#endif
/* Global variables. These are effectively the client state information */
diff -ru samba-2.2.1a/source/profile/profile.c samba-2.2.1a-qnx/source/profile/profile.c
--- samba-2.2.1a/source/profile/profile.c Fri Jul 6 04:01:48 2001
+++ samba-2.2.1a-qnx/source/profile/profile.c Sat Jul 28 21:16:14 2001
@@ -21,7 +21,7 @@
*/
#include "includes.h"
-
+#ifdef HAVE_SYS_SHM_H
extern int DEBUGLEVEL;
#define IPC_PERMS ((SHM_R | SHM_W) | (SHM_R>>3) | (SHM_R>>6))
@@ -157,4 +157,4 @@
message_register(MSG_REQ_PROFILELEVEL, reqprofile_message);
return True;
}
-
+#endif /* HAVE_SYS_SHM_H */
diff -ru samba-2.2.1a/source/smbd/nttrans.c samba-2.2.1a-qnx/source/smbd/nttrans.c
--- samba-2.2.1a/source/smbd/nttrans.c Fri Jul 6 04:02:00 2001
+++ samba-2.2.1a-qnx/source/smbd/nttrans.c Sat Jul 28 20:28:29 2001
@@ -1101,7 +1101,7 @@
Internal fn to set security descriptors.
****************************************************************************/
-static BOOL set_sd(files_struct *fsp, char *data, uint32 sd_len, uint security_info_sent, int *pdef_class,uint32 *pdef_code)
+static BOOL set_sd(files_struct *fsp, char *data, uint32 sd_len, uint32 security_info_sent, int *pdef_class,uint32 *pdef_code)
{
prs_struct pd;
SEC_DESC *psd = NULL;
Return-Path: <Peter.Hicks at POGGS.CO.UK>
Delivered-To: samba at lists.samba.org
Received: from foxbase.st-albans.poggs.com
(pc1-hems3-0-cust70.bre.cable.ntl.com [213.105.87.70]) by
lists.samba.org (Postfix) with ESMTP id 4FB31479C for
<samba at lists.samba.org>; Sun, 29 Jul 2001 08:36:43 -0700 (PDT)
Received: from etienne (pwh at etienne.st-albans.poggs.com [10.180.250.3])
by foxbase.st-albans.poggs.com (8.11.1/8.11.1) with ESMTP id
f6TFfZw29329 for <samba at lists.samba.org>; Sun, 29 Jul 2001 16:41:35
+0100
From: "Peter Hicks" <Peter.Hicks at POGGS.CO.UK>
Organization: Poggs Computer Services
To: samba at lists.samba.org
Date: Sun, 29 Jul 2001 16:41:34 +0100
Subject: Re: Painfully slow with small files
Reply-To: Peter.Hicks at POGGS.CO.UK
Message-ID: <3B643CBE.17621.6504BD at localhost>
Priority: normal
In-reply-to: <3B642C2E.919.244FA1 at localhost>
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/
OK, it would have been more helpful to put version information in(!)
Samba 2.2.1, on a Slackware 8 box, Intel architecture, fully-functioning non-
routed network.
Peter.
On 29 Jul 2001, at 15:30, Peter Hicks wrote:
> All,
>
> I am suffering from SAMBA being pathetically slow at operations with small
> files, and also appearing to 'freeze'.
>
> My smb.conf is as below.
>
> I'm also getting a lot of unexpected 'errors' in log.nmb - it appears as
> though my machine, on 10.180.250.3, is losing its connection to the SAMBA
> server. Physical connectivity between the two boxes, on the same hub, is fine.
>
> [2001/07/29 15:23:07, 1] nmbd/nmbd_processlogon.c:process_logon_packet(70)
> process_logon_packet: Logon from 10.180.250.3: code = 0x12
> [2001/07/29 15:23:07, 1] nmbd/nmbd_processlogon.c:process_logon_packet(70)
> process_logon_packet: Logon from 10.180.250.3: code = 0x12
> [2001/07/29 15:24:36, 1] nmbd/nmbd_processlogon.c:process_logon_packet(70)
> process_logon_packet: Logon from 10.180.250.3: code = 0x12
> [2001/07/29 15:24:36, 1] nmbd/nmbd_processlogon.c:process_logon_packet(70)
> process_logon_packet: Logon from 10.180.250.3: code = 0x12
>
> Can anybody help or suggest anything? :)
>
>
>
> Peter.
>
>
>
> ---
> Peter Hicks e-mail: peter.hicks(at)poggs.co.uk
> Network Engineer web: http://www.poggs.com/
> Poggs Computer Services
> bobcode: K l E++++ m2 C B-x O L S++++ T A H b6 D1
>
>
>
> -------------- Enclosure number 1 ----------------
> [global]
> coding system =
> client code page = 850
> code page directory = /usr/local/samba/lib/codepages
> workgroup = POGGS
> netbios name = FOXBASE
> netbios aliases =
> netbios scope =
> server string = foxbase.st-albans.poggs.com
> interfaces = eth0
> bind interfaces only = Yes
> security = USER
> encrypt passwords = Yes
> update encrypted = Yes
> allow trusted domains = Yes
> hosts equiv =
> min passwd length = 5
> map to guest = Never
> null passwords = No
> obey pam restrictions = No
> password server =
> smb passwd file = /usr/local/samba/private/smbpasswd
> root directory =
> pam password change = No
> passwd program = /bin/passwd
> passwd chat = *new*password* %n\n *new*password* %n\n *changed*
> passwd chat debug = No
> username map =
> password level = 0
> username level = 0
> unix password sync = No
> restrict anonymous = No
> lanman auth = Yes
> use rhosts = No
> log level = 2
> syslog = 1
> syslog only = No
> log file = /usr/local/samba/var/log.%m
> max log size = 5000
> timestamp logs = Yes
> debug hires timestamp = No
> debug pid = No
> debug uid = No
> protocol = NT1
> large readwrite = No
> max protocol = NT1
> min protocol = CORE
> read bmpx = No
> read raw = Yes
> write raw = Yes
> nt smb support = Yes
> nt pipe support = Yes
> nt acl support = Yes
> announce version = 4.5
> announce as = NT
> max mux = 50
> max xmit = 4096
> name resolve order = lmhosts host wins bcast
> max packet = 65535
> max ttl = 259200
> max wins ttl = 518400
> min wins ttl = 21600
> time server = No
> change notify timeout = 60
> deadtime = 0
> getwd cache = Yes
> keepalive = 300
> lpq cache time = 10
> max smbd processes = 0
> max disk size = 0
> max open files = 10000
> read size = 16384
> socket options = TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY SO_SNDBUF=1024
> SO_RCVBUF=4096 stat cache size = 50 total print jobs = 0 load printers = Yes
> printcap name = /etc/printcap enumports command = addprinter command =
> deleteprinter command = show add printer wizard = Yes os2 driver map = strip
> dot = No character set = mangled stack = 50 stat cache = Yes domain admin
> group = admin domain guest group = machine password timeout = 604800 add user
> script = delete user script = logon script = LOGON.BAT logon path =
> \\%N\profiles\%u logon drive = H: logon home = \\foxbase\%u domain logons =
> Yes os level = 64 lm announce = Auto lm interval = 60 preferred master = True
> local master = Yes domain master = True browse list = Yes enhanced browsing =
> Yes dns proxy = Yes wins proxy = No wins server = wins support = Yes wins
> hook = kernel oplocks = Yes oplock break wait time = 0 add share command =
> change share command = delete share command = config file = preload = lock
> dir = /usr/local/samba/var/locks default service = message command = dfree
> command = valid chars = remote announce = remote browse sync = socket address
> = 0.0.0.0 homedir map = time offset = 0 NIS homedir = No source environment =
> panic action = hide local users = No host msdfs = No winbind uid = winbind
> gid = template homedir = /home/%D/%U template shell = /bin/false winbind
> separator = \ winbind cache time = 15 comment = path = alternate permissions
> = No username = guest account = nobody invalid users = valid users = admin
> users = read list = write list = printer admin = @admin force user = force
> group = read only = Yes create mask = 0744 force create mode = 00 security
> mask = 0777 force security mode = 00 directory mask = 0755 force directory
> mode = 00 directory security mask = 0777 force directory security mode = 00
> inherit permissions = No guest only = No guest ok = No only user = No hosts
> allow = hosts deny = status = Yes max connections = 0 min print space = 0
> strict sync = No sync always = No write cache size = 0 max print jobs = 1000
> printable = No postscript = No printing = bsd print command = lpr -r -P%p %s
> lpq command = lpq -P%p lprm command = lprm -P%p %j lppause command = lpresume
> command = queuepause command = queueresume command = printer name = printer
> driver = printer driver file = /usr/local/samba/lib/printers.def printer
> driver location = default case = lower case sensitive = No preserve case =
> Yes short preserve case = Yes mangle case = No mangling char = ~ hide dot
> files = Yes hide unreadable = No delete veto files = No veto files = hide
> files = veto oplock files = map system = No map hidden = No map archive = Yes
> mangled names = Yes mangled map = browseable = Yes blocking locks = Yes fake
> oplocks = Yes locking = Yes oplocks = Yes level2 oplocks = Yes oplock
> contention limit = 2 posix locking = Yes strict locking = No share modes =
> Yes copy = include = exec = preexec close = No postexec = root preexec = root
> preexec close = No root postexec = available = Yes volume = fstype = NTFS set
> directory = No wide links = No follow symlinks = Yes dont descend = magic
> script = magic output = delete readonly = No dos filemode = No dos filetimes
> = No dos filetime resolution = No fake directory create times = No vfs object
> = vfs options = msdfs root = No
>
> [netlogon]
> path = /usr/local/samba/lib/netlogon
> write list = @admin
>
> [profiles]
> path = /usr/local/samba/profiles
> read only = No
> create mask = 0600
> directory mask = 0700
>
> [homes]
> comment = Home Directories
> read only = No
> create mask = 0700
> browseable = No
>
> [printers]
> comment = Printers
> path = /tmp
> create mask = 0700
> guest ok = Yes
> printable = Yes
> browseable = No
>
> [print$]
> comment = All Printers
> path = /usr/local/samba/printers
> write list = @admin
>
> [apps]
> comment = Applications
> path = /usr/local/pc_apps
> read only = No
>
> [cdrom]
> comment = CD ROM drive
> path = /cdrom
>
> [win2000dist]
> comment = Windows 2000 Distribution
> path = /usr/local/pc_apps/win2kdist
> read only = No
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
---
Peter Hicks e-mail: peter.hicks(at)poggs.co.uk
Network Engineer web: http://www.poggs.com/
Poggs Computer Services
bobcode: K l E++++ m2 C B-x O L S++++ T A H b6 D1
Return-Path: <jeremy at valinux.com>
Delivered-To: samba at samba.org
Received: from mail.valinux.com (mail.valinux.com [198.186.202.175]) by
lists.samba.org (Postfix) with ESMTP id 8F44C42A1 for
<samba at samba.org>; Sun, 29 Jul 2001 09:32:20 -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 15QtYK-0004Zs-00; Sun, 29 Jul 2001 09:36:28 -0700
Message-ID: <3B643908.2DAC46AA at valinux.com>
Date: Sun, 29 Jul 2001 09:25:44 -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: Rick Lake <rwlake at anp.nl>
Cc: samba at samba.org
Subject: Re: Patch proposal [version 2.2.1a]
References: <3B642ADC.2730F771 at anp.nl>
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/
Rick Lake wrote:
> I would like to propose the following changes to version 2.2.1a.
> Actually I started out these changes in 2.2.0, but I manually
> encorporated them in 2.2.1a and made a fresh "diff -ru". I'll elaborate
> through the diff "inline" here, but I've also included the same diff in
> the attachment for your convenience, because lines get fold by the mail
> client.
Most of these changes look great ! The only changes I'd make are
to make it more autoconf friendly.
I'm especially pleased about the nmbd changes, I knew that code
was broken w.r.t. the C standard after it was raised on the list
a few months ago. It was my code and I was dreading re-writing
it to be standards "correct" as it would require the addition of
many extra unions to make it work :-). I *love* your standards
complient "workaround" :-) :-).
I'lll work on getting these in for 2.2.2.
Thanks,
Jeremy Allison,
Samba Team.
Return-Path: <byteuk at fullwormage.com>
Delivered-To: samba at lists.samba.org
Received: from mail5.svr.pol.co.uk (mail5.svr.pol.co.uk [195.92.193.20])
by lists.samba.org (Postfix) with ESMTP id BB8974359 for
<samba at lists.samba.org>; Sun, 29 Jul 2001 17:17:15 -0700 (PDT)
Received: from modem-28.rhodium.dialup.pol.co.uk ([62.136.38.28]
helo=Portable) by mail5.svr.pol.co.uk with esmtp (Exim 3.13 #0) id
15R0ou-0000OE-00 for samba at lists.samba.org; Mon, 30 Jul 2001 01:22:04
+0100
Message-ID: <003401c1188c$e0038660$0200000a at Portable>
Reply-To: "ByteUK" <byteuk at fullwormage.com>
From: "ByteUK" <byteuk at fullwormage.com>
To: <samba at lists.samba.org>
References: <20010729190124.18F5E4220 at lists.samba.org>
Subject: Win98se pc crashes on boot, but it's not samba's fault..
Date: Mon, 30 Jul 2001 00:57:56 +0100
Organization: Full Wormage Staff
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
I have a very annoying problem, this my current network:
"Desk" - win98se
"Portable" - win95
"New" - win98se
"Blackhole" - nt server (linux 2.2.16, samba 2.2.0a)
Before I added blackhole, new kept freezes on bootup, unless it was the only
pc on the lan during bootup. I endured this problem for a while, often
turning off the hub during a reboot. When using samba, portable and desk
worked very well, everything worked ok ("entire network", the workgroup).
But I still have the same problem with new, and upon reconnecting to the
hub, it ignores blackhole for about 15mins of uptime [msinfo32] (\\blackhole
times out). I set samba to win any elections, including ones agains nt
servers, and even told it to force an election at one point, it still didn't
work.
I am puzzled by this, since desk is fine :(
Can anyone help me with this?
PS
Could "Martin Eggins" please refrain from accidently pasting samba digest
#507 at the end of his message.
I'm also curious as to why I have digest #506, and #508, but now #507 :-O
ByteUK
Full Wormage Staff
www.fullwormage.com
fwteam at fullwormage.com
byteuk at fullwormage.com
Return-Path: <byteuk at fullwormage.com>
Delivered-To: samba at lists.samba.org
Received: from mail5.svr.pol.co.uk (mail5.svr.pol.co.uk [195.92.193.20])
by lists.samba.org (Postfix) with ESMTP id 073F6427D for
<samba at lists.samba.org>; Sun, 29 Jul 2001 17:17:12 -0700 (PDT)
Received: from modem-28.rhodium.dialup.pol.co.uk ([62.136.38.28]
helo=Portable) by mail5.svr.pol.co.uk with esmtp (Exim 3.13 #0) id
15R0oq-0000OE-00 for samba at lists.samba.org; Mon, 30 Jul 2001 01:22:00
+0100
Message-ID: <003201c1188c$dd9fa5c0$0200000a at Portable>
Reply-To: "ByteUK" <byteuk at fullwormage.com>
From: "ByteUK" <byteuk at fullwormage.com>
To: <samba at lists.samba.org>
References: <20010729190124.18F5E4220 at lists.samba.org>
Subject: Re: Re: Help! Swat can't see smbd and nmbd (Michael Beddow)
Date: Mon, 30 Jul 2001 00:40:43 +0100
Organization: Full Wormage Staff
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
I did forget to mention I make installed the first version, I'll try make
clean, and if that doesnt work, i'll remove everything that was compiled. I
don't want to restore it from the tar archive, as I made some modifications
to the swat page headers.
Return-Path: <git at meaford.com>
Delivered-To: samba at samba.org
Received: from Sabrina.mydomain (unknown [207.61.5.198]) by
lists.samba.org (Postfix) with ESMTP id 2756B4559 for
<samba at samba.org>; Sun, 29 Jul 2001 23:00:47 -0700 (PDT)
Received: from localhost (rashkae at localhost) by Sabrina.mydomain
(8.11.4/8.11.4) with ESMTP id f6U660R10733; Mon, 30 Jul 2001 02:06:01
-0400
X-Authentication-Warning: Sabrina.mydomain: rashkae owned process doing
-bs
Date: Mon, 30 Jul 2001 02:06:00 -0400 (EDT)
From: Rashkae <git at meaford.com>
X-X-Sender: <rashkae at Sabrina.mydomain>
To: rajeev dutt <rajeev.dutt at usa.net>
Cc: <samba at samba.org>
Subject: Re: Samba 2.0.7 on Sol8
In-Reply-To: <20010728134312.23076.qmail at nwcst31c.netaddress.usa.net>
Message-ID: <Pine.LNX.4.33.0107300159050.1177-100000 at Sabrina.mydomain>
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/
The hostname used with -L has to be the SMB netbios hostname. By default,
this will be your computers hostname (not localhost, but the unique hostname)
or whatever you specify in your smb.conf file with netbios name =
On 28 Jul 2001, rajeev dutt wrote:
> Hi,
>
> I have installed samba-2.0.7 on Solaris8 (Intel platform)
> When i am testing smbclient sitting on my server using:
> smbclient -U% -L localhost
> First it starts with adding my nic ip address and then gives an
> error :
> SMBSERVER not found
> Please note that i have already intialised my daemons using
> smbd -D & nmbd -D
>
> Please HELP.....
>
> Thanks
> Rajeev
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
Return-Path: <cpuccio at verio.net>
Delivered-To: samba at lists.samba.org
Received: from harrier.mail.pas.earthlink.net
(harrier.mail.pas.earthlink.net [207.217.121.12]) by lists.samba.org
(Postfix) with ESMTP id 3E4324249 for <samba at lists.samba.org>; Sun, 29
Jul 2001 23:40:50 -0700 (PDT)
Received: from computer (dialup-64.152.162.13.Dial1.NewYork1.Level3.net
[64.152.162.13]) by harrier.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3)
with SMTP id XAA21123 for <samba at lists.samba.org>; Sun, 29 Jul 2001
23:45:37 -0700 (PDT)
From: "Chris Puccio" <cpuccio at verio.net>
To: <samba at lists.samba.org>
Subject: Permission problem
Date: Mon, 30 Jul 2001 02:45:37 -0400
Message-ID: <MABBLNEJBMBLHPKNBEEGCEABCAAA.cpuccio at verio.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Greetings,
I have installed Samba 2.2.1a as a PDC and everything works great except
one thing :), the nt_acl_support option is turned on and all, but when I try
to make any change to a file's permissions, I *always* get "Access Denied".
Why is this? I have never been able to successfully change a file
permissions. Has anybody else had this problem that could give me some hints
or know a site that has good info on this? Any help is greatly appreciated.
Thanks!
- Chris
Return-Path: <hoangtang at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (oe21.law4.hotmail.com [216.33.148.125]) by
lists.samba.org (Postfix) with ESMTP id 6EB8E4181 for
<samba at samba.org>; Mon, 30 Jul 2001 00:37:44 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
SMTPSVC; Mon, 30 Jul 2001 00:42:33 -0700
X-Originating-IP: [65.5.40.90]
From: "Hummy" <HoangTang at hotmail.com>
To: <samba at samba.org>
Subject: Why the intitial handshake is so slow?
Date: Mon, 30 Jul 2001 01:48:42 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Message-ID: <OE21aqngjCSmlJMR7vA00002da7 at hotmail.com>
X-OriginalArrivalTime: 30 Jul 2001 07:42:33.0449 (UTC)
FILETIME=[31B57D90:01C118CB]
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 Samba 2.2.1a running on Redhat Linux 7.1, while I am trying to browse
the Samba server, when I first click on the Server name from the Computer Near
Me in Windows 2000 it take awhile to make that connection and after that
everything work fine, how can I speed this up?
Thanks,
Hummy
Return-Path: <arahal at taranis-services.fr>
Delivered-To: samba at samba.org
Received: from mail.taranis-services.fr
(APuteaux-101-2-1-100.abo.wanadoo.fr [193.251.40.100]) by
lists.samba.org (Postfix) with ESMTP id A41A84364 for
<samba at samba.org>; Mon, 30 Jul 2001 01:05:24 -0700 (PDT)
Received: from ahmed (arahal.tssa.com [192.1.1.63]) by
mail.taranis-services.fr (8.9.3 (PHNE_18546)/8.9.3) with SMTP id
JAA06511; Mon, 30 Jul 2001 09:10:08 +0100 (WEST)
Message-ID: <004701c118cf$0c7cffe0$3f0101c0 at tssa.com>
From: "Ahmed RAHAL" <arahal at taranis-services.fr>
To: "Hummy" <HoangTang at hotmail.com>, <samba at samba.org>
References: <OE21aqngjCSmlJMR7vA00002da7 at hotmail.com>
Subject: Re: Why the intitial handshake is so slow?
Date: Mon, 30 Jul 2001 10:10:07 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hi
> I have Samba 2.2.1a running on Redhat Linux 7.1, while I am trying to
browse
> the Samba server, when I first click on the Server name from the Computer
Near
> Me in Windows 2000 it take awhile to make that connection and after that
> everything work fine, how can I speed this up?
I usually change the default behaviour of samba :
name resolve order = lmhosts wins bcast host
instead of the default
name resolve order = lmhosts host wins bcast
This is that samba tries to find your machine
and doing so uses "host" (ie : /etc/hosts & dns)
before doing a broadcast or looking in a wins server.
Therefore I ask samba to check /etc/hosts & dns
in last position.
maybe this helps.
Ahmed.
Return-Path: <mbnospam at mbeddow.net>
Delivered-To: samba at lists.samba.org
Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com
[62.253.162.43]) by lists.samba.org (Postfix) with ESMTP id 8E3CF4154
for <samba at lists.samba.org>; Mon, 30 Jul 2001 01:32:10 -0700 (PDT)
Received: from michaelnt2k ([62.252.240.83]) by mta03-svc.ntlworld.com
(InterMail vM.4.01.03.00 201-229-121) with SMTP id
<20010730083658.CTFZ23687.mta03-svc.ntlworld.com at michaelnt2k>; Mon, 30
Jul 2001 09:36:58 +0100
Message-ID: <033101c118d3$5debdff0$0201010a at michaelnt2k>
From: "Michael Beddow" <mbnospam at mbeddow.net>
To: "ByteUK" <byteuk at fullwormage.com>, <samba at lists.samba.org>
References: <20010729190124.18F5E4220 at lists.samba.org>
<003401c1188c$e0038660$0200000a at Portable>
Subject: Re: Win98se pc crashes on boot, but it's not samba's fault..
Date: Mon, 30 Jul 2001 09:40:47 +0100
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/
On Monday, July 30, 2001 12:57 AM
ByteUK wrote:
> Before I added blackhole, new kept freezes on bootup, unless it was t
> the only
> pc on the lan during bootup.
[...]
> But I still have the same problem with new, and upon reconnecting to
the
> hub, it ignores blackhole for about 15mins of uptime [
Have you checked that all the clients are using TCP/IP only (remember,
Win95 will sneak netbeui and/or IPX back on at the slighest excuse)
*and* that they all have unique netbios names. My first guess would be
at a netbios name clash between new and one of the other machines.
Sometimes the only way to sort this kind of problem is to delve into the
sambafied version of tcpdump and its documentation and look at the SMB
packets on the wire. I bet that when new seems to be ignoring blackhole
it's in fact arguing with it about some aspect of its role in the
universe. Sometimes by upping the logging level on the server you can
get enough info without needing to resort to tcpdump, though you'll know
a lot more about Samba once you've braved that ordeal by dataflood.
Michael
---------------------------------------------------------
Michael Beddow http://www.mbeddow.net/
XML and the Humanities page: http://xml.lexilog.org.uk/
---------------------------------------------------------
Return-Path: <mbnospam at mbeddow.net>
Delivered-To: samba at lists.samba.org
Received: from mta03-svc.ntlworld.com (mta03-svc.ntlworld.com
[62.253.162.43]) by lists.samba.org (Postfix) with ESMTP id BF3F044FB
for <samba at lists.samba.org>; Mon, 30 Jul 2001 01:51:22 -0700 (PDT)
Received: from michaelnt2k ([62.252.240.83]) by mta03-svc.ntlworld.com
(InterMail vM.4.01.03.00 201-229-121) with SMTP id
<20010730085610.CZNF23687.mta03-svc.ntlworld.com at michaelnt2k> for
<samba at lists.samba.org>; Mon, 30 Jul 2001 09:56:10 +0100
Message-ID: <034801c118d6$0cb3c320$0201010a at michaelnt2k>
From: "Michael Beddow" <mbnospam at mbeddow.net>
To: <samba at lists.samba.org>
References: <20010729190124.18F5E4220 at lists.samba.org>
<003201c1188c$dd9fa5c0$0200000a at Portable>
Subject: Re: Re: Help! Swat can't see smbd and nmbd (Michael Beddow)
Date: Mon, 30 Jul 2001 10:00:14 +0100
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/
Monday, July 30, 2001 12:40 AM
ByteUK wrote:
> I did forget to mention I make installed the first version, I'll try
make
> clean, and if that doesnt work, i'll remove everything that was
compiled.
OK, but it's still better, before the make clean, to restore the config
locations settings of your original compile/install and make uninstall.
Otherwise you may still find that binaries (and we are talking about
quite a number of them, not just the main demons) from your first
install, with incorrect locations compilied in, are sitting somewhere in
your path in front of your new cleanly compiled and installed ones.
Michael
---------------------------------------------------------
Michael Beddow http://www.mbeddow.net/
Return-Path: <martin.ejdestig at planit.se>
Delivered-To: samba at lists.samba.org
Received: from tusse.tninet.se (tusse.tninet.se [195.100.94.11]) by
lists.samba.org (Postfix) with SMTP id 2251241A8 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 02:08:31 -0700 (PDT)
Received: (qmail 13816 invoked by uid 5); 30 Jul 2001 11:13:17 +0200
Message-Id: <TFSJJBIH at planit.se>
From: martin.ejdestig at planit.se
Date: Mon, 30 Jul 2001 11:13:55 +0200
To: samba at lists.samba.org
Subject: Accessing shares from another c net.
MIME-version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7bit
X-Mailer: TFS Secure Messaging /222000000/223230533/223071250/223003758/
X-Mailer: Version 4.62 Build 300
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hi everybody :)
We use samba here at work to access files on a Tru64 server. Everything
works fine here at work but when my fellow-workers try to access the
shares from home using ISDN and dhcp it doesn't work :(
-------------------------------------------------------------
Here's a short description of the part of our network thats relevant:
+-------------------------+ +----------------------+
|Tru64 running samba 2.0.7| | PC-Work (NT W2k) |
|(see below for smb.conf) | | (192.168.91.20-38) |
| (192.168.91.16) | | (192.168.91.110-190) |
+------------+------------+ +-----------+----------+
| |
+------------+---------------------------+----------+
| Switch (192.168.91.107) |
+--------+-------------------------+----------------+
| |
+--------+--------+ +---------+--------+
| W2k server | | ISDN-router |
| (192.168.91.99) | | (192.168.91.106) |
+-----------------+ +---------+--------+
|
+-------------+-----------+
| PC-Home (W2k ME 95 etc) |
| (192.168.92.32-63) |
+-------------------------+
---------------------------------------------------------------
The smb.conf file used:
; Special sections
[global]
create mask = 664
directory mask = 775
encrypt passwords = yes
guest account = pcguest
hosts allow = 192.168.91. 192.168.92.
lock directory = /usr/local/samba/var/locks
log file = /usr/local/samba/log.%m
map to guest = Bad User
password server = server2
security = domain
smb passwd file = /usr/local/samba/private/smbpasswd
workgroup = PLANIT
[homes]
comment = Home directory on %L
browseable = no
writeable = yes
;[printers]
;
; Ordinary sections
<left out...only uses "comment", "guest ok", "path" and "writable">
---------------------------------------------------
DNS is used instead of WINS.
Will upgrading to samba 2.2.0 help? (Ive been thinking bout doin that
even if it doesn't help with this prob...)
When connecting from home my fellow-workers can access disks on server2
(192.168.91.99, see above). I think that means the problem must be the
configutaion of samba. Does someone agree/disagree?
Is more information needed to help? I can't think of something more to
add...
Btw...Im not a "network guru"...so be gentle ;)
/Martin Ejdestig
Return-Path: <arahal at taranis-services.fr>
Delivered-To: samba at lists.samba.org
Received: from mail.taranis-services.fr
(APuteaux-101-2-1-100.abo.wanadoo.fr [193.251.40.100]) by
lists.samba.org (Postfix) with ESMTP id 4676643F7 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 02:27:53 -0700 (PDT)
Received: from ahmed (arahal.tssa.com [192.1.1.63]) by
mail.taranis-services.fr (8.9.3 (PHNE_18546)/8.9.3) with SMTP id
KAA06831; Mon, 30 Jul 2001 10:32:22 +0100 (WEST)
Message-ID: <012701c118da$899eafe0$3f0101c0 at tssa.com>
From: "Ahmed RAHAL" <arahal at taranis-services.fr>
To: <martin.ejdestig at planit.se>, <samba at lists.samba.org>
References: <TFSJJBIH at planit.se>
Subject: Re: Accessing shares from another c net.
Date: Mon, 30 Jul 2001 11:32:22 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4133.2400
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hi,
> We use samba here at work to access files on a Tru64 server. Everything
> works fine here at work but when my fellow-workers try to access the
> shares from home using ISDN and dhcp it doesn't work :(
>
be careful : I know about several ISDN routers that are capable
of doing internet Access. Therefore, they block 137 & 139 ports
and prevent any smb communication through the connection.
We use ISDN Routers to connect to our customers, and
depending on what filter rules are used, communicating
through smb (samba) is impossible.
bye
Ahmed.
Return-Path: <pzoltan at fw.hu>
Delivered-To: samba at samba.org
Received: from legba.tvnet.hu (legba.tvnet.hu [195.38.96.20]) by
lists.samba.org (Postfix) with ESMTP id 7D2694266 for
<samba at samba.org>; Mon, 30 Jul 2001 02:54:44 -0700 (PDT)
Received: from [193.224.63.11] (ovit0.ovit.tvnet.hu [195.38.116.254]) by
legba.tvnet.hu (8.9.3+Sun/8.9.3) with SMTP id LAA04562 for
<samba at samba.org>; Mon, 30 Jul 2001 11:59:26 +0200 (MEST)
From: Zoltan Perhacs <pzoltan at fw.hu>
Subject: Printing problem
To: <samba at samba.org>
Date: Mon, 30 Jul 2001 11:53:16 +0200
Lines: 13
Message-ID: <MWMail.jhgnjilr at host.none>
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
I have a RedHat 7.1 box with 2.4.6 kernel and Samba 2.2.0 installed from rpm package.
Everything works fine, but sometimes (mostly when printing large documents, or perhaps
when the printer runs out os paper) the printing stops.
The status of the printer (lpd) is: waiting for subserver to exit ... or cannot open /dev/lp0
- Device or resource busy, when this occures.
Can anyone help me to solve this ?
Thank you,
Zoltan Perhacs
Return-Path: <cyrille.dubray at apic.fr>
Delivered-To: samba at lists.samba.org
Received: from mail.nmg.fr (mail.nmg.fr [212.180.127.4]) by
lists.samba.org (Postfix) with ESMTP id 8E96144E2 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 03:05:39 -0700 (PDT)
Received: from era (nmg_mlh151 [172.16.1.151]) by mail.nmg.fr
(8.11.0/8.8.7) with SMTP id f6UAAn828047 for <samba at lists.samba.org>;
Mon, 30 Jul 2001 12:10:49 +0200
Message-ID: <002301c118df$9efa6c30$970110ac at era>
Reply-To: "DUBRAY Cyrille" <cyrille.dubray at apic.fr>
From: "DUBRAY Cyrille" <cyrille.dubray at apic.fr>
To: <samba at lists.samba.org>
Subject: ask a question
Date: Mon, 30 Jul 2001 12:08:46 +0200
Organization: Apic S.A.
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
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/
Samba 2.2.1 does it work with Windows NT 4.0 and Windows 2000 ???
Thx
APIC S.A.
Cyrille DUBRAY
20 E, rue Salomon GRUMBACH
68 200 Mulhouse
E-mail : cyrille.dubray at apic.fr
Tel : 03.89.33.49.05
Fax : 03.89.33.54.01
Return-Path: <oboyaval at ch-bethune.fr>
Delivered-To: samba at lists.samba.org
Received: from argyre.fr.uu.net (mail.fr.uu.net [194.98.0.9]) by
lists.samba.org (Postfix) with ESMTP id 56CA7422E for
<samba at lists.samba.org>; Mon, 30 Jul 2001 04:09:33 -0700 (PDT)
Received: from ch-bethune.fr
(centre-hospitalier-de-lens-gw.uli1.fr.uu.net [212.208.245.45]) by
argyre.fr.uu.net (8.9.3/8.8.7) with SMTP id NAA14138 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 13:20:45 +0200 (MET DST)
Received: from NTBoyav ([194.5.219.31]) by ch-bethune.fr (Lotus SMTP MTA
v4.6.3 (778.2 1-4-1999)) with SMTP id C1256A99.003E41FC; Mon, 30 Jul
2001 13:20:01 +0200
Message-ID: <006401c118e9$005128d0$1fdb05c2 at NTBoyav>
From: "Olivier Boyaval" <oboyaval at ch-bethune.fr>
To: <samba at lists.samba.org>
Subject: Ask few questions about possibilities of Samba
Date: Mon, 30 Jul 2001 13:15:55 +0200
Organization: =?iso-8859-1?Q?Centre_Hospitalier_de_B=E9thune?=
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hello,
I'm interested by Samba to replace 2 old Netware 4.11 server.
The update to Netware 5.1 is very expensive and the additive user licence is
more expensive again.
I have already used, in the past, Samba 1.9 on AIX box but only to share disk
on 5 PC Windows 95.
Now I want to share more than 30 Go of data (MS-Office 2000 files, MS-Acces
databases, Paradox databases and others files access databases) for 300
stations (In majority W98se but also W95 OSR2, NT4SP4/5 WS and W2000 Pro).
Moreover, the number of station will increase quickly in the 2 next years.
Actually, we use Norton AntiVirus Corporate edition 7.0 to protect the 2
servers with the "on-access" detection mode.
I seek a powerfull system to replace the 2 old Netware servers.
If I use Samba it will be on Linux and a Intel plateform to minimize the
costs.
Somebody has it experience on a configuration equivalent or higher ?
If so, how much have you server ?
What's the best mode (share, user, server ou domain) in this configuration ?
If the domain mode is better which PDC to choose (Samba or Windows 2000
Server).
If the PDC is Samba, how manage you the change of user's password ? (In your
case, the most of users change their password all the 3 months).
Somebody use it Samba resources with Windows TSE / Citrix server ?
It can to have cohabitation between Samba, Windows 2000 server and Netware
4.11 :
How manage the password synchonzation between them ?
I found in the FTP archive a Samba package for Netware ? What is it ? Somebody
use it ?
I don't find any documentation about this package
Thanks for your help and sorry for my bad english.
Olivier Boyaval
Responsable d'exploitation Informatique
Riseaux et Tilicommunication
Centre Hospitalier de Bithune
France
Return-Path: <martin.ejdestig at planit.se>
Delivered-To: samba at lists.samba.org
Received: from tusse.tninet.se (tusse.tninet.se [195.100.94.11]) by
lists.samba.org (Postfix) with SMTP id 2FA394667 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 04:22:40 -0700 (PDT)
Received: (qmail 12224 invoked by uid 5); 30 Jul 2001 13:27:27 +0200
Message-Id: <TFSJNQNN at planit.se>
From: martin.ejdestig at planit.se
Date: Mon, 30 Jul 2001 13:28:13 +0200
To: arahal at taranis-services.fr, samba at lists.samba.org
Subject: RE: Accessing shares from another c net.
MIME-version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-transfer-encoding: 7bit
X-Mailer: TFS Secure Messaging /222000000/223230533/223071250/223003758/
X-Mailer: Version 4.62 Build 300
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <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 use samba here at work to access files on a Tru64
> server. Everything
> > works fine here at work but when my fellow-workers try to access the
> > shares from home using ISDN and dhcp it doesn't work :(
> > be careful : I know about several ISDN routers that are capable
> of doing internet Access. Therefore, they block 137 & 139 ports
> and prevent any smb communication through the connection.
I don't think that thats the problem in this case. Before I added
192.168.92. in hosts allow (see my configuration file :) i got the
following in the samba log file:
[2001/06/18 14:19:35, 1] lib/util_sock.c:(1007)
Gethostbyaddr failed for 192.168.92.37
[2001/06/18 14:19:35, 0] lib/access.c:(261)
Denied connection from 192.168.92.37 (192.168.92.37)
[2001/06/18 14:19:35, 1] smbd/process.c:(610)
Connection denied from 192.168.92.37
But I don't know what ports the smb protocoll uses and for what...so
correct me if Im wrong :)
> We use ISDN Routers to connect to our customers, and
> depending on what filter rules are used, communicating
> through smb (samba) is impossible.
>
> bye
>
> Ahmed.
>
>
>
Return-Path: <nottorf at roeders.de>
Delivered-To: samba at lists.samba.org
Received: from roedmail.roeders.de (mail.roedersofamerica.com
[62.153.72.171]) by lists.samba.org (Postfix) with ESMTP id CA5F3434F
for <samba at lists.samba.org>; Mon, 30 Jul 2001 05:32:40 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by roedmail.roeders.de
(Roeders Mailgateway) with ESMTP id 48BCE2F1A7 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 15:51:19 +0200 (MEST)
Received: from pc80 (pc80.roeders.de [10.0.1.180]) by
roedmail.roeders.de (Roeders Mailgateway) with SMTP id 250752F19F for
<samba at lists.samba.org>; Mon, 30 Jul 2001 15:51:16 +0200 (MEST)
Reply-To: <nottorf at roeders.de>
From: "Gerrit Nottorf" <nottorf at roeders.de>
To: <samba at lists.samba.org>
Subject: change ownership via smb.conf?
Date: Mon, 30 Jul 2001 14:41:22 +0200
Message-ID: <000101c118f4$f0aef810$b401000a at pc80>
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)
X-Virus-Scanned: by AMaViS perl-11
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <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,
I'm working with Samba 2.07 and trustees to set the file-perms/ACLs. The
problem is, when a user creates a directory, the ownership is on him. But it
has to be on root to get the trustees running correctly.
Is there a possibility to get the ownership automatically changed to root
whenever a new dir/file is created by any user?
best regards,
Gerrit Nottorf
RVDERS GMBH
email : nottorf at roeders.de
Tel : +49 5191 603-255
internet: www.roederstec.com
Return-Path: <oliver at samera.com.py>
Delivered-To: samba at samba.org
Received: from Polaris.Pla.net.PY (polaris.pla.net.py [216.250.196.10])
by lists.samba.org (Postfix) with ESMTP id 2F8C2423A for
<samba at samba.org>; Mon, 30 Jul 2001 05:58:05 -0700 (PDT)
Received: (from uucp at localhost) by Polaris.Pla.net.PY (8.11.2/8.11.2)
with UUCP id f6U53Wt00906; Mon, 30 Jul 2001 09:03:32 +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 f6UCl6g13037; Mon, 30 Jul
2001 08:47:06 -0400
Message-ID: <3B655748.4010507 at samera.com.py>
Date: Mon, 30 Jul 2001 08:47:04 -0400
From: "Oliver Schulze L." <oliver at samera.com.py>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.1)
Gecko/20010607 Netscape6/6.1b1
X-Accept-Language: es-py, es, en-us
MIME-Version: 1.0
To: Dean Eiger <eigerd at yahoo.com>
Cc: samba at samba.org
Subject: Re: Installing Samba 2.2.1a-2
References: <20010729045051.34306.qmail at web10002.mail.yahoo.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/
It seems that you are not installing the rpm frm samba.org.
Are you installing samba-client too?
BTW, I have RH7.1 with samba 2.2.1a from samba.org and don't
have that libpamc.*
HTH
Oliver
Dean Eiger wrote:
>When I attempt to install samba 2.2.1a-2 on a RedHat
>Linux 7.1 system, the following error is returned:
>
>error: failed dependencies:
>
>libpamc.so.0 is needed by samba-2.2.1a-2
>
>
>How do I get around this problem? Both the samba and
>samba-common packages I am trying to install are for
>the i386 architecture (I have a Pentium III processor)
>and were acquired from rpmfind.net. Thank you very
>much.
>
>
>D. Eiger
>
>
>__________________________________________________
>Do You Yahoo!?
>Make international calls for as low as $.04/minute with Yahoo! Messenger
>http://phonecard.yahoo.com/
>
--
Oliver Schulze L.
oliver at samera.com.py
Asuncion-Paraguay
Return-Path: <fuchangdong at sohu.com>
Delivered-To: samba at lists.samba.org
Received: from webmail11.sohu.com (unknown [61.135.132.105]) by
lists.samba.org (Postfix) with ESMTP id 648944539 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 06:04:36 -0700 (PDT)
Received: from mail pickup service by webmail11.sohu.com with Microsoft
SMTPSVC; Mon, 30 Jul 2001 21:00:23 +0800
Content-Class: urn:content-classes:message
From: <fuchangdong at sohu.com>
To: <samba at lists.samba.org>
Subject: ??: [help]project:samba problem in a EOS, why smbd progress is
killed?
Date: Mon, 30 Jul 2001 21:00:23 +0800
Message-ID: <170c301c118f7$983121b0$6f84a8c0 at sohu.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft CDO for Windows 2000
Thread-Index: AcEY95gx/1PxuYTMEdWY6ABQi8wn9A==
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <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, very much
my problems has been resolved, this OS is be implemented by me from linux
2.4.2, i use it to be a embedded os in NAS devices, i have seen
/etc/nsswitch.conf file, i found that i have not added all dependent files
such as /lib/libnss*.so files. becuase i have finished it at linux 2.2.5,but
LINUX 2.2.5 is different from LINUX 2.4.2,linux 2.4.2 VERSION which have added
some other files. so i have found that error!
thanks again!
fuchangdong /beijing/china/qsinghua university
-----T-J<O{O"------
4S#: "davecb at scot.canada.sun.com" <davecb at scot.canada.sun.com> 4z1m "David
Collier-Brown" <davecb at canada.sun.com>
7"KM#: 2001Dj7TB20HU 11:49
JU<~HK#: "fuchangdong at sohu.com" <fuchangdong at sohu.com>
VwLb#: Re: [help]project:samba problem in a EOS, why smbd progress is killed?
[Moved from samba-docs]
fuchangdong at sohu.com wrote:
> i enter /var/log/samba/ directory . i vi ./smb.log file, i found that
> there is a error existed,it is "Get_Hostbyname :unknown host xxx.pm.org",
> so i assure that this is resolver error, i find whether or not this eos have
/etc/hosts. i found that /etc/hosts file is existed.
[...]
> i usr command "hostname -i" and ping xxx.pm.org , so these errors are
given:
> hostname:Resolver error 0(no error)
Alas, you'll need to ask the folks who developed
or use the operating system: Samba assumes that
ping works!
What OS was it?
--dave
--
David Collier-Brown, | Always do right. This will gratify
Performance & Engineering Team | some people and astonish the rest.
Americas Customer Engineering | -- Mark Twain
(905) 415-2849 | davecb at canada.sun.com
1#3VA*O5SPPBUP#,ChinaRenP#SQB<1000MrC{M,Q'5HWEDc#!
http://alumni.chinaren.com
T2CN11>)#,KQ:|VzDc
http://store.sohu.com/sport.htm
Return-Path: <Lily.Li at blockade.com>
Delivered-To: samba at lists.samba.org
Received: from postino.blockade.com (h216-18-84-225.gtconnect.net
[216.18.84.225]) by lists.samba.org (Postfix) with ESMTP id 835E446F1
for <samba at lists.samba.org>; Mon, 30 Jul 2001 06:06:17 -0700 (PDT)
Received: by mailgw.blockade.com with Internet Mail Service
(5.5.2650.21) id <PXYYCWRP>; Mon, 30 Jul 2001 09:20:14 -0400
Message-ID: <60A30A0BD275D211B8F1006097E472858306FF at mailgw.blockade.com>
From: "Li, Lily" <Lily.Li at blockade.com>
To: "'samba at lists.samba.org'" <samba at lists.samba.org>
Subject: Is Samba or similar open software available for AS400?
Date: Mon, 30 Jul 2001 09:20:09 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain; charset="iso-8859-1"
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hello, anyone knows if Samba support IBM AS400?
TX
lily
Return-Path: <Jonathan.E.Crossett at mailhub.hitchcock.org>
Delivered-To: samba at samba.org
Received: from mailhub.hitchcock.org (MAILHUB.HITCHCOCK.ORG
[130.189.240.101]) by lists.samba.org (Postfix) with ESMTP id
8AB6A4706 for <Samba at samba.org>; Mon, 30 Jul 2001 06:21:22 -0700 (PDT)
Received: from mailbox2.Hitchcock.ORG (MAILBOX2.HITCHCOCK.ORG
[130.189.240.142]) by mailhub.hitchcock.org (8.9.3+DND/8.9.3) with
ESMTP id JAA32226 for <Samba at samba.org>; Mon, 30 Jul 2001 09:26:04
-0400 (EDT)
Message-id: <24070504 at mailbox2.Hitchcock.ORG>
Date: 30 Jul 2001 09:26:04 EDT
From: Jonathan.E.Crossett at Hitchcock.ORG (Jonathan E. Crossett)
Subject: OS X
To: Samba at samba.org
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
I'm trying to configure Samba for out NT network which requires authentication
to be added to the Domain. I do have the password that will allow me to
connect although I can't figure out what I need to configure to make that
possible. Is this going to be possible and if so who?
Thanks
Jon
Return-Path: <teemu.rinta-aho at nomadiclab.com>
Delivered-To: samba at lists.samba.org
Received: from ws130.nomadiclab.com (ws130.nomadiclab.com
[195.165.196.130]) by lists.samba.org (Postfix) with ESMTP id
12DA44706 for <samba at lists.samba.org>; Mon, 30 Jul 2001 07:12:50 -0700
(PDT)
Received: from server.nomadiclab.com (server.nomadiclab.com
[195.165.196.130]) by ws130.nomadiclab.com (Postfix) with ESMTP id
B0F4972504; Mon, 30 Jul 2001 17:17:36 +0300 (EEST)
Date: Mon, 30 Jul 2001 17:17:36 +0300 (EEST)
From: Teemu Rinta-aho <teemu.rinta-aho at nomadiclab.com>
To: <samba at lists.samba.org>
Cc: <teemu at nomadiclab.com>
Subject: Problem with opening smbpasswd file
Message-ID: <20010730171154.N3312-100000 at server.nomadiclab.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 all.
I once managed to make a domain login from a
W2K (SP2) workstation to the Samba PDC on a FreeBSD 4.3
server. However, after that I edited the smbpasswd
file a little, removed old users etc. and created
new ones. I changed the name of the W2K workstation.
Now I can't login anymore, and I get this kind of
stuff into the log:
[2001/07/30 17:09:02, 0] rpc_server/srv_samr.c:api_samr_set_userinfo(672)
api_samr_set_userinfo: Unable to unmarshall SAMR_Q_SET_USERINFO.
[2001/07/30 17:09:02, 0] passdb/smbpass.c:startsmbfilepwent_internal(87)
startsmbfilepwent_internal: unable to open file
/usr/local/private/smbpasswd. Error was Permission denied
[2001/07/30 17:09:02, 0] passdb/smbpass.c:iterate_getsmbpwuid(1240)
unable to open smb password database.
I have restarted the smbd many times as root, I have
even restarted the whole server, I have created new
users, totally re-created the smbpasswd file, edited
the /etc/passwd etc. etc. but nothing seems to help.
I have 0600 permissions and root.wheel ownership on
/usr/local/private/smbpasswd file. Any help is welcome.
Please cc: to my e-mail, as I don't subscribe to this
list. Thank you.
BR,
Teemu Rinta-aho
Return-Path: <oboyaval at ch-bethune.fr>
Delivered-To: samba at lists.samba.org
Received: from argyre.fr.uu.net (mail.fr.uu.net [194.98.0.9]) by
lists.samba.org (Postfix) with ESMTP id E07C949B9 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 08:22:20 -0700 (PDT)
Received: from ch-bethune.fr
(centre-hospitalier-de-lens-gw.uli1.fr.uu.net [212.208.245.45]) by
argyre.fr.uu.net (8.9.3/8.8.7) with SMTP id RAA08642; Mon, 30 Jul 2001
17:33:25 +0200 (MET DST)
Received: from NTBoyav ([194.5.219.31]) by ch-bethune.fr (Lotus SMTP MTA
v4.6.3 (778.2 1-4-1999)) with SMTP id C1256A99.00555AA5; Mon, 30 Jul
2001 17:32:17 +0200
Message-ID: <00ee01c1190c$3e3a61c0$1fdb05c2 at NTBoyav>
From: "Olivier Boyaval" <oboyaval at ch-bethune.fr>
To: <Marek.Feszczuk at WAW1.siemens.pl>
Cc: <samba at lists.samba.org>
References: <F954B4B85128D4119FC000104BB868D501573053 at wawzz11e.siemens.p
l>
Subject: Re: Ask few questions about possibilities of Samba
Date: Mon, 30 Jul 2001 17:28:11 +0200
Organization: =?ISO-8859-2?Q?Centre_Hospitalier_de_B=E9thune?=
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-2"
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/
Thanks for your response
I think to buy two new powerfull servers because the activity on the actual
"medical secretary" server is very importante. I don't want all to change at
the same time. I want to gradually discharge the Netware servers to the new
solution (samba or w2k). Thus, I need to make cohabit Netware with samba
during a few times.
If I can install Samba on the Netware servers during this period that the
task of migration will facilitate us.
I suppose that you use the "user" mode because you have one server but you
have more server (One or two Samba and the two Netware servers). Thus, I
need to synchronize the password on these 3 or 4 servers. The "domain" mode
seem me interesting but the problems is the synchronization with Netware
:-(.
bye
O. Boyaval
----- Original Message -----
From: <Marek.Feszczuk at WAW1.siemens.pl>
To: <oboyaval at ch-bethune.fr>
Sent: Monday, July 30, 2001 1:40 PM
Subject: ODP: Ask few questions about possibilities of Samba
> >Hello,
>
> >I'm interested by Samba to replace 2 old Netware 4.11 server.
> >The update to Netware 5.1 is very expensive and the additive user licence
is
> >more expensive again.
>
> Good idea.
>
> >I have already used, in the past, Samba 1.9 on AIX box but only to share
> >disk
> >on 5 PC Windows 95.
>
>> Now I want to share more than 30 Go of data (MS-Office 2000 files,
MS-Acces
> >databases, Paradox databases and others files access databases) for 300
> >stations (In majority W98se but also W95 OSR2, NT4SP4/5 WS and W2000
Pro).
> >Moreover, the number of station will increase quickly in the 2 next
years.
> >Actually, we use Norton AntiVirus Corporate edition 7.0 to protect the 2
> >servers with the "on-access" detection mode.
>
> >I seek a powerfull system to replace the 2 old Netware servers.
> >If I use Samba it will be on Linux and a Intel plateform to minimize the
> >costs.
>
> >Somebody has it experience on a configuration equivalent or higher ?
> >If so, how much have you server ?
>
> I have samba server on old dell PII266 system 160 MB RAM and raid 3*18GB
> disks.
> I have about 160 users with several systems (WIN95, ME,NT) and
> i isn't problem for server.
> You not need protect server for viruses. There isn't viruses for unix.
> If you have protect data from winviruses you can scan it in night with
> mcafee
> (for example).
>
> >What's the best mode (share, user, server ou domain) in this
configuration ?
>
>I have user configuration on samba 2.2.1a
>
> >If the domain mode is better which PDC to choose (Samba or Windows 2000
>> Server).
> >If the PDC is Samba, how manage you the change of user's password ? (In
your
> >case, the most of users change their password all the 3 months).
>
> If you have, orginal win2k server is better for PDC, but is expesive.
> Actually is problem with rotate the passwords, but I suppose that well be
> solved in samba 3.0
> Users can change passwords from their stations.
>
> >It can to have cohabitation between Samba, Windows 2000 server and
Netware
> >4.11 :
> >How manage the password synchonzation between them ?
>
> If samba is in domain mode you manage only win2k passwords. Samba get it
> from win2k.
>
> >I found in the FTP archive a Samba package for Netware ? What is it ?
> >Somebody
> >use it ?
> >I don't find any documentation about this package
>
> I suppouse that you not need them.
>
> Marek
Return-Path: <roman at buro.vl.net.ua>
Delivered-To: samba at lists.samba.org
Received: from opera.kharkov.ua (vl.net.ua [194.44.80.194]) by
lists.samba.org (Postfix) with ESMTP id 553AE49E7 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 08:28:37 -0700 (PDT)
Received: from [194.44.81.72] (helo=buro.vl.net.ua) by opera.kharkov.ua
with esmtp (Exim 3.12 #2) id 15RF2o-0008a9-00 for
samba at lists.samba.org; Mon, 30 Jul 2001 18:33:22 +0300
Received: (from roman at localhost) by buro.vl.net.ua (8.11.4/8.11.4) id
f6UFXM230590 for samba at lists.samba.org; Mon, 30 Jul 2001 18:33:22
+0300 (EEST) (envelope-from roman)
From: "Roman I. Romensky" <roman at buro.vl.net.ua>
Message-Id: <200107301533.f6UFXM230590 at buro.vl.net.ua>
Subject: dfs re
To: samba at lists.samba.org
Date: Mon, 30 Jul 2001 18:33:22 +0300 (EEST)
X-Mailer: ELM [version 2.4ME+ PL92 (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
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/
reply-to: samba at buro.vl.net.ua
Hello!
I have a problem with connecting Samba 2.2.1a to Win2k DFS replaction, it report's that remote RPC service is'nt running. Or there is another solutions to connect samba to dfs tree. 10x a lot.
WBR, roman220.
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 894174A45 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 08:45:38 -0700 (PDT)
Received: (qmail 17401 invoked from network); 30 Jul 2001 15:52:30 -0000
Received: from dragosd.farmexim.ro (HELO farmexim.ro) (192.168.1.60) by
192.168.1.3 with SMTP; 30 Jul 2001 15:52:30 -0000
Message-ID: <3B65831E.110EE499 at farmexim.ro>
Date: Mon, 30 Jul 2001 18:54:06 +0300
From: Dragos Delcea <dragos.delcea at farmexim.ro>
Organization: Farmexim SA
X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.6 i686)
X-Accept-Language: en, ro
MIME-Version: 1.0
To: samba at lists.samba.org
Subject: making users profiles NOT to work!
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/)
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
hello,
I'm going mad over this...
I upgraded the samba 2.2.1a (from samba
2.0.4b) and now almost all win 98 started
using profiles, whereas before never worked.
I don't want them to (no enough space on the
server) and I'm wondering if there is a
elegant solution (beside going to each client
and disabling profiles, because I have about
60 of them) to disable them, or to be more
precise, to use them locally (If I totally
disable them then outlook will lose all mails
and mail folders, besides other things). Not
to mention about huge logon/logout times
(copying outlook folder files, about 600-800
megs over network for every user).
So all in all I want my clients to use local
profiles (or no profiles at all).
Can it be done?
here's my relevant config settings (in
version 2.0.4b were the same and no win 98
client ever wanted to store profiles in
'\\server\username' share)
[global]
logon home = \\%L\%U
logon path = \\%L\Profiles\%U
# [profiles]
# comment = profile
# path = /data/profiles
thanks
dragos
Return-Path: <nailed at videotron.ca>
Delivered-To: samba at lists.samba.org
Received: from VL-MS-MR003.sc1.videotron.ca (relais.videotron.ca
[24.201.245.36]) by lists.samba.org (Postfix) with ESMTP id 5CAE84A92
for <samba at lists.samba.org>; Mon, 30 Jul 2001 09:38:29 -0700 (PDT)
Received: from videotron.ca ([24.200.211.91]) by
VL-MS-MR003.sc1.videotron.ca (Netscape Messaging Server 4.15 MR003 Jun
11 2001 16:23:30) with ESMTP id GHAP4403.78S; Mon, 30 Jul 2001
12:43:16 -0400
Message-ID: <3B658EA2.5070708 at videotron.ca>
Date: Mon, 30 Jul 2001 12:43:14 -0400
From: Alain Toussaint <nailed at videotron.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2)
Gecko/20010628
X-Accept-Language: en-us
MIME-Version: 1.0
To: DUBRAY Cyrille <cyrille.dubray at apic.fr>
Cc: samba at lists.samba.org
Subject: Re: ask a question
References: <002301c118df$9efa6c30$970110ac at era>
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/
DUBRAY Cyrille wrote:
>Samba 2.2.1 does it work with Windows NT 4.0 and Windows 2000 ???
>
oui et il y a une tonne de documentations inclus (en anglais).
Alain
Return-Path: <mauro at lin.momentus.com.br>
Delivered-To: samba at lists.samba.org
Received: from lin.momentus.com.br (lin.momentus.com.br
[200.186.220.225]) by lists.samba.org (Postfix) with SMTP id CC1C84AB6
for <samba at lists.samba.org>; Mon, 30 Jul 2001 10:17:46 -0700 (PDT)
Received: (qmail 4759 invoked by uid 2897); 30 Jul 2001 17:22:25 -0000
Message-ID: <20010730172225.4749.qmail at lin.momentus.com.br>
From: mauro at momentus.com.br
To: samba at lists.samba.org
Subject: SAMBA: smbtar, How to =?iso-8859-1?Q?=22append=22?= files
Date: Mon, 30 Jul 2001 17:22:25 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/
Hi,
I4m so lost with samba. I4m trying to backup two NT servers using the follow
script:
$ smbtar -v -s server1 -u backup -x shared1 -p pass #for the 1st shared
directory
$ smbtar -v -s server2 -u backup -x shared2 -p pass #for the 2nd shared
directory in other server.
But the 2nd backup always overwrite the 1st, because I don4t have the append
option, like the "r" in tar command. So I try to do "mt -f /dev/st0 eod"
before beginning the 2nd command line, in this way I thought it would be
saved in the finish of the 1st one in the tape, but it didn4t works.
Please help me... How can I save two NT servers directories in only one tape
in my linux server ?
Thanks, Mauro
Brazil
Return-Path: <byteuk at fullwormage.com>
Delivered-To: samba at lists.samba.org
Received: from mail5.svr.pol.co.uk (mail5.svr.pol.co.uk [195.92.193.20])
by lists.samba.org (Postfix) with ESMTP id D33A74AD1 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 10:37:49 -0700 (PDT)
Received: from modem-35.germanium.dialup.pol.co.uk ([62.136.31.35]
helo=portable) by mail5.svr.pol.co.uk with esmtp (Exim 3.13 #0) id
15RH3q-0005wW-00; Mon, 30 Jul 2001 18:42:34 +0100
Message-ID: <000901c1191f$030abb00$0200000a at portable>
Reply-To: "ByteUK" <byteuk at fullwormage.com>
From: "ByteUK" <byteuk at fullwormage.com>
To: "Michael Beddow" <mbnospam at mbeddow.net>
Cc: <samba at lists.samba.org>
References: <20010729190124.18F5E4220 at lists.samba.org>
<003401c1188c$e0038660$0200000a at Portable>
<033101c118d3$5debdff0$0201010a at michaelnt2k>
Subject: Re: Win98se pc crashes on boot, but it's not samba's fault..
Date: Mon, 30 Jul 2001 18:42:29 +0100
Organization: Full Wormage Staff
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
The name clash is probably not the reason, but I will check it out. When I
isntalled a dhcp server, and set samba for wins, new started working fine
again, (my dns is messed up now but, argh), I need IPX/SPX for multiplayer
gaming, and portable doesnt use netbios over ipx, desk has been recently
re-formatted, but I assmue it's the problem as another problem has come up:
refusal to access \\pc\admin$ :(
So, that's another problem thats come up.
----- Original Message -----
From: Michael Beddow <mbnospam at mbeddow.net>
To: ByteUK <byteuk at fullwormage.com>; <samba at lists.samba.org>
Sent: Monday, July 30, 2001 9:40 AM
Subject: Re: Win98se pc crashes on boot, but it's not samba's fault..
> On Monday, July 30, 2001 12:57 AM
> ByteUK wrote:
>
> > Before I added blackhole, new kept freezes on bootup, unless it was t
> > the only
> > pc on the lan during bootup.
> [...]
> > But I still have the same problem with new, and upon reconnecting to
> the
> > hub, it ignores blackhole for about 15mins of uptime [
>
> Have you checked that all the clients are using TCP/IP only (remember,
> Win95 will sneak netbeui and/or IPX back on at the slighest excuse)
> *and* that they all have unique netbios names. My first guess would be
> at a netbios name clash between new and one of the other machines.
>
> Sometimes the only way to sort this kind of problem is to delve into the
> sambafied version of tcpdump and its documentation and look at the SMB
> packets on the wire. I bet that when new seems to be ignoring blackhole
> it's in fact arguing with it about some aspect of its role in the
> universe. Sometimes by upping the logging level on the server you can
> get enough info without needing to resort to tcpdump, though you'll know
> a lot more about Samba once you've braved that ordeal by dataflood.
>
> Michael
> ---------------------------------------------------------
> Michael Beddow http://www.mbeddow.net/
> XML and the Humanities page: http://xml.lexilog.org.uk/
> ---------------------------------------------------------
>
Return-Path: <hoangtang at hotmail.com>
Delivered-To: samba at samba.org
Received: from hotmail.com (oe55.law4.hotmail.com [216.33.148.92]) by
lists.samba.org (Postfix) with ESMTP id D4AAF4AE2 for
<samba at samba.org>; Mon, 30 Jul 2001 12:29:07 -0700 (PDT)
Received: from mail pickup service by hotmail.com with Microsoft
SMTPSVC; Mon, 30 Jul 2001 12:33:55 -0700
X-Originating-IP: [65.5.40.90]
From: "Hummy" <HoangTang at hotmail.com>
To: "Ahmed RAHAL" <arahal at taranis-services.fr>
Cc: <samba at samba.org>
References: <OE21aqngjCSmlJMR7vA00002da7 at hotmail.com>
<004701c118cf$0c7cffe0$3f0101c0 at tssa.com>
Subject: Re: Why the intitial handshake is so slow?
Date: Mon, 30 Jul 2001 13:40:02 -0600
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
Message-ID: <OE55lkxLRg718XCbD9d00003167 at hotmail.com>
X-OriginalArrivalTime: 30 Jul 2001 19:33:55.0120 (UTC)
FILETIME=[91F7A300:01C1192E]
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <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 appear to me that it's not the name resolve that is being slow but the
authentication that is taking place between the samba server and Win2k
client, (this also seem to happen when I try to connect to the Samba server
it self, but once it get pass that state everything work beautifully.
Thanks
Hummy
----- Original Message -----
From: "Ahmed RAHAL" <arahal at taranis-services.fr>
To: "Hummy" <HoangTang at hotmail.com>; <samba at samba.org>
Sent: Monday, July 30, 2001 2:10 AM
Subject: Re: Why the intitial handshake is so slow?
> Hi
>
> > I have Samba 2.2.1a running on Redhat Linux 7.1, while I am trying to
> browse
> > the Samba server, when I first click on the Server name from the
Computer
> Near
> > Me in Windows 2000 it take awhile to make that connection and after that
> > everything work fine, how can I speed this up?
>
> I usually change the default behaviour of samba :
> name resolve order = lmhosts wins bcast host
> instead of the default
> name resolve order = lmhosts host wins bcast
>
> This is that samba tries to find your machine
> and doing so uses "host" (ie : /etc/hosts & dns)
> before doing a broadcast or looking in a wins server.
> Therefore I ask samba to check /etc/hosts & dns
> in last position.
>
> maybe this helps.
>
> Ahmed.
>
>
Return-Path: <mbnospam at mbeddow.net>
Delivered-To: samba at lists.samba.org
Received: from mta05-svc.ntlworld.com (mta05-svc.ntlworld.com
[62.253.162.45]) by lists.samba.org (Postfix) with ESMTP id 6C87144C3
for <samba at lists.samba.org>; Mon, 30 Jul 2001 13:12:30 -0700 (PDT)
Received: from michaelnt2k ([62.252.237.69]) by mta05-svc.ntlworld.com
(InterMail vM.4.01.03.00 201-229-121) with SMTP id
<20010730201715.MAHP20588.mta05-svc.ntlworld.com at michaelnt2k> for
<samba at lists.samba.org>; Mon, 30 Jul 2001 21:17:15 +0100
Message-ID: <040301c11935$3265d4a0$0201010a at michaelnt2k>
From: "Michael Beddow" <mbnospam at mbeddow.net>
To: <samba at lists.samba.org>
References: <3B65831E.110EE499 at farmexim.ro>
Subject: Re: making users profiles NOT to work!
Date: Mon, 30 Jul 2001 21:21:11 +0100
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/
On Monday, July 30, 2001 4:54 PM
Dragos Delcea wrote:
> I upgraded the samba 2.2.1a (from samba
> 2.0.4b) and now almost all win 98 started
> using profiles, whereas before never worked.
> I don't want them to (no enough space on the
> server) and I'm wondering if there is a
> elegant solution (beside going to each client
> and disabling profiles, because I have about
> 60 of them) to disable them, or to be more
> precise, to use them locally (If I totally
> disable them then outlook will lose all mails
> and mail folders, besides other things). Not
> to mention about huge logon/logout times
> (copying outlook folder files, about 600-800
> megs over network for every user).
> So all in all I want my clients to use local
> profiles (or no profiles at all).
You can turn off roaming profiles via a system policy (details on how to
do that from any NT server administration resource, Samba works just
like NT here except that the place for the .pol file is the /netlogon
share). For pretty obvious reasons, this policy will only propagate to a
given workstation after two logins.
But truly local profiles will be messy, especially if you're using them
for Outlook mail, because you'll then have to make each user always logs
on at the same machine if they want to find their archived mail. I
assume you aren't using IMAP, because then you wouldn't be transferring
mail folders to the workstations anyway, but ultimately if you want to
have a log-in-anywhere plus access to personal email plus no profile
shifting, then either an IMAP or a webmail system, or a combination of
both, seems the best way to go, especially if you let you users
accumulate such enormous mail folders. However, it is possible to fix
the users' registry (again best done via a systems policy) so that the
relevant entries point to an Outlook mail area in their space on your
server, not the local workstation (tho you have to have enough servers
space, which maybe you don't). That way the mail doesn't move, apart
from the bits that are being downloaded, read or sent. Search the MS KB
for info on how to do that.
Michael
---------------------------------------------------------
Michael Beddow http://www.mbeddow.net/
Return-Path: <silva at athenea.ort.edu.uy>
Delivered-To: samba at lists.samba.org
Received: from hermes.ort.edu.uy (hermes.ort.edu.uy [164.73.96.24]) by
lists.samba.org (Postfix) with SMTP id 3BC414BC3 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 14:51:04 -0700 (PDT)
Received: from athenea.ort.edu.uy([164.73.96.20]) (9175 bytes) by
hermes.ort.edu.uy via sendmail with P:smtp/R:bind_hosts/T:smtp
(sender: <silva at athenea.ort.edu.uy>) id
<m15RMnm-00017JC at hermes.ort.edu.uy> for <samba at lists.samba.org>; Mon,
30 Jul 2001 18:50:22 -0500 (CDT) (Smail-3.2.0.105 1999-Mar-3 #9 built
1999-Nov-26)
Received: from pc-silva (unverified [192.168.20.128]) by
athenea.ort.edu.uy (EMWAC SMTPRS 0.83) with SMTP id
<B0001837963 at athenea.ort.edu.uy>; Mon, 30 Jul 2001 19:05:35 -0300
From: Ernesto Silva <silva at athenea.ort.edu.uy>
Organization: Universidad ORT Uruguay
To: samba at lists.samba.org
Subject: Copying file from NT to Linux without login-in
Date: Mon, 30 Jul 2001 17:32:48 -0300
X-Mailer: KMail [version 1.0.29.2]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <01073018580009.07838 at pc-silva>
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,
I have a lot of messages from the list but I couldn't find nothing
related to my problem, so here it is:
I have an nt stand alone server (called "interno") who must copy
some files once a day (at 9 AM) to a share in a linux samba server (called
"archie").
So, to make this work I run the following :
at 09:00 c:\actual.bat
(with some other parameters so it repeats everyday)
actual.bat contains some lines like this:
copy c:\xx\yy\zz\*.* \\archie\antivir
I discovered that the NT uses it name "interno" as username against the
samba server, so I defined it in my linux and in the smbpasswd file (as other
300 users) with no password and gave it permission to write to "antivir" (using
"valid users" parameter).
I don't know which password the NT server is using (if it is using any)
, can you help me, please....
Here is part of my smb.conf file:
[global]
workgroup = CPD
netbios name = ARCHIE
server string = File Server
encrypt passwords = Yes
allow trusted domains = No
min password length = 6
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
load printers = No
preferred master = no
domain master = no
dns proxy = No
WIns support = no
admin users = root
browseable = Yes
case sensitive = no
preserve case = yes
guest account = ort
security = share
# log level = 3
[antivir]
path = /home/antivir
public = no
writeable = yes
browseable = yes
create mask = 755
valid users = interno
hide dot files = yes
force user = antivir
And here is a level 3 log of the transaction:
[2001/07/30 18:46:35, 3] smbd/process.c:process_smb(618)
Transaction 1 of length 174
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBnegprot (pid 26545)
[2001/07/30 18:46:35, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2001/07/30 18:46:35, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [XENIX CORE]
[2001/07/30 18:46:35, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [MICROSOFT NETWORKS 1.03]
[2001/07/30 18:46:35, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [LANMAN1.0]
[2001/07/30 18:46:35, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [Windows for Workgroups 3.1a]
[2001/07/30 18:46:35, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [LM1.2X002]
[2001/07/30 18:46:35, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [LANMAN2.1]
[2001/07/30 18:46:35, 3] smbd/negprot.c:reply_negprot(341)
Requested protocol [NT LM 0.12]
[2001/07/30 18:46:35, 3] smbd/negprot.c:reply_negprot(424)
Selected protocol NT LM 0.12
[2001/07/30 18:46:35, 3] smbd/process.c:process_smb(618)
Transaction 2 of length 147
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBsesssetupX (pid 26545)
[2001/07/30 18:46:35, 3] smbd/reply.c:reply_sesssetup_and_X(805)
Domain=[ORT10] NativeOS=[Windows NT 1381] NativeLanMan=[]
[2001/07/30 18:46:35, 3] smbd/reply.c:reply_sesssetup_and_X(809)
sesssetupX:name=[INTERNO]
[2001/07/30 18:46:35, 3] smbd/reply.c:reply_sesssetup_and_X(946)
Registered username interno for guest access
[2001/07/30 18:46:35, 3] param/loadparm.c:lp_add_home(1553)
adding home directory interno at /home/shares/ort/areas/antivir
[2001/07/30 18:46:35, 3] smbd/process.c:chain_reply(775)
Chained message
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 26545)
[2001/07/30 18:46:35, 3] smbd/password.c:authorise_login(816)
ACCEPTED: guest account and guest ok
[2001/07/30 18:46:35, 3] smbd/service.c:make_connection(441)
Connect path is /tmp
[2001/07/30 18:46:35, 3] lib/doscalls.c:dos_ChDir(342)
dos_ChDir to /tmp
[2001/07/30 18:46:35, 3] smbd/service.c:make_connection(550)
interno (192.168.20.7) connect to service IPC$ as user ort (uid=827, gid=502) (pid 26545)
[2001/07/30 18:46:35, 3] lib/doscalls.c:dos_ChDir(342)
dos_ChDir to /usr/local/bin
[2001/07/30 18:46:35, 3] smbd/reply.c:reply_tcon_and_X(358)
tconX service=ipc$ user=ort
[2001/07/30 18:46:35, 3] smbd/process.c:process_smb(618)
Transaction 3 of length 76
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 26545)
[2001/07/30 18:46:35, 2] smbd/service.c:make_connection(284)
Invalid username/password for antivir_sis
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(138)
error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=2
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(143)
error string = No such file or directory
[2001/07/30 18:46:35, 3] smbd/process.c:process_smb(618)
Transaction 4 of length 76
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 26545)
[2001/07/30 18:46:35, 2] smbd/service.c:make_connection(284)
Invalid username/password for antivir_sis
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(138)
error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=2
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(143)
error string = No such file or directory
[2001/07/30 18:46:35, 3] smbd/process.c:process_smb(618)
Transaction 5 of length 76
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 26545)
[2001/07/30 18:46:35, 2] smbd/service.c:make_connection(284)
Invalid username/password for antivir
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(138)
error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=2
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(143)
error string = No such file or directory
[2001/07/30 18:46:35, 3] smbd/process.c:process_smb(618)
Transaction 6 of length 76
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 26545)
[2001/07/30 18:46:35, 2] smbd/service.c:make_connection(284)
Invalid username/password for antivir
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(138)
error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=2
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(143)
error string = No such file or directory
[2001/07/30 18:46:35, 3] smbd/process.c:process_smb(618)
Transaction 7 of length 76
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 26545)
[2001/07/30 18:46:35, 2] smbd/service.c:make_connection(284)
Invalid username/password for antivir
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(138)
error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=2
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(143)
error string = No such file or directory
[2001/07/30 18:46:35, 3] smbd/process.c:process_smb(618)
Transaction 8 of length 76
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 26545)
[2001/07/30 18:46:35, 2] smbd/service.c:make_connection(284)
Invalid username/password for antivir
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(138)
error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=2
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(143)
error string = No such file or directory
[2001/07/30 18:46:35, 3] smbd/process.c:process_smb(618)
Transaction 9 of length 76
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 26545)
[2001/07/30 18:46:35, 2] smbd/service.c:make_connection(284)
Invalid username/password for antivir
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(138)
error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=2
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(143)
error string = No such file or directory
[2001/07/30 18:46:35, 3] smbd/process.c:process_smb(618)
Transaction 10 of length 76
[2001/07/30 18:46:35, 3] smbd/process.c:switch_message(448)
switch message SMBtconX (pid 26545)
[2001/07/30 18:46:35, 2] smbd/service.c:make_connection(284)
Invalid username/password for antivir
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(138)
error packet at line 164 cmd=117 (SMBtconX) eclass=2 ecode=2
[2001/07/30 18:46:35, 3] smbd/error.c:error_packet(143)
error string = No such file or directory
--
Mr. Ernesto Silva.
Webmaster.
Universidad ORT Uruguay.
Cuareim 1451.
Montevideo.
Montevideo - 11100.
Uruguay.
silva at ort.ort.edu.uy (text only)
silva at athenea.ort.edu.uy
Return-Path: <skajler at att.net>
Delivered-To: samba at lists.samba.org
Received: from mtiwmhc23.worldnet.att.net (mtiwmhc23.worldnet.att.net
[204.127.131.48]) by lists.samba.org (Postfix) with ESMTP id 465B84BAA
for <samba at lists.samba.org>; Mon, 30 Jul 2001 15:05:48 -0700 (PDT)
Received: from webmail.worldnet.att.net ([204.127.135.30]) by
mtiwmhc23.worldnet.att.net (InterMail vM.4.01.03.16
201-229-121-116-20010115) with SMTP id
<20010730221034.DUKO8490.mtiwmhc23.worldnet.att.net at webmail.worldnet.a
tt.net> for <samba at lists.samba.org>; Mon, 30 Jul 2001 22:10:34 +0000
Received: from [12.76.102.17] by webmail.worldnet.att.net; Mon, 30 Jul
2001 22:10:34 +0000
From: skajler at att.net
To: samba at lists.samba.org
Subject: browsing, chmod and chown
Date: Mon, 30 Jul 2001 22:10:34 +0000
X-Mailer: AT&T Message Center Version 1 (May 2 2001)
Message-Id: <20010730221034.DUKO8490.mtiwmhc23.worldnet.att.net at webmail.
worldnet.att.net>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hello all! My first post...
Was trying to accomplish this...
1. Have an NT machine that is open to all users, with
admin priveleges all the time. (It's at work, and
not my machine -- so I can't change that.)
2. I added a NetBSD box to the NT's local Ethernet.
3. I created home accounts for folks on the NetBSD box,
and gave each home a "share" subdirectory. I set each
"share" with chown to that home's user, and set
chmod to 0700.
4. But I want the WinNT folks to be able to each use
network neighborhood from that machine to access their
own (and only their own) share directory.
But, alas, this happens: Once a user/passwd is entered
for one of them, that one can open and see ALL the
others. Which isn't good.
I've tried umpteen combinations with SWAT, and that
always happens. The first user can log in, enter their
user/passwd and get it all. Anybody who later tries to
enter a user/passwd, gets rejected...even when the passwd
is correct.
If setting tight priveleges means that no icon will
appear on the network neighborhood, when WinNT folks
simply won't use the thing at all. It seems a quandry...
I'm a rank newbie, and rather stumped. Any clues?
Thanks,
Gan Starling
Kalamazoo MI USA
Return-Path: <Jeff.Lessem at Colorado.EDU>
Delivered-To: samba at lists.samba.org
Received: from ibg.colorado.edu (delta.Colorado.EDU [128.138.139.9]) by
lists.samba.org (Postfix) with ESMTP id D779A4951 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 15:42:43 -0700 (PDT)
Received: from ibgmail.colorado.edu (lessem at foo.colorado.edu
[128.138.139.97]) by ibg.colorado.edu (8.9.1a/8.9.1/IBG-3.0s) with
ESMTP id QAA75620 for <samba at lists.samba.org>; Mon, 30 Jul 2001
16:47:30 -0600 (MDT)
Message-Id: <200107302247.QAA75620 at ibg.colorado.edu>
To: samba at lists.samba.org
Subject: File corruption with 2.2.1a, Tru64 5.1, and Excel under Win98
Organization: Institute for Behavioral Genetics University of Colorado
Boulder, CO 80309-0447
X-Phone: +1 303 492 2843
X-FAX: +1 303 492 0852
X-URL: http://ibgwww.Colorado.EDU/~lessem/
X-Copyright: All original content is copyright 2001 Jeff Lessem.
X-Copyright: Quoted and non-original content may be copyright the
X-Copyright: original author or others.
Date: Mon, 30 Jul 2001 16:47:30 -0600
From: Jeff Lessem <Jeff.Lessem at Colorado.EDU>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
I recently upgraded samba on my Alpha running Tru64 5.1 from 2.0.7 to
2.2.0a. Everything seemed to work fine, but I am getting a strange
problem with Excel from Office 2000 and Windows 98. This problem only
seems to occur with Windows 98, as I couldn't reproduce it with
Windows 2000[1].
Opening an existing Excel worksheet stored on a share from the server
is fine. Simply clicking on the floppy disk save icon and then
closing Excel will prevent the file from being opened again. Excel
fails to open the file with a dialogue box saying "Unable to open
file" (The file can be opened with wordpad, though it just gibberish).
The .xls file then appears to be permanently corrupted, as copying it
to the desktop does not allow it to be opened. The .xls file saved
(with no changes) is the same size as the original file, but it does
differ from the original. I do not know enough about .xls files to
know if the changes are unusual.
Falling smbd back to smbd.old makes the problem go away (a broken file
is still broken, but a good file won't be broken by opening and saving
it). I built samba with Compaq's cc -fast. I tried again with -O0,
but that had no effect on the problem. I also tried building samba on
a Tru64 4.0d machine (with cc) and ran the resulting smbd binary under
5.1, but the problem persists.
I am not sure which files would be useful for debugging information
(smb.conf, config.cache, log.smb, etc.). I turned debug level up, but
nothing out of the ordinary seemed to be reported. Of course Excel
gives no sort of useful information. Just let me know what debugging
information would be useful in tracking down this problem and I will
provide it.
[1] Earlier this morning a user reported that Word from Office 2000
under Windows 2000 crashed while saving a file, and then that file
couldn't be opened again. The temporary file created by Word (and
left behind) could be opened and contained most of the changes which
had been made. I don't necessarily want to lump this in with the
problem I report above, because in this case Word crashed, while Excel
reports that nothing is wrong.
--
Thanks,
Jeff Lessem.
Return-Path: <fred at arkansaswebs.com>
Delivered-To: samba at lists.samba.org
Received: from smtp.america.net (smtp.america.net [199.170.121.14]) by
lists.samba.org (Postfix) with ESMTP id EF52C4427; Mon, 30 Jul 2001
17:55:09 -0700 (PDT)
Received: from bits.linuxball (xdsl104.xdsl.pgtc.com [208.161.142.154])
by smtp.america.net (8.9.1/8.9.1) with SMTP id UAA03514; Mon, 30 Jul
2001 20:59:55 -0400 (EDT)
Content-Type: text/plain; charset="iso-8859-1"
From: Fred Jackson <fred at arkansaswebs.com>
To: samba-ntdom at lists.samba.org, samba at lists.samba.org
Subject: HELP? My first Samba PDC
Date: Mon, 30 Jul 2001 19:59:50 -0500
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01073019555305.11482 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,
I've been working two days on setting up a PDC on Samba 2.2.0 in
the office where I work. ( I convinced the boss to let me outfit
the office with linux - replacing windows on four machines out
of six in the office)
I seem to be having trouble getting client to participate in the
domain.
I've read all of the documentation I can stand, and I am simply
missing something..
any help will be appreciated (and I'll pay if I need to to get
the help I need).
THANKS
Fred
I get the following error message when I try to join the client
to the domain:
modify_trust_password: machine BITS 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.).
2001/07/30 19:36:25 : change_trust_account_password: Failed to
change password for domain LINUXB.
Unable to join domain LINUXB.
MY PDC is called bits
my client is hppav
bits smb.conf
________________________________________________
[global]
workgroup = LINUXB
netbios name = BITS
server string = linuxserverbits
encrypt passwords = Yes
smb passwd file = /etc/smbpasswd
log level = 3
syslog = 0
log file = /var/log/samba/%m.log
max log size = 50000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons = Yes
os level = 65
preferred master = True
domain master = True
dns proxy = No
valid users = fred rick
hosts allow = 192.168.0/24
hosts deny = 1.1.1.1/0.0.0.0
hide dot files = No
[netlogon]
path = /usr/samba/lib/netlogon
writeable = no
write list = ntadmin
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[fred]
comment = bits_share
path = /home/fred/public
username = fred
read only = No
hosts allow = 127.0.0.1 192.168.0.3
__________________________________________________________________
hppav's smb.conf
__________________________________________________________________
[global]
workgroup = LINUXB
netbios name = HPPAV
security = DOMAIN
encrypt passwords = Yes
allow trusted domains = No
password server = bits
restrict anonymous = Yes
log level = 5
syslog = 0
log file = /var/log/samba/%m.log
domain logons = Yes
case sensitive = Yes
hide dot files = No
Return-Path: <stymar at agcs.com>
Delivered-To: samba at samba.org
Received: from canospam.agcs.com (unknown [130.131.166.29]) by
lists.samba.org (Postfix) with ESMTP id 1DFF34CCA for
<samba at samba.org>; Mon, 30 Jul 2001 18:44:50 -0700 (PDT)
Received: from mkultra (mkultra.agcs.com [130.131.166.68]) by
canospam.agcs.com (8.9.3/8.9.1) with SMTP id PAA18073 for
<samba at samba.org>; Mon, 30 Jul 2001 15:11:55 -0700 (MST)
Posted-Date: Mon, 30 Jul 2001 15:11:55 -0700 (MST)
Received: FROM bootstrap.agcs.com BY mkultra ; Mon Jul 30 15:11:54 2001
-0700
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 PAA11388 for
<samba at samba.org>; Mon, 30 Jul 2001 15:11:04 -0700 (MST)
Received: from agcs.com ([130.131.36.72]) by pxmail1.agcs.com (Netscape
Messaging Server 3.61) with ESMTP id AAA5CB4; Mon, 30 Jul 2001
15:11:53 -0700
Message-ID: <3B65DBA8.2F784D16 at agcs.com>
Date: Mon, 30 Jul 2001 15:11:52 -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: Andrew Bartlett <abartlet at pcug.org.au>
Cc: Samba Mailing LIst <samba at samba.org>
Subject: ATTN: Andrew Bartlett: Re: Another INTERNAL ERROR: Signal 11
References: <3B61C9C0.F5B04138 at agcs.com>
<3B622275.40C7F841 at bartlett.house>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hello Andrew,
Thanks again for the assistenace. I recompiled with:
./configure.developer --with-utmp --with-automount --with-syslog
--with-smbwrapper --prefix=/usr/samba --exec-prefix=/usr/samba --with-debug
I then reproduced the error. The links are to Debug = 10 logs which
contain the error. I messed up with the process id's (the connection
was in a child once and the paren was back looking at a select) I was
runnng with -D.
<a href="http://www.swlink.net/~styma/tmp/smb.conf">smb.conf file</a>
<a href="http://www.swlink.net/~styma/tmp/log.smbd">log.smbd file</a>
<a href="http://www.swlink.net/~styma/tmp/log.nmbd">log.nmbd file</a>
The traceback from GDB read:
SunOS[desoto]: /usr/local/bin/gdb -d /projects/ce/samba-2.2.1a/source/smbd
/usr/samba/sbin/smbd 4261
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.13 (sparc-sun-solaris2.3), Copyright 1994 Free Software Foundation, Inc...
/projects/ce/samba-2.2.1a/source/4261: No such file or directory.
Attaching to program `/usr/samba/sbin/smbd', process 4261
Reading symbols from /usr/lib/libsec.so.1...done.
Reading symbols from /usr/lib/libsocket.so.1...done.
Reading symbols from /usr/lib/libnsl.so.1...done.
Reading symbols from /usr/lib/libdl.so.1...done.
Reading symbols from /usr/lib/libc.so.1...done.
Reading symbols from /usr/lib/libintl.so.1...done.
Reading symbols from /usr/lib/libmp.so.1...done.
Reading symbols from /usr/lib/libw.so.1...done.
Reading symbols from /usr/lib/nss_files.so.1...done.
Reading symbols from /usr/lib/nss_nisplus.so.1...done.
0xef6396c8 in _waitid ()
(gdb) bt
#0 0xef6396c8 in _waitid ()
#1 0xef65d504 in _waitpid ()
#2 0xef670d58 in system ()
#3 0xea628 in smb_panic (why=0x137a30 "internal error") at lib/util.c:1099
#4 0xd7284 in fault_report (sig=11) at lib/fault.c:45
#5 0xd72d8 in sig_fault (sig=11) at lib/fault.c:65
#6 <signal handler called>
#7 0xef653c10 in _select ()
#8 0xef6e6a7c in __nis_cast_proc ()
Note that the gbd on this machine did not suport "bt full".
I hope this helps. Let me know if there are other things you
would like me to try. I could not find a reference to nis_cast_proc
in the source directories. We have nis+ running, but I did not
configure it in.
Andrew Bartlett wrote:
>
> Robert Styma wrote:
> >
> > I am getting the same results as Thien Vu.
> > I compiled 2.2.1a on Solaris 2.5.1 and try to connect to
> > it from an NT machine. My configure on the compile was:
> > ./configure --with-utmp --with-automount --with-syslog --with-smbwrapper
> > --prefix=/usr/samba --exec-prefix=/usr/samba
> >
> > I am attaching a debug = 10 log. The only connection attempt was the test
> > causing
> > the problem. I am also including my test smb.conf file.
> >
> > <a href="http://www.swlink.net/~styma/tmp/smb.conf">smb.conf file</a>
> > <a href="http://www.swlink.net/~styma/tmp/log.smbd">log.smbd file</a>
>
> Any chance of you recompiling with ./configure.developer or at least
> --with-debug ? This will enable you to set a 'panic action = /bin/sleep
> 9000' and attach a debugging session.
>
> (If its was a gnu tool chain I would say 'gdb /path/to/smbd pid',
> followed by bt full, but I'm not sure what Solaris uses).
>
> Getting that backtrace gives us a much better idea where the problem is,
> down to the line rather than the last log-file statement.
>
> Thanks for the report,
> Andrew Bartlett
>
> --
> Andrew Bartlett
> abartlet at pcug.org.au
> abartlet at samba.org
> --
> 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: <nailed at videotron.ca>
Delivered-To: samba at lists.samba.org
Received: from VL-MS-MR001.sc1.videotron.ca (relais.videotron.ca
[24.201.245.36]) by lists.samba.org (Postfix) with ESMTP id 56575444F;
Mon, 30 Jul 2001 18:48:39 -0700 (PDT)
Received: from videotron.ca ([24.200.211.91]) by
VL-MS-MR001.sc1.videotron.ca (Netscape Messaging Server 4.15) with
ESMTP id GHBEL100.GH1; Mon, 30 Jul 2001 21:53:25 -0400
Message-ID: <3B660F91.4040308 at videotron.ca>
Date: Mon, 30 Jul 2001 21:53:21 -0400
From: Alain Toussaint <nailed at videotron.ca>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2)
Gecko/20010628
X-Accept-Language: en-us
MIME-Version: 1.0
To: Fred Jackson <fred at arkansaswebs.com>
Cc: samba-ntdom at lists.samba.org, samba at lists.samba.org
Subject: Re: HELP? My first Samba PDC
References: <01073019555305.11482 at bits.linuxball>
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 seem to be having trouble getting client to participate in the
> domain.
which OS your client machine run (i noticed that you had 2 servers but are they going to be accessed by Windows client or Linux + Samba's smbclient) ??
Alain Toussaint
Return-Path: <fulton74 at cis.net>
Delivered-To: samba at lists.samba.org
Received: from hobbes.cis.net (hobbes.cis.net [207.77.168.2]) by
lists.samba.org (Postfix) with ESMTP id 3A14E445D; Mon, 30 Jul 2001
19:06:40 -0700 (PDT)
Received: from whatchamacalit (56k-173-113.cis.net [207.77.173.113]) by
hobbes.cis.net (8.11.1/8.11.1) with SMTP id f6V2BKd20176; Mon, 30 Jul
2001 21:11:20 -0500
From: "Rob & Chrissy Fulton" <fulton74 at cis.net>
To: "'Fred Jackson'" <fred at arkansaswebs.com>,
<samba-ntdom at lists.samba.org>, <samba at lists.samba.org>
Subject: RE: HELP? My first Samba PDC
Date: Mon, 30 Jul 2001 21:13:08 -0500
Message-ID: <000001c11966$58291310$6708a8c0 at fultonpc.net>
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)
In-reply-to: <01073019555305.11482 at bits.linuxball>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Fred, on hppav's smb.conf, the first thing wrong is that "domain logons"
should be NO. the domain logons option is to act as a logon server to other
SMB clients.
If your client is Linux, why not just mount the shares using smbmount??
Rob Fulton
-----Original Message-----
From: samba-admin at lists.samba.org [mailto:samba-admin at lists.samba.org] On
Behalf Of Fred Jackson
Sent: Monday, July 30, 2001 8:00 PM
To: samba-ntdom at lists.samba.org; samba at lists.samba.org
Subject: HELP? My first Samba PDC
Hi,
I've been working two days on setting up a PDC on Samba 2.2.0 in
the office where I work. ( I convinced the boss to let me outfit
the office with linux - replacing windows on four machines out
of six in the office)
I seem to be having trouble getting client to participate in the
domain.
I've read all of the documentation I can stand, and I am simply
missing something..
any help will be appreciated (and I'll pay if I need to to get
the help I need).
THANKS
Fred
I get the following error message when I try to join the client
to the domain:
modify_trust_password: machine BITS 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.).
2001/07/30 19:36:25 : change_trust_account_password: Failed to
change password for domain LINUXB.
Unable to join domain LINUXB.
MY PDC is called bits
my client is hppav
bits smb.conf
________________________________________________
[global]
workgroup = LINUXB
netbios name = BITS
server string = linuxserverbits
encrypt passwords = Yes
smb passwd file = /etc/smbpasswd
log level = 3
syslog = 0
log file = /var/log/samba/%m.log
max log size = 50000
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons = Yes
os level = 65
preferred master = True
domain master = True
dns proxy = No
valid users = fred rick
hosts allow = 192.168.0/24
hosts deny = 1.1.1.1/0.0.0.0
hide dot files = No
[netlogon]
path = /usr/samba/lib/netlogon
writeable = no
write list = ntadmin
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[fred]
comment = bits_share
path = /home/fred/public
username = fred
read only = No
hosts allow = 127.0.0.1 192.168.0.3
__________________________________________________________________
hppav's smb.conf
__________________________________________________________________
[global]
workgroup = LINUXB
netbios name = HPPAV
security = DOMAIN
encrypt passwords = Yes
allow trusted domains = No
password server = bits
restrict anonymous = Yes
log level = 5
syslog = 0
log file = /var/log/samba/%m.log
domain logons = Yes
case sensitive = Yes
hide dot files = No
--
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 smtp.america.net (smtp.america.net [199.170.121.14]) by
lists.samba.org (Postfix) with ESMTP id 51448425B for
<samba at lists.samba.org>; Mon, 30 Jul 2001 19:57:52 -0700 (PDT)
Received: from bits.linuxball (xdsl104.xdsl.pgtc.com [208.161.142.154])
by smtp.america.net (8.9.1/8.9.1) with SMTP id XAA04131 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 23:01:40 -0400 (EDT)
Content-Type: text/plain; charset="iso-8859-1"
From: Fred Jackson <fred at arkansaswebs.com>
To: samba at lists.samba.org
Subject: Re: HELP? My first Samba PDC
Date: Mon, 30 Jul 2001 22:01:15 -0500
X-Mailer: KMail [version 1.2]
References: <01073019555305.11482 at bits.linuxball>
<3B660F91.4040308 at videotron.ca>
In-Reply-To: <3B660F91.4040308 at videotron.ca>
MIME-Version: 1.0
Message-Id: <01073022011509.11482 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 Alain,
i have win98 boxes and linux workstations and 2 linux servers
sharing a multitude of disks and printers to be accessed by
clients with access rights.
Thanks
Fred
On Monday 30 July 2001 08:53 pm, you wrote:
> > I seem to be having trouble getting client to participate in
> > the domain.
>
> which OS your client machine run (i noticed that you had 2
> servers but are they going to be accessed by Windows client or
> Linux + Samba's smbclient) ??
>
> Alain Toussaint
Return-Path: <fred at arkansaswebs.com>
Delivered-To: samba at lists.samba.org
Received: from smtp.america.net (smtp.america.net [199.170.121.14]) by
lists.samba.org (Postfix) with ESMTP id 561B34B55 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 20:34:02 -0700 (PDT)
Received: from bits.linuxball (xdsl104.xdsl.pgtc.com [208.161.142.154])
by smtp.america.net (8.9.1/8.9.1) with SMTP id XAA18900 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 23:38:47 -0400 (EDT)
Content-Type: text/plain; charset="iso-8859-1"
From: Fred Jackson <fred at arkansaswebs.com>
To: samba at lists.samba.org
Subject: a question?
Date: Mon, 30 Jul 2001 22:38:45 -0500
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <0107302238450B.11482 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
does the command line
smbpasswd -j <domain> -r <PDC>
apply to clients joining a domain with a Samba server as the PDC?
Fred
Return-Path: <fulton74 at cis.net>
Delivered-To: samba at lists.samba.org
Received: from hobbes.cis.net (hobbes.cis.net [207.77.168.2]) by
lists.samba.org (Postfix) with ESMTP id 5CAAE4D02 for
<samba at lists.samba.org>; Mon, 30 Jul 2001 20:52:22 -0700 (PDT)
Received: from whatchamacalit (56k-173-113.cis.net [207.77.173.113]) by
hobbes.cis.net (8.11.1/8.11.1) with SMTP id f6V3v4d07085; Mon, 30 Jul
2001 22:57:04 -0500
From: "Rob & Chrissy Fulton" <fulton74 at cis.net>
To: "'Fred Jackson'" <fred at arkansaswebs.com>, <samba at lists.samba.org>
Subject: RE: a question?
Date: Mon, 30 Jul 2001 22:58:52 -0500
Message-ID: <000101c11975$1d6ec030$6708a8c0 at fultonpc.net>
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)
In-reply-to: <0107302238450B.11482 at bits.linuxball>
Sender: samba-admin at lists.samba.org
Errors-To: samba-admin at lists.samba.org
X-BeenThere: samba at lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request at lists.samba.org?subject=help>
List-Post: <mailto:samba at lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>, <mailto:samba-request at lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <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 is an easier way... First, I would recommend going to 2.2.1a because
domain controller support is much better. Then, there is the ability to add
a machine directly from within your windows box (only necessary for NT/2000)
I am assuming that the machine you want to join the domain are winnt or
win2k??
It is not necessary to add non-NT/2000 boxes to the domain as they do not
participate in domain security..
Here is What you do:
Add this to the [global] section of your smb.conf file (or locate this in
SWAT if that's how youre configuring)
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
you may need to change this to reflect the actual location of your useradd
binary...
Now, you MUST have a WINS server running. Either a true MS WINS server
(YUK!) or set the WINS SUPPORT = True
More information about the samba
mailing list