Am Freitag, 1. Juni 2007 schrieb ext Alexander Skwar: > Dirk Heinrichs <[EMAIL PROTECTED]> wrote: > > Am Freitag, 1. Juni 2007 schrieb ext Dirk Heinrichs: > >> Hmm, I guess the output of your script is wrong. > > Guess so as well :) > > >> Put this line into the > >> awk part instead: > >> > >> { if (first) { print opts; first=0 }; print " > >> \\\n\t/"$1"\t://"host"/"$1 } > > Thx. This works. The difference is, that you're printing "/DEPT", while > I was printing just "DEPT" - IOW: you added a / before the Sharename. > Strange that this is required, though, because in a static map, the > / isn't required.
You mentioned auto.net in your first mail. This one also prints a leading "/". > > However, xxx$ shares don't work for me, which they do when entered in a > > static auto.windows. > > Yep. Escaping seems to be in order. > > See http://askwar.pastebin.ca/527548 for the new version of the script. > > This fails with a much better error message for me ;) > > Yep. I'm not allowed access to D$. This can very well be. I see a different picture :-(. It seems to be the sheer mass of shares on that server. From the syslog, it looks like the automounter tries to mount every share until it runs out of memory. That would explain why my static (direct) map works, while the dynamic one doesn't. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net
signature.asc
Description: This is a digitally signed message part.