diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-24 18:15:50 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-24 18:15:50 +0000 |
commit | 2752e372b64337de24edef52575ddc7da0ed8d04 (patch) | |
tree | e9b99c9174960f4e900ac49528f5dfb96528213e /source3/smbd | |
parent | d7889cd22347e7acd4effb7682d442eef7a666e4 (diff) | |
download | samba-2752e372b64337de24edef52575ddc7da0ed8d04.tar.gz samba-2752e372b64337de24edef52575ddc7da0ed8d04.tar.bz2 samba-2752e372b64337de24edef52575ddc7da0ed8d04.zip |
WARNING! MOVED rpc_server/srv_lsa_hnd.c TO lib/util_hnd.c
CVS UPDATE MAY ISSUE WARNING ABOUT lib/util_hnd.c MODIFICATION
DATE BEING IN THE FUTURE. CVS CHECKOUT A NEW REPOSITORY MAY BE
SAFER.
(This used to be commit c26e8a6ac59934ae580077df937439c2c538dbdb)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index c2162a091b..a0c9ab7c56 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -476,7 +476,10 @@ static void init_structs(void) conn_init(); file_init(); init_rpc_pipe_hnd(); /* for RPC pipes */ - init_policy_hnd(MAX_SERVER_POLICY_HANDLES); /* for policy handles */ + if (!init_policy_hnd(MAX_SERVER_POLICY_HANDLES)) + { + exit_server("could not allocate policy handles\n"); + } init_printer_hnd(); /* for SPOOLSS handles */ init_dptrs(); init_dfs_table(); |