function USER_SAMBA_SET_PRIVILEGES_GROUP() { $group = new groups(); $group->SambaGroupsBuild(); $user = new user($_GET["userid"]); $user->accountGroup = $_GET["SAMBA_SET_PRIVILEGES_GROUP"]; $user->sambaPrimaryGroupGID = $_GET["SAMBA_SET_PRIVILEGES_GROUP"]; $user->Samba_edit_user(); }
function ldap_groups(){ $gp=new groups(); $gp->EditSambaGroups(); $gp->SambaGroupsBuild(); $gp->CreateGuestUser(); }