]> git.ipfire.org Git - thirdparty/sarg.git/blobdiff - topuser.c
LDAP usertab feature added
[thirdparty/sarg.git] / topuser.c
index 5e505632f33d213da5445e447080ba590f3f235d..78bc42cb912fd0a6ce7846fbb2b2ea34a0647ffb 100644 (file)
--- a/topuser.c
+++ b/topuser.c
@@ -1,6 +1,6 @@
 /*
  * AUTHOR: Pedro Lineu Orso                         pedro.orso@gmail.com
- *                                                            1998, 2008
+ *                                                            1998, 2009
  * SARG Squid Analysis Report Generator      http://sarg.sourceforge.net
  *
  * SARG donations:
@@ -466,7 +466,8 @@ void topuser(void)
       }
 
       if(strcmp(user2,"TOTAL") != 0) {
-         get_usertab_name(user2,name,sizeof(name));
+//         get_usertab_name(user2,name,sizeof(name));
+         user_find(name, user2);
 
          if((strcmp(Ip2Name,"yes") == 0) &&
             ((str=(char *) strstr(name, ".")) != (char *) NULL) &&