projects
/
mirror
/
userdir-ldap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
c7a956b
)
Since subscription to debian-private can be set to ' ', this should be
author
joey
<>
Sat, 20 Nov 2004 19:16:29 +0000
(19:16 +0000)
committer
joey
<>
Sat, 20 Nov 2004 19:16:29 +0000
(19:16 +0000)
honored as well when the account is created.
ud-useradd
patch
|
blob
|
history
diff --git
a/ud-useradd
b/ud-useradd
index
89ee2ab
..
97066d0
100755
(executable)
--- a/
ud-useradd
+++ b/
ud-useradd
@@
-249,10
+249,11
@@
if Update == 0:
("shadowMin","0"),
("shadowMax","99999"),
("shadowWarning","7"),
- ("privateSub",privsub),
("userPassword","{crypt}"+Pass)];
if mn:
Details.append(("mn",mn));
+ if privsub != " ":
+ Details.append(("privateSub",privsub))
l.add_s(Dn,Details);
else:
# Modification