[Bug 1680224] Re: auto.smb fails on Windows administrative shares

2017-04-13 Thread Ian Kent
The two autofs patches Mark has attached aren't yet available on kernel.org but I will (eventually) commit them to the autofs repo. and upload them. The change will be included in autofs-5.1.3. The only difference between what will be upstream and what has been posted will be a single line descrip

[Bug 1680224] Re: auto.smb fails on Windows administrative shares

2017-04-23 Thread Ian Kent
I have made a small change to the patch of comment #6. I've added initialization of the malloc()ed pmapent variable. While that wasn't a problem it can be on some architectures. ** Patch added: "Patch - increase worker thread per-thread stack size" https://bugs.launchpad.net/ubuntu/+source/aut

[Bug 1680224] Re: auto.smb fails on Windows administrative shares

2017-04-23 Thread Ian Kent
In reviewing the first patch I've found another problem with mapent_len possibly not being initialized. Note the order of application of the patch is: autofs-5.1.2 - use malloc for expanded map location autofs-5.1.2 - fix offset mount location multiple expansion and, although they are against cur