Hello,

I've been wrangling with this problem long enough to consider giving
up. I'd appreciate a competent opinion on whether it has a solution or
not.

Here's my tree structure:

dc=uchicago-stat,dc=org
   cn=admin
   o=nmcp
      cn=admin
      uid=acolles
      uid=blalock
      ...
   o=grmep
      cn=admin
      uid=cmayo
      oid=tkocher

Phpldapadmin behaves correctly only when I log in as
"cn=admin,dc=uchicago-stat,dc=org".

When I log in as "cn=admin,o=demo,dc=uchicago-stat,dc=org", I see:

  Logged in as: cn=admin,o=demo
     ? dc=uchicago-stat,dc=org
        This base entry does not exist. Create it?

Same result when logging in as "uid=acolles,o=demo,dc=uchicago-stat,dc=org".

I can access the entries I need to edit, but it would be nice to see
them in in the directory panel.

I tried adding these base dns:

  $servers->setValue('server','base',
array('o=demo,dc=uchicago-stat,dc=org',
'o=grmep,dc=uchicago-stat,dc=org'));

The only change now is that I do see the parent dn (with a '+') and
the uncle dn (with a '?'):

  Logged in as: uid=acolles
     + o=demo,dc=uchicago-stat,dc=org
        ? o=grmep,dc=uchicago-stat,dc=org
            This base entry does not exist Create it?

The parent entry, even though it is shown with a '+', does not expand:
"opencloseTreeNode is not defined.

I can achieve what I want in Apache Directory Studio and in YALA. Both
allow to specify a base dn for the session, along with the bind dn.
But YALA's editing interface is too cumbersome to be left in the hands
of untrained users and Apage Directory Studio is not a web
application.

I wonder how difficult it will be to add a base dn entry to the login
screen in phpldapadmin, if it cannot be derived from the bind dn using
a simple logic. Essentially, I want the leaf nodes to have the same
base dn as their bind dn, and for admin logins, I want them to see
their parent dn.

Thanks,

--Gene

------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
phpldapadmin-users mailing list
phpldapadmin-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to