what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

authsrv.patch2

authsrv.patch2
Posted Aug 17, 1999

authsrv.patch2

tags | tool, firewall
systems | unix
SHA-256 | b40e20921b4053a5e5f5928ca8548e7e21f7893e57db293d29d7eef2f9079938

authsrv.patch2

Change Mirror Download
*** authsrv.c  1997/03/18 04:08:22  1.18
--- authsrv.c 1997/07/11 13:08:24
***************
*** 9,15 ****
/*
* Author: Marcus J. Ranum, Trusted Information Systems, Inc.
*/
! static char RcsId[] = "$Header: /usr/home/rick/fwtk2.0/fwtk/auth/RCS/authsrv.c,v 1.18 1997/03/18 04:08:22 rick Exp $";
#include <stdio.h>
#include <syslog.h>
#include <time.h>
--- 9,15 ----
/*
* Author: Marcus J. Ranum, Trusted Information Systems, Inc.
*/
! static char RcsId[] = "$Header: /usr/home/rick/fwtk2.0/fwtk/auth/RCS/authsrv.c,v 1.19 1997/07/11 13:08:17 rick Exp $";
#include <stdio.h>
#include <syslog.h>
#include <time.h>
***************
*** 766,772 ****
}

/* you can only do it if you're in that group or a wizard */
! if((authusrbuf.flgs & AUTHFLG_GWIZ) == 0
&& strcmp(authusrbuf.gp,authbuf.gp)) {
srvsay(permdenied);
return(0);
--- 766,772 ----
}

/* you can only do it if you're in that group or a wizard */
! if((authusrbuf.flgs & AUTHFLG_GWIZ)
&& strcmp(authusrbuf.gp,authbuf.gp)) {
srvsay(permdenied);
return(0);
***************
*** 812,818 ****
}

/* if a group wizard, can delete a member of the group */
! if((authusrbuf.flgs & AUTHFLG_GWIZ) == 0
&& strcmp(authusrbuf.gp,authbuf.gp)) {
srvsay(permdenied);
return(0);
--- 812,818 ----
}

/* if a group wizard, can delete a member of the group */
! if((authusrbuf.flgs & AUTHFLG_GWIZ)
&& strcmp(authusrbuf.gp,authbuf.gp)) {
srvsay(permdenied);
return(0);
***************
*** 866,872 ****
}

/* if a group wizard, can enable/disable a member of the group */
! if((authusrbuf.flgs & AUTHFLG_GWIZ) == 0
&& strcmp(authusrbuf.gp,authbuf.gp)) {
srvsay(permdenied);
return(0);
--- 866,872 ----
}

/* if a group wizard, can enable/disable a member of the group */
! if((authusrbuf.flgs & AUTHFLG_GWIZ)
&& strcmp(authusrbuf.gp,authbuf.gp)) {
srvsay(permdenied);
return(0);
***************
*** 1117,1122 ****
--- 1117,1127 ----
return(0);
}

+ if((authusrbuf.flgs & AUTHFLG_WIZ) == 0 && (authusrbuf.flgs & AUTHFLG_GWIZ) == 0) {
+ srvsay(permdenied);
+ return(0);
+ }
+
if(ac != 3) {
srvsay("Usage: proto username protocol");
return(0);
***************
*** 1127,1133 ****
return(0);
}

! if((authusrbuf.flgs & AUTHFLG_GWIZ) == 0
&& strcmp(authusrbuf.gp,authbuf.gp)) {
srvsay(permdenied);
return(0);
--- 1132,1138 ----
return(0);
}

! if((authusrbuf.flgs & AUTHFLG_GWIZ)
&& strcmp(authusrbuf.gp,authbuf.gp)) {
srvsay(permdenied);
return(0);
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close