RE: (fwd) amigasamba?

2003-03-31 Thread Ulf Bertilsson
 CL!
 
 On Thu, 2003-03-13 at 23:08, Ulf Bertilsson wrote:
  I look into this in a few days.
  
  Use www.birrabrothers.com/tiger/data/samba as mirror
  
  I'm on vacation and don't have the info here.

Yes, now everything is fine.

--
Uber
Amiga rulez ;D


RE: (fwd) amigasamba?

2003-03-13 Thread Ulf Bertilsson
I look into this in a few days.

Use www.birrabrothers.com/tiger/data/samba as mirror

I'm on vacation and don't have the info here.

--
Ulf

-Original Message-
From: Martin Pool [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 13, 2003 10:43 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: (fwd) amigasamba?


Does anyone know about this?

- Forwarded message from Larry Urquhart [EMAIL PROTECTED] -

From: Larry Urquhart [EMAIL PROTECTED]
Subject: amigasamba
Date: Wed, 12 Mar 2003 21:28:49 -0800
To: [EMAIL PROTECTED]
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:1.0.2)
 Gecko/20030208 Netscape/7.02
X-Bogosity: No, tests=bogofilter, spamicity=0.024176, version=0.10.2

Hi.
I don't know if this is the right place to ask this but I have been 
trying to visit the web site of www.amigasamba.org for over a week and 
it is off line. What's up ? I have questions to ask the administrator.
Cheers Larry

- End forwarded message -
-- 
Martin


RE: Failed dependencies samba-2.2.7a-1.i386.rpm

2003-03-12 Thread Ulf Bertilsson
 When I use the command rpm -Uvh on samba-2.2.7a-1.i386.rpm I get the
 message:
 
 error failed dependencies:
 
 libcrypto.so.2 is needed by samba-2.2.7a-1.i386.rpm
 libcups.so.2 is needed by samba-2.2.7a-1.i386.rpm
 libreadline.so.4  is needed by samba-2.2.7a-1.i386.rpm
 libssl.so.2 is needed by samba-2.2.7a-1.i386.rpm
 
 What do I need to do?

Use rpmfind (web) and update the packages mentioned ?

--
Ulf


RE: Samba and PPP

2003-03-04 Thread Ulf Bertilsson
  Hi, Ulf Bertilsson! On 19-Feb-03, you wrote:
 
 UB ppp0: 
 UB flags=40F1UP,POINTOPOINT,NOTRAILERS,RUNNING,NOARP,SANA MTU=1500
 UB inet 192.168.255.254 -- 192.168.255.253 netmask 
  
 UB Hardware type: PPP
 UB 
 UB Use ifconfig -h for usage.
 UB 16.System: 
 UB  --- cut ---
 UB  PC has IP 192.168.255.253.
 UB  When i try to specify a 255.255.255.252 (FFFC) netmask 
 UB for ppp0, Samba
 UB adds ppp0 to the list of interfaces, but the interface just 
 UB does not pass
 UB broadcasts.
 UB  What's wrong? How to solve my problem?
 UB 
 UB Pavel,
 UB 
 UB I had this running on my A1200 some years ago.
 UB 
 UB I think you could solve this problem with simple stuff as 
 adding an
 UB lmhost file spesifying all host in your lan.
 UB Broadcast are not in theory needed for operation.
 
  I know. Broadcasts are not the problem itself. The problem 
 is that Samba
 does not bind to ppp0 at all, it completely ignores this 
 interface.

Have you tried another tcp stack ?

 This causes it to be impossible to connect to the Samba server 
 from PC side.

Strange, I guess nmap'ing the ip will show no open ports ?

  I write about it here because i think it is not 
 Amiga-specific problem.
 I've tried to list through the Samba docs, and there are some 
 notes meaning
 that Samba can be used on PPP links. But there are no words about the
 setting up the things there.

I do however remeber only having PPP interface on my A1200
with serial nullmodem to an NT4.0 server.

(Miami3.2, KIck 3.1, WB3.1)

Are you using amitcp ?

 UB Are you sure your nmbd is running fine.
 
  Of couse it does. My Amiga is connected also to a LAN via 
 CNet card. And i
 work perfectly in LAN.

