Tom Peters | 1 Apr 2006 03:02

Re: 3.0.21c and big wmv or mpg files

At 10:40 PM 3/29/2006 +0200, you wrote:
>Hi  <at> all,
>
>are there any problems known with 3.0.21c and bigger video files (mpg and 
>wmv greater than 700 MB)?
>
>Received the information that these files cannot copied from XP to Samba 
>(W2K is okay). Error message is the well known:
>
>[2006/03/28 18:03:36, 0] lib/util_sock.c:get_peer_addr(1225)getpeername 
>failed. Error was Transport endpoint is not connected

I chased this elusive problem for a year. I'm still running 3.09-2.3 but I 
see it on other versions.

Tell me, do you get this problem when you drag/n/drop a file into a folder 
on the samba share? And can you prevent this problem from occurring by the 
following procedure?

Click in the target window on the samba machine (this is on the XP 
desktop). Press F5 to refresh the view. Wait about a second. Immediately 
start your copy. When I do this, the errors, previously reported to the 
desktop and to my server log, don't occur.

I've been told that it's a WinXP only issue, that it attempts to connect on 
ports 445 and 139 nearly simultaneously, and then proceeds to talk over 
whichever one answers first. I'm told that Win2k clients won't have this 
problem, and Win98 clients don't use port 445 so it doesn't arise there.

Anyone have evidence to the contrary (so far)?
(Continue reading)

Paul Matthews | 1 Apr 2006 04:39
Picon
Favicon

RE: Winbind and email server]

okay, im far from a pam expert, but i don't see any mention of winbind there?

It's my weekend at the moment so i can't get to my test box at work to
show you my pam module using winbind, but maybe you should check out this
page on my website, it's using ldap try and use this and replace any
mention of ldap with winbind

http://www.yourhowto.org/content/view/35/9/

or

i have a how-to for authenticating against Active directories using LDAP

http://www.yourhowto.org/content/view/34/9/

check it out, i'm sure that that wont need a local users as well, i'll be
back at work on monday and can probably help you more, but give those two
a go, see if anything comes from them

> OK, here's the samba module:
>
> #%PAM-1.0
> auth       required     pam_nologin.so
> auth       required     pam_stack.so service=system-auth
> account    required     pam_stack.so service=system-auth
> session    required     pam_mkhomedir.so skel=/etc/skel umask=0022
session    required     pam_stack.so service=system-auth
> password   required     pam_stack.so service=system-auth
>
> and here's system-auth:
(Continue reading)

Doug VanLeuven | 1 Apr 2006 06:20
Favicon

Re: 3.0.21c and big wmv or mpg files

Tom Peters wrote:
> At 10:40 PM 3/29/2006 +0200, you wrote:
>> Hi  <at> all,
>>
>> are there any problems known with 3.0.21c and bigger video files (mpg 
>> and wmv greater than 700 MB)?
>>
>> Received the information that these files cannot copied from XP to 
>> Samba (W2K is okay). Error message is the well known:
>>
>> [2006/03/28 18:03:36, 0] 
>> lib/util_sock.c:get_peer_addr(1225)getpeername failed. Error was 
>> Transport endpoint is not connected
> 
> I chased this elusive problem for a year. I'm still running 3.09-2.3 but 
> I see it on other versions.
> 
> Tell me, do you get this problem when you drag/n/drop a file into a 
> folder on the samba share? And can you prevent this problem from 
> occurring by the following procedure?
> 
> Click in the target window on the samba machine (this is on the XP 
> desktop). Press F5 to refresh the view. Wait about a second. Immediately 
> start your copy. When I do this, the errors, preterviously reported to the 
> desktop and to my server log, don't occur.
> 
> I've been told that it's a WinXP only issue, that it attempts to connect 
> on ports 445 and 139 nearly simultaneously, and then proceeds to talk 
> over whichever one answers first. I'm told that Win2k clients won't have 
> this problem, and Win98 clients don't use port 445 so it doesn't arise 
(Continue reading)

mallapadi niranjan | 1 Apr 2006 06:25
Picon
Gravatar

Re: Smbd hanging

Hi all

The following is the backtrace when the samba hanged .
samba version 3.0.21c there were about 168 process and samba was unable to
take
any new connection
###############################################################
(gdb) attach 2955
Attaching to process 2955
Reading symbols from /usr/local/samba3c3/sbin/smbd...done.
Using host libthread_db library "/lib/tls/libthread_db.so.1".
Loaded symbols for /usr/local/samba3c3/sbin/smbd
Reading symbols from /usr/lib/libldap-2.2.so.7...done.
Loaded symbols for /usr/lib/libldap-2.2.so.7
Reading symbols from /usr/lib/liblber-2.2.so.7...done.
Loaded symbols for /usr/lib/liblber-2.2.so.7
Reading symbols from /usr/lib/libgssapi_krb5.so.2...done.
Loaded symbols for /usr/lib/libgssapi_krb5.so.2
Reading symbols from /usr/lib/libkrb5.so.3...done.
Loaded symbols for /usr/lib/libkrb5.so.3
Reading symbols from /usr/lib/libk5crypto.so.3...done.
Loaded symbols for /usr/lib/libk5crypto.so.3
Reading symbols from /lib/libcom_err.so.2...done.
Loaded symbols for /lib/libcom_err.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
Reading symbols from /usr/lib/libcups.so.2...done.
Loaded symbols for /usr/lib/libcups.so.2
Reading symbols from /lib/libssl.so.4...done.
Loaded symbols for /lib/libssl.so.4
(Continue reading)

Antony Gelberg | 1 Apr 2006 13:56
Picon

Re: smb-ldap or not to smb-ldap

[Sorry for my previous empty post, lost it for a second.]

