* ud-userimport, ud-groupadd, ud-roleadd, ud-useradd, userdir_ldap.py:
Update ud-userimport to use the same objectClasses as
ud-{user,group,role}add and abstract them out into userdir_ldap.py
+ * ud-useradd: Avoid a TypeError exception when constructing the template
+ filename
- -- Mark Hymers <mhy@debian.org> Wed, 26 Dec 2007 17:56:28 +0000
+ -- Mark Hymers <mhy@debian.org> Wed, 26 Dec 2007 18:00:08 +0000
userdir-ldap (0.3.15) unstable; urgency=low
# Send the Welcome message
print "Sending Welcome Email"
-Reply = TemplateSubst(Subst,open(TemplatesDir+"/welcome-message-"+gidNumber,"r").read());
+Reply = TemplateSubst(Subst,open(TemplatesDir + "/welcome-message-%d" % gidNumber, "r").read())
Child = os.popen("/usr/sbin/sendmail -t","w");
#Child = os.popen("cat","w");
Child.write(Reply);