]> andersk Git - moira.git/commitdiff
Set creation time and creator information for new users.
authorzacheiss <zacheiss>
Wed, 17 Oct 2001 21:35:48 +0000 (21:35 +0000)
committerzacheiss <zacheiss>
Wed, 17 Oct 2001 21:35:48 +0000 (21:35 +0000)
regtape/common.pc

index 8f89fd2402de9a59f63d9e394686bdc0fc2ffc65..1c4588d902aecbad519a540251efff9434a619b9 100644 (file)
@@ -277,7 +277,8 @@ void newuser(struct entry *e, int secure)
      middle, status, clearid, type, modtime, modby, modwith, fullname, 
      department, home_addr, home_phone, office_addr, office_phone, fmodtime,
      fmodby, fmodwith, potype, pmodtime, pmodby, pmodwith,
-     xname, xdept, xtitle, xaddress, xphone1, xphone2, xmodtime, secure)
+     xname, xdept, xtitle, xaddress, xphone1, xphone2, xmodtime, secure,
+     created, creator)
     VALUES (:login, :users_id, :uid, '/bin/athena/tcsh', 'cmd',
            NVL(:last, CHR(0)), NVL(:first, CHR(0)), NVL(:middle, CHR(0)),
            :st, NVL(:id, CHR(0)), NVL(:type, CHR(0)), SYSDATE, :who, :prog,
@@ -287,7 +288,8 @@ void newuser(struct entry *e, int secure)
            'NONE', SYSDATE, :who, :prog, 
            NVL(SUBSTR(:name, 0, :xnlen), CHR(0)), NVL(:dept, CHR(0)),
            NVL(:xtitle, CHR(0)), NVL(:xaddress, CHR(0)),
-           NVL(:xphone1, CHR(0)), NVL(:xphone2, CHR(0)), SYSDATE, :issecure);
+           NVL(:xphone1, CHR(0)), NVL(:xphone2, CHR(0)), SYSDATE, :issecure,
+           SYSDATE, :who);
   if (sqlca.sqlcode)
     {
       dbmserr("adding user", sqlca.sqlcode);
This page took 0.040362 seconds and 5 git commands to generate.