diff --git a/account/tbacct.in b/account/tbacct.in
index 0617316df3a3d328944fa836183e89b89f46af6d..cef4dfe2c2428ec1a9d8047c780abd43f662c5e3 100644
--- a/account/tbacct.in
+++ b/account/tbacct.in
@@ -211,7 +211,7 @@ if (getpwuid($UID) eq "nobody") {
     $this_user = $target_user;
 }
 else {
-    $this_user = User->Lookup($UID);
+    $this_user = User->LookupByUnixId($UID);
 
     if (! defined($this_user)) {
 	fatal("You ($UID) do not exist!");