[Samba] samba 3.0.33, solaris and vfs problem and solution

2009-03-16 Thread rhubbell
Just to save some other poor soul from having to get around a
packaging issue on Solaris 5.10.

I just installed 3.0.33 and the package put all the vfs libs into
/usr/sfw/lib instead of in the right place /usr/sfw/lib/vfs.

I fixed by 
cd /usr/sfw/lib/vfs
ln -s /usr/sfw/lib/audit.so.0 audit.so

Repeat for each .so. This may not be the preferred work-around
but it works. 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] LDAP Account Manager 2.5.0 released

2009-01-22 Thread rhubbell

Just going to be direct, not to insult or disparage.
First thoughts were:
Cool an LDAP browser/interface.
Ugh, it's in PHP.
Hmm, it seems to be specific to a fixed set of schemas, seems like a limiting
feature.

What's the reason for limiting its use with certain schemas?
Will it work when pointed at any LDAP db?
Does it scale for 10.000, 50., 250.000 entries and beyond?
Do you have data to support its scalability?



On Wed, 21 Jan 2009 20:16:37 +0100
Roland Gruber p...@rolandgruber.de wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 LDAP Account Manager (LAM) 2.5.0 - January 21th, 2009
 =
 
 LAM is a web frontend for managing accounts stored in an LDAP directory.
 
 
 Announcement:
 - -
 
 LAM Pro now allows you to manage groups with the rfc2307bis schema and
 aliases (object class alias). The Samba module is able to manage more
 password options and the DHCP extension was enhanced for better stability.
 
 Full changelog: http://lam.sourceforge.net/changelog/index.htm
 
 
 Features:
 - -
 
 * management of Unix user and group accounts (posixAccount/posixGroup)
 * management of Samba 2.x/3 user and host accounts
   (sambaAccount/sambaSamAccount)
 * management of Kolab 2 accounts (kolabInetorgPerson)
 * profiles for account creation
 * account creation via file upload
 * automatic creation/deletion of home directories
 * setting quotas
 * PDF output for all accounts
 * editor for organizational units (OU)
 * schema browser
 * tree view
 * multiple configuration files
 * multi-language support: Catalan, Chinese (Traditional + Simplified),
   Czech, Dutch, English, French, German, Hungarian, Italian, Japanese,
   Polish, Portuguese, Russian and Spanish
 * support for LDAP+SSL/TLS
 
 
 Availability:
 - -
 
 This software is available under the GNU General Public License V2.0.
 
 You can get the newest version at http://lam.sf.net.
 
 File formats: DEB, RPM, tar.gz
 
 There is also a FreeBSD port.
 
 Debian users may use the packages in unstable.
 
 
 Demo installation:
 - --
 
 You can try our demo installation online.
 
 http://lam.sf.net/live-demo/index.htm
 
 
 Support:
 - 
 
 If you find a bug please file a bug report. For questions or
 implementing new features please use the forum and feature request
 tracker at our Sourceforge homepage http://www.sf.net/projects/lam.
 
 
 
 Authors  Copyright:
 - 
 
 Copyright (C) 2003 - 2009:
 Michael Duergner mich...@duergner.com
 Roland Gruber p...@rolandgruber.de
 Tilo Lutz tilol...@gmx.de
 
 
 LAM is published under the GNU General Public License.
 The comlete list of licenses can be found in the copyright file.
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.9 (GNU/Linux)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkl3dJUACgkQq/ywNCsrGZ4/zQCdGrqQ0apkI9bg0eZ9sNHQzvrJ
 3pIAn0LiYvMtFWPJIY9anYC8WEnV/YKB
 =sMPe
 -END PGP SIGNATURE-
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba performance issue

2009-01-08 Thread rhubbell
On Thu, 2009-01-08 at 08:27 -0800, Jeremy Allison wrote:
 On Thu, Jan 08, 2009 at 03:27:53PM +0100, Fabien wrote:
  Thanks for the information.
 
  Do you know why the smbclient, although faster, is not fast enough to go  
  over 80Mo/s ?
 
  Is there any plan to do the fiddly work on the smbfs implementation to  
  make it as fast as smbclient ? :)
 
 smbfs is dead. CIFSFS is under active development.


Is the fiddly work being done in CIFSFS?  Or planned?


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


Re: [Samba] Samba performance issue

