From owner-freebsd-questions@FreeBSD.ORG Mon Sep 1 17:12:04 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D6D4106564A for ; Mon, 1 Sep 2008 17:12:04 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from mail.freebsd-corp-net-guide.com (mail.freebsd-corp-net-guide.com [65.75.192.90]) by mx1.freebsd.org (Postfix) with ESMTP id 523A98FC1B for ; Mon, 1 Sep 2008 17:12:04 +0000 (UTC) (envelope-from tedm@toybox.placo.com) Received: from TEDSDSK (nat-rtr.freebsd-corp-net-guide.com [65.75.197.130]) by mail.freebsd-corp-net-guide.com (8.13.8/8.13.8) with SMTP id m81HC18J027280; Mon, 1 Sep 2008 10:12:02 -0700 (PDT) (envelope-from tedm@toybox.placo.com) From: "Ted Mittelstaedt" To: "O. Hartmann" , "Konrad Heuer" Date: Mon, 1 Sep 2008 10:13:01 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933 In-Reply-To: <48BBBED9.9060901@zedat.fu-berlin.de> Importance: Normal X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (mail.freebsd-corp-net-guide.com [65.75.192.90]); Mon, 01 Sep 2008 10:12:03 -0700 (PDT) Cc: freebsd-questions@freebsd.org Subject: RE: Linux, LDAP and the impossibility of handling editable PDFs X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Sep 2008 17:12:04 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of O. Hartmann > Sent: Monday, September 01, 2008 3:07 AM > To: Konrad Heuer > Cc: freebsd-questions@freebsd.org > Subject: Re: Linux, LDAP and the impossibility of handling editable PDFs > > > Konrad Heuer wrote: > > > > On Mon, 1 Sep 2008, O. Hartmann wrote: > > > >> Several months ago I tried configuring the Linuxulator on several > >> FreeBSD 7.X boxes, most of them pure amd64 and pure 64 bit (as it is > >> possible with Intels pseudo 64 bit crap). The reason for that is > >> simple. Having FreeBSD (now 7.1-PRE) as my favorite OS on servers AND > >> hybrid boxes (acting as workstations AND small servers) makes life > >> easy - I thought and was touhgt wrong. > >> Our administration sends a lot of PDFs around and as it is very usual, > >> our applications, forms and so on for scientific congresses etc. are > >> all PDF and subject to be edited. And here it comes that FreeBSD seems > >> to be a definite deadend! > >> Using pdfedit is wrong, it can't show or edit any PDF we obtained so > >> far. Using 'pdftk' fails, it is not made to run in modern 64 bit > >> environments only when using FreeBSD (linux seems to have no problem, > >> especially Ubuntu does the thing). So, then I remembered myself about > >> Linuxulator and tried acrobatviewer - and failed. As in other > >> professional environments we were far away from using simple user > >> management and therefore there is a LDAP environment. And, funny, > >> Linuxulator does not contact LDAP even if I try to configure it to > >> use our LDAP environment. Digging around what flavor of Linux FreeBSD > >> installs (means: do al ot of work), reading about how to use PAM and > >> LDAP on Linux (means: doing again additional work in an environment I > >> try to avoid!) and at last no success, because something is missing or > >> the Linuxulator should use something for user authentication and > >> autorization it does not have and uses therefore the FreeBSD stuff and > >> then fails. Especially for the Acrobat weirdness (or call it software) > >> something like this occurs whenn attempting starting acrobat reader: > >> > >> (acroread:18831): GLib-WARNING **: getpwuid_r(): failed due to unknown > >> user id (2001) > >> > >> (acroread:18831): Gdk-WARNING **: shmget failed: error 12 (Cannot > >> allocate memory) > >> > >> > >> If there is someone here running a 64 bit environment within a LDAP > >> realm and already got successfully running the Linux add ons as > >> expected for LDAP users, you are really welcome to give me some hints > >> how to turn around my frustration and thoughts about definitely > >> leaving the FreeBSD path ... > > > > I use a simple workaround to make the Adobe reader (and some > other Linux > > binaries) work - I simply added following entries to the > crontab file of > > root: > > > > 00 05 * * * /usr/bin/getent passwd | /usr/bin/sed '1,/nobody/d' > > > /usr/compat/linux/etc/passwd 2> /dev/null > > 15 05 * * * /usr/bin/getent group > /usr/compat/linux/etc/group 2> > > /dev/null > > > > Hope that helps a little bit ... > > > > Best regards > > > > Konrad Heuer > > GWDG, Am Fassberg, 37077 Goettingen, Germany, kheuer2@gwdg.de > > > > > > Thank you very much, this works. > But this seems to be a hack, The REAL hack is running Adobre Reader on the Linuxlator Contact Adobe and demand a native FreeBSD version. You won't be alone. As soon as Adobe gets enough complaints from FreeBSD users they will go forward with a native FreeBSD port. They did it with Linux. Years ago they refused to release a Linux version of Reader. User complaints changed that. Ted