I use OpenLDAP on Debian and Ubuntu primarily, so standard rfc2307.  

I do not have the citadel.schema or rfc2739.schema in place.  

As to the clobbering, I think you are right. The login hook seems to be the
culprit. I would be fine with it if I could map LDAP attributes to fields on
the server without having to recompile or wave a magic wand.  

Our use case is a totally internal server without internet mail enabled. It
is 100% internal mail only to one domain, (basically I register the users for
the first login when I create their LDAP entry in a scripted fashion, in
order to enable them in Citadel) and the users themselves do not need to
update their own vcards. We do make use of aliases but those should not be
user editable.  

   

I am ready to test any thoughts for code and can recompile on the spot to
determine functionality.  

   
>  Wed Feb 08 2017 11:58:55 EST from IGnatius T Foobar @ Uncensored  Subject:
>Re: WebCit and CitServer upgrade
>
>    
>Regarding the vCard update issue: 
>
>Ctdl_LDAP_to_vCard() appears to be the function that painstakingly copies
>LDAP attributes into a user's vCard. "git blame" has my name and a 2014
>timestamp on it, but I don't remember writing it ... maybe it was submitted
>as a patch and I put it in. 
>
>Anyway, it's called twice, once during a newuser function and once during a
>login hook, so it seems sensible that the login hook is the questionable one,
>if we don't want LDAP information constantly clobbering the vCard. 
>
>bennabiy, what LDAP server are you using? I'm thinking maybe I'll install
>one in my development environment. I'll probably go with Craptive Directory
>since it's the most common... 
>
>  
>
>  

  

 

Reply via email to