Oki.
Have a look for the new 3com pcmica drivers btw.

 UB The old versions (on aminet) have some issues.
 UB 
 UB Try get the newest gcc based ports by Olaf (2.2.5 
 available also), nmbd
 UB is more stable here.
 
  I'll try to.

More info updated on the amiga samba list.

I think you can call the amiga 2.2.5 for beta and not alpha anymore.
Some memory fragmentation and stuff, but works quite well.

Maybe this puzzle is something Chris H like to punder about ?
Why should smb bind well to PPP links ? ;D

--
Ulf


RE: 2.0.7-XP compability ?

2003-03-03 Thread Ulf Bertilsson
 On Thu, 30 Jan 2003, Ulf Bertilsson wrote:
 
 Can we have a trace?

Problem solved.
It was an alien assign pointing to another smb.conf file..

Argh..

Still useful to debug it down.

--
Ulf


Input on tuning ?

2003-02-21 Thread Ulf Bertilsson
http://www.birrabrothers.com/tiger/data/samba/showoff/

AmigaOS now broke the 1mb/s barrier ;D

Any input on Ethereal SMB RTT values for tuning ?

Doubling TCP window gave an 10-15% increase actualy.

Bottleneck now is cpu peaking at 99% at ~1MB IO.
FTP peak at 1.5MB/S.

Have an wonderful CRC free weekend ;) 2.2.5 rocks.

--
Ulf



RE: Samba and PPP

2003-02-18 Thread Ulf Bertilsson
  Hello!
 
  Could anyone of you tell me, how to configure my Samba 
 server to work with
 PPP interfaces?
  I have an Amiga machine running Samba v2.0.7. And a Windoze95 PC
 connected to it via null-modem cable.
  The problem is: Samba ignores all non-broadcast interfaces. 
 So smbd and
 nmbd just do not sit on ppp0 interface, so PC can't connect 
 to Samba. Also
 smbclient can't find my PC by name (i have to specify an -I 
 option), because
 it ignores ppp0 too.
  After examining a source code, i found the following procedure:
  --- cut ---
 static void add_interface(struct in_addr ip, struct in_addr nmask)
 {
 struct interface *iface;
 if (iface_find(ip)) {
 DEBUG(3,(not adding duplicate interface 
 %s\n,inet_ntoa(ip)));
 return;
 }
 
 if (ip_equal(nmask, allones_ip)) {
 DEBUG(3,(not adding non-broadcast interface 
 %s\n,inet_ntoa(ip)));
 return;
 }
 
 iface = (struct interface *)malloc(sizeof(*iface));
 if (!iface) return;
 
 ZERO_STRUCTPN(iface);
 
 iface-ip = ip;
 iface-nmask = nmask;
 iface-bcast.s_addr = MKBCADDR(iface-ip.s_addr, 
 iface-nmask.s_addr);
 
 DLIST_ADD(local_interfaces, iface);
 
 DEBUG(2,(added interface ip=%s ,inet_ntoa(iface-ip)));
 DEBUG(2,(bcast=%s ,inet_ntoa(iface-bcast)));
 DEBUG(2,(nmask=%s\n,inet_ntoa(iface-nmask))); 
 }
  --- cut ---
  My interfaces are:
  --- cut ---
 16.System: ifconfig
 lo0: flags=C9UP,LOOPBACK,RUNNING,NOARP MTU=1536
 inet 127.0.0.1 netmask FF00 
 Hardware type: Loopback
 
 eth0: 
 flags=4863UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLEX,SANA MTU=1500
 inet 10.4.20.98 netmask FFFC broadcast 10.4.20.99
 Hardware type: Ethernet, address: 0:80:ad:c6:be:75
 
 ppp0: 
 flags=40F1UP,POINTOPOINT,NOTRAILERS,RUNNING,NOARP,SANA MTU=1500
 inet 192.168.255.254 -- 192.168.255.253 netmask  
 Hardware type: PPP
 
 Use ifconfig -h for usage.
 16.System: 
  --- cut ---
  PC has IP 192.168.255.253.
  When i try to specify a 255.255.255.252 (FFFC) netmask 
 for ppp0, Samba
 adds ppp0 to the list of interfaces, but the interface just 
 does not pass
 broadcasts.
  What's wrong? How to solve my problem?