2009-01-06 Thread rhubbell
On Mon, 2009-01-05 at 21:47 +0100, Volker Lendecke wrote:
 On Mon, Jan 05, 2009 at 08:25:34PM +0100, Fabien wrote:
  I've seen I'm not the only one impacted with this issue these times on 
  the mailing list :)
  
  I did the following test (Debian packages) :
  
  Server  Client : samba 3.2.5
  mount -t smbfs : ~35Mo/s
  mount -t cifs : ~35Mo/s
  smbclient : ~80Mo/s
  
  Server  Client : samba 3.0.24
  mount -t smbfs : ~35Mo/s
  mount -t cifs : ~35Mo/s
  smbclient : ~60Mo/s
  
  This is the first time I try smbclient.
  
  There is a real big difference between mount and smbclient !
  
  And it seems to be better to use the 3.2.5 version which is ~ 20Mo/s 
  better than the 3.0.24 version.
  
  Again, all of this was tested without using the disks (buffer cache).
  
  Do you know where does this difference comes from ?
 
 It's the latencies that kill performance. Given the
 request-response nature of the protocol with a limited
 request size (no matter how large you make them), you can
 only get a certain number of round trips per second.
 smbclient 3.2 and even more in upcoming 3.3 hides those
 latencies by issuing more than one request at the same time
 using the Multiplex ID field in the SMB header properly.
 Neither cifs nor smbfs do this.


Why do cifs and smbfs not have this capability?  Is it too much work? Is
it due to differences in the purpose of each?

Is there a way to setup smbclient to act like a mount point acts? I'm
pretty sure the answer's No. but I ask anyway.

Is this definition correct?

Multiplex ID:
Used by the server to verify the file access permissions of groups where
consumer-based file protection is in effect.

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


Re: [Samba] Samba performance issue

2009-01-06 Thread rhubbell
On Tue, 2009-01-06 at 19:20 +0100, Volker Lendecke wrote:
 On Tue, Jan 06, 2009 at 09:35:39AM -0800, rhubbell wrote:
  Why do cifs and smbfs not have this capability?  Is it too much work? Is
  it due to differences in the purpose of each?
 
 It's fiddly work nobody has done yet.


fiddly = not hard work, but tedious and sort of annoying?

 
  Is there a way to setup smbclient to act like a mount point acts? I'm
  pretty sure the answer's No. but I ask anyway.
 
 What do you mean by that? You want to slow down smbclient?

Ha, lol, no.  My question was probably ridiculous beyond comprehension.
Was asking if there was a way to make use of
smbclient to replace cifs or smbfs.

 
  Is this definition correct?
  
  Multiplex ID:
  Used by the server to verify the file access permissions of groups where
  consumer-based file protection is in effect.
 
 No, that is not correct. See
 http://go.microsoft.com/fwlink/?LinkId=89836 for a
 description of CIFS, alternatively look at
 http://ubiqx.org/cifs.


Thanks for those links, that definition I found definitely had me
scratching my head.


 
 Volker

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


Re: [Samba] Samba performance issue

2009-01-06 Thread rhubbell
On Tue, 2009-01-06 at 20:25 +0100, Volker Lendecke wrote:
 On Tue, Jan 06, 2009 at 10:41:55AM -0800, rhubbell wrote:
Why do cifs and smbfs not have this capability?  Is it too much work? Is
it due to differences in the purpose of each?
   
   It's fiddly work nobody has done yet.
  
  fiddly = not hard work, but tedious and sort of annoying?
 
 Fiddly as in not many of lines of code, but code with
 complex interactions and data dependencies. So I'd say for
 me it is hard work, others might find it easier. But as
 nobody has done it yet, I'd say I'm not completely alone in
 that assessment.


Ah, ok, understood, thanks. So it falls into the class of enhancements
under the heading Worthy but tricky. 

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


Re: [Samba] mounted directory repeating unexpected files and directories

