Bug 127018 - Linuxulator incapable of using FreeBSD's LDAP environment
Summary: Linuxulator incapable of using FreeBSD's LDAP environment
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-01 09:30 UTC by O. Hartmann
Modified: 2009-12-20 18:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2008-09-01 09:30:02 UTC
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.
Comment 1 edwin 2008-09-01 10:04:00 UTC
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/
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2008-09-08 02:03:24 UTC
State Changed
From-To: open->feedback

Note that feedback has been requested.
Comment 3 Stefan Walter freebsd_committer freebsd_triage 2008-10-21 08:21:49 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-emulation

Over to the emulation people.
Comment 4 Pav Lucistnik freebsd_committer freebsd_triage 2009-12-19 17:50:20 UTC
State Changed
From-To: feedback->closed

No activity for a year, feedback timeout, probably not ports related at all
Comment 5 mwisnicki 2009-12-20 18:05:49 UTC
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.