Pavel,

I had this running on my A1200 some years ago.

I think you could solve this problem with simple stuff as adding an
lmhost file spesifying all host in your lan.

Broadcast are not in theory needed for operation.

There is also further mechanisms such an WINS that might help you with this issue.

Using IP based resolution should also work.

Are you sure your nmbd is running fine.
The old versions (on aminet) have some issues.

Try get the newest gcc based ports by Olaf (2.2.5 available also), nmbd is more stable 
here.

Best of luck Pavel.

--
Ulf



RE: 2.0.7-XP compability ?

2003-02-04 Thread Ulf Bertilsson
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On Thu, 30 Jan 2003, Ulf Bertilsson wrote:
 
  I wonder what this means ?:
  
  error packet at line 878 cmd=162 (SMBntcreateX) eclass=1 ecode=32
 
 You could grab the #defines from incluee/doserr.h
 
 /* Error classes */
 
 #define ERRDOS 0x01  /* Error is from the core DOS 
 operating system set. */
 
 
 /* SMB X/Open error codes for the ERRDOS error class */
 
 #define ERRbadshare 32 /* Share mode on file conflict with 
 open mode */

Jerry,

How can I best identify if this is in my os 
custiom posix wrapper, or an issue in the samba 2.0.7 core code ?

What is I disable file locking all together ?

My issue is basicly that any file I modify get locked.