2008-12-12 Thread rhubbell
Post your server config?
On Fri, 2008-12-12 at 10:15 -0800, Noah wrote:
 Hi Samba List,
 
 I am finding a strange problem between a mount samba directory.  Any
 clues why this is happening?
 
 The server side is WD MyBook World Edition II and the export directory
 is:  /shares/internal/Music/
 
 on the client site I am mounting the directory to /mnt/mybook-music
 the client is an ubuntu server
 
 $ uname -a
 Linux tsunami 2.6.24-22-generic #1 SMP Mon Nov 24 18:32:42 UTC 2008 i686
 GNU/Linux
 $ mount
 /dev/sdb1 on / type ext3 (rw,errors=remount-ro)
 proc on /proc type proc (rw,noexec,nosuid,nodev)
 /sys on /sys type sysfs (rw,noexec,nosuid,nodev)
 varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)
 varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
 udev on /dev type tmpfs (rw,mode=0755)
 devshm on /dev/shm type tmpfs (rw)
 devpts on /dev/pts type devpts (rw,gid=5,mode=620)
 lrm on /lib/modules/2.6.24-22-generic/volatile type tmpfs (rw)
 securityfs on /sys/kernel/security type securityfs (rw)
 //192.168.1.20/Music on /mnt/mybook-music type cifs (rw,mand)
 binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
 (rw,noexec,nosuid,nodev)
 
 
 Now here is the issue.
 
 The directory views for a particular directory are not the same on
 server vs. the client side.
 
  From the client side I do an 'ls -l /mnt/mybook-music/Madonna/Music |
 wc -l' see that the output equals the line could of 'mnt/mybook-music'
 
 $ ls -l /mnt/mybook-music/Madonna/Music | wc -l
 2242
 $ ls -l /mnt/mybook-music | wc -l
 2242
 
 now on the server side
 # ls -l /shares/internal/Music/Madonna/Music | wc -l
 4
 [r...@mybookmusic Madonna]# ls -l /shares/internal/Music | wc -l
 2242
 
 The client sees all the files that are displayed from 'ls
 /mnt/mybook-music' command and also displayed from an 'ls
 /mnt/mybook-music/Madonna/Music' command.
 
 where on the server side 'ls -l /shares/internal/Music/Madonna/Music'
 does not show the contents of '/shares/internal/Music' and only show 3
 files.
 
 # ls -l /shares/internal/Music/Madonna/Music
 total 11396
 -rwxr-xr-x 1 noah noah 3345473 Apr 11  2006 Gone.mp3
 -rwxr-xr-x 1 noah noah 3483214 May  3  2005 Impressive Instant.mp3
 -rwxr-xr-x 1 noah noah 4814848 May  3  2005 Nobody's Perfect.mp3
 
 server side version details:
 [r...@mybookmusic Madonna]# ipkg list_installed | grep samba
 samba - 3.2.4-1 - Samba suite provides file and print services to
 SMB/CIFS clients.
 
 client version details:
 $ dpkg --list | grep samba
 ii  samba  3.0.28a-1ubuntu4.7
  a LanManager-like file and printer server
 for Unix
 ii  samba-common   3.0.28a-1ubuntu4.7
  Samba common files used by both the server
 and the clien
 
 
 the client mounted //192.168.1.20/Music from the fstab.
 
 $ cat /etc/fstab
 # /etc/fstab: static file system information.
 #
 # file system mount point   type  options   dump  pass
 proc/proc   procdefaults0   0
 # /dev/hdb1
 UUID=e0b6f66b-b3f6-44f4-b5b6-e2cfb6e32048 /   ext3
 defaults,errors=remount-ro 0   1
 # /dev/hdb5
 UUID=e1d2239f-b911-4ee2-848e-6bcb3672104d noneswapsw
0   0
 /dev/hdd/media/cdrom0   udf,iso9660 user,noauto,exec 0
   0
 /dev/hdc/media/cdrom1   udf,iso9660 user,noauto,exec 0
   0
 //192.168.1.20/Music/mnt/mybook-music smbfs
 userid=username,passwd=password,rw 0 0
 
 Cheers,
 Noah
 

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


Re: [Samba] ballpark perf. numbers

2008-12-05 Thread rhubbell
Thanks Srini, it's a start.

On Thu, 2008-12-04 at 20:49 -0800, Srinivasan Jayarajan wrote:
 I am not sure if this is what your looking for
 http://us1.samba.org/samba/docs/man/Samba-Guide/secure.html
 
 Thanks,
 Srini
 
 
 --- On Thu, 12/4/08, rhubbell [EMAIL PROTECTED] wrote:
 
  From: rhubbell [EMAIL PROTECTED]
  Subject: [Samba] ballpark perf. numbers
  To: samba@lists.samba.org
  Date: Thursday, December 4, 2008, 4:59 PM
  Was wondering if anyone's got some ballpark performance
  numbers
  that they can share. It would be great to see some basic
  numbers,
  nothing formal.  Even if it's just observations
  from a system you manage or monitor.
  
  I'd be most interested to see how a single server with
  multiple
  clients performs.  Throughput, reads/writes and if possible
  a
  rough view of server memory and cpu per byte and per read
  and per write.
  
  As you can see I'm just trying to get a feel for how
  Samba
  performs and scales.
  
  -- 
  To unsubscribe from this list go to the following URL and
  read the
  instructions: 
  https://lists.samba.org/mailman/listinfo/samba
 
 
   

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


Re: [Samba] server or client having the problem?

2008-12-04 Thread rhubbell
Please choose one or more.

