period of
time (hours up to weeks sometimes), and then 'certain' pc's would no
longer
be able to
connect to samba, but other pc's would still be working. And the pc's
affected are not
the same each time.
this might be the case if what is REALLY going on is that the pc's that are
STILL working
never lost their connection to SAMBA/iX, so they already(still) have a
working smbd process.
The pc's that are NOT working have possibly lost their connection sometime
in the past
(due to no traffic, auto disconnect, whatever), and now when Windows tries
to 'transparently'
reconnect to the server//share in the background, the reconnection is
failing because of
what you are seeing in the log file:
Added interface ip=<system ip> bcast=<bcast addr>
nmask=<nmask>> 07/06/01 15:05:12 loaded services
> standard input is not a socket, assuming -D option
> Unsupported Samba/iX 0.7 by lappel@grc.hp.com 4/97
> 07/06/01 15:05:12 staying in job mode on MPE
> bind failed on port 139 socket_addr=0 (Address already in use)
What that is telling me is that SOME process/service/job is bound to port
137 on the ipaddress
that the pc's that are having the problem are trying to attach to, and a new
smbd process cannot
be spawned because it can't bind to port 139 (the session port).
So that's what you have to figure out at this point; I would still recommend
that until you get
this issue resolved that you remove smbd and nmbd from your inetd.conf file,
bounce inetd, and
then start smbd and nmbd up via the jnmbd and jsmbd job files. THEN if this
problem occurs again,
before killing the jobs and restarting them, work with the customer to look
at all the open ports
and connections involving port 139 on the system using nettool.net.sys
(SOCKINFO)and figure out
who is hogging that port...
Sorry, there may be a better way to do this - I'm not as up on MPE/iX
networking as I should be..
Don
-----Original Message-----
From: Jansen, Eric [mailto:Eric_Jansen@cdillc.com]
Sent: Monday, July 09, 2001 5:04 PM
To: 'MCCALL,DON (HP-USA,ex1)'; HP3000-L@RAVEN.UTC.EDU;
samba@lists.samba.org
Subject: RE: samba unreachable from some pc's and not from others
Don,
setting the log-level to 0 didn't help.
Do you know what version of Samba is tested on 5.5 and if the hanging is
resolved in that or is it a patch at the system level?
Kind regards,
Eric Jansen
Technical Consultant
Computer Design & Integration, LLC
696 Route 46 West, Teterboro, NJ 07608
Phone: 201-931-1420 x313
Fax: 201-931-0101
Pager: 973-205-1236
eric_jansen@cdillc.com
www.cdillc.com
> -----Original Message-----
> From: MCCALL,DON (HP-USA,ex1) [mailto:don_mccall@hp.com]
> Sent: Monday, July 09, 2001 10:05 AM
> To: 'Jansen, Eric'; HP3000-L@RAVEN.UTC.EDU; samba@lists.samba.org
> Subject: RE: samba unreachable from some pc's and not from others
>
>
> Hello Jansen,
> On MPE/iX I would recommend that you do NOT run samba
> under inetd control; stream the job files instead. I have heard some
> instances where services run under inetd would hang (ftp included,
> sometimes), but I don't have any specifics.
> There is also an issue with Samba/iX where the log files
> would not roll over
> in the old 5.5 version. Make sure that in your smb.conf file
> you have log
> level = 0 and log size = 10000, so you don't hit a point
> where samba needs
> to rename the logs, and hangs from that. (That issue is
> fixed in patches
> for Samba/iX for 6.0, 6.5 & 7.0 MPE/iX).
>
> Hope this helps,
> Don
>
> -----Original Message-----
> From: Jansen, Eric [mailto:Eric_Jansen@cdillc.com]
> Sent: Monday, July 09, 2001 9:50 AM
> To: HP3000-L@RAVEN.UTC.EDU; samba@lists.samba.org
> Subject: samba unreachable from some pc's and not from others
>
>
> Hi all,
>
> One of our clients has samba version 1.9.16p9 running on a
> HP3000 MPE system
> with OS 5.5 05 p9 (yes, I know it is an old one but the
> client doesn't want
> to upgrade).
>
> After some time of working fine; sometimes weeks, sometimes
> hours; samba is
> unreachable from some pc's.
> We don't really see a certain scenario in which it happens
> neither do we
> have problems with certain pc's, they differ every time.
>
>
> log.smb error:
> -------------
> Added interface ip=<system ip> bcast=<bcast addr>
nmask=<nmask>
> 07/06/01 15:05:12 loaded services
> standard input is not a socket, assuming -D option
> Unsupported Samba/iX 0.7 by lappel@grc.hp.com 4/97
> 07/06/01 15:05:12 staying in job mode on MPE
> bind failed on port 139 socket_addr=0 (Address already in use)
> -------------
>
> I checked the network settings with a CISCO network
> specialist and all was
> fine. We also "sniffered" the traffic to the HP3000 and have seen
the
> following errors: "window frozen" and "acknowledgement too
long". This
> usually reflects to a time-out. Since pinging the system gave a quick
> response time, the network is fine (right?).
>
> To me it seems that the port 139 got hung up for a reason.
>
> Has anybody experienced the same and what can I do to solve it?
> For now we bounce the inetd.
>
> Thanks in advance for your help.
>
> Kind regards,
>
>
> Eric Jansen
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
Return-Path: <smb-clients-admin@lists.samba.org>
Delivered-To: samba@lists.samba.org
Received: from master.s7.ru (master.s7.ru [195.151.47.130]) by
lists.samba.org (Postfix) with ESMTP id E2BD0425A; Sun, 8 Jul 2001
21:52:33 -0700 (PDT)
Received: from P2-307 ([172.18.18.205]) by master.s7.ru (8.10.1/8.8.7)
with ESMTP id f694sWB30002; Mon, 9 Jul 2001 11:54:32 +0700
Received: from viola.sinor.ru (viola.sinor.ru [217.70.106.9]) by
master.s7.ru (8.10.1/8.8.7) with ESMTP id f5BFFao21917 for
<a.pinskih@s7.ru>; Mon, 11 Jun 2001 22:15:37 +0700
Received: from mail.sibverk.nsk.ru (p147.bass3.sinor.ru
[217.70.108.147]) by viola.sinor.ru (8.9.3/8.9.3) with ESMTP id
WAA18510 for <a.pinskih@s7.ru>; Mon, 11 Jun 2001 22:16:30 +0700
Received: from localhost (IDENT:root@localhost [127.0.0.1]) by
mail.sibverk.nsk.ru (8.10.1/8.10.0) with ESMTP id f5BMU8b23149 for
<andre@sibverk.nsk.ru>; Mon, 11 Jun 2001 22:30:09 GMT
Received: from ntlg.sibnet.ru by localhost with IMAP (fetchmail-5.3.1)
for andre@sibverk.nsk.ru (multi-drop); Mon, 11 Jun 2001 22:30:09 +0000
(UTC)
Received: from lists.samba.org (samba.sourceforge.net [198.186.203.85])
by ntlg.sibnet.ru (8.9.3+Sun/8.9.3) with ESMTP id TAA23301 for
<andre@sibverk.nsk.ru>; Mon, 11 Jun 2001 19:08:52 +0400 (MSD)
Received: from va.samba.org (localhost [127.0.0.1]) by lists.samba.org
(Postfix) with ESMTP id ECFAD4AC8; Mon, 11 Jun 2001 08:09:04 -0700
(PDT)
Delivered-To: smb-clients@lists.samba.org
Received: from kalug.ks.edu.tw (unknown [163.16.4.8]) by lists.samba.org
(Postfix) with ESMTP id 1F03D488E; Mon, 11 Jun 2001 08:08:23 -0700
(PDT)
Received: from localhost (chihchun@localhost) by kalug.ks.edu.tw
(8.9.3/8.9.3) with ESMTP id WAA26298; Mon, 11 Jun 2001 22:54:57 +0800
From: Rex Tsai <chihchun@kalug.linux.org.tw>
X-Sender: chihchun@kalug.ks.edu.tw
To: samba@lists.samba.org
Cc: smb-clients@lists.samba.org, chihchun@kalug.linux.org.tw
Subject: smbcleint - resume support.
Message-ID: <Pine.LNX.4.10.10106112239070.26239-101000@kalug.ks.edu.tw>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-ID: <Pine.LNX.4.10.10106112241230.26239@kalug.ks.edu.tw>
X-BeenThere: smb-clients@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
Date: Mon, 11 Jun 2001 22:54:57 +0800 (CST)
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@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hi, I added several commands for get file restarting at end of
localfile. These commands are copied from netkit-ftp.
It's very useful when download big files from internet. :-)
-Rex
--
Best Regards, <chihchun_at_kalug.linux.org.tw>
[demime 0.98b removed an attachment of type APPLICATION/OCTET-STREAM which had a
NAME of resume.patch.gz]
Return-Path: <smb-clients-admin@lists.samba.org>
Delivered-To: samba@lists.samba.org
Received: from master.s7.ru (master.s7.ru [195.151.47.130]) by
lists.samba.org (Postfix) with ESMTP id 4C180421A; Sun, 8 Jul 2001
21:52:31 -0700 (PDT)
Received: from P2-307 ([172.18.18.205]) by master.s7.ru (8.10.1/8.8.7)
with ESMTP id f694sVB29983; Mon, 9 Jul 2001 11:54:31 +0700
Received: from viola.sinor.ru (viola.sinor.ru [217.70.106.9]) by
master.s7.ru (8.10.1/8.8.7) with ESMTP id f5C9FQo12118 for
<a.pinskih@s7.ru>; Tue, 12 Jun 2001 16:15:26 +0700
Received: from mail.sibverk.nsk.ru (p104.bass2.sinor.ru
[217.70.108.104]) by viola.sinor.ru (8.9.3/8.9.3) with ESMTP id
QAA27981 for <a.pinskih@s7.ru>; Tue, 12 Jun 2001 16:16:21 +0700
Received: from localhost (IDENT:root@localhost [127.0.0.1]) by
mail.sibverk.nsk.ru (8.10.1/8.10.0) with ESMTP id f5CGU6b25061 for
<andre@sibverk.nsk.ru>; Tue, 12 Jun 2001 16:30:07 GMT
Received: from ntlg.sibnet.ru by localhost with IMAP (fetchmail-5.3.1)
for andre@sibverk.nsk.ru (multi-drop); Tue, 12 Jun 2001 16:30:07 +0000
(UTC)
Received: from lists.samba.org (samba.sourceforge.net [198.186.203.85])
by ntlg.sibnet.ru (8.9.3+Sun/8.9.3) with ESMTP id MAA06393 for
<andre@sibverk.nsk.ru>; Tue, 12 Jun 2001 12:49:46 +0400 (MSD)
Received: from va.samba.org (localhost [127.0.0.1]) by lists.samba.org
(Postfix) with ESMTP id E5BEB4D5A; Tue, 12 Jun 2001 01:48:18 -0700
(PDT)
Delivered-To: smb-clients@lists.samba.org
Received: from kalug.ks.edu.tw (kalug.ks.edu.tw [163.16.4.8]) by
lists.samba.org (Postfix) with ESMTP id DF9B64D1C; Tue, 12 Jun 2001
01:47:27 -0700 (PDT)
Received: from localhost (chihchun@localhost) by kalug.ks.edu.tw
(8.9.3/8.9.3) with ESMTP id QAA29795; Tue, 12 Jun 2001 16:34:31 +0800
From: Rex Tsai <chihchun@kalug.linux.org.tw>
X-Sender: chihchun@kalug.ks.edu.tw
To: samba@lists.samba.org
Cc: chihchun@kalug.linux.org.tw, samba-patches@lists.samba.org,
samba-technical@lists.samba.org, smb-clients@lists.samba.org
Subject: Improved smbclient resume support.
Message-ID: <Pine.LNX.4.10.10106121623020.29769-100000@kalug.ks.edu.tw>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
X-BeenThere: smb-clients@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
Date: Tue, 12 Jun 2001 16:34:31 +0800 (CST)
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Sorry, I'm newbie. :(
send this again.
This patch added "reget" "hash" and "tick"
commands.
It's very useful when download big files from internet. :-)
-Rex
Best Regards, <chihchun_at_kalug.linux.org.tw>
--
--- samba-2.0.9.orig/source/client/client.c Wed Apr 18 07:00:52 2001
+++ samba-2.0.9/source/client/client.c Mon Jun 11 21:37:16 2001
@@ -49,6 +49,8 @@
static int process_tok(fstring tok);
static void cmd_help(void);
+static void cmd_hash(void);
+static void cmd_tick(void);
/* 30 second timeout on most commands */
#define CLIENT_TIMEOUT (30*1000)
@@ -57,6 +59,9 @@
/* value for unused fid field in trans2 secondary request */
#define FID_UNUSED (0xFFFF)
+#define HASHBYTES 1024
+#define TICKBYTES 10240
+
time_t newer_than = 0;
int archive_level = 0;
@@ -77,6 +82,8 @@
mode_t myumask = 0755;
BOOL prompt = True;
+BOOL hash = False;
+BOOL tick = False;
int printmode = 1;
@@ -651,6 +658,7 @@
uint16 attr;
size_t size;
off_t nread = 0;
+ off_t hashbytes = HASHBYTES;
GetTimeOfDay(&tp_start);
@@ -703,10 +711,29 @@
DEBUG(0,("Error writing local file\n"));
break;
}
-
+
+ if (hash) {
+ while (nread >= hashbytes) {
+ (void) putchar('#');
+ hashbytes += HASHBYTES;
+ }
+ (void) fflush(stdout);
+ }
+ if (tick && (nread >= hashbytes)) {
+ printf("\rBytes transferred: %ld", nread);
+ (void) fflush(stdout);
+ while (nread >= hashbytes)
+ hashbytes += TICKBYTES;
+ }
+
nread += n;
}
+ if (hash || tick) {
+ (void) putchar('\n');
+ (void) fflush(stdout);
+ }
+
if (nread < size) {
DEBUG (0, ("Short read when getting file %s. Only got %ld
bytes.\n",
rname, (long)nread));
@@ -770,6 +797,198 @@
do_get(rname, lname);
}
+/****************************************************************************
+ get a file from rname to lname
+ ****************************************************************************/
+static void do_reget(char *rname,char *lname)
+{
+ int handle=0,fnum;
+ BOOL newhandle = False;
+ char *data;
+ struct timeval tp_start;
+ int read_size = io_bufsize;
+ uint16 attr;
+ size_t size;
+ off_t nread = 0;
+ off_t hashbytes = HASHBYTES;
+
+ GetTimeOfDay(&tp_start);
+
+ if (lowercase) {
+ strlower(lname);
+ }
+
+ fnum = cli_open(cli, rname, O_RDONLY, DENY_NONE);
+
+ if (fnum == -1) {
+ DEBUG(0,("%s opening remote file
%s\n",cli_errstr(cli),rname));
+ return;
+ }
+
+ if(!strcmp(lname,"-")) {
+ handle = fileno(stdout);
+ } else {
+ struct stat stbuf;
+ int ret;
+
+ ret = stat(lname, &stbuf);
+ if (ret < 0) {
+ DEBUG(2, ("local: %s: %s\n", lname, strerror(errno)));
+ return;
+ }
+
+ nread = stbuf.st_size;
+ handle = sys_open(lname, O_RDWR, 0);
+ lseek(handle, (long)nread, 0);
+ newhandle = True;
+ }
+ if (handle < 0) {
+ DEBUG(0,("Error opening local file %s\n",lname));
+ return;
+ }
+
+
+ if (!cli_qfileinfo(cli, fnum,
+ &attr, &size, NULL, NULL, NULL, NULL, NULL)
&&
+ !cli_getattrE(cli, fnum,
+ &attr, &size, NULL, NULL, NULL)) {
+ DEBUG(0,("getattrib: %s\n",cli_errstr(cli)));
+ return;
+ }
+
+ DEBUG(2,("regetting file %s of size %.0f as %s ",
+ lname, (double)size, lname));
+
+ if(!(data = (char *)malloc(read_size))) {
+ DEBUG(0,("malloc fail for size %d\n", read_size));
+ cli_close(cli, fnum);
+ return;
+ }
+
+ while (1) {
+ int n = cli_read(cli, fnum, data, nread, read_size);
+
+ if (n <= 0) break;
+
+ if (writefile(handle,data, n) != n) {
+ DEBUG(0,("\nError writing local file: %s\n",
strerror(errno)));
+ break;
+ }
+
+ if (hash) {
+ while (nread >= hashbytes) {
+ (void) putchar('#');
+ hashbytes += HASHBYTES;
+ }
+ (void) fflush(stdout);
+ }
+ if (tick && (nread >= hashbytes)) {
+ printf("\rBytes transferred: %ld", nread);
+ (void) fflush(stdout);
+ while (nread >= hashbytes)
+ hashbytes += TICKBYTES;
+ }
+
+ nread += n;
+ }
+
+ if (hash || tick) {
+ (void) putchar('\n');
+ (void) fflush(stdout);
+ }
+
+ if (nread < size) {
+ DEBUG (0, ("Short read when getting file %s. Only got %ld
bytes.\n",
+ rname, (long)nread));
+ }
+
+ free(data);
+
+ if (!cli_close(cli, fnum)) {
+ DEBUG(0,("Error %s closing remote
file\n",cli_errstr(cli)));
+ }
+
+ if (newhandle) {
+ close(handle);
+ }
+
+ if (archive_level >= 2 && (attr & aARCH)) {
+ cli_setatr(cli, rname, attr & ~(uint16)aARCH, 0);
+ }
+
+ {
+ struct timeval tp_end;
+ int this_time;
+
+ GetTimeOfDay(&tp_end);
+ this_time =
+ (tp_end.tv_sec - tp_start.tv_sec)*1000 +
+ (tp_end.tv_usec - tp_start.tv_usec)/1000;
+ get_total_time_ms += this_time;
+ get_total_size += nread;
+
+ DEBUG(2,("(%g kb/s) (average %g kb/s)\n",
+ nread / (1.024*this_time + 1.0e-4),
+ get_total_size / (1.024*get_total_time_ms)));
+ }
+}
+
+
+/****************************************************************************
+ get file restarting at end of local file
+ ****************************************************************************/
+static void cmd_reget(void)
+{
+ pstring lname;
+ pstring rname;
+ char *p;
+
+ pstrcpy(rname,cur_dir);
+ pstrcat(rname,"\\");
+
+ p = rname + strlen(rname);
+
+ if (!next_token(NULL,p,NULL,sizeof(rname)-strlen(rname))) {
+ DEBUG(0,("reget <filename>\n"));
+ return;
+ }
+ pstrcpy(lname,p);
+ dos_clean_name(rname);
+
+ next_token(NULL,lname,NULL,sizeof(lname));
+
+ do_reget(rname, lname);
+}
+
+/****************************************************************************
+ toggle hash mark printing during transfers.
+ ****************************************************************************/
+static void cmd_hash(void)
+{
+ hash = !hash;
+ if (hash && tick)
+ cmd_tick();
+
+ DEBUG(2,("Hash mark printint %s", hash ? "on" :
"off" ));
+ if (hash)
+ DEBUG(2,(" (%d bytes/hash mark)", HASHBYTES));
+ DEBUG(2,("\n"));
+}
+
+/****************************************************************************
+ toggle printing byte counter during transfers
+ ****************************************************************************/
+static void cmd_tick(void)
+{
+ tick = !tick;
+ if (hash && tick)
+ cmd_hash();
+
+ DEBUG(2, ("Tick counter printing %s", tick ? "on" :
"off"));
+ if (tick)
+ DEBUG(2,(" (%d bytes/tick increment)", TICKBYTES));
+ DEBUG(2,("\n"));
+}
/****************************************************************************
do a mget operation on one file
@@ -988,6 +1207,7 @@
int fnum;
FILE *f;
int nread=0;
+ int hashbytes = HASHBYTES;
char *buf=NULL;
int maxwrite=io_bufsize;
@@ -1039,9 +1259,28 @@
break;
}
+ if (hash) {
+ while (nread >= hashbytes) {
+ (void) putchar('#');
+ hashbytes += HASHBYTES;
+ }
+ (void) fflush(stdout);
+ }
+ if (tick && (nread >= hashbytes)) {
+ printf("\rBytes transferred: %ld", nread);
+ (void) fflush(stdout);
+ while (nread >= hashbytes)
+ hashbytes += TICKBYTES;
+ }
+
nread += n;
}
+ if (hash || tick) {
+ (void) putchar('\n');
+ (void) fflush(stdout);
+ }
+
if (!cli_close(cli, fnum)) {
DEBUG(0,("%s closing remote file
%s\n",cli_errstr(cli),rname));
fclose(f);
@@ -1658,6 +1897,9 @@
{"cd",cmd_cd,"[directory] change/report the remote
directory",{COMPL_REMOTE,COMPL_NONE}},
{"pwd",cmd_pwd,"show current remote directory (same as
'cd' with no args)",{COMPL_NONE,COMPL_NONE}},
{"get",cmd_get,"<remote name> [local name] get a
file",{COMPL_REMOTE,COMPL_LOCAL}},
+ {"reget",cmd_reget,"get file restarting at end of local
file",{COMPL_REMOTE,COMPL_LOCAL}},
+ {"hash",cmd_hash,"toggle printing `#' for each buffer
transferred",{COMPL_REMOTE,COMPL_LOCAL}},
+ {"tick",cmd_tick,"toggle printing byte counter during
transfers",{COMPL_REMOTE,COMPL_LOCAL}},
{"mget",cmd_mget,"<mask> get all the matching
files",{COMPL_REMOTE,COMPL_NONE}},
{"put",cmd_put,"<local name> [remote name] put a
file",{COMPL_LOCAL,COMPL_REMOTE}},
{"mput",cmd_mput,"<mask> put all matching
files",{COMPL_REMOTE,COMPL_NONE}},
Return-Path: <gross@uni-kassel.de>
Delivered-To: samba@lists.samba.org
Received: from notes.verwaltung.uni-kassel.de
(notes.verwaltung.uni-kassel.de [141.51.98.12]) by lists.samba.org
(Postfix) with ESMTP id D1CD247AE for <samba@lists.samba.org>; Mon, 9
Jul 2001 15:58:51 -0700 (PDT)
Subject: Siegfried
=?iso-8859-1?Q?Gro=DF=2FAbt1=2FVerwaltung=2FUni-Kassel_ist_au=DFer_Hau
s?= =?us-ascii?Q?=2E?From: gross@uni-kassel.de
To: samba@lists.samba.org
Message-ID: <OFA95844BA.52F68CFF-ONC1256A84.007E7698@verwaltung.uni-kass
el.de>
Date: Tue, 10 Jul 2001 01:01:18 +0200
X-MIMETrack: Serialize by Router on
notes.verwaltung.uni-kassel.de/Uni-Kassel(Release 5.0.6a |January 17,
2001) at 10.07.2001 01:02:10
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7bit
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Ich werde ab 09.07.2001 nicht im B|ro sein. Ich kehre zur|ck am
16.07.2001.
Ich werde Ihre Nachricht nach meiner R|ckkehr beantworten.
Return-Path: <gfk@logidac.com>
Delivered-To: samba@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 861E344D8
for <samba@lists.samba.org>; Mon, 9 Jul 2001 17:31:32 -0700 (PDT)
Received: from [192.168.0.1] ([24.201.47.82]) by
VL-MS-MR001.sc1.videotron.ca (Netscape Messaging Server 4.15) with
ESMTP id GG8EY200.RRP for <samba@lists.samba.org>; Mon, 9 Jul 2001
20:34:50 -0400
Mime-Version: 1.0
X-Sender: (Unverified)
Message-Id: <p04330101b76ff4d54488@[192.168.0.1]>
Date: Mon, 9 Jul 2001 20:33:45 -0400
To: samba@lists.samba.org
From: Guillaume Filion <gfk@logidac.com>
Subject: timeout connecting to smbd?
Content-Type: text/plain; charset="iso-8859-1" ;
format="flowed"
Content-Transfer-Encoding: 7bit
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hi all,
I recently installed samba using RPMs from RedHat (samba-2.0.10-0.62,
samba-common-2.0.10-0.62, samba-client-2.0.10-0.62). I also followed
the intructions in Samba-HOWTO-Collection.pdf
I'm using kernel-2.2.16-3 with glibc-2.1.3-22.
testparm did not produce any error. (see its output at
http://logidac.com/gfk/testparm.txt)
When doing smbclient -L CESAM, I get:
-----
[root@cesam /]# smbclient -L CESAM
added interface ip=192.168.0.3 bcast=192.168.0.255 nmask=255.255.255.0
timeout connecting to 192.168.0.3:139
Connection to CESAM failed
-----
Telneting to 192.168.0.3:139 also times out.
However smbd is listening to port 139:
-----
[root@cesam /]# netstat -tupan | fgrep ':139'
tcp 0 0 0.0.0.0:139 0.0.0.0:*
LISTEN 10422/
[root@cesam /]# ps auxwww | fgrep '10422'
root 10422 0.0 0.0 2432 0 ? SW Jul08 0:00 [smbd]
root 21990 0.0 1.2 1140 376 pts/1 D 20:07 0:00 fgrep 10422
[root@cesam /]#
-----
Also, nmblookup works nicely:
-----
[root@cesam /]# nmblookup -B CESAM __SAMBA__
querying __SAMBA__ on 192.168.0.3
192.168.0.3 __SAMBA__<00>
[root@cesam /]# nmblookup -B ACLIENT '*'
querying * on 0.0.0.0
192.168.0.3 *<00>
-----
I've done everything in DIAGNOSIS.txt: everything related to smbd
does not work, everything related to nmbd does work. The solutions
provided in DIAGNOSIS.txt did not work. I've also search (quickly)
the mailing list archive but did not find anything relevant...
Anyone knows how to solve my problem?
If you want me to do any other test, just ask; I really want to make
samba work... 8)
GFK's
--
Guillaume Filion
Logidac Tech., Beaumont, Quibec, Canada - http://logidac.com/
PGP Key: http://guillaume.filion.org/pgp (this will redirect)
PGP Fingerprint: 14A6 720A F7BA 6C87 2331 33FD 467E 9198 3DED D5CA
Return-Path: <armand@welshhome.org>
Delivered-To: samba@lists.samba.org
Received: from welshhome.org
(CBL137.pool007.CH001-riverside.dhcp.hs.earthlink.net [24.41.38.137])
by lists.samba.org (Postfix) with ESMTP id B9E7344EB; Mon, 9 Jul 2001
18:13:48 -0700 (PDT)
Received: from [192.168.2.101] (HELO nelson) by welshhome.org
(CommuniGate Pro SMTP 3.3) with ESMTP id 250111; Mon, 09 Jul 2001
18:29:11 -0700
Message-ID: <006801c108de$e1e49360$6502a8c0@welshhome.org>
From: "Armand Welsh" <armand@welshhome.org>
To: <murali@epiphany.com>, <samba-ntdom@lists.samba.org>,
<samba@lists.samba.org>
References: <38A6C7D1B5A8D4118D5B00508B5E08E314611F@goofy.epiphany.com>
Subject: Re: Accessing NT shares from Unix shell via samba
Date: Mon, 9 Jul 2001 18:23:00 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 6.00.2462.0000
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
*This message was transferred with a trial version of CommuniGate(tm) Pro*
smbclient will allow unix users to work with the NT shares in much the same
way as an FTP client.
To mount NT shares to a unix server, you may need a 3rd party application.
I am only aware of such support through smbfs which is a linux kernel
module.
----- Original Message -----
From: <murali@epiphany.com>
To: <samba-ntdom@lists.samba.org>; <samba@lists.samba.org>
Sent: Thursday, July 05, 2001 2:02 PM
Subject: Accessing NT shares from Unix shell via samba
> *This message was transferred with a trial version of CommuniGate(tm) Pro*
> Greetings!
>
> Hi Samba Gurus,
>
> I have set up Samba so that NT users can access the Unix file systems.
>
> How can I set up samba in way the Unix users can access the NT shared
drives> from
> the Unix shell command?
>
> Any info or pointers would be very much appreciated.
>
> Thanks,
> Murali
>
Return-Path: <dahackermd@yahoo.com>
Delivered-To: samba@lists.samba.org
Received: from smtp5ve.mailsrvcs.net (smtp5vepub.gte.net
[206.46.170.26]) by lists.samba.org (Postfix) with ESMTP id 3371A4E11
for <samba@lists.samba.org>; Mon, 9 Jul 2001 18:14:35 -0700 (PDT)
Received: from dahacker
(adsl-141-157-88-191.baltmd.adsl.bellatlantic.net [141.157.88.191]) by
smtp5ve.mailsrvcs.net (8.9.1/8.9.1) with ESMTP id BAA26277725 for
<samba@lists.samba.org>; Tue, 10 Jul 2001 01:17:52 GMT
Message-Id: <4.2.0.58.20010709211400.0094fcc0@mailbox.bellatlantic.net>
X-Sender: DAHackerMD@pop.mail.yahoo.com
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58
Date: Mon, 09 Jul 2001 21:17:35 -0400
To: samba@lists.samba.org
From: Dustin Aldridge <dahackermd@yahoo.com>
Subject: Samba smbpasswd giving NT_STATUS_INVALID_COMPUTER_NAME error
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
I'm at wits end here. I can't get the Samba server to add to an NT
domain. I've read tens of messages here and tried everything.
Here are the results I get:
# ./smbpasswd -j OMI_MAIN -r OMI-NTS1
cli_net_req_chal: Error NT_STATUS_INVALID_COMPUTER_NAME
cli_nt_setup_creds: request challenge failed
modify_trust_password: unable to setup the PDC credentials to machine
OMI-NTS1. Error was : NT_STATUS_INVALID_COMPUTER_NAME.
2001/07/09 17:32:23 : change_trust_account_password: Failed to change
password for domain OMI_MAIN.
Unable to join domain OMI_MAIN.
Yes, I added the particular computer "TOYS" at the PDC. And deleted
it...and added it..and deleted it..and added it.
Setup: Solaris 8, Samba 2.2.0a (Tried both binary and self compiled source
packages with the same results). The PDC is a Win NT 4.0 SP6 box.
smb.conf:
# Global parameters
[global]
workgroup = OMI_MAIN
netbios name = TOYS
server string = Samba Server
security = DOMAIN
encrypt passwords = Yes
log file = /usr/local/samba/var/log.%m
max log size = 50
dns proxy = No
[homes]
comment = Home Directories
read only = No
browseable = No
[printers]
comment = All Printers
path = /usr/spool/samba
printable = Yes
browseable = No
I even pulled out the sniffer to see if Samba was talking to the PDC.
It was. They talk back and forth for a bit before the error is given.
Return-Path: <brown@mrvideo.vidiot.com>
Delivered-To: samba@lists.samba.org
Received: from mrvideo.vidiot.com (mrvideo.vidiot.com [208.171.49.43])
by lists.samba.org (Postfix) with ESMTP id 9C4F24808 for
<samba@lists.samba.org>; Mon, 9 Jul 2001 18:41:28 -0700 (PDT)
Received: (from brown@localhost) by mrvideo.vidiot.com (8.11.2/8.9.3) id
f6A1hwK24183 for samba@lists.samba.org; Mon, 9 Jul 2001 20:43:58 -0500
From: Vidiot <brown@mrvideo.vidiot.com>
Message-Id: <200107100143.f6A1hwK24183@mrvideo.vidiot.com>
Subject: 2.2.x compile minor issue
To: samba@lists.samba.org (Samba General Mail List)
Date: Mon, 9 Jul 2001 20:43:58 -0500 (CDT)
X-Mailer: ELM [version 2.5 PL3]
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
The PDF manual says to go into the source tree and run configure.
That I did. When I run make, I get:
WARNING: you need to run configure
But, I just ran configure. Why am I getting this error messager?
MB
--
e-mail: vidiot@vidiot.com
Bart: Hey, why is it destroying other toys? Lisa: They must have
programmed it to eliminate the competition. Bart: You mean like
Microsoft? Lisa: Exactly. [The Simpsons - 12/18/99]
Visit - URL:http://www.vidiot.com/ (Your link to Star Trek and UPN)
Return-Path: <drankin@cox-internet.com>
Delivered-To: samba@lists.samba.org
Received: from io.cox-internet.com (unknown [208.180.118.41]) by
lists.samba.org (Postfix) with ESMTP id 1C008440E for
<samba@lists.samba.org>; Mon, 9 Jul 2001 19:11:20 -0700 (PDT)
Received: from cox-internet.com ([66.76.40.151]) by io.cox-internet.com
(InterMail vK.4.02.00.10 201-232-116-110 license
dd72657b95c070b1853187e4f5a0d6a7) with ESMTP id
<20010710021231.ZXDM29067.io@cox-internet.com>; Mon, 9 Jul 2001
21:12:31 -0500
Message-ID: <3B4A64DA.ED24F72F@cox-internet.com>
Date: Mon, 09 Jul 2001 21:13:47 -0500
From: David Rankin <drankin@cox-internet.com>
X-Mailer: Mozilla 4.7 [en]C-NSCPCD (Win98; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Barry Callahan <barryc@rjlsystems.com>
Cc: samba@lists.samba.org
Subject: Re: script around smbtar
References: <200107092140.f69Leru27926@rjlsystems.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Barry Callahan wrote:
> I'm writing a bourne shellscript (which is attached, btw) to back up
certain
> data from our Windows machines.
>
> $SMB_INDEX_DIR contains text files which are named after the Windows
machines I
> want to backup. The files contain the list of shares (one per line) to
save to
> tape.
>
> The index file I'm testing against looks like:
> Test
> My\ Documents
> ^D
>
> Smbtar connects to the Test share and sends it to the tape with no
problems, but
> when it ges to My\ Documents, the share smbtar tries to connect to is
'My\'
> The reason this is so confusing to me is that the echo immediately before
the
> smbtar call properly displays My\ Documents as 'My Documents'
>
> Does anyone have any suggestions?
>
> Thanks.
>
> Barry
>
> [demime 0.98b removed an attachment of type APPLICATION/x-sun-shell-script
which had a name of backup.sh]
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
Try
"My Documents" in quotes. I had a similar problem with smbmount. The
quotes worked.
--
David C. Rankin, J.D., P.E.
ASEL -- Instrument
Nacogdoches, Texas
N31 34.7 W094 42.6
355 MSL
Return-Path: <jbenedet@unm.edu>
Delivered-To: samba@lists.samba.org
Received: from linux06.unm.edu (linux06.unm.edu [129.24.15.38]) by
lists.samba.org (Postfix) with SMTP id 9A162440E for
<samba@lists.samba.org>; Mon, 9 Jul 2001 19:38:11 -0700 (PDT)
Received: (qmail 7067 invoked by uid 124); 10 Jul 2001 02:41:26 -0000
Received: from jbenedet@unm.edu by linux06.unm.edu with
qmail-scanner-0.96 (. Clean. Processed in 0.014327 secs); 10 Jul 2001
02:41:26 -0000
Received: from bldg87-0053.unm.edu (129.24.204.111) by linux06.unm.edu
with SMTP; 10 Jul 2001 02:41:26 -0000
Date: Mon, 09 Jul 2001 20:41:13 -0600
From: John Benedetto <jbenedet@unm.edu>
To: samba@lists.samba.org
Cc: Barry Callahan <barryc@rjlsystems.com>
Subject: Re: script around smbtar
Message-ID: <2573827984.994711273@bldg87-0053.unm.edu>
In-Reply-To: <3B4A64DA.ED24F72F@cox-internet.com>
Originator-Info: login-token=Mulberry:01wmggmyzKhQlCzIoa2RuMDQW6khZLlmjE
Nw=X-Mailer: Mulberry/2.0.5 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
--On Monday, July 09, 2001 9:13 PM -0500 David Rankin
<drankin@cox-internet.com> wrote:
> Barry Callahan wrote:
>
>> I'm writing a bourne shellscript (which is attached, btw) to back
up
>> certain data from our Windows machines.
<SNIP>>> [demime 0.98b removed an attachment of type
>> APPLICATION/x-sun-shell-script which had a name of backup.sh] --
How about sending your script as the body of the message and not as an
attachment, since the mailing list removes any attachments you send? I'm
interested in at least looking at it. (thanks)
- john
Return-Path: <tai@urd.spidernet.to>
Delivered-To: samba@lists.samba.org
Received: from urd.spidernet.to (HubS-mcr-24-24-112-28.midsouth.rr.com
[24.24.112.28]) by lists.samba.org (Postfix) with ESMTP id 09491466A
for <samba@lists.samba.org>; Mon, 9 Jul 2001 21:26:41 -0700 (PDT)
Received: by urd.spidernet.to (Postfix, from userid 1000) id 8B198C432D;
Mon, 9 Jul 2001 23:51:10 -0500 (CDT)
Received: from localhost (localhost [127.0.0.1]) by urd.spidernet.to
(Postfix) with ESMTP id 7000DC40B5 for <samba@lists.samba.org>; Mon,
9 Jul 2001 23:51:10 -0500 (CDT)
Date: Mon, 9 Jul 2001 23:51:10 -0500 (CDT)
From: tai <tai@urd.spidernet.to>
To: samba@lists.samba.org
Subject: I thought I knew what I was doing...
Message-ID: <Pine.BSO.4.21.0107092253380.30403-100000@urd.spidernet.to>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hi,
I have used samba before, and had everything working, a few years
back. Recently, I had a need to use it again in my home network. Here's
what I have.
Server: OpenBSD 2.9, samba-2.2.0a
2 PCs each running
WinNT 4.0 workstation, service pack 5/6a.
Workgroup: GODDESSES
Services running:
computer browser
MS TCP/IP Printing
NetBIOS interface
RPC configuration
Server
Workstation
Protocol: TCP/IP
At first, Network Neighborhood can't even be browsed, I would get
an error about network not being enabled. This is patently false as I can
happily ssh to my server everyday.
Went in to smb.conf and enabled the WINS stuff. Now, I can see
"entire network" (that's all). Click on entire network and I get
"Microsoft Windows Network" (again, only it). Double click that and I
get
"GODDESSES". Double click that and I get "Goddesses is not
accessible. The list of servers for this workgroup is not currently
available."
Added the NT4-PlainPassword.reg, of course. Didn't help. Logs
doesn't say anything, in fact doesn't indicate that the NT boxes are
touching it. Of course, this is wrong, since I can ssh, and two, after I
enabled the WINS parts of smb.conf only was I able to even open up "Network
Neighborhood".
Exactly what am I doing wrong? Any hints, thanx in advance.
My smb.conf:
[global]
workgroup = GODDESSES
server string = Samba Server
hosts allow = 10.11.12. 127.
load printers = yes
log file = /usr/local/samba/var/log.%m
max log size = 50
security = user
socket options = TCP_NODELAY
local master = yes
os level = 67
domain master = yes
preferred master = yes
wins support = yes
dns proxy = no
[homes]
comment = Home Directories
browseable = no
writable = yes
-Tai
ps: My box is dual homed, two NICs, one to the outside world. log.nmbd
mentions the outside NIC, even though it is not part of the 10.11.12
network nor the 127. network. Is this normal?
--
http://philip.greenspun.com/bg/
http://www.vcnet.com/bms/features/serendipities.html
http://www2.hunter.com/~skh/humor/admin-horror.html
http://www.despair.com/demotivators/cluelessness.html
Return-Path: <rajeshs@nittanyindia.com>
Delivered-To: samba@samba.org
Received: from mail.nittanyindia.com (unknown [203.199.203.10]) by
lists.samba.org (Postfix) with ESMTP id CCDCA44B6 for
<samba@samba.org>; Mon, 9 Jul 2001 22:56:07 -0700 (PDT)
Received: from Rajesh ([203.199.203.28]) by mail.nittanyindia.com
(8.9.3/8.8.7) with ESMTP id CAA25436 for <samba@samba.org>; Tue, 10
Jul 2001 02:07:09 -0400
Message-ID: <200107100202070500.0033D02A@203.199.203.10>
X-Mailer: Calypso Version 3.20.02.00 (3)
Date: Tue, 10 Jul 2001 02:02:07 -0700
From: "Rajesh" <rajeshs@nittanyindia.com>
To: samba@samba.org
Subject: re-excel file corruption
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Converted-To-Plain-Text: from multipart/alternative by demime 0.98b
X-Converted-To-Plain-Text: Alternative section used was text/plain
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Dear Sirs/Mss
We have faced this problem lately of the excel files-sharedin the
Networkgetting corrupted
any suggestions we have tried the excel-fix , other options , looks like it is
futile-effort,
kindly suggest or inform immdly on this.
Thanks
Nittops dept
Return-Path: <leet@leenx.co.za>
Delivered-To: samba@lists.samba.org
Received: from root.scania.co.za (unknown [196.41.10.171]) by
lists.samba.org (Postfix) with ESMTP id CFBF4446A for
<samba@lists.samba.org>; Tue, 10 Jul 2001 01:47:59 -0700 (PDT)
Received: from CLeeTaylor ([10.1.1.98]) by root.scania.co.za
(8.11.2/8.11.2) with SMTP id f6A8pQX26292 for <samba@lists.samba.org>;
Tue, 10 Jul 2001 10:51:26 +0200
Message-ID: <01f501c1091d$7795eba0$6201010a@CLeeTaylor>
From: "C.Lee Taylor ( LeeNX )" <leet@leenx.co.za>
To: <samba@lists.samba.org>
References: <20010709190222.F303B4C6D@lists.samba.org>
Subject: Re: [PATCH] Ldap support for samba 2.2
Date: Tue, 10 Jul 2001 10:51:09 +0200
Organization: LeeNX
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
> I've made a quickly patch against samba2.2 to support LDAP. I use the
> ldap schema define in the samba-tng. I use libnss_ldap, pam_ldap,
> openldap2.x, ldapsync.pl, ldaputils. It seems to work. I will do more test
> tomorrow. configure.in is not very clean but it work on my system
> (Debian GNU/Linux).
> You must launch autoconf to generate a new configure.in
Could you tell us more about this patch and where we could get our hands
on it to try ... I am very much interested in LDAP in Samba, seeing that I
need the functionality and the Samba Dev's Team have also been working on a
LDAP system. How does it fit in with their development.
Mailed
Lee
Return-Path: <jeremy@valinux.com>
Delivered-To: samba@samba.org
Received: from mail.valinux.com (mail.valinux.com [198.186.202.175]) by
lists.samba.org (Postfix) with ESMTP id 8F6F74245; Tue, 10 Jul 2001
02:08:34 -0700 (PDT)
Received: from beefcake.hdqt.valinux.com ([10.1.0.14] ident=mail) by
mail.valinux.com with esmtp (Exim 3.30-VA-mm1 #1 (Debian)) id
15JtYV-0005sO-00; Tue, 10 Jul 2001 02:11:43 -0700
Received: from jeremy by beefcake.hdqt.valinux.com with local (Exim 3.12
#1 (Debian)) id 15Jtbj-0006w5-00; Tue, 10 Jul 2001 02:15:03 -0700
Date: Tue, 10 Jul 2001 02:15:03 -0700
To: samba@samba.org
Cc: samba-technical@samba.org, samba-ntdom@samba.org, jeremy@valinux.com
Subject: Samba 2.2.1 released.
Message-ID: <20010710021503.B26612@valinux.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
From: Jeremy Allison <jeremy@valinux.com>
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
The Samba Team is proud to announce the release of Samba 2.2.1.
This is the latest stable release of Samba. This is the version that all
production Samba servers should be running for all current bug-fixes.
Binary packages will be released shortly for major platforms. The source
code can be downloaded from :
ftp://ftp.samba.org/pub/samba/
in the file samba-2.2.1.tar.gz.
The release notes follow.
As always, all bugs are our responsibility.
Regards,
The Samba Team.
----------------------------------------------------------------------------
WHATS NEW IN Samba 2.2.1: 10th July 2001
========================================
This is the latest stable release of Samba. This is the version that all
production Samba servers should be running for all current bug-fixes.
New/Changed parameters in 2.2.1
-------------------------------
Added parameters.
-----------------
obey pam restrictions
When Samba is configured to use PAM, turns on or off Samba checking
the PAM account restrictions. Defaults to off.
pam password change
When Samba is configured to use PAM, turns on or off Samba passing
the password changes to PAM. Defaults to off.
large readwrite
New option to allow new Windows 2000 large file (64k) streaming
read/write options. Needs a 64 bit underlying operating system
(for Linux use kernel 2.4 with glibc 2.2 or above). Can improve performance
by 10% with Windows 2000 clients. Defaults to off. Not as tested
as some other Samba code paths.
hide unreadable
Prevents clients from seeing the existance of files that cannot
be read. Off by default.
enhanced browsing
Turn on/off the enhanced Samba browing functionality (*1B names).
Default is "on". Can prevent eternal machines in workgroups when
WINS servers are not synchronised.
Removed parameters.
-------------------
domain groups
domain admin users
domain guest users
Changes in 2.2.1
-----------------
1). "find" command removed for smbclient. Internal code now used.
2). smbspool updates to retry connections from Michael Sweet.
3). Fix for mapping 8859-15 characters to UNICODE.
4). Changed "security=server" to try with invalid username to prevent
account lockouts.
5). Fixes to allow Windows 2000 SP2 clients to join a Samba PDC.
6). Support for Windows 9x Nexus tools to allow security changes from Win9x.
7). Two locking fixes added. Samba 2.2.1 now passes the Clarion network
lock tester tool for distributed databases.
8). Preliminary support added for Windows 2000 large file read/write SMBs.
9). Changed random number generator in Samba to prevent guess attacks.
10). Fixes for tdb corruption in connections.tdb and file locking brlock.tdb.
smbd's clean the tdb files on startup and shutdown.
11). Fixes for default ACLs on Solaris.
12). Tidyup of password entry caching code.
13). Correct shutdowns added for send fails. Helps tdb cleanup code.
14). Prevent invalid '/' characters in workgroup names.
15). Removed more static arrays in SAMR code.
16). Client code is now UNICODE on the wire.
17). Fix 2 second timstamp resolution everywhere if dos timestamp set to yes.
18). All tdb opens now going through logging function.
19). Add pam password changing and pam restrictions code.
20). Printer driver management improvements (delete driver).
21). Fix difference between NULL security descriptors and empty
security descriptors.
22). Fix SID returns for server roles.
23). Allow Windows 2000 mmc to view and set Samba share security descriptors.
24). Allow smbcontrol to forcibly disconnect a share.
25). tdb fixes for HPUX, OpenBSD and other OS's that don't have a
coherent
mmap/file read/write cache.
26). Fix race condition in returning create disposition for file create/open.
27). Fix NT rewriting of security descriptors to their canonical form for
ACLs.
28). Fix for Samba running on top of Linux VFAT ftruncate bug.
29). Swat fixes for being run with xinetd that doesn't set the umask.
30). Fix for slow writes with Win9x Explorer clients. Emulates Microsoft
TCP stack early ack specification error.
31). Changed lock & persistant tdb directory to /var/cache/samba by default
on
RedHat and Mandrake as they clear the /var/lock/samba directory on reboot.
Older release notes for Samba 2.2.x follow.
-----------------------------------------------------------------------------
The release notes for 2.2.0a follow :
SECURITY FIX
===========
This is a security bugfix release for Samba 2.2.0. This release provides the
following two changes *ONLY* from the 2.2.0 release.
1). Fix for the security hole discovered by Michal Zalewski
(lcamtuf@bos.bindview.com)
and described in the security advisory below.
2). Fix for the hosts allow/hosts deny parameters not being honoured.
No other changes are being made for this release to ensure a security fix only.
For new functionality (including these security fixes) download Samba 2.2.1
when it is available.
The security advisory follows :
IMPORTANT: Security bugfix for Samba
------------------------------------
June 23rd 2001
Summary
-------
A serious security hole has been discovered in all versions of Samba
that allows an attacker to gain root access on the target machine for
certain types of common Samba configuration.
The immediate fix is to edit your smb.conf configuration file and
remove all occurances of the macro "%m". Replacing occurances of %m
with %I is probably the best solution for most sites.
Details
-------
A remote attacker can use a netbios name containing unix path
characters which will then be substituted into the %m macro wherever
it occurs in smb.conf. This can be used to cause Samba to create a log
file on top of an important system file, which in turn can be used to
compromise security on the server.
The most commonly used configuration option that can be vulnerable to
this attack is the "log file" option. The default value for this
option is VARDIR/log.smbd. If the default is used then Samba is not
vulnerable to this attack.
The security hole occurs when a log file option like the following is
used:
log file = /var/log/samba/%m.log
In that case the attacker can use a locally created symbolic link to
overwrite any file on the system. This requires local access to the
server.
If your Samba configuration has something like the following:
log file = /var/log/samba/%m
Then the attacker could successfully compromise your server remotely
as no symbolic link is required. This type of configuration is very
rare.
The most commonly used log file configuration containing %m is the
distributed in the sample configuration file that comes with Samba:
log file = /var/log/samba/log.%m
in that case your machine is not vulnerable to this attack unless you
happen to have a subdirectory in /var/log/samba/ which starts with the
prefix "log."
Credit
------
Thanks to Michal Zalewski (lcamtuf@bos.bindview.com) for finding this
vulnerability.
New Release
-----------
While we recommend that vulnerable sites immediately change their
smb.conf configuration file to prevent the attack we will also be
making new releases of Samba within the next 24 hours to properly fix
the problem. Please see http://www.samba.org/ for the new releases.
Please report any attacks to the appropriate authority.
The Samba Team
security@samba.org
---------------------------------------------------------------------------
The release notes for 2.2.0 follow :
This is the official Samba 2.2.0 release. This version of Samba provides
the following new features and enhancements.
Integration between Windows oplocks and NFS file opens (IRIX and Linux
2.4 kernel only). This gives complete data and locking integrity between
Windows and UNIX file access to the same data files.
Ability to act as an authentication source for Windows 2000 clients as
well as for NT4.x clients.
Integration with the winbind daemon that provides a single
sign on facility for UNIX servers in Windows 2000/NT4 networks
driven by a Windows 2000/NT4 PDC. winbind is not included in
this release, it currently must be obtained separately. We are
committed to including winbind in a future Samba 2.2.x release.
Support for native Windows 2000/NT4 printing RPCs. This includes
support for automatic printer driver download.
Support for server supported Access Control Lists (ACLs).
This release contains support for the following filesystems:
Solaris 2.6+
SGI Irix
Linux Kernel with ACL patch from http://acl.bestbits.at
Linux Kernel with XFS ACL support.
Caldera/SCO UnixWare
IBM AIX
FreeBSD (with external patch)
Other platforms will be supported as resources are
available to test and implement the encessary modules. If
you are interested in writing the support for a particular
ACL filesystem, please join the samba-technical mailing
list and coordinate your efforts.
On PAM (Pluggable Authentication Module) based systems - better debugging
messages and encrypted password users now have access control verified via
PAM - Note: Authentication still uses the encrypted password database.
Rewritten internal locking semantics for more robustness.
This release supports full 64 bit locking semantics on all
(even 32 bit) platforms. SMB locks are mapped onto POSIX
locks (32 bit or 64 bit) as the underlying system allows.
Conversion of various internal flat data structures to use
database records for increased performance and
flexibility.
Support for acting as a MS-DFS (Distributed File System) server.
Support for manipulating Samba shares using Windows client tools
(server manager). Per share security can be set using these tools
and Samba will obey the access restrictions applied.
Samba profiling support (see below).
Compile time option for enabling a (Virtual file system) VFS layer
to allow non-disk resources to be exported as Windows filesystems
(such as databases etc.).
The documentation in this release has been updated and converted
from Yodl to DocBook 4.1. There are many new parameters since 2.0.7
and some defaults have changed.
Profiling support.
------------------
Support for collection of profile information. A shared
memory area has been created which contains counters for
the number of calls to and the amount of time spent in
various system calls and smb transactions. See the file
profile.h for a complete listing of the information
collected. Sample code for a samba pmda (collection agent
for Performance Co-Pilot) has been included in the pcp
directory.
To enable the profile data collection code in samba, you
must compile samba with profile support (run configure with
the --with-profile option). On startup, collection of data
is disabled. To begin collecting data use the smbcontrol
program to turn on profiling (see the smbcontrol man page).
Profile information collection can be enabled for all smbd
processes or one or more selected processes. The profiling
data collected is the aggragate for all processes that have
profiling enabled.
With samba compiled for profile data collection, you may see
a very slight degradation in performance even with profiling
collection turned off. On initial tests with NetBench on an
SGI Origin 200 server, this degradation was not measureable
with profile collection off compared to no profile collection
compiled into samba.
With count profile collection enabled on all clients, the
degradation was less than 2%. With full profile collection
enabled on all clients, the degradation was about 8.5%.
====================================================================
If you think you have found a bug please email a report to :
samba@samba.org
As always, all bugs are our responsibility.
Regards,
The Samba Team.
Return-Path: <werner.maes@cc.kuleuven.ac.be>
Delivered-To: samba@samba.org
Received: from mail.cc.kuleuven.ac.be (mail.cc.kuleuven.ac.be
[134.58.10.6]) by lists.samba.org (Postfix) with ESMTP id 0DAD44485
for <samba@samba.org>; Tue, 10 Jul 2001 02:57:38 -0700 (PDT)
Received: from pclab (pc-10-33-6-229.cc.kuleuven.ac.be [10.33.6.229]) by
mail.cc.kuleuven.ac.be (8.9.3/8.9.0) with SMTP id MAA1721636 for
<samba@samba.org>; Tue, 10 Jul 2001 12:00:54 +0200
Message-Id: <3.0.6.32.20010710120046.008043a0@mail.cc.kuleuven.ac.be>
X-Sender: pb429905@mail.cc.kuleuven.ac.be
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Tue, 10 Jul 2001 12:00:46 +0200
To: samba@samba.org
From: werner maes <werner.maes@cc.kuleuven.ac.be>
Subject: W2K domain login in multiple domains: possible?
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hello,
I was wondering whether it it possible to add a Windows 2000 machine to
different Samba domains (samba 2.2.0). It seems to me that you cannot to
add the same W2K machine to several domains. I've created machine accounts
on two different Samba servers for the same W2K machine but I can only
choose ONE domain on the W2K machine.
Does anybody know whether this is possible?
Kind regards,
Werner Maes
KULeuven
Return-Path: <jev@ecad.org>
Delivered-To: samba@lists.samba.org
Received: from veck.ecad.org (veck.ecad.org [209.61.188.208]) by
lists.samba.org (Postfix) with ESMTP id 22CF544B7 for
<samba@lists.samba.org>; Tue, 10 Jul 2001 03:09:28 -0700 (PDT)
Received: by veck.ecad.org (Postfix, from userid 1000) id 3CF49482C61;
Tue, 10 Jul 2001 05:12:46 -0500 (CDT)
Date: Tue, 10 Jul 2001 05:12:46 -0500
From: Jev <jev@ecad.org>
To: samba@lists.samba.org
Subject: Slow msdos (Msclient) writes to samba shares
Message-ID: <20010710051246.C30551@ecad.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Sender: samba-admin@lists.samba.org
Errors-To: samba-admin@lists.samba.org
X-BeenThere: samba@lists.samba.org
X-Mailman-Version: 2.0beta6
Precedence: bulk
List-Help: <mailto:samba-request@lists.samba.org?subject=help>
List-Post: <mailto:samba@lists.samba.org>
List-Subscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=subscribe>
List-Id: General questions regarding Samba <samba.lists.samba.org>
List-Unsubscribe: <http://lists.samba.org/mailman/listinfo/samba>,
<mailto:samba-request@lists.samba.org?subject=unsubscribe>
List-Archive: http://lists.samba.org/pipermail/samba/
Hello all,
I recently switched from using NT4 server to samba 2.2.0a as a PDC in a
production network, the network in question has a lot of msdos clients
using MSCLIENT.
I am experiencing terrible write speeds on all dos clients, some figures
follows:
Copying a 5.6 meg file:
With smbclient on a FreeBSD machine: