Gentoo Archives: gentoo-user

From: Dirk Heinrichs <dirk.heinrichs.ext@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: [slightly OT] Automounting Windows shares with autofs
Date: Fri, 01 Jun 2007 12:50:58
Message-Id: 200706011441.17529.dirk.heinrichs.ext@nsn.com
In Reply to: [gentoo-user] Re: [slightly OT] Automounting Windows shares with autofs by Alexander Skwar
1 Am Freitag, 1. Juni 2007 schrieb ext Alexander Skwar:
2 > Dirk Heinrichs <dirk.heinrichs.ext@×××.com> wrote:
3 > > Am Freitag, 1. Juni 2007 schrieb ext Dirk Heinrichs:
4 > >> Hmm, I guess the output of your script is wrong.
5 >
6 > Guess so as well :)
7 >
8 > >> Put this line into the
9 > >> awk part instead:
10 > >>
11 > >> { if (first) { print opts; first=0 }; print "
12 > >> \\\n\t/"$1"\t://"host"/"$1 }
13 >
14 > Thx. This works. The difference is, that you're printing "/DEPT", while
15 > I was printing just "DEPT" - IOW: you added a / before the Sharename.
16 > Strange that this is required, though, because in a static map, the
17 > / isn't required.
18
19 You mentioned auto.net in your first mail. This one also prints a
20 leading "/".
21
22 > > However, xxx$ shares don't work for me, which they do when entered in a
23 > > static auto.windows.
24 >
25 > Yep. Escaping seems to be in order.
26 >
27 > See http://askwar.pastebin.ca/527548 for the new version of the script.
28 >
29 > This fails with a much better error message for me ;)
30 >
31 > Yep. I'm not allowed access to D$. This can very well be.
32
33 I see a different picture :-(. It seems to be the sheer mass of shares on
34 that server. From the syslog, it looks like the automounter tries to mount
35 every share until it runs out of memory.
36
37 That would explain why my static (direct) map works, while the dynamic one
38 doesn't.
39
40 Bye...
41
42 Dirk
43 --
44 Dirk Heinrichs | Tel: +49 (0)162 234 3408
45 Configuration Manager | Fax: +49 (0)211 47068 111
46 Capgemini Deutschland | Mail: dirk.heinrichs@×××××××××.com
47 Wanheimerstraße 68 | Web: http://www.capgemini.com
48 D-40468 Düsseldorf | ICQ#: 110037733
49 GPG Public Key C2E467BB | Keyserver: www.keyserver.net

Attachments

File name MIME type
signature.asc application/pgp-signature