Since subscription to debian-private can be set to ' ', this should be
authorjoey <>
Sat, 20 Nov 2004 19:16:29 +0000 (19:16 +0000)
committerjoey <>
Sat, 20 Nov 2004 19:16:29 +0000 (19:16 +0000)
honored as well when the account is created.

ud-useradd

index 89ee2ab..97066d0 100755 (executable)
@@ -249,10 +249,11 @@ if Update == 0:
               ("shadowMin","0"),
               ("shadowMax","99999"),
               ("shadowWarning","7"),
               ("shadowMin","0"),
               ("shadowMax","99999"),
               ("shadowWarning","7"),
-              ("privateSub",privsub),
               ("userPassword","{crypt}"+Pass)];
    if mn:
       Details.append(("mn",mn));
               ("userPassword","{crypt}"+Pass)];
    if mn:
       Details.append(("mn",mn));
+   if privsub != " ":
+      Details.append(("privateSub",privsub))
    l.add_s(Dn,Details);
 else:
    # Modification
    l.add_s(Dn,Details);
 else:
    # Modification