Reverted a fix from Volker (sorry). We need to move this fix to the correct
authorJeremy Allison <jra@samba.org>
Wed, 23 Oct 2002 22:23:39 +0000 (22:23 +0000)
committerJeremy Allison <jra@samba.org>
Wed, 23 Oct 2002 22:23:39 +0000 (22:23 +0000)
place.
Jeremy.
(This used to be commit e46e38beabe8ae5b1ba1941dcffecbc89165ce2a)

source3/rpc_server/srv_samr_nt.c

index 0718af016f9196d26cc5ec091d8f3190b4d75a10..b039d92d9cc6c83c55af941f7e3bf80258d2e776 100644 (file)
@@ -1188,7 +1188,10 @@ NTSTATUS _samr_query_dispinfo(pipes_struct *p, SAMR_Q_QUERY_DISPINFO *q_u,
                            user handle. Where else does this hurt?
                           -- Volker
                        */
+#if 0
+                       /* We cannot do this here - it kills performace. JRA. */
                        free_samr_users(info);
+#endif
                case 0x2:
                case 0x4:
                        become_root();