Craig White wrote:
> On Fri, 2006-03-31 at 16:30 +0100, Antony Gelberg wrote:
> 
>>Hi all,
>>
>>We are deploying a Linux server and desktops for a customer.  We will
>>have the users and groups in LDAP on the server, and files shared via NFS.
>>
>>However, one never knows if Windows desktops will be needed in the
>>future.  Is it a good idea to add users with smb-ldap even if samba is
>>not initially used, as adding the samba attributes to an existing LDAP
>>database is painful, and the smb-ldap created users will have the
>>relevant POSIX credentials to be able to login anyway?
> 
> ----
> It would seem to me that a successful LDAP implementation is going to
> have an administrator who can script changes to the users attributes
> when necessary, otherwise, it's not just a down the road implementation
> of samba that will make things difficult.
> 
> My thinking is that time spent now to acquire skill sets is better than
> spending time to configure an imagined samba implementation which may
> happen down the road.

You're right, but time is not always that easy to come by and
smbldap-tools is a real time-saver, being so powerful.

> That being said, it probably won't hurt anything to implement
(Continue reading)

Antony Gelberg | 1 Apr 2006 13:55
Picon

Re: smb-ldap or not to smb-ldap

Craig White wrote:
> On Fri, 2006-03-31 at 16:30 +0100, Antony Gelberg wrote:
> 
>>Hi all,
>>
>>We are deploying a Linux server and desktops for a customer.  We will
>>have the users and groups in LDAP on the server, and files shared via NFS.
>>
>>However, one never knows if Windows desktops will be needed in the
>>future.  Is it a good idea to add users with smb-ldap even if samba is
>>not initially used, as adding the samba attributes to an existing LDAP
>>database is painful, and the smb-ldap created users will have the
>>relevant POSIX credentials to be able to login anyway?
> 
> ----
> It would seem to me that a successful LDAP implementation is going to
> have an administrator who can script changes to the users attributes
> when necessary, otherwise, it's not just a down the road implementation
> of samba that will make things difficult.
> 
> My thinking is that time spent now to acquire skill sets is better than
> spending time to configure an imagined samba implementation which may
> happen down the road.
> 
> That being said, it probably won't hurt anything to implement
> smbldap-tools but consider that the real issue is the tool sets you use
> to create/modify existing users outside of the samba realm must all
> anticipate the samba schema because the smbldap-tools are for samba
> based tools.
> 
(Continue reading)

Thomas Bork | 1 Apr 2006 15:15
Picon

Re: 3.0.21c and big wmv or mpg files

Tom Peters wrote:

> Tell me, do you get this problem when you drag/n/drop a file into a 
> folder on the samba share? And can you prevent this problem from 
> occurring by the following procedure?

I cannot see the problem here but heared from 2 users of 3.0.21c with 
this problem.

Downloaded a file with 843 MB which reproducable triggered the error by 
one of the users - but not on my system.

We are using the _same_ samba version (built by me) on the same 
distribution:

http://www.eisfair.org/
http://www.pack-eis.de/index.php?p=samba

I'm the maintainer of this samba package and therefore interested in to 
correct this.

> Click in the target window on the samba machine (this is on the XP 
> desktop). Press F5 to refresh the view. Wait about a second. Immediately 
> start your copy. When I do this, the errors, previously reported to the 
> desktop and to my server log, don't occur.

The user copies the file with:

- right click to the local file and 'copy'
- right click in the share and 'insert'
(Continue reading)

Craig White | 1 Apr 2006 16:10

Re: smb-ldap or not to smb-ldap

On Sat, 2006-04-01 at 12:56 +0100, Antony Gelberg wrote:
> [Sorry for my previous empty post, lost it for a second.]
> 
> Craig White wrote:
> > On Fri, 2006-03-31 at 16:30 +0100, Antony Gelberg wrote:
> > 
> >>Hi all,
> >>
> >>We are deploying a Linux server and desktops for a customer.  We will
> >>have the users and groups in LDAP on the server, and files shared via NFS.
> >>
> >>However, one never knows if Windows desktops will be needed in the
> >>future.  Is it a good idea to add users with smb-ldap even if samba is
> >>not initially used, as adding the samba attributes to an existing LDAP
> >>database is painful, and the smb-ldap created users will have the
> >>relevant POSIX credentials to be able to login anyway?
> > 
> > ----
> > It would seem to me that a successful LDAP implementation is going to
> > have an administrator who can script changes to the users attributes
> > when necessary, otherwise, it's not just a down the road implementation
> > of samba that will make things difficult.
> > 
> > My thinking is that time spent now to acquire skill sets is better than
> > spending time to configure an imagined samba implementation which may
> > happen down the road.
> 
> You're right, but time is not always that easy to come by and
> smbldap-tools is a real time-saver, being so powerful.
> 
(Continue reading)

Terry Jones | 1 Apr 2006 18:23
Picon
Picon
Favicon

Re: File versioning with Samba (on a Linux filesystem)?

Thanks very much to everyone for all the input on this question.

Terry
--

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

Steve A | 2 Apr 2006 00:01

Samba perms vs. fs perms

The subject's a little misleading really, but I was looking for some 
clarification of my thoughts...

In Windows, one can use both share permissions and NTFS permissions to 
control access to files. I would normally use share permissions to control a 
connection (allow/deny), and use NTFS to control access. I would never use 
share permissions to control access whilst NTFS was capable of doing it.

Is this relationship the same for Samba permissions and file system 
permissions? Would you ideally use Samba for connection control, and the 
file system for access control?

If I can sneak a related question in here... I want a 'public' share, with 
only the owner able to modify their own files, do I just use the sticky bit 
filesystem attribute on the public shared directory?

Many thanks,
Steve :) 

--

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


Gmane