Loading src/authdb.cpp +4 −0 Changes for src/authdb.cpp: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -147,6 +147,7 @@ namespace authdb { uuid_copy(gallow.uid[0],admingid); gallow.count=1; size_t i=0; try { while(gpo_default[i++][0]){ GpoData gpodat(gpo_default[i][0]); gpodat.setName(gpo_default[i][1]); Loading @@ -158,6 +159,9 @@ namespace authdb { gpodat.setAllowed(gallow); gpo.create(_AdminBackend,&gpodat); } }catch(std::exception &e){ std::cerr << e.what() << std::endl; } delete[] gallow.uid; Loading Loading
src/authdb.cpp +4 −0 Changes for src/authdb.cpp: 4 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -147,6 +147,7 @@ namespace authdb { uuid_copy(gallow.uid[0],admingid); gallow.count=1; size_t i=0; try { while(gpo_default[i++][0]){ GpoData gpodat(gpo_default[i][0]); gpodat.setName(gpo_default[i][1]); Loading @@ -158,6 +159,9 @@ namespace authdb { gpodat.setAllowed(gallow); gpo.create(_AdminBackend,&gpodat); } }catch(std::exception &e){ std::cerr << e.what() << std::endl; } delete[] gallow.uid; Loading