From c8dc4469cd2a30164175765c8cf9fb960f469031 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Fri, 13 Aug 2021 14:35:19 +0200 Subject: [PATCH] dirname is new user property --- hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java b/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java index 98fbb56..6f342b6 100644 --- a/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java +++ b/hsarback/src/de/hsadmin/pillar/JsonPillarServlet.java @@ -124,7 +124,7 @@ public class JsonPillarServlet extends HttpServlet { final String fullUsername = user.getName(); final String usernamePostfix = fullUsername.length() > 6 ? fullUsername.substring(6) : "_"; writer.println(" \"user\": \"" + fullUsername + "\""); - writer.println(" \"dirname\": \"" + usernamePostfix + "\""); + writer.println(" , \"dirname\": \"" + usernamePostfix + "\""); writer.println(" , \"uid\": " + user.getUserId()); writer.println(" , \"comment\": \"" + user.getComment() + "\""); writer.println(" , \"shell\": \"" + user.getShell() + "\"");