Re: 2.2.5 double listing

Turbo Fredriksson <[email protected]> Fri, 15 Jul 2005 15:16:56 +0200
Newsgroups gmane.mail.qmail.ldap.phpqladmin
Organization Bah!
Message-ID <[email protected]>
Quoting "GG Noris" <[email protected]>:

> hello.
> i have tested the 2.2.5 version.
> I login in my databases with initial logon.
> I have some trouble to convert my old ldap structure config with the new
> layout.

As you can understand, there's as many database layouts as there is LDAP
administrators so it's difficult for me to predict all possible ways...

> this is the last try:
>
> c=it ( and all phpqladmin objectclasses and value putted here )
> 	ou=example.com
> 			[email protected]
> 			[email protected]
> 	ou=example2.com
> 			[email protected]
> 			[email protected]
> 	ou=qmailldap
> 			cn=firstmx
> 			cn=secondmx

Try changing the 'ou' to 'o' here, and put a 'ou=People' in each of them.


But in your case, I wonder if itsn't better to use 'dc':

----- s n i p -----
cn=firstmx,ou=QmailLDAP,o=YOUR_company,c=IT
cn=secondmx,ou=QmailLDAP,o=YOUR_company,c=IT

[email protected],dc=example,dc=com

[email protected],dc=example2,dc=com
----- s n i p -----

This is really a generic LDAP question, but phpQLAdmin is quite
stupid what it accepts...

If you know PHP, have a look in 'include/pql_search.inc:pql_get_domains()'.
That's where it tries to figure out your layout and show you your users
and branches...

I'll setup a test database with you type of layout and see what i can
do about it...
-- 
cracking nitrate class struggle quiche explosion Clinton NSA North
Korea Peking Legion of Doom BATF Mossad security radar killed
[See http://www.aclu.org/echelonwatch/index.html for more about this]