Globally replace 'global_sam_sid' with get_global_sam_sid(), a self
[kai/samba.git] / source3 / smbd / server.c
index 5f8f7044a6a999fe6a7dc82a17e7517748250e12..6296e13f1cd908aed54654b0ee8eafaba4ab2e89 100644 (file)
@@ -860,7 +860,7 @@ static void usage(char *pname)
        /* possibly reload the services file. */
        reload_services(True);
 
-       if(!pdb_generate_sam_sid()) {
+       if(!get_global_sam_sid()) {
                DEBUG(0,("ERROR: Samba cannot create a SAM SID.\n"));
                exit(1);
        }