Project

General

Profile

« Previous | Next » 

Revision 2117

Added by sgarg over 20 years ago

Fixed two small bugs.

View differences:

src/edu/ucsb/nceas/metacat/AuthLdap.java
917 917
      } else {
918 918
        orgName = "";
919 919
      }
920
      out.append(orgName);
920
      
921 921
      out.append("  <authSystem URI=\"" +
922 922
                 this.ldapUrl + this.ldapBase + "\" organization=\"" + orgName +"\">\n");
923 923

  
......
961 961
          out.append("    <user>\n");
962 962
          out.append("      <username>" + users[j][0] + "</username>\n");
963 963
          out.append("      <name>" + users[j][1] + "</name>\n");
964
          out.append("      <organization>" + users[userIndex][2] + "</organization>\n");
964
          out.append("      <organization>" + users[j][2] + "</organization>\n");
965 965
          out.append("      <email>" + users[j][3] + "</email>\n");
966 966
          out.append("    </user>\n");
967 967
        }

Also available in: Unified diff