Show
Ignore:
Timestamp:
03/06/05 17:52:43 (19 years ago)
Author:
jerome
Message:

Removed all references to $Log$

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/ldapstorage.py

    r2146 r2147  
    2020# 
    2121# $Id$ 
    22 # 
    23 # $Log$ 
    24 # Revision 1.103  2005/02/25 14:47:27  jalet 
    25 # Improved robustness for manually modified LDAP trees 
    26 # 
    27 # Revision 1.102  2005/02/25 14:31:07  jalet 
    28 # Improved robustness 
    29 # 
    30 # Revision 1.101  2005/02/13 22:48:37  jalet 
    31 # Added the md5sum to the history 
    32 # 
    33 # Revision 1.100  2005/02/13 22:02:29  jalet 
    34 # Big database structure changes. Upgrade script is now included as well as 
    35 # the new LDAP schema. 
    36 # Introduction of the -o | --overcharge command line option to edpykota. 
    37 # The output of repykota is more complete, but doesn't fit in 80 columns anymore. 
    38 # Introduction of the new 'maxdenybanners' directive. 
    39 # 
    40 # Revision 1.99  2005/01/24 17:44:17  jalet 
    41 # Same fix for group print quota entries wrt LDAP performance 
    42 # 
    43 # Revision 1.98  2005/01/24 17:35:24  jalet 
    44 # Performance improvement for user print quota entries search 
    45 # 
    46 # Revision 1.97  2005/01/24 17:27:35  jalet 
    47 # typo 
    48 # 
    49 # Revision 1.96  2005/01/24 15:38:51  jalet 
    50 # Fixed some ldap filters 
    51 # 
    52 # Revision 1.95  2005/01/18 19:47:50  jalet 
    53 # Big bug fix wrt the datelimit attribute 
    54 # 
    55 # Revision 1.94  2005/01/01 18:53:27  jalet 
    56 # Implemented in the LDAP backend code the same fix than in PostgreSQL backend 
    57 # code for people who don't use PyKota tools to manage accounts. 
    58 # 
    59 # Revision 1.93  2004/12/31 16:10:57  jalet 
    60 # Fixed recently introduced bugs due to extended userquotabase and groupquotabase 
    61 # directives. 
    62 # 
    63 # Revision 1.92  2004/12/26 14:50:51  jalet 
    64 # Normalized fields names in dumpykota's output so that an LDAP or PostgreSQL 
    65 # dump is parseable the same way. 
    66 # 
    67 # Revision 1.91  2004/12/21 16:46:25  jalet 
    68 # dumpykota's filtering capabilities are now supported within the LDAP 
    69 # backend as well as within the PostgreSQL backend. Untested though since 
    70 # my only PyKota+LDAP setup is on my laptop at work :-) 
    71 # 
    72 # Revision 1.90  2004/12/21 14:45:31  jalet 
    73 # Prepared dumpykota to accept the new --filter command line option. Some 
    74 # additionnal work needs to be done in the backends though. 
    75 # 
    76 # Revision 1.89  2004/12/02 22:27:11  jalet 
    77 # Integrated and extended Stefan Wold's patch to store print quota entries 
    78 # directly below the user or the group object with the LDAP backend 
    79 # 
    80 # Revision 1.88  2004/12/02 22:01:58  jalet 
    81 # TLS is now supported with the LDAP backend 
    82 # 
    83 # Revision 1.87  2004/12/02 12:34:00  jalet 
    84 # Now automates LDAP reconnections if the server dropped the connection due 
    85 # to a timeout. 
    86 # 
    87 # Revision 1.86  2004/10/25 14:12:25  jalet 
    88 # For URGENT legal reasons (Italy), a new "privacy" directive was added to pykota.conf 
    89 # to hide print jobs' title, filename, and options. 
    90 # 
    91 # Revision 1.85  2004/10/24 12:55:09  jalet 
    92 # Missing spaces 
    93 # 
    94 # Revision 1.84  2004/10/12 08:58:53  jalet 
    95 # Now warnpykota only warns users who have already printed, to not confuse 
    96 # users who have just opened their account. 
    97 # 
    98 # Revision 1.83  2004/10/07 21:14:28  jalet 
    99 # Hopefully final fix for data encoding to and from the database 
    100 # 
    101 # Revision 1.82  2004/10/05 09:59:20  jalet 
    102 # Restore compatibility with Python 2.1 
    103 # 
    104 # Revision 1.81  2004/10/04 11:27:57  jalet 
    105 # Finished LDAP support for dumpykota. 
    106 # 
    107 # Revision 1.80  2004/10/03 19:57:57  jalet 
    108 # Dump of payments should work with LDAP backend now. 
    109 # 
    110 # Revision 1.79  2004/10/03 19:52:59  jalet 
    111 # More work done on LDAP and dumpykota 
    112 # 
    113 # Revision 1.78  2004/10/02 05:48:56  jalet 
    114 # Should now correctly deal with charsets both when storing into databases and when 
    115 # retrieving datas. Works with both PostgreSQL and LDAP. 
    116 # 
    117 # Revision 1.77  2004/09/28 14:29:00  jalet 
    118 # dumpykota for LDAP backend is almost there. 
    119 # 
    120 # Revision 1.76  2004/09/28 09:11:56  jalet 
    121 # Fix for accented chars in print job's title, filename, and options 
    122 # 
    123 # Revision 1.75  2004/09/24 20:21:50  jalet 
    124 # Fixed pykotaAccountBalance object location during creation 
    125 # 
    126 # Revision 1.74  2004/09/02 10:09:30  jalet 
    127 # Fixed bug in LDAP user deletion code which didn't correctly delete the user's 
    128 # pykotaLastJob entries. 
    129 # 
    130 # Revision 1.73  2004/07/17 20:37:27  jalet 
    131 # Missing file... Am I really stupid ? 
    132 # 
    133 # Revision 1.72  2004/07/01 19:56:43  jalet 
    134 # Better dispatching of error messages 
    135 # 
    136 # Revision 1.71  2004/07/01 17:45:49  jalet 
    137 # Added code to handle the description field for printers 
    138 # 
    139 # Revision 1.70  2004/06/10 20:50:25  jalet 
    140 # Better log message 
    141 # 
    142 # Revision 1.69  2004/06/05 22:18:04  jalet 
    143 # Now catches some exceptions earlier. 
    144 # storage.py and ldapstorage.py : removed old comments 
    145 # 
    146 # Revision 1.68  2004/06/05 22:03:50  jalet 
    147 # Payments history is now stored in database 
    148 # 
    149 # Revision 1.67  2004/06/03 23:14:10  jalet 
    150 # Now stores the job's size in bytes in the database. 
    151 # Preliminary work on payments storage : database schemas are OK now, 
    152 # but no code to store payments yet. 
    153 # Removed schema picture, not relevant anymore. 
    154 # 
    155 # Revision 1.66  2004/05/28 20:56:45  jalet 
    156 # Extended syntax for LDAP specific newuser and newgroup directives. Untested. 
    157 # 
    158 # Revision 1.65  2004/05/27 12:52:12  jalet 
    159 # More useful error message in case of misconfiguration of an LDAP  search base 
    160 # in pykota.conf 
    161 # 
    162 # Revision 1.64  2004/05/26 14:50:01  jalet 
    163 # First try at saving the job-originating-hostname in the database 
    164 # 
    165 # Revision 1.63  2004/05/06 12:37:46  jalet 
    166 # pkpgcounter : comments 
    167 # pkprinters : when --add is used, existing printers are now skipped. 
    168 # 
    169 # Revision 1.62  2004/03/05 14:31:58  jalet 
    170 # Improvement on strange history entries 
    171 # 
    172 # Revision 1.61  2004/03/05 13:19:53  jalet 
    173 # Code safer wrt entries created in other tools 
    174 # 
    175 # Revision 1.60  2004/03/02 14:39:02  jalet 
    176 # Final fix for printers searching 
    177 # 
    178 # Revision 1.59  2004/03/02 14:35:46  jalet 
    179 # Missing test when searching printer objects when these objects were manually 
    180 # created and don't contain the pykotaPrinterName attribute 
    181 # 
    182 # Revision 1.58  2004/02/27 09:30:33  jalet 
    183 # datelimit wasn't reset when modifying soft and hard limits with the LDAP backend 
    184 # 
    185 # Revision 1.57  2004/02/26 14:18:07  jalet 
    186 # Should fix the remaining bugs wrt printers groups and users groups. 
    187 # 
    188 # Revision 1.56  2004/02/25 16:52:39  jalet 
    189 # Small fix wrt empty user groups 
    190 # 
    191 # Revision 1.55  2004/02/23 22:53:21  jalet 
    192 # Don't retrieve data when it's not needed, to avoid database queries 
    193 # 
    194 # Revision 1.54  2004/02/20 16:38:39  jalet 
    195 # ldapcache directive marked as experimental 
    196 # 
    197 # Revision 1.53  2004/02/20 14:42:21  jalet 
    198 # Experimental ldapcache directive added 
    199 # 
    200 # Revision 1.52  2004/02/17 23:41:48  jalet 
    201 # Preliminary work on low-level LDAP specific cache. 
    202 # 
    203 # Revision 1.51  2004/02/04 13:24:41  jalet 
    204 # pkprinters can now remove printers from printers groups. 
    205 # 
    206 # Revision 1.50  2004/02/04 11:17:00  jalet 
    207 # pkprinters command line tool added. 
    208 # 
    209 # Revision 1.49  2004/01/29 22:35:45  jalet 
    210 # Small fix from Matt. 
    211 # 
    212 # Revision 1.48  2004/01/12 14:35:02  jalet 
    213 # Printing history added to CGI script. 
    214 # 
    215 # Revision 1.47  2004/01/10 09:44:02  jalet 
    216 # Fixed potential accuracy problem if a user printed on several printers at 
    217 # the very same time. 
    218 # 
    219 # Revision 1.46  2004/01/08 16:33:27  jalet 
    220 # Additionnal check to not create a circular printers group. 
    221 # 
    222 # Revision 1.45  2004/01/08 16:24:49  jalet 
    223 # edpykota now supports adding printers to printer groups. 
    224 # 
    225 # Revision 1.44  2004/01/08 14:10:33  jalet 
    226 # Copyright year changed. 
    227 # 
    228 # Revision 1.43  2004/01/06 14:24:59  jalet 
    229 # Printer groups should be cached now, if caching is enabled. 
    230 # 
    231 # Revision 1.42  2003/12/29 14:12:48  uid67467 
    232 # Tries to workaround possible integrity violations when retrieving printer groups 
    233 # 
    234 # Revision 1.41  2003/12/27 16:49:25  uid67467 
    235 # Should be ok now. 
    236 # 
    237 # Revision 1.40  2003/11/29 22:02:14  jalet 
    238 # Don't try to retrieve the user print quota information if current printer 
    239 # doesn't exist. 
    240 # 
    241 # Revision 1.39  2003/11/26 23:35:32  jalet 
    242 # Added a bit of code to support the setting of the user's email address 
    243 # which was ignored during writes for now. 
    244 # 
    245 # Revision 1.38  2003/11/24 09:54:06  jalet 
    246 # Small fix for LDAP when pykotaOptions attribute wasn't present. 
    247 # 
    248 # Revision 1.37  2003/11/23 19:01:37  jalet 
    249 # Job price added to history 
    250 # 
    251 # Revision 1.36  2003/11/21 14:28:46  jalet 
    252 # More complete job history. 
    253 # 
    254 # Revision 1.35  2003/11/12 13:06:37  jalet 
    255 # Bug fix wrt no user/group name command line argument to edpykota 
    256 # 
    257 # Revision 1.34  2003/10/24 08:37:55  jalet 
    258 # More complete messages in case of LDAP failure. 
    259 # LDAP database connection is now unbound on exit too. 
    260 # 
    261 # Revision 1.33  2003/10/08 07:01:20  jalet 
    262 # Job history can be disabled. 
    263 # Some typos in README. 
    264 # More messages in setup script. 
    265 # 
    266 # Revision 1.32  2003/10/07 14:23:25  jalet 
    267 # More work on cache 
    268 # 
    269 # Revision 1.31  2003/10/07 09:07:30  jalet 
    270 # Character encoding added to please latest version of Python 
    271 # 
    272 # Revision 1.30  2003/10/06 14:42:36  jalet 
    273 # LDAP group access will be slower when cache is disabled, but at least code 
    274 # is consistent with the rest of the caching mechanis, but at least code 
    275 # is consistent with the rest of the caching mechanism 
    276 # 
    277 # Revision 1.29  2003/10/06 13:12:28  jalet 
    278 # More work on caching 
    279 # 
    280 # Revision 1.28  2003/10/03 12:27:02  jalet 
    281 # Several optimizations, especially with LDAP backend 
    282 # 
    283 # Revision 1.27  2003/10/03 08:57:55  jalet 
    284 # Caching mechanism now caches all that's cacheable. 
    285 # 
    286 # Revision 1.26  2003/10/02 20:23:18  jalet 
    287 # Storage caching mechanism added. 
    288 # 
    289 # Revision 1.25  2003/08/20 15:56:24  jalet 
    290 # Better user and group deletion 
    291 # 
    292 # Revision 1.24  2003/07/29 20:55:17  jalet 
    293 # 1.14 is out ! 
    294 # 
    295 # Revision 1.23  2003/07/29 19:52:32  jalet 
    296 # Forgot to read the email field from LDAP 
    297 # 
    298 # Revision 1.22  2003/07/29 09:54:03  jalet 
    299 # Added configurable LDAP mail attribute support 
    300 # 
    301 # Revision 1.21  2003/07/28 09:11:12  jalet 
    302 # PyKota now tries to add its attributes intelligently in existing LDAP 
    303 # directories. 
    304 # 
    305 # Revision 1.20  2003/07/25 10:41:30  jalet 
    306 # Better documentation. 
    307 # pykotme now displays the current user's account balance. 
    308 # Some test changed in ldap module. 
    309 # 
    310 # Revision 1.19  2003/07/14 14:18:16  jalet 
    311 # Wrong documentation strings 
    312 # 
    313 # Revision 1.18  2003/07/11 14:23:13  jalet 
    314 # When adding an user only adds one object containing both the user and 
    315 # its account balance instead of two objects. 
    316 # 
    317 # Revision 1.17  2003/07/07 12:51:07  jalet 
    318 # Small fix 
    319 # 
    320 # Revision 1.16  2003/07/07 12:11:13  jalet 
    321 # Small fix 
    322 # 
    323 # Revision 1.15  2003/07/07 11:49:24  jalet 
    324 # Lots of small fixes with the help of PyChecker 
    325 # 
    326 # Revision 1.14  2003/07/07 08:33:18  jalet 
    327 # Bug fix due to a typo in LDAP code 
    328 # 
    329 # Revision 1.13  2003/07/05 07:46:50  jalet 
    330 # The previous bug fix was incomplete. 
    331 # 
    332 # Revision 1.12  2003/06/30 13:54:21  jalet 
    333 # Sorts by user / group name 
    334 # 
    335 # Revision 1.11  2003/06/25 14:10:01  jalet 
    336 # Hey, it may work (edpykota --reset excepted) ! 
    337 # 
    338 # Revision 1.10  2003/06/16 21:55:15  jalet 
    339 # More work on LDAP, again. Problem detected. 
    340 # 
    341 # Revision 1.9  2003/06/16 11:59:09  jalet 
    342 # More work on LDAP 
    343 # 
    344 # Revision 1.8  2003/06/15 22:26:52  jalet 
    345 # More work on LDAP 
    346 # 
    347 # Revision 1.7  2003/06/14 22:44:21  jalet 
    348 # More work on LDAP storage backend. 
    349 # 
    350 # Revision 1.6  2003/06/13 19:07:57  jalet 
    351 # Two big bugs fixed, time to release something ;-) 
    352 # 
    353 # Revision 1.5  2003/06/10 16:37:54  jalet 
    354 # Deletion of the second user which is not needed anymore. 
    355 # Added a debug configuration field in /etc/pykota.conf 
    356 # All queries can now be sent to the logger in debug mode, this will 
    357 # greatly help improve performance when time for this will come. 
    358 # 
    359 # Revision 1.4  2003/06/10 10:45:32  jalet 
    360 # Not implemented methods now raise an exception when called. 
    361 # 
    362 # Revision 1.3  2003/06/06 20:49:15  jalet 
    363 # Very latest schema. UNTESTED. 
    364 # 
    365 # Revision 1.2  2003/06/06 14:21:08  jalet 
    366 # New LDAP schema. 
    367 # Small bug fixes. 
    368 # 
    369 # Revision 1.1  2003/06/05 11:19:13  jalet 
    370 # More good work on LDAP storage. 
    371 # 
    37222# 
    37323#