[autofs] [PATCH] replicated mounts fix, also possible bug in beta2?

2005-04-02 Thread Jeff Layton
I've been working on a patch for the userspace portion of autofs to change the way that replicated mounts are handled. This patch changes mount_nfs.c such that it parses all of the mounts in the list, sorts them, and then tries to mount each in turn. The existing code breaks (fails to mount) if it

Re: [autofs] [PATCH] replicated mounts fix, also possible bug in beta2?

2005-04-02 Thread raven
On Sat, 2 Apr 2005, Jeff Layton wrote: I've been working on a patch for the userspace portion of autofs to change the way that replicated mounts are handled. This patch changes mount_nfs.c such that it parses all of the mounts in the list, sorts them, and then tries to mount each in turn. The

Re: [autofs] [PATCH] replicated mounts fix, also possible bug in beta2?

2005-04-02 Thread Jeff Layton
On Sun, 2005-04-03 at 00:53 +0800, [EMAIL PROTECTED] wrote: Yes. That part of the code is a bit broken. I've been working on it and I hope beta3 will work better. One of the things that the replcated server code is meant to do is avoid trying to mount to servers that aren't responding. How

Re: [autofs] Is autofs4 8-bit compatible?

2005-04-02 Thread atlantos41
On Sunday 27 March 2005 06:01, [EMAIL PROTECTED] wrote: Could you try this one please? --- autofs-4.1.3/modules/lookup_file.c.wide_char 2005-03-27 10:47:16.0 +0800 +++ autofs-4.1.3/modules/lookup_file.c 2005-03-27 10:48:32.0 +0800 @@ -148,7 +148,7 @@ static int

Re: [autofs] Is autofs4 8-bit compatible?

2005-04-02 Thread raven
On Sun, 3 Apr 2005, atlantos41 wrote: I tried this patch and now automount mounts all shares. But automount can't umount mounted shares with 8-bit chars in share names - I have entries in syslog like (I start autofs with command `automount --timeout=60 --verbose /smb file /etc/auto.smb``): Thanks.

Re: [autofs] [PATCH] replicated mounts fix, also possible bug in beta2?

2005-04-02 Thread raven
Thanks for that. As you probably realise adding this to the current beta is not a good idea as this needs to stabilise to go to release. Making a significant change like this at this time is a bad idea. So it's 4.1.5. At least your not alone, I have a couple of other patches. I'll have a look.

[autofs] Autofs TLS and binddn/bindpw patch.

2005-04-02 Thread mzozd
Dear maintainer, this patch adds support for TLS and non-anonymous binds for autofs. You could include it in your next release if you feel so. Thanks, MzOzD --- samples/autofs-ldap-auto-master.c.orig 2005-03-30 17:43:06.0 +0100 +++ samples/autofs-ldap-auto-master.c

[autofs] [PATCH] replicated mount fixes -- also question about beta version mount_mount() call

2005-04-02 Thread Jeffrey Layton
I've been working on an overhaul of mount_nfs.c. This is primarily to fix a problem with the current revision and replicated mounts. If the first mount fails, the current code just gives up and fails. My patch corrects this so that the mounts are parsed and then sorted and tried in turn. I got