gnarwl vacation schema with 389

Update: I noticed that the syntax for vacationStart and vacationEnd do not permit integer comparisons. So I changed them from 1.3.6.1.4.1.1466.115.121.1.40 to 1.3.6.1.4.1.1466.115.121.1.15. This change allows you to make a gnarwl search string that uses the current time to check if a vacation is active.

Wordpress category: 

gethostbyname example that compiles and runs clean on puias6

While playing around with getting host entries to work with ldap, I found that my previous code for using gethostbyname was not running clean on puias6. Here is an updated version


#include
#include
#include
#include
#include
#include

int main(int argc, char **argv) {
int i;

Wordpress category: 

Pages