60 |
for path in attr.get('univentionSharePath', []): |
60 |
for path in attr.get('univentionSharePath', []): |
62 |
if univention.lib.listenerSharePath.is_blacklisted(directory, ucr): |
62 |
if univention.lib.listenerSharePath.is_blacklisted(directory, ucr): |
63 |
print('WARNING: the path %s for share %s matches a blacklisted path: You should execute: ucr set listener/shares/whitelist/%s=%s' % (path, dn, pipes.quote(univention.uldap.explodeDn(dn, True)[0]), pipes.quote(directory))) |
63 |
print('WARNING: the path %s for share %s matches a blacklisted path: You should execute: "ucr set listener/shares/whitelist/%s=%s" and then restart univention-directory-listener.' % (path, dn, pipes.quote(univention.uldap.explodeDn(dn, True)[0]), pipes.quote(directory))) |