diff --git a/crans_utils.py b/crans_utils.py index 480d275..4aacd96 100644 --- a/crans_utils.py +++ b/crans_utils.py @@ -3,8 +3,9 @@ # # CRANS_UTILS.PY-- Utils for Cr@ns gestion # -# Copyright (c) 2010, Cr@ns -# Author: Antoine Durand-Gasselin +# Copyright (c) 2010-2013, Cr@ns +# Authors: Antoine Durand-Gasselin +# Pierre-Elliott Bécue # All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/filter.py b/filter.py index 42b1a35..9696f70 100644 --- a/filter.py +++ b/filter.py @@ -1,5 +1,16 @@ #/usr/bin/env python # -*- coding: utf8 -*- +# +# filter.py --- Workaround with ldap filters +# +# Redraw filters like attr1=val1&attr2=val2|attr3=val3 +# in (|(&(attr1=val1)(attr2=val2))(attr3=val3)) +# +# Copyright (C) 2010-2013 Cr@ns +# Author: Pierre-Elliott Bécue +# +# +# License: WTFPL def human_to_ldap(filtre): """