Was this message:

A.  Extremely esoteric.
B.  Ridiculously common.
C.  Works for me.
D.  Non-sequitur.
E.  Boring.
F.  Old software, go away.
G.  Facile.
H.  Call your vendor(s), chump.

Thanks for participating.

On Mon, 2008-12-01 at 11:50 -0800, rhubbell wrote:
 Hello,
 
 Running client on 
 redhat4 version 3.0.28-0
 
 and the server on 
 Solaris 10 version 3.0.25c
 
 Writing 2-3megabytes/second.
 
 Something stopped working.
 
 On the client I ran strace against the mount.smbfs process:
 
 It showed 
 pause(
 
 On the server all I saw was this:
 [2008/11/30 14:14:43, 1] smbd/service.c:(1230)
 192.168.1.200 (192.168.1.200) closed connection to service smbmnt
 
 Can't strace smbiod on the client and can't find the man page for it and
 I can't send signal 11 to try to get a core.
 
 I'm just running this instead of NFS, would CIFS be a better choice
 here?
 
 

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


Re: [Samba] server or client having the problem?

2008-12-04 Thread rhubbell

I was trying to get a feel for samba as a solution to just serve files.
I ran a long duration test over the holiday.
I haven't tried it again.

[global]
workgroup = smbmnt
server string = Samba Server
security = server
hosts allow = 192.168. 127.
load printers = no
log file = /var/samba/log/log.%m
max log size = 5
passdb backend = smbpasswd
dns proxy = no

[smbmnt]
path = /data/a1/b1/c1
public = no
valid users = daemon
writable = yes

On the client:
mount -t smbfs -o username=daemon //server/smbmnt /smbmnt


I was hesitant to enable too much logging as I read there
was a severe, negative performance impact.  
Performance is a keystone for me. It seems to hold up fine so I can
increase and try again but explorations like this take a lot of time so
I may not pursue this; at least not right away.





On Thu, 2008-12-04 at 12:04 -0500, Aaron Maley wrote:
 G) Not enough info
 Did this only happen once? Is it a continuous problem? What's your
 server config file look like? Can you duplicate the issue? If you can
 duplicate it more detailed logs might help.
 
 I'm no expert, but there simply isn't enough info here to figure out
 what's going on.
 
 rhubbell wrote: 
  Please choose one or more.
  
  Was this message:
  
  A.  Extremely esoteric.
  B.  Ridiculously common.
  C.  Works for me.
  D.  Non-sequitur.
  E.  Boring.
  F.  Old software, go away.
  G.  Facile.
  H.  Call your vendor(s), chump.
  
  Thanks for participating.
  
  On Mon, 2008-12-01 at 11:50 -0800, rhubbell wrote:

   Hello,
   
   Running client on 
   redhat4 version 3.0.28-0
   
   and the server on 
   Solaris 10 version 3.0.25c
   
   Writing 2-3megabytes/second.
   
   Something stopped working.
   
   On the client I ran strace against the mount.smbfs process:
   
   It showed 
   pause(
   
   On the server all I saw was this:
   [2008/11/30 14:14:43, 1] smbd/service.c:(1230)
   192.168.1.200 (192.168.1.200) closed connection to service smbmnt
   
   Can't strace smbiod on the client and can't find the man page for it and
   I can't send signal 11 to try to get a core.
   
   I'm just running this instead of NFS, would CIFS be a better choice
   here?
   
   
   
  

 

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


[Samba] ballpark perf. numbers

2008-12-04 Thread rhubbell

Was wondering if anyone's got some ballpark performance numbers
that they can share. It would be great to see some basic numbers,
nothing formal.  Even if it's just observations
from a system you manage or monitor.

I'd be most interested to see how a single server with multiple
clients performs.  Throughput, reads/writes and if possible a
rough view of server memory and cpu per byte and per read and per write.

As you can see I'm just trying to get a feel for how Samba
performs and scales.

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


[Samba] server or client having the problem?

2008-12-01 Thread rhubbell
Hello,

Running client on 
redhat4 version 3.0.28-0

and the server on 
Solaris 10 version 3.0.25c

Writing 2-3megabytes/second.

Something stopped working.

On the client I ran strace against the mount.smbfs process:

It showed 
pause(

On the server all I saw was this:
[2008/11/30 14:14:43, 1] smbd/service.c:(1230)
192.168.1.200 (192.168.1.200) closed connection to service smbmnt

Can't strace smbiod on the client and can't find the man page for it and
I can't send signal 11 to try to get a core.

I'm just running this instead of NFS, would CIFS be a better choice
here?


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