Freeradius-Users Digest, Vol 30, Issue 50

Steven Simon simon.s at apple.com
Fri Oct 12 16:40:43 CEST 2007


Oops.

Index: opendir.c
===================================================================
RCS file: /source/radiusd/src/modules/rlm_mschap/opendir.c,v
retrieving revision 1.7
diff -u -w -r1.7 opendir.c
--- opendir.c   9 Oct 2007 12:19:55 -0000       1.7
+++ opendir.c   12 Oct 2007 14:34:32 -0000
@@ -241,6 +241,8 @@
                 DEBUG2("rlm_osx_od: ds_mschap_auth: getUserNodeRef  
failed");
                 if (username_string != NULL)
                         free(username_string);
+               if (dsRef != 0)
+                       dsCloseDirService(dsRef);
                 return status;
         }

I don't have a good test environment at the moment, but the problem  
seems obvious.
I suspect you're using a user population not in Directory Services.

Thanks for the debug log. That was very helpful!

- Steve


On Oct 12, 2007, at 7:12 AM, freeradius-users- 
request at lists.freeradius.org wrote:

>
> From: Arran Cudbard-Bell <A.Cudbard-Bell at sussex.ac.uk>
> Date: October 12, 2007 7:12:00 AM PDT
> To: FreeRadius users mailing list <freeradius- 
> users at lists.freeradius.org>
> Subject: Darwin DirectoryServices (warnnings)
> Reply-To: FreeRadius users mailing list <freeradius- 
> users at lists.freeradius.org>
>
>
> Hi,
> Running radiusd 2.0pre2 (cvs head)
>
> Just checked the system logs on one of our radius servers, and i'm  
> seeing some strange error messages from directory services.
>
> Oct 12 12:02:50 wolverine DirectoryService[54]: Potential VM growth  
> in DirectoryService since client PID: 9179, has 675 open references  
> when the warning limit is 500.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20071012/e125a481/attachment.html>


More information about the Freeradius-Devel mailing list