The only way viewing AND editing AND printing PDF documents is to utilize Linux's Acrobatreader software. Doing so in an LDAP environment (which is not very uncommon within non home/desktop environment) renders acroread8 and all other Linux utilities which try to resolve the UID of its user unusuable! Every attempt configuring Linuxulator using LDAP failed so far and is beyond my scope. This error occurs always when trying to start acroread8: (acroread:41624): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (2001) (acroread:41624): Gdk-WARNING **: shmget failed: error 12 (Cannot allocate memory) How-To-Repeat: Install acrobatviewer out of the ports within a LDAP environment and try to use acroread from LDAP-user.
On Mon, Sep 01, 2008 at 08:23:01AM +0000, O. Hartmann wrote: > >Synopsis: Linuxulator incapable of using FreeBSD's LDAP environment Is this for the ports or bin category? Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/
State Changed From-To: open->feedback Note that feedback has been requested.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-emulation Over to the emulation people.
State Changed From-To: feedback->closed No activity for a year, feedback timeout, probably not ports related at all
Just noticed this via mail to emulation@ and since I used to have LDAP in the past I'd like to contribute some feedback. The underlying problem is that LDAP integration is done through nsswitch (part of libc) and nss_ldap.so module (from ports). Linux has the same mechanism however linux-compiled glibc will obviously fail to load freebsd-native nss_ldap.so. I assume that to get LDAP in linuxulator one will first need to install linux version of nss_ldap and it's dependencies and then configure nsswitch in /compat/linux/etc as he would on real linux system. At this time however there are no ports for those libs. I believe that it's also possible to solve this problem in more general way by writing some kind of nscd(8) proxy that would translate between protocol used in freebsd and what is expected by glibc.