[Citadel Development] Re: LDAP / Cit-NG

2017-09-24 Thread bennabiy
Well, it is not logging anything other than what I put below, and it is NOT exiting at the point I listed below... I wonder what is going on, because looking over the code, it should be fine. I will check back in the morning. > Sun Sep 24 2017 10:05:32 PM EDT from bennabiy @ Uncensored Subject:

[Citadel Development] Re: LDAP / Cit-NG

2017-09-24 Thread bennabiy
I put some code in to see if I can log where the failure is, but to me it looks like it is returning because   if (ctdl_ldap_initialize(&ldserver) != LDAP_SUCCESS) { +   return; +   } and I am not seeing any of the other messages you included in that function. Recompilin

[Citadel Development] Re: LDAP / Cit-NG

2017-09-24 Thread bennabiy
  Sep 24 21:21:14 cit citserver[50403]: ldap: populating Citadel user database from LDAP only entry I get repeating ... something is not right. and this is logged to daemon.log, not debug > Sun Sep 24 2017 05:00:58 PM EDT from IGnatius T Foobar @ Uncensored >Subject: Re: LDAP / Cit-NG > >

[Citadel Development] Re: LDAP / Cit-NG

2017-09-24 Thread bennabiy
Compiling... While we are at it, can you fix the /etc/init.d/webcit file to be compliant? It is missing the init header info. ### BEGIN INIT INFO # Provides:          webcit # Required-Start:    citadel # Required-Stop:     citadel # Default-Start:     2 3 4 5 # Default-Stop:    

[Citadel Development] Re: LDAP / Cit-NG

2017-09-24 Thread IGnatius T Foobar
Ok let's do this. I've pushed the code to *scan* the LDAP server but not to do anything with the results. Please test it on a development machine only. It should basically just show the DN's of every qualifying user in the debug log once per minute. If those results look correct we'll move on t

[Citadel Development] Re: LDAP / Cit-NG

2017-09-24 Thread bennabiy
inetOrgPerson is correct for POSIX, I am not sure about AD (I refuse...)    Let me know when you have the code pushed and I will recompile   > Sun Sep 24 2017 02:52:43 PM EDT from IGnatius T Foobar @ Uncensored >Subject: Re: LDAP / Cit-NG > >Ok, I'm in the code working on some chan

[Citadel Development] Re: LDAP / Cit-NG

2017-09-24 Thread IGnatius T Foobar
Ok, I'm in the code working on some changes now, and am going to try to shift things over from "create the account at login" to "create all accounts all the time." For the POSIX schema it looks like we have to access all accounts with "objectClass: inetOrgPerson" , and for the Active Directory sch