X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap.git;a=blobdiff_plain;f=ud-mailgate;fp=ud-mailgate;h=02693b615a57c22829c58ae3954ee315897d3e9a;hp=d4e3f1d533e6b4ca16ddd3e95a83475d2ed83b87;hb=2d0e9a95ddac429690ce07cedfb23a1cfb2c8293;hpb=c27eb9f519df17bb1dec7e20f1c31864559357be diff --git a/ud-mailgate b/ud-mailgate index d4e3f1d..02693b6 100755 --- a/ud-mailgate +++ b/ud-mailgate @@ -195,6 +195,8 @@ def DoArbChange(Str, Attrs): if re.match(ArbChanges[attrName], G[1]) is None: raise UDFormatError("Item does not match the required format" + ArbChanges[attrName]) + value = G[1]; + Attrs.append((ldap.MOD_REPLACE, attrName, value)) return "Changed entry %s to %s" % (attrName, value)