Deleting /samba/var/locks/* and restart smbd seems to solve it.

My point is, that altho samba reports or think the file is locked,
it _not_ looked at local level.

Any input if this is a good way to trace this issue ?

Network traces, debug files etc will be available as soon
as I get more time on my hands.

Also let me know if anybody would work on this offlist
if they feel this is off topic.

--
Ulf



2.0.7-XP compability ?

2003-01-30 Thread Ulf Bertilsson
[2003/01/29 23:30:25, 3] smbd/process.c:(448)
  switch message SMBntcreateX (pid 8)
[2003/01/29 23:30:25, 3] lib/util.c:(533)
  unix_clean_name [/amiga-samba_2.0.7_20020825.lha]
[2003/01/29 23:30:25, 3] lib/util.c:(533)
  unix_clean_name [amiga-samba_2.0.7_20020825.lha]
[2003/01/29 23:30:25, 3] lib/util.c:(533)
  unix_clean_name [amiga-samba_2.0.7_20020825.lha]
[2003/01/29 23:30:25, 2] smbd/open.c:(790)
  Share violation on file (1,1,1,8,amiga-samba_2.0.7_20020825.lha,fcbopen = 0, flags = 
1) = 0
[2003/01/29 23:30:25, 3] smbd/error.c:(138)
  error packet at line 878 cmd=162 (SMBntcreateX) eclass=1 ecode=32
[2003/01/29 23:30:25, 3] smbd/process.c:(618)
  Transaction 383 of length 119

--

Could I view this as an issue with Samba 2.0.7, or should this work ?

I wonder what this means ?:

error packet at line 878 cmd=162 (SMBntcreateX) eclass=1 ecode=32

XP junk ?

Any input ?

Maybe try removing locking all toghether and see if it works ?

--
Ulf



RE: amiga suvival (fwd) - feedback to the Samba team!

2003-01-29 Thread Ulf Bertilsson
 The work Olaf did would probably be of interest to anyone 
 trying to port
 Samba code to non-Posix platforms, particularly small 
 platforms such as
 appliance systems.

VMS must have as mentioned before addresses the same issues.
I.e fork() etc..

The linked libsmb with way smaler exe files looked neat.

The elephant could use some diet.

--
Ulf



RE: FW: amiga suvival (fwd) - feedback to the Samba team!

2003-01-28 Thread Ulf Bertilsson
 On Mon, 27 Jan 2003, Ulf Bertilsson wrote:
 
  I think the Samba dev team could use this good
  message in such an dark cold winterday :)
  
  How cool is it that there are Amiga computers running Samba,
  even PDC functionality! :)
  
  My regards to the team for their good efforts.
 
 This is a classic post.  I'm saving this one :-)
 Thanks.
 
 cheers, jerry

We're the all old school computha nuttha! ;D

Both 2.0.x and 2.2.5 are now based around an nice posix wrapper
using custom gcc compiler, rather than the core custom embedded compiler.

(Correction Olaf ?)

To make things more fun I'm actualy running it in emulated alien evil enviroment.
(X86 hosted, briged/wrapped IO space, native 68k NIC drivers)

Think that's it's possible to run your old dusty 14mhz 4 meg
child computer as fullblown SMB server.

(I din't have NIC cards some years ago and used an nullmodem connection as link)

The Amiga Samba Mailinglist now consist of 298 users :)

All give their best regards to the orginal developers for their time spendt
on this project and not at least your hero Olaf Barthel bringing it all down to neat 
slik 68k code.

Do anybody beat AmigaOS KB/S vs MIPS ?...

VMS ?

--
Ulf
Some newer grow up...
Who needs fork() anyway ;D



FW: amiga suvival (fwd) - feedback to the Samba team!

2003-01-27 Thread Ulf Bertilsson
I think the Samba dev team could use this good
message in such an dark cold winterday :)

How cool is it that there are Amiga computers running Samba,
even PDC functionality! :)

My regards to the team for their good efforts.

cc: Olaf Barthel, the Amiga OS port maintainer.

--
Ulf
Amiga Samba Team

 Hi,
 
 *** Begin of forwarded message ***
 
 Date: 11-Dec-02 15:58:18
 From: el psycho diablo [EMAIL PROTECTED]
 Subject: amiga suvival
 
 --- Forwarded message follows ---
 
 
 After i found out samba for amiga,  i do
 
 1. bring my amiga to my company
 2. install samba on the amiga
 3. make samba to a PDC
 4. now my amiga is a Windows Server manage all NT 4 and W2K clients
 
 
 I m proud about the programer
 
 kaan yazici



RE: MSLinux!?!?!?

2002-12-10 Thread Ulf Bertilsson
Title: MSLinux!?!?!?



Do 
we die from an world war III nukewar or M$ crapcode in good systems in near 
future ?

How 
do we patch this ?

--
Ulf
This 
message might not be written by me.
Sue 
/dev/nul

  -Original Message-From: Ryan Benner 
  [mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10, 2002 8:23 
  PMTo: Esh, Andrew; 
  [EMAIL PROTECTED]Subject: RE: 
  MSLinux!?!?!?
  I 
  noticed that myself earlier today. Quite interesting.
  
  Ryan
  
-Original Message-From: Esh, Andrew 
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, December 10, 2002 10:20 
AMTo: [EMAIL PROTECTED]Subject: 
MSLinux!?!?!?
Microsoft to offer Linux software? 
In a major strategy shift, Microsoft Corp. will introduce 
software based on the Linux open source operating system in 2004 
...
(Copyrighted article, or I'd post it. Here's a link: 
) 
http://www.cnn.com/2002/TECH/biztech/12/10/meta.linux.reut/index.html 

--- Andrew C. 
Esh 
mail:[EMAIL PROTECTED] Adaptec, Inc. 
2905 Northwest Blvd., Suite 
20 763-557-9005 (main) 
Plymouth, MN 55441-2644 USA 
763-551-6418 (direct) 


RE: A registry editor taking shape ...

2002-12-09 Thread Ulf Bertilsson
 Hi,
 
 A registry editor, editreg, is slowly taking shape in Samba-head.

Goodie ;)
 
 The goal is to be able to do things like: 
 
  - delete keys and values
  - add keys and values
  - change keys and values
  - Change the SIDS/SecDescs applied to keys.
  - write out the changes tree
  - create a tree from scratch
 
 What would be useful is some thoughts on how the interface should be 
 constructed, as in command-line, or a .reg file of commands, etc.

Commandline rocks ;)

Remeber that some of us still uses alien os with no real gui.

Fun project, maybe I finaly could use linux on my portable here
to administrate my wintel bigboxes.

--
Ulf



RE: First draft libsmbclient test program

2002-11-03 Thread Ulf Bertilsson
Could we avoid the use of fork() ? :)

By script useage I could enjoy small separte tools with clean output for
web interface integration/GUI kit.

Use plain txt files for scripting events or task to run as argument ?

--
Ulf

-Original Message-
From: Fabien Chevalier [mailto:fchevali;supelec-rennes.fr]
Sent: Sunday, November 03, 2002 11:10 PM
To: [EMAIL PROTECTED]
Subject: First draft libsmbclient test program



Hello,

I wrote this afternoon this small test program.
It does not do all what i would have liked, but it does enough to 
begin to compare libsmbclient releases.

What it tests:
  -listing workgroups
  -listing computers
  -listing shares

With an automated way

What it does not yet:
  -all what remains

I will go on and implement all what is missing if you feel it 
will be useful for you.

Attached is the output generated by various libsmbclient releases 
+ the current program sources.

The first regression is between 2.2.2 and 2.2.3
The second is somewhere i don't know, but is there in 3.0alpha20

Cheers.

Fabien.


PS:
  I can make it to dlopen libsmbclient if you need it ...but I 
use only linux and i have no idea if it will work elsewhere.

PS(2):
  What do you mean, Andrew, by making it scriptable ?

--
Samba v2.2.1

[fabien@tux libsmb]$ lsmbctest
 Now running test smbc_init...
Calling int smbc_init(mbc_get_auth_data_fn, int debug=0)
Result : 0
 Test smbc_init OK
 Now running test workgroups listing...
Calling int smbc_opendir(const char *durl=smb://)
Authentification required for SERVER CUTBIDISH SHARE IPC$ in 
WORKGROUP WORKGROUP.
Returning 
Result : 11024, errno=0[Success]
Calling int smbc_readdir(int dh=11024)
Result : 0x400a6da0, errno=0[Success]
Found entry type 1, named MDKGROUP
Calling int smbc_readdir(int dh=11024)
Result : 0x400a6da0, errno=0[Success]
Found entry type 1, named REZ
Calling int smbc_readdir(int dh=11024)
Result : 0x400a6da0, errno=0[Success]
Found entry type 1, named WORKGROUP
Calling int smbc_readdir(int dh=11024)
Result : (nil), errno=0[Success]
 Test workgroups listing OK
 Now running test smbc_closedir...
Calling int smbc_closedir(int dh=11024)
Result : 0, errno=0[Success]
 Test smbc_closedir OK
 Now running test machines in workgroup listing...
Calling int smbc_opendir(const char *durl=smb://MDKGROUP)
Authentification required for SERVER SHADOW SHARE IPC$ in 
WORKGROUP WORKGROUP.
Returning 
Result : 11024, errno=0[Success]
Calling int smbc_readdir(int dh=11024)
Result : 0x400a6da0, errno=0[Success]
Found entry type 2, named SHADOW
Calling int smbc_readdir(int dh=11024)
Result : (nil), errno=0[Success]
 Test machines in workgroup listing OK
Calling int smbc_closedir(int dh=11024)
Result : 0, errno=0[Success]
 Now running test shares on a machine listing...
Calling int smbc_opendir(const char *durl=smb://SHADOW)
Authentification required for SERVER SHADOW SHARE IPC$ in 
WORKGROUP WORKGROUP.
Returning 
Result : 11024, errno=0[Success]
Calling int smbc_readdir(int dh=11024)
Result : 0x400a6da0, errno=0[Success]
Found entry type 6, named IPC$
Calling int smbc_readdir(int dh=11024)
Result : 0x400a6da0, errno=0[Success]
Found entry type 3, named ADMIN$
Calling int smbc_readdir(int dh=11024)
Result : (nil), errno=0[Success]
 Test shares on a machine listing OK
Calling int smbc_closedir(int dh=11024)
Result : 0, errno=0[Success]

Test summary:

smbc_init   Ok
smbc_closedir   Ok
workgroups listing  Ok
machines in workgroup listing   Ok
shares on a machine listing Ok

--
Samba v2.2.2

[fabien@tux libsmb]$ lsmbctest
 Now running test smbc_init...
Calling int smbc_init(mbc_get_auth_data_fn, int debug=0)
Result : 0
 Test smbc_init OK
 Now running test workgroups listing...
Calling int smbc_opendir(const char *durl=smb://)
Authentification required for SERVER CUTBIDISH SHARE IPC$ in 
WORKGROUP WORKGROUP.
Returning 
Result : 11024, errno=0[Success]
Calling int smbc_readdir(int dh=11024)
Result : 0x400a83e0, errno=0[Success]
Found entry type 1, named MDKGROUP
Calling int smbc_readdir(int dh=11024)
Result : 0x400a83e0, errno=0[Success]
Found entry type 1, named REZ
Calling int smbc_readdir(int dh=11024)
Result : 0x400a83e0, errno=0[Success]
Found entry type 1, named WORKGROUP
Calling int smbc_readdir(int dh=11024)
Result : (nil), errno=0[Success]
 Test workgroups listing OK
 Now running test smbc_closedir...
Calling int smbc_closedir(int dh=11024)
Result : 0, errno=0[Success]
 Test smbc_closedir OK
 Now running test machines in workgroup listing...
Calling int smbc_opendir(const char *durl=smb://MDKGROUP)
Authentification required for SERVER SHADOW SHARE IPC$ in 
WORKGROUP WORKGROUP.
Returning 
Result : 11024, errno=0[Success]
Calling int smbc_readdir(int dh=11024)
Result : 0x400a83e0, errno=0[Success]
Found entry type 2, 

rerun autoconf ?

2002-07-22 Thread Ulf Bertilsson

...
creating ./config.status
creating include/stamp-h
creating Makefile
creating script/findsmb
creating include/config.h
[root@box source]# make
WARNING: you need to rerun autoconf -!
Using FLAGS =  -O   -Iinclude -I./include -I./ubiqx -I./smbwrapper  -I.
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE  -I.   
...

So.. Correct would be to ./configure then autoconf, then make - install
?

Please bear with my somewhat novice *nix experience :)

(Source synced with CVS, basic RH 7.2)

--
Ulf




RE: 32 security group limitation ?

2002-07-16 Thread Ulf Bertilsson

  Is there, was there ever such a limith ?
  I was called by an larger ISP here.
  
  Samba server Unix only handles 32 security groups he claimed.
  
  Anyone sheer some lights ?
 
 Possibly that Linux allows a user to be in a max of 32 groups?
 
 Do you have more info?

Not realy. Just that it won't work if user
is memeber of more than 32 groups.

I just thought I chack if there was some protocol limitation.
Now it seems like an linux limitation.

--
Ulf




RE: Very bad performance when copying large files from windows to samba-share

2002-07-04 Thread Ulf Bertilsson

 Maybe someone could take a look at this ?
 
 On Tue, 25 Jun 2002 22:13:34 +0200
 Lars Heineken [EMAIL PROTECTED] wrote:
 
  Let me summarize what we have:
  
  -Win98 doing a write request to the last byte of the file 
 to be copied
  -My machine creates a tempfile of that size and if that 
 takes too long  we get a timeout
  
  - My questions: What is samba doing if strict allocate is 
 set to no, is it ignoring the write request ?
   Does it pass the write request on to the 
 system, and the kernel creates the tempfile ?
   What can I do to check who's fault the 
 creation of the tempfile is ?

Do samba always create this temp file and what is it contence ?




RE: (no subject)

2002-07-01 Thread Ulf Bertilsson

 On Mon, 2002-07-01 at 11:42, Ulf Bertilsson wrote:
  An dummy desktop.ini and some generic cached fileid to show
  fancy icons would be nice, but brake stuff.
 
 I would not make that.

I know, it don't make sence but the idea would provide great
preformance.
Like, my os don't multiuser filesystem (builtin that is)

Why should we waste IO to try emulate unix rights
when we could just give an mask ?

NT also do this crazy file IO, why not just feed it some generic stuff
to keep it happy.
My OS don't support half of it's operands anyway.

Not to mention the file examination explorer do.

Isn't the .icon stuff stured in the PX exe file resource ?

(Ages size I played with it)

  Then my os allow many strange filenames, how should that be 
 dealt with ?
 
 We check if the filename is OK (do not have invalid chracters) yet, if
 so we mangle it, but this a O(n) operation.

What would the correct way be here.
Bear in mind that there is more none POSIX platforms out there.

An basic open() on the file first for sanity check ?

--
Ulf




RE: CIFS Load Generator source available ...

2002-06-27 Thread Ulf Bertilsson

Anybody with an tarball laying around ? :)

 -Original Message-
 From: Richard Sharpe [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 27, 2002 8:08 AM
 To: [EMAIL PROTECTED]
 Subject: CIFS Load Generator source available ...
 
 
 CIFS Load Generator
 Developed for SNIA CIFS Benchmarking Working Group
 Richard Sharpe
 Panasas, Inc  Samba Team
 11-Jun-2002
 
 INTRO
 This is a short document on how to use the code and where it 
 came from.
 
 BACKGROUND
 This code has been extracted from Samba's smbtorture utility.
 
 It is now up on the samba.org site in CVS and can be checked out with:
 
cvs co cifs-load-gen
 
 RUNNING IT
 To run the code, simply execute ./bin/cifs_bm after having 
 configured and 
 made the code.
 
   ./bin/cifs_bm -Uuser%pass -Wworkgroup -c client-file 
 [-N clients] \
   [-Iip] [-b num] //server-or-ip/share
 
 
 NOTE. You need to know the max size of WriteX or ReadXs in 
 the client file, 
 as cifs_bm defaults to 256*1024. Use a flag of '-b num' for 
 the block size
 you want. For example, '-b 1024' will give you a buffer of 
 1024*1024 bytes.
 
 THE CLIENT FILE
 The client file is essentially the same as smbtorture uses. 
 There are a number of them in the clients directory.  
 
 Each consists of a series of lines, each with either an 
 operation to perform 
 on the server, or one of a number of special keywords.
 
 The keywords are:
 
 BM_SETUP: Provides a series of setup operations. Currently, 
 the driver does
 noting with this command, except set an internal variable 
 called state to
 BM_SETUP. No measurements are taken during this phase.
 
 BM_WARMUP: Provides a series of warmup operations. Currently, 
 the driver does nothing with this command, except set an 
 internal variable called state to BM_WARMUP. No measurements 
 are taken during this phase.
 
 BM_MEASURE: Provides a series of operations that will be measured.
 
 RECONNECT: Disconnect from the server and reconnect to it.
 
 SYNC n: Wait for up to n seconds for the master to say 
 go. It waits for all the clients to SYNC.
 
 There are about 14 commands that are implemented. Look at the 
 collection of 
 .txt files to get an idea of what they are ...
 
 Some of the bit fields are important. For example, on an:
 
   NTCreateX file flag1 flag2 FID 
 
 command, flag2 needs the 0x01 bit set if it is to ignore 
 failures due to 
 files already existing.
 
 An additional command is: Lock file etc ... Check the code 
 for params for
 now.
 
 PROBLEMS
 There are still many problems. 
 
 1. It would be nice if the child/client processes would 
 synchronise each 
phase with each other. A Sync command is now implemented.
 
 2. FIND NEXT is not really implemented. This needs doing.
 
 3. More operation types are needed. Lock is now implemented. 
 However, see
below.
 
 4. Some way to generate a load file would be nice.
 
 5. There is no way to specifiy a schedule of users and 
 passwords to use to
log onto the server.
 
 6. NetBench specifies its driver file as a series of parts, each part 
containing a series of commands. It then randomizes the 
 order of the 
parts. It would require a rewrite of cifs_bm to achieve this.
 
 7. There is no way yet to spread the load over a series of interfaces.
 
 8. There is no way to separate out connection to server, 
 logging in and 
connection to the share. They are all one event. Thus we 
 cannot measure
the server's ability to handle logons (SessSetupX), connections
(probing its ability to fork or create threads), and 
 connecting to shares
(TCON etc). This calls for commands like: Tcon share, 
 Tdis share, 
etc.
 
 9. The latency info needs to be kept in long longs, and the 
 read and write
throughput needs to be cleaned up.
 
 10. It would be nice to have an embedded programming 
 language, like TCL or
 ...
 
 11. It has been suggested by a guy from Sun that the current 
 model of one
 process per client might be affected by scheduler 
 latencies. In addition
 if we want to simulate really large numbers of clients, 
 we might need to
 move to a multi-threaded client.
  
 Regards
 -
 Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], 
 [EMAIL PROTECTED]
 
 
 




RE: CIFS Load Generator source available ...

2002-06-27 Thread Ulf Bertilsson

Thanks :)

I guess I'm lazy. But I'm sick in my bed here so..

 -Original Message-
 From: Richard Sharpe [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, June 27, 2002 6:35 PM
 To: Ulf Bertilsson
 Cc: [EMAIL PROTECTED]
 Subject: RE: CIFS Load Generator source available ...
 
 
 On Thu, 27 Jun 2002, Ulf Bertilsson wrote:
 
  Anybody with an tarball laying around ? :)
 
 I have one. I can mail it to you soon, if you would like.
 
 Regards
 -
 Richard Sharpe, [EMAIL PROTECTED], [EMAIL PROTECTED], 
 [EMAIL PROTECTED]
 
 




RE: Re: Very bad performance when copying large files from windows to samba-share

2002-06-25 Thread Ulf Bertilsson
Title: RE: Re: Very bad performance when copying large files from windows to samba-share



Any 
good urls to get better understanding of this ? :)

  -Original Message-From: Esh, Andrew 
  [mailto:[EMAIL PROTECTED]]Sent: Monday, June 24, 2002 5:01 
  PMTo: 'Lars Heineken'; [EMAIL PROTECTED]Subject: 
  RE: Re: Very bad performance when copying large files from windows to 
  samba-share
  Yes, that's normal. the NBSS messages are the continuation 
  data that does not fit into the first SMB Write packet. If you total their 
  sizes, subtracting header information, the result will be equal to the Write 
  Count stated in the SMB WriteRaw request which is sent in the 
  beginning.
  -Original Message- From: Lars 
  Heineken [mailto:[EMAIL PROTECTED]] 
  Sent: Sunday, June 23, 2002 7:19 AM To: [EMAIL PROTECTED] Subject: Re: Re: 
  Very bad performance when copying large files from windows to samba-share 
  Hi ! 
  Sorry for being late. 
  I did the ethereal-capturing. What looks very strange on first 
  sight: About 6 of 10 packest are described as: NBSS Continuation 
  Message.
  Sometimes there are 6 of them one after another. 
  Is this normal ? 
  Regards, 
  Lars Heineken. 


RE: Foreign environment builds...

2002-05-29 Thread Ulf Bertilsson

 Just to let you know I'm still working on a way to build distribution
 packages that are targeted different from the actual system they are
 being built on.

Anybody got any fork() ? ;)

--
Ulf
Strugling with his platforms port...
Who needs memory protection anyway.. =D




FW: [AmigaSamba] Re: copying 2Gb files

2002-05-23 Thread Ulf Bertilsson

Any comments in proper way to handle this.

In the next release of Amiga OS,
OS will have hardcoded not to support larger files than 2G.

Any best practice in god way to handle this with SMB ?

--

 On 21-Mai-02, Ulf Bertilsson wrote:
 
  [..]
  But back to current version of Amiga Samba, is it hardcoded to 2G ?
  What happends if you try ?
  
  Some sanity/error reporting API here ?
 
I have no idea what is going to happen if you try it. 
 Judging by how the
 SMB protocol evolved, my best guess is that the results won't 
 be pretty and
 you shouldn't try this in your own home or a network in which 
 you could be
 held liable for the consequences.




Samba-Tivoli integration ?

2002-04-30 Thread Ulf Bertilsson

Hi,

We seems to for some devine rason to
use Tivoli for our management system.

The included event/system config set where
crap, and I guess I have to edit the policy
files to be able to get any useful info.

While I'm learning to make/edit this sets,
I was pondering for some basic syslog/smbd.log parser.

Do there exit such a thing ?

--
Ulf




RE: [?????.]??? ?????

2002-04-09 Thread Ulf Bertilsson

 Hmmn, methinks we need a better spam filter...
Let me know if you find a solution that is bullet prof :-)
--
Ulf