Changeset 544 for server


Ignore:
Timestamp:
Dec 30, 2007, 11:17:37 PM (15 years ago)
Author:
andersk
Message:
Replace Perl admof with a C version that is six times faster, and
correctly handles negative ACLs and cross-realm principals.
Location:
server/common/oursrc/accountadm
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • server/common/oursrc/accountadm/Makefile.in

    r134 r544  
    11CC = @CC@
     2CPPFLAGS = @CPPFLAGS@
    23CFLAGS = @CFLAGS@
    34prefix = @prefix@
     
    78sysconfdir = @sysconfdir@
    89
    9 all-local: signup-scripts-frontend
     10all-local: admof signup-scripts-frontend
     11
     12admof: admof.c
     13        $(CC) $(CPPFLAGS) $(CFLAGS) $< -L/usr/lib/afs -L/usr/lib64/afs -lprot -lauth -lrxkad -lubik -laudit -lsys -lrx -llwp -lsys -lafsutil -lcom_err -lresolv -lkrb5 -ldes -lkrb4 -o $@
    1014
    1115install:
     
    1822
    1923clean:
    20         rm -f signup-scripts-frontend
     24        rm -f admof signup-scripts-frontend
    2125
    2226distclean: clean
     27        rm -f mbash signup-scripts-backend
    2328        rm -f configure config.* Makefile
    2429        rm -rf auto*.cache
  • server/common/oursrc/accountadm/configure.in

    r485 r544  
    1515])
    1616
    17 dnl Needed by admof.in
    18 
    19 AC_ARG_WITH(fs,
    20 [  --with-fs[=PATH]          fs is located at PATH],[
    21   if test "$withval" != "no" -a "$withval" != "yes"; then
    22     fs_path="$withval"
    23   fi
    24 ])
    25 REQUIRE_PATH(fs)
    26 
    27 AC_ARG_WITH(pts,
    28 [  --with-pts[=PATH]         pts is located at PATH],[
    29   if test "$withval" != "no" -a "$withval" != "yes"; then
    30     pts_path="$withval"
    31   fi
    32 ])
    33 REQUIRE_PATH(pts)
    34 
    3517dnl Needed by signup-scripts-backend.in
    3618
    37 LOCATE(ls)
    38 LOCATE(grep)
    39 LOCATE(sudo)
    40 LOCATE(useradd)
    41 LOCATE(groupadd)
    42 LOCATE(setquota)
    4319LOCATE(hesinfo)
    4420LOCATE(sort)
    4521LOCATE(head)
    4622LOCATE(ldapadd)
     23LOCATE(sudo)
    4724
    4825dnl Needed by mbash.in
     
    5128
    5229AC_OUTPUT(Makefile)
    53 AC_OUTPUT(admof)
    5430AC_OUTPUT(signup-scripts-backend)
    5531AC_OUTPUT(mbash)
  • server/common/oursrc/accountadm/mrproper

    r56 r544  
    11#!/bin/sh
    22
    3 rm -f signup-scripts-frontend admof signup-scripts-backend
     3rm -f signup-scripts-frontend admof signup-scripts-backend mbash
    44rm -f configure config.* Makefile
    55rm -rf auto*.cache
Note: See TracChangeset for help on using the changeset viewer.