1 --- a/src/sg.y.in 2014-04-14 16:23:39.183396677 +0200
2 +++ b/src/sg.y.in 2014-04-14 16:24:19.000000000 +0200
9 @NOLOG1@ sgLogError("DEBUG: sgSourceLdapIpSearch called with: %s", url); @NOLOG2@
12 if(!ldap_is_ldap_url(url)) {
13 sgLogError("%s: can't parse LDAP url %s",progname, url);
15 @@ -1311,10 +1311,12 @@
17 sp->domainlistDb = (struct sgDb *) sgCalloc(1,sizeof(struct sgDb));
18 sp->domainlistDb->type=SGDBTYPE_DOMAINLIST;
20 sgLogError("init domainlist %s",sp->domainlist);
22 sgDbInit(sp->domainlistDb,sp->domainlist);
23 if(sp->domainlistDb->entries == 0) { /* empty database */
24 - sgLogError("domainlist empty, removed from memory");
25 + sgLogError("domainlist %s empty, removed from memory",sp->domainlist);
26 sgFree(sp->domainlistDb);
27 sp->domainlistDb = NULL;
29 @@ -1356,10 +1356,12 @@
31 sp->urllistDb = (struct sgDb *) sgCalloc(1,sizeof(struct sgDb));
32 sp->urllistDb->type=SGDBTYPE_URLLIST;
34 sgLogError("init urllist %s",sp->urllist);
36 sgDbInit(sp->urllistDb,sp->urllist);
37 if(sp->urllistDb->entries == 0) { /* empty database */
38 - sgLogError("urllist empty, removed from memory");
39 + sgLogError("urllist empty %s, removed from memory",sp->urllist);
40 sgFree(sp->urllistDb);
45 struct UserInfo *userinfo;
46 static struct UserInfo info;
49 @NOLOG1@ sgLogError("DEBUG: sgFindUser called with: %s", ident); @NOLOG2@
52 /* defined in the userDB? */
53 if(defined(src->userDb, ident, (char **) &userinfo) == 1) {
55 --- a/src/sgDb.c 2014-04-17 08:53:29.961367395 +0200
56 +++ b/src/sgDb.c 2014-04-17 08:53:58.000000000 +0200
59 if(stat(dbfile,&st) == 0){
62 sgLogNotice("INFO: loading dbfile %s",dbfile);