[Obm] *** PROBABLY SPAM *** Re: LDAP Server Roles?

f.bonnet at labsoft.fr f.bonnet at labsoft.fr
Mon Dec 9 13:54:02 CET 2013


Erwan,

I'm unable to make my ldap service to work.
It's always empty. The only way I got it to store some info was by  
running the /usr/share/obm-services/scripts/update-2.2-2.3.ldap.pl  
manually. (but when I try to login on the webapp the ldap is not  
requested, and then the login fiels are empty).

So everytime I will proceed to an install with ldap as an  
authentication method :
================= OBM UI  configuration ==================

Choose the type of authentication: (database/ldap) [database] ldap

=> my ldap isn't checked when obm.php is requested and then my  
login/password/domain fields are empty.

When I choose database as authentication method it works and I can  
login as admin0/admin but then my ldap keep remaining empty. My  
problem is that I will certainly need the ldap to work with the sync  
modules.

Here are 2 of my requests :
[root at localhost ~]# ldapsearch -h localhost -p 389 -D  
"uid=ldapadmin,ou=sysusers,dc=local" -b "dc=global.virt" -W
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=global.virt> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

# numResponses: 1

[root at localhost ~]# ldapsearch -h localhost -p 389 -D  
"uid=ldapadmin,ou=sysusers,dc=local" -b "dc=local" -W
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=local> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# search result
search: 2
result: 32 No such object

# numResponses: 1

Over all I'm trying to run about all services as we are interested in  
syncing mobiles, mails, calendars... once it will be validated we will  
start to see how we can deal with the API from another webapp that we  
are starting to write.

Thank you in advance,
Fabien

Erwan Queffélec <equeffelec at linagora.com> a écrit :

> BonjourFabien,
>
> Wehave both a mandatory relational database (one should use  
> postgresql) and anoptional integrated LDAP server(openldap).
>
> The process is : the database acts as the "master" data storage, and  
> a subset of its data istranslated and loaded into the OBM LDAP server.
>
> OBMmust be able to reconstruct this internal LDAPusing only the data  
> stored within the relational database. Bottom line, theOBM LDAP  
> server can be viewed a read-only component (at least I strongly  
> advise using itas such)
>
> There are a lot of stuff you can do with OBM using the internal LDAP  
> or an external directory,butreplacing the OBM relational database  
> simply isn't one of them.
>
> What exactly are you trying to achieve ?
>
> Regards,
>
> Erwan
>
> PS : on the technical side, the internal LDAP provisioning process  
> is ruled by a small perl program called the automate(automaton),  
> also called the obm-service package. Long terms plan are to obsolete  
> this package and let our main java component(obm-sync) do the job,  
> and exposinga RESTful provisioning APIcapable of creating OBM  
> entities (users,etc) simulaneously on IMAP, SMTP and LDAP  
> backends.This provisioning API can be fed using a"master",  
> externalLDAP server. Our upcoming 2.6 release will provide a large  
> part of this API, though it will still require the automaton for  
> several tasks (creation of users throughthe web UI)
>
> On 12/06/2013 03:41 PM, f.bonnet at labsoft.fr wrote:
>> Bonjour!
>>
>> Will make it in english but I'm from Toulouse :)
>>
>> How can the ldap service help with on an obm installation? it seems to
>> work well with the Database only. But i'm pretty sure there is
>> something interesting with the ldap.
>> I'm setting up obm to use mail, contacts, tasks, maybe file sharing,
>> and some calls from an external program.
>>
>> I'm gonna have some questions as I'm working on a project which
>> includes OBM, is it ok if I keep posting here?
>>
>> Merci par advance,
>> Fabien
>>
>> _______________________________________________
>> Obm mailing list
>> Obm at list.obm.org
>
>




More information about the Obm mailing list