activeldap 1.0.9 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/CHANGES +648 -567
  2. data/README +53 -48
  3. data/Rakefile +25 -53
  4. data/TODO +2 -0
  5. data/data/locale/en/LC_MESSAGES/active-ldap.mo +0 -0
  6. data/data/locale/ja/LC_MESSAGES/active-ldap.mo +0 -0
  7. data/examples/al-admin/app/controllers/application_controller.rb +1 -1
  8. data/examples/al-admin/app/views/_entry/_attributes_information.html.erb +7 -1
  9. data/examples/al-admin/app/views/users/_attributes_update_form.html.erb +13 -1
  10. data/examples/al-admin/config/environment.rb +2 -3
  11. data/lib/active_ldap.rb +103 -98
  12. data/lib/active_ldap/association/belongs_to_many.rb +7 -7
  13. data/lib/active_ldap/association/has_many.rb +4 -4
  14. data/lib/active_ldap/associations.rb +29 -5
  15. data/lib/active_ldap/attributes.rb +5 -1
  16. data/lib/active_ldap/base.rb +17 -13
  17. data/lib/active_ldap/configuration.rb +3 -4
  18. data/lib/active_ldap/connection.rb +3 -3
  19. data/lib/active_ldap/get_text/parser.rb +4 -2
  20. data/lib/active_ldap/helper.rb +59 -0
  21. data/lib/active_ldap/operations.rb +15 -10
  22. data/lib/active_ldap/xml.rb +22 -30
  23. data/po/en/active-ldap.po +221 -154
  24. data/po/ja/active-ldap.po +237 -178
  25. data/test-unit/History.txt +26 -0
  26. data/test-unit/Manifest.txt +1 -1
  27. data/test-unit/README.txt +1 -0
  28. data/test-unit/Rakefile +6 -1
  29. data/test-unit/lib/test/unit/autorunner.rb +6 -0
  30. data/test-unit/lib/test/unit/testcase.rb +101 -36
  31. data/test-unit/test/{test_testcase.rb → test-testcase.rb} +30 -1
  32. data/test-unit/test/test_assertions.rb +1 -1
  33. data/test/al-test-utils.rb +3 -1
  34. data/test/test_associations.rb +75 -6
  35. data/test/test_base.rb +45 -3
  36. metadata +75 -45
  37. data/examples/al-admin/config/initializers/gettext.rb +0 -15
@@ -5,8 +5,8 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: ActiveLdap 1.1.0\n"
9
- "POT-Creation-Date: 2008-06-17 21:42+0900\n"
8
+ "Project-Id-Version: Ruby/ActiveLdap 1.0.9\n"
9
+ "POT-Creation-Date: 2009-07-09 22:48+0900\n"
10
10
  "PO-Revision-Date: 2009-02-25 08:40+0900\n"
11
11
  "Last-Translator: Kouhei Sutou <kou@cozmixng.org>\n"
12
12
  "Language-Team: English\n"
@@ -459,6 +459,10 @@ msgstr ""
459
459
  msgid "LDAP|Attribute|olcAccess"
460
460
  msgstr ""
461
461
 
462
+ #: -:-
463
+ msgid "LDAP|Attribute|olcAddContentAcl"
464
+ msgstr ""
465
+
462
466
  #: -:-
463
467
  msgid "LDAP|Attribute|olcAllows"
464
468
  msgstr ""
@@ -527,6 +531,10 @@ msgstr ""
527
531
  msgid "LDAP|Attribute|olcDbCheckpoint"
528
532
  msgstr ""
529
533
 
534
+ #: -:-
535
+ msgid "LDAP|Attribute|olcDbChecksum"
536
+ msgstr ""
537
+
530
538
  #: -:-
531
539
  msgid "LDAP|Attribute|olcDbConfig"
532
540
  msgstr ""
@@ -575,6 +583,10 @@ msgstr ""
575
583
  msgid "LDAP|Attribute|olcDbNoSync"
576
584
  msgstr ""
577
585
 
586
+ #: -:-
587
+ msgid "LDAP|Attribute|olcDbPageSize"
588
+ msgstr ""
589
+
578
590
  #: -:-
579
591
  msgid "LDAP|Attribute|olcDbSearchStack"
580
592
  msgstr ""
@@ -635,6 +647,10 @@ msgstr ""
635
647
  msgid "LDAP|Attribute|olcLastMod"
636
648
  msgstr ""
637
649
 
650
+ #: -:-
651
+ msgid "LDAP|Attribute|olcLdapSyntaxes"
652
+ msgstr ""
653
+
638
654
  #: -:-
639
655
  msgid "LDAP|Attribute|olcLimits"
640
656
  msgstr ""
@@ -839,6 +855,10 @@ msgstr ""
839
855
  msgid "LDAP|Attribute|olcTLSDHParamFile"
840
856
  msgstr ""
841
857
 
858
+ #: -:-
859
+ msgid "LDAP|Attribute|olcTLSProtocolMin"
860
+ msgstr ""
861
+
842
862
  #: -:-
843
863
  msgid "LDAP|Attribute|olcTLSRandFile"
844
864
  msgstr ""
@@ -1763,6 +1783,12 @@ msgstr ""
1763
1783
  msgid "LDAP|Description|Attribute|olcAccess|Access Control List"
1764
1784
  msgstr ""
1765
1785
 
1786
+ #: -:-
1787
+ msgid ""
1788
+ "LDAP|Description|Attribute|olcAddContentAcl|Check ACLs against content of "
1789
+ "Add ops"
1790
+ msgstr ""
1791
+
1766
1792
  #: -:-
1767
1793
  msgid "LDAP|Description|Attribute|olcAllows|Allowed set of deprecated features"
1768
1794
  msgstr ""
@@ -1814,6 +1840,11 @@ msgid ""
1814
1840
  "kbytes and minutes"
1815
1841
  msgstr ""
1816
1842
 
1843
+ #: -:-
1844
+ msgid ""
1845
+ "LDAP|Description|Attribute|olcDbChecksum|Enable database checksum validation"
1846
+ msgstr ""
1847
+
1817
1848
  #: -:-
1818
1849
  msgid ""
1819
1850
  "LDAP|Description|Attribute|olcDbConfig|BerkeleyDB DB_CONFIG configuration "
@@ -1870,6 +1901,11 @@ msgid ""
1870
1901
  "LDAP|Description|Attribute|olcDbNoSync|Disable synchronous database writes"
1871
1902
  msgstr ""
1872
1903
 
1904
+ #: -:-
1905
+ msgid ""
1906
+ "LDAP|Description|Attribute|olcDbPageSize|Page size of specified DB, in Kbytes"
1907
+ msgstr ""
1908
+
1873
1909
  #: -:-
1874
1910
  msgid ""
1875
1911
  "LDAP|Description|Attribute|olcDbSearchStack|Depth of search stack in IDLs"
@@ -1884,6 +1920,10 @@ msgid ""
1884
1920
  "LDAP|Description|Attribute|olcDitContentRules|OpenLDAP DIT content rules"
1885
1921
  msgstr ""
1886
1922
 
1923
+ #: -:-
1924
+ msgid "LDAP|Description|Attribute|olcLdapSyntaxes|OpenLDAP ldapSyntax"
1925
+ msgstr ""
1926
+
1887
1927
  #: -:-
1888
1928
  msgid "LDAP|Description|Attribute|olcObjectClasses|OpenLDAP object classes"
1889
1929
  msgstr ""
@@ -2890,6 +2930,12 @@ msgstr ""
2890
2930
  msgid "LDAP|Description|Syntax|1.3.6.1.4.1.1466.115.121.1.9|Certificate List"
2891
2931
  msgstr ""
2892
2932
 
2933
+ #: -:-
2934
+ msgid ""
2935
+ "LDAP|Description|Syntax|1.3.6.1.4.1.4203.666.11.10.2.1|X.509 "
2936
+ "AttributeCertificate"
2937
+ msgstr ""
2938
+
2893
2939
  #: -:-
2894
2940
  msgid "LDAP|ObjectClass|LDAProotDSE"
2895
2941
  msgstr ""
@@ -3370,6 +3416,10 @@ msgstr ""
3370
3416
  msgid "LDAP|Syntax|1.3.6.1.4.1.1466.115.121.1.9"
3371
3417
  msgstr ""
3372
3418
 
3419
+ #: -:-
3420
+ msgid "LDAP|Syntax|1.3.6.1.4.1.4203.666.11.10.2.1"
3421
+ msgstr ""
3422
+
3373
3423
  #: lib/active_ldap/object_class.rb:53
3374
3424
  msgid "Value in objectClass array is not a String: %s"
3375
3425
  msgstr ""
@@ -3382,290 +3432,299 @@ msgstr ""
3382
3432
  msgid "Can't remove required objectClass: %s"
3383
3433
  msgstr ""
3384
3434
 
3385
- #: lib/active_ldap/adapter/jndi.rb:109 lib/active_ldap/adapter/ldap.rb:201
3386
- #: lib/active_ldap/adapter/net_ldap.rb:158
3435
+ #: lib/active_ldap/adapter/jndi.rb:105 lib/active_ldap/adapter/ldap.rb:197
3436
+ #: lib/active_ldap/adapter/net_ldap.rb:155
3387
3437
  msgid "%s is not one of the available connect methods: %s"
3388
3438
  msgstr ""
3389
3439
 
3390
- #: lib/active_ldap/adapter/jndi.rb:122 lib/active_ldap/adapter/ldap.rb:214
3391
- #: lib/active_ldap/adapter/net_ldap.rb:171
3440
+ #: lib/active_ldap/adapter/jndi.rb:118 lib/active_ldap/adapter/ldap.rb:210
3441
+ #: lib/active_ldap/adapter/net_ldap.rb:168
3392
3442
  msgid "%s is not one of the available LDAP scope: %s"
3393
3443
  msgstr ""
3394
3444
 
3395
- #: lib/active_ldap/adapter/jndi.rb:170 lib/active_ldap/adapter/ldap.rb:271
3396
- #: lib/active_ldap/adapter/net_ldap.rb:295
3445
+ #: lib/active_ldap/adapter/jndi.rb:176 lib/active_ldap/adapter/ldap.rb:274
3446
+ #: lib/active_ldap/adapter/net_ldap.rb:290
3397
3447
  msgid "unknown type: %s"
3398
3448
  msgstr ""
3399
3449
 
3400
- #: lib/active_ldap/adapter/ldap.rb:113
3450
+ #: lib/active_ldap/adapter/ldap.rb:108
3401
3451
  msgid "No matches: filter: %s: attributes: %s"
3402
3452
  msgstr ""
3403
3453
 
3404
- #: lib/active_ldap/adapter/net_ldap.rb:215
3454
+ #: lib/active_ldap/adapter/net_ldap.rb:211
3405
3455
  msgid "unsupported qops: %s"
3406
3456
  msgstr ""
3407
3457
 
3408
- #: lib/active_ldap/adapter/base.rb:77
3458
+ #: lib/active_ldap/adapter/base.rb:84
3409
3459
  msgid "Bound to %s by SASL as %s"
3410
3460
  msgstr ""
3411
3461
 
3412
- #: lib/active_ldap/adapter/base.rb:79
3462
+ #: lib/active_ldap/adapter/base.rb:86
3413
3463
  msgid "Bound to %s by simple as %s"
3414
3464
  msgstr ""
3415
3465
 
3416
- #: lib/active_ldap/adapter/base.rb:81
3466
+ #: lib/active_ldap/adapter/base.rb:88
3417
3467
  msgid "Bound to %s as anonymous"
3418
3468
  msgstr ""
3419
3469
 
3420
- #: lib/active_ldap/adapter/base.rb:84
3470
+ #: lib/active_ldap/adapter/base.rb:91
3421
3471
  msgid "All authentication methods for %s exhausted."
3422
3472
  msgstr ""
3423
3473
 
3424
- #: lib/active_ldap/adapter/base.rb:156
3474
+ #: lib/active_ldap/adapter/base.rb:171
3425
3475
  msgid "Ignore error %s(%s): filter %s: attributes: %s"
3426
3476
  msgstr ""
3427
3477
 
3428
- #: lib/active_ldap/adapter/base.rb:174 lib/active_ldap/adapter/base.rb:184
3429
- msgid "No such entry: %s"
3478
+ #: lib/active_ldap/adapter/base.rb:187 lib/active_ldap/adapter/base.rb:206
3479
+ #: lib/active_ldap/adapter/base.rb:208 lib/active_ldap/adapter/base.rb:210
3480
+ #: lib/active_ldap/adapter/base.rb:212 lib/active_ldap/adapter/base.rb:222
3481
+ #: lib/active_ldap/adapter/base.rb:228
3482
+ msgid "%s: %s"
3430
3483
  msgstr ""
3431
3484
 
3432
- #: lib/active_ldap/adapter/base.rb:188 lib/active_ldap/adapter/base.rb:190
3433
- #: lib/active_ldap/adapter/base.rb:192 lib/active_ldap/adapter/base.rb:194
3434
- #: lib/active_ldap/adapter/base.rb:206
3435
- msgid "%s: %s"
3485
+ #: lib/active_ldap/adapter/base.rb:192 lib/active_ldap/adapter/base.rb:202
3486
+ msgid "No such entry: %s"
3436
3487
  msgstr ""
3437
3488
 
3438
- #: lib/active_ldap/adapter/base.rb:263
3489
+ #: lib/active_ldap/adapter/base.rb:293
3439
3490
  msgid "password_block not nil or Proc object. Ignoring."
3440
3491
  msgstr ""
3441
3492
 
3442
- #: lib/active_ldap/adapter/base.rb:282
3493
+ #: lib/active_ldap/adapter/base.rb:314
3443
3494
  msgid "Requested action timed out."
3444
3495
  msgstr ""
3445
3496
 
3446
- #: lib/active_ldap/adapter/base.rb:320
3497
+ #: lib/active_ldap/adapter/base.rb:355
3447
3498
  msgid "Skip simple bind with empty password."
3448
3499
  msgstr ""
3449
3500
 
3450
- #: lib/active_ldap/adapter/base.rb:324
3501
+ #: lib/active_ldap/adapter/base.rb:359
3451
3502
  msgid "Can't use empty password for simple bind."
3452
3503
  msgstr ""
3453
3504
 
3454
- #: lib/active_ldap/adapter/base.rb:515
3505
+ #: lib/active_ldap/adapter/base.rb:551
3455
3506
  msgid "invalid logical operator: %s: available operators: %s"
3456
3507
  msgstr ""
3457
3508
 
3458
- #: lib/active_ldap/adapter/base.rb:532
3459
- msgid "Giving up trying to reconnect to LDAP server."
3460
- msgstr ""
3461
-
3462
- #: lib/active_ldap/adapter/base.rb:535
3509
+ #: lib/active_ldap/adapter/base.rb:566
3463
3510
  msgid "Attempting to reconnect"
3464
3511
  msgstr ""
3465
3512
 
3466
- #: lib/active_ldap/adapter/base.rb:546
3513
+ #: lib/active_ldap/adapter/base.rb:579
3467
3514
  msgid ""
3468
3515
  "Reconnect to server failed: %s\n"
3469
3516
  "Reconnect to server failed backtrace:\n"
3470
3517
  "%s"
3471
3518
  msgstr ""
3472
3519
 
3520
+ #: lib/active_ldap/adapter/base.rb:589
3521
+ msgid "Giving up trying to reconnect to LDAP server."
3522
+ msgstr ""
3523
+
3473
3524
  #: lib/active_ldap/acts/tree.rb:66
3474
3525
  msgid "parent must be an entry or parent DN: %s"
3475
3526
  msgstr ""
3476
3527
 
3477
- #: lib/active_ldap/operations.rb:46
3528
+ #: lib/active_ldap/operations.rb:49
3478
3529
  msgid ":ldap_scope search option is deprecated. Use :scope instead."
3479
3530
  msgstr ""
3480
3531
 
3481
- #: lib/active_ldap/operations.rb:221
3532
+ #: lib/active_ldap/operations.rb:258
3482
3533
  msgid "Invalid order: %s"
3483
3534
  msgstr ""
3484
3535
 
3485
- #: lib/active_ldap/operations.rb:257
3536
+ #: lib/active_ldap/operations.rb:294
3486
3537
  msgid "Couldn't find %s without a DN"
3487
3538
  msgstr ""
3488
3539
 
3489
- #: lib/active_ldap/operations.rb:279
3540
+ #: lib/active_ldap/operations.rb:316
3490
3541
  msgid "Couldn't find %s: DN: %s: filter: %s"
3491
3542
  msgstr ""
3492
3543
 
3493
- #: lib/active_ldap/operations.rb:282
3544
+ #: lib/active_ldap/operations.rb:319
3494
3545
  msgid "Couldn't find %s: DN: %s"
3495
3546
  msgstr ""
3496
3547
 
3497
- #: lib/active_ldap/operations.rb:309
3548
+ #: lib/active_ldap/operations.rb:346
3498
3549
  msgid "Couldn't find all %s: DNs (%s): filter: %s"
3499
3550
  msgstr ""
3500
3551
 
3501
- #: lib/active_ldap/operations.rb:312
3552
+ #: lib/active_ldap/operations.rb:349
3502
3553
  msgid "Couldn't find all %s: DNs (%s)"
3503
3554
  msgstr ""
3504
3555
 
3505
- #: lib/active_ldap/ldif.rb:376
3556
+ #: lib/active_ldap/associations.rb:68
3557
+ msgid ""
3558
+ ":foreign_key belongs_to(:many) option is deprecated since 1.1.0. Use :"
3559
+ "primary_key instead."
3560
+ msgstr ""
3561
+
3562
+ #: lib/active_ldap/associations.rb:135
3563
+ msgid ""
3564
+ ":primary_key and :foreign_key has_many options are inverted their mean since "
3565
+ "1.1.0. Please invert them."
3566
+ msgstr ""
3567
+
3568
+ #: lib/active_ldap/ldif.rb:396
3506
3569
  msgid "version spec is missing"
3507
3570
  msgstr ""
3508
3571
 
3509
- #: lib/active_ldap/ldif.rb:380
3572
+ #: lib/active_ldap/ldif.rb:400
3510
3573
  msgid "version number is missing"
3511
3574
  msgstr ""
3512
3575
 
3513
- #: lib/active_ldap/ldif.rb:384
3576
+ #: lib/active_ldap/ldif.rb:404
3514
3577
  msgid "unsupported version: %d"
3515
3578
  msgstr ""
3516
3579
 
3517
- #: lib/active_ldap/ldif.rb:388
3580
+ #: lib/active_ldap/ldif.rb:408
3518
3581
  msgid "separator is missing"
3519
3582
  msgstr ""
3520
3583
 
3521
- #: lib/active_ldap/ldif.rb:392
3584
+ #: lib/active_ldap/ldif.rb:412
3522
3585
  msgid "'dn:' is missing"
3523
3586
  msgstr ""
3524
3587
 
3525
- #: lib/active_ldap/ldif.rb:396
3588
+ #: lib/active_ldap/ldif.rb:416
3526
3589
  msgid "DN is missing"
3527
3590
  msgstr ""
3528
3591
 
3529
- #: lib/active_ldap/ldif.rb:400
3592
+ #: lib/active_ldap/ldif.rb:420
3530
3593
  msgid "DN is invalid: %s: %s"
3531
3594
  msgstr ""
3532
3595
 
3533
- #: lib/active_ldap/ldif.rb:404
3596
+ #: lib/active_ldap/ldif.rb:424
3534
3597
  msgid "DN has an invalid character: %s"
3535
3598
  msgstr ""
3536
3599
 
3537
- #: lib/active_ldap/ldif.rb:408 lib/active_ldap/distinguished_name.rb:143
3600
+ #: lib/active_ldap/ldif.rb:428 lib/active_ldap/distinguished_name.rb:144
3538
3601
  msgid "attribute type is missing"
3539
3602
  msgstr ""
3540
3603
 
3541
- #: lib/active_ldap/ldif.rb:412
3604
+ #: lib/active_ldap/ldif.rb:432
3542
3605
  msgid "option is missing"
3543
3606
  msgstr ""
3544
3607
 
3545
- #: lib/active_ldap/ldif.rb:416
3608
+ #: lib/active_ldap/ldif.rb:436
3546
3609
  msgid "':' is missing"
3547
3610
  msgstr ""
3548
3611
 
3549
- #: lib/active_ldap/ldif.rb:420
3612
+ #: lib/active_ldap/ldif.rb:440
3550
3613
  msgid "URI is invalid: %s: %s"
3551
3614
  msgstr ""
3552
3615
 
3553
- #: lib/active_ldap/ldif.rb:424
3616
+ #: lib/active_ldap/ldif.rb:444
3554
3617
  msgid "'-' is missing"
3555
3618
  msgstr ""
3556
3619
 
3557
- #: lib/active_ldap/ldif.rb:428
3620
+ #: lib/active_ldap/ldif.rb:448
3558
3621
  msgid "unknown change type: %s"
3559
3622
  msgstr ""
3560
3623
 
3561
- #: lib/active_ldap/ldif.rb:432
3624
+ #: lib/active_ldap/ldif.rb:452
3562
3625
  msgid "change type is missing"
3563
3626
  msgstr ""
3564
3627
 
3565
- #: lib/active_ldap/ldif.rb:436
3628
+ #: lib/active_ldap/ldif.rb:456
3566
3629
  msgid "control type is missing"
3567
3630
  msgstr ""
3568
3631
 
3569
- #: lib/active_ldap/ldif.rb:440
3632
+ #: lib/active_ldap/ldif.rb:460
3570
3633
  msgid "criticality is missing"
3571
3634
  msgstr ""
3572
3635
 
3573
- #: lib/active_ldap/ldif.rb:444
3636
+ #: lib/active_ldap/ldif.rb:464
3574
3637
  msgid "change type value is missing"
3575
3638
  msgstr ""
3576
3639
 
3577
- #: lib/active_ldap/ldif.rb:448
3640
+ #: lib/active_ldap/ldif.rb:468
3578
3641
  msgid "attribute spec is missing"
3579
3642
  msgstr ""
3580
3643
 
3581
- #: lib/active_ldap/ldif.rb:452
3644
+ #: lib/active_ldap/ldif.rb:472
3582
3645
  msgid "'newrdn:' is missing"
3583
3646
  msgstr ""
3584
3647
 
3585
- #: lib/active_ldap/ldif.rb:456
3648
+ #: lib/active_ldap/ldif.rb:476
3586
3649
  msgid "new RDN value is missing"
3587
3650
  msgstr ""
3588
3651
 
3589
- #: lib/active_ldap/ldif.rb:460
3652
+ #: lib/active_ldap/ldif.rb:480
3590
3653
  msgid "'deleteoldrdn:' is missing"
3591
3654
  msgstr ""
3592
3655
 
3593
- #: lib/active_ldap/ldif.rb:464
3656
+ #: lib/active_ldap/ldif.rb:484
3594
3657
  msgid "delete old RDN value is missing"
3595
3658
  msgstr ""
3596
3659
 
3597
- #: lib/active_ldap/ldif.rb:468
3660
+ #: lib/active_ldap/ldif.rb:488
3598
3661
  msgid "new superior value is missing"
3599
3662
  msgstr ""
3600
3663
 
3601
- #: lib/active_ldap/ldif.rb:472
3664
+ #: lib/active_ldap/ldif.rb:492
3602
3665
  msgid "unknown modify type: %s"
3603
3666
  msgstr ""
3604
3667
 
3605
- #: lib/active_ldap/ldif.rb:738
3668
+ #: lib/active_ldap/ldif.rb:765
3606
3669
  msgid "invalid criticality value: %s"
3607
3670
  msgstr ""
3608
3671
 
3609
- #: lib/active_ldap/ldif.rb:781
3672
+ #: lib/active_ldap/ldif.rb:808
3610
3673
  msgid "invalid deleteoldrdn value: %s"
3611
3674
  msgstr ""
3612
3675
 
3613
- #: lib/active_ldap/distinguished_name.rb:135
3676
+ #: lib/active_ldap/distinguished_name.rb:136
3614
3677
  msgid "name component is missing"
3615
3678
  msgstr ""
3616
3679
 
3617
- #: lib/active_ldap/distinguished_name.rb:139
3680
+ #: lib/active_ldap/distinguished_name.rb:140
3618
3681
  msgid "relative distinguished name (RDN) is missing"
3619
3682
  msgstr ""
3620
3683
 
3621
- #: lib/active_ldap/distinguished_name.rb:147
3684
+ #: lib/active_ldap/distinguished_name.rb:148
3622
3685
  msgid "attribute value is missing"
3623
3686
  msgstr ""
3624
3687
 
3625
- #: lib/active_ldap/distinguished_name.rb:151
3688
+ #: lib/active_ldap/distinguished_name.rb:152
3626
3689
  msgid "found unmatched quotation"
3627
3690
  msgstr ""
3628
3691
 
3629
- #: lib/active_ldap/distinguished_name.rb:187
3692
+ #: lib/active_ldap/distinguished_name.rb:188
3630
3693
  msgid "%s isn't sub DN of %s"
3631
3694
  msgstr ""
3632
3695
 
3633
- #: lib/active_ldap/validations.rb:81
3696
+ #: lib/active_ldap/validations.rb:85
3634
3697
  msgid "%{fn} is duplicated: %s"
3635
3698
  msgstr ""
3636
3699
 
3637
- #: lib/active_ldap/validations.rb:83
3638
- msgid "is duplicated: %s"
3700
+ #: lib/active_ldap/validations.rb:96
3701
+ msgid "%{fn} is invalid: %s"
3639
3702
  msgstr ""
3640
3703
 
3641
- #: lib/active_ldap/validations.rb:107
3704
+ #: lib/active_ldap/validations.rb:100
3705
+ msgid "%{fn} isn't set: %s"
3706
+ msgstr ""
3707
+
3708
+ #: lib/active_ldap/validations.rb:122
3642
3709
  msgid "%{fn} has excluded value: %s"
3643
3710
  msgid_plural "%{fn} has excluded values: %s"
3644
3711
  msgstr[0] ""
3645
3712
  msgstr[1] ""
3646
3713
 
3647
- #: lib/active_ldap/validations.rb:142
3714
+ #: lib/active_ldap/validations.rb:152
3648
3715
  msgid "%{fn} is required attribute by objectClass '%s'"
3649
3716
  msgstr ""
3650
3717
 
3651
- #: lib/active_ldap/validations.rb:144
3718
+ #: lib/active_ldap/validations.rb:154
3652
3719
  msgid "%{fn} is required attribute by objectClass '%s': aliases: %s"
3653
3720
  msgstr ""
3654
3721
 
3655
- #: lib/active_ldap/validations.rb:177
3656
- msgid "%{fn} (%s) has invalid format: %s: required syntax: %s: %s"
3657
- msgstr ""
3658
-
3659
- #: lib/active_ldap/validations.rb:179
3660
- msgid "%{fn} has invalid format: %s: required syntax: %s: %s"
3722
+ #: lib/active_ldap/validations.rb:181
3723
+ msgid "%{fn}(%s) has invalid format: %s: required syntax: %s: %s"
3661
3724
  msgstr ""
3662
3725
 
3663
3726
  #: lib/active_ldap/validations.rb:183
3664
- msgid "(%s) has invalid format: %s: required syntax: %s: %s"
3665
- msgstr ""
3666
-
3667
- #: lib/active_ldap/validations.rb:185
3668
- msgid "has invalid format: %s: required syntax: %s: %s"
3727
+ msgid "%{fn} has invalid format: %s: required syntax: %s: %s"
3669
3728
  msgstr ""
3670
3729
 
3671
3730
  #: lib/active_ldap/command.rb:16
@@ -3684,88 +3743,110 @@ msgstr ""
3684
3743
  msgid "Show version"
3685
3744
  msgstr ""
3686
3745
 
3687
- #: lib/active_ldap/base.rb:112
3746
+ #: lib/active_ldap/base.rb:53
3747
+ msgid ""
3748
+ "ActiveLdap::ConnectionNotEstablished has been deprecated since 1.1.0. Please "
3749
+ "use ActiveLdap::ConnectionNotSetup instead."
3750
+ msgstr ""
3751
+
3752
+ #: lib/active_ldap/base.rb:131
3688
3753
  msgid "invalid distinguished name (DN) to parse: %s"
3689
3754
  msgstr ""
3690
3755
 
3691
- #: lib/active_ldap/base.rb:122
3756
+ #: lib/active_ldap/base.rb:141
3692
3757
  msgid "%s is invalid distinguished name (DN): %s"
3693
3758
  msgstr ""
3694
3759
 
3695
- #: lib/active_ldap/base.rb:124
3760
+ #: lib/active_ldap/base.rb:143
3696
3761
  msgid "%s is invalid distinguished name (DN)"
3697
3762
  msgstr ""
3698
3763
 
3699
- #: lib/active_ldap/base.rb:142
3764
+ #: lib/active_ldap/base.rb:161
3700
3765
  msgid "invalid LDIF: %s:"
3701
3766
  msgstr ""
3702
3767
 
3703
- #: lib/active_ldap/base.rb:144
3768
+ #: lib/active_ldap/base.rb:163
3704
3769
  msgid "invalid LDIF:"
3705
3770
  msgstr ""
3706
3771
 
3707
- #: lib/active_ldap/base.rb:219
3772
+ #: lib/active_ldap/base.rb:241
3708
3773
  msgid "LDAP configuration specifies nonexistent %s adapter"
3709
3774
  msgstr ""
3710
3775
 
3711
- #: lib/active_ldap/base.rb:227
3776
+ #: lib/active_ldap/base.rb:249
3712
3777
  msgid "%s is unknown attribute"
3713
3778
  msgstr ""
3714
3779
 
3715
- #: lib/active_ldap/base.rb:423
3780
+ #: lib/active_ldap/base.rb:374
3781
+ msgid ""
3782
+ "ActiveLdap::Base.establish_connection has been deprecated since 1.1.0. "
3783
+ "Please use ActiveLdap::Base.setup_connection instead."
3784
+ msgstr ""
3785
+
3786
+ #: lib/active_ldap/base.rb:455
3716
3787
  msgid "scope '%s' must be a Symbol"
3717
3788
  msgstr ""
3718
3789
 
3719
- #: lib/active_ldap/base.rb:577
3790
+ #: lib/active_ldap/base.rb:500
3791
+ msgid "%s doesn't belong in a hierarchy descending from ActiveLdap"
3792
+ msgstr ""
3793
+
3794
+ #: lib/active_ldap/base.rb:655
3720
3795
  msgid ""
3721
3796
  "'%s' must be either nil, DN value as ActiveLdap::DN, String or Array or "
3722
3797
  "attributes as Hash"
3723
3798
  msgstr ""
3724
3799
 
3725
- #: lib/active_ldap/base.rb:682
3800
+ #: lib/active_ldap/base.rb:770
3726
3801
  msgid "Failed to delete LDAP entry: %s"
3727
3802
  msgstr ""
3728
3803
 
3729
- #: lib/active_ldap/base.rb:701
3804
+ #: lib/active_ldap/base.rb:789
3730
3805
  msgid "entry %s can't be saved"
3731
3806
  msgstr ""
3732
3807
 
3733
- #: lib/active_ldap/base.rb:720 lib/active_ldap/base.rb:731
3808
+ #: lib/active_ldap/base.rb:808 lib/active_ldap/base.rb:819
3734
3809
  msgid "wrong number of arguments (%d for 1)"
3735
3810
  msgstr ""
3736
3811
 
3737
- #: lib/active_ldap/base.rb:854
3812
+ #: lib/active_ldap/base.rb:940
3738
3813
  msgid "Can't find DN '%s' to reload"
3739
3814
  msgstr ""
3740
3815
 
3741
- #: lib/active_ldap/base.rb:1184
3816
+ #: lib/active_ldap/base.rb:1337
3742
3817
  msgid "%s's DN attribute (%s) isn't set"
3743
3818
  msgstr ""
3744
3819
 
3745
- #: lib/active_ldap/base.rb:1298
3746
- msgid "dn_attribute isn't set for this class: %s"
3747
- msgstr ""
3748
-
3749
- #: lib/active_ldap/attributes.rb:45
3820
+ #: lib/active_ldap/attributes.rb:76
3750
3821
  msgid "The first argument, name, must not be nil. Please report this as a bug!"
3751
3822
  msgstr ""
3752
3823
 
3753
- #: lib/active_ldap/schema.rb:50
3824
+ #: lib/active_ldap/schema.rb:52
3754
3825
  msgid "Unknown schema group: %s"
3755
3826
  msgstr ""
3756
3827
 
3757
- #: lib/active_ldap/schema.rb:513
3828
+ #: lib/active_ldap/schema.rb:547
3758
3829
  msgid "Attribute %s can only have a single value: %s"
3759
3830
  msgstr ""
3760
3831
 
3761
- #: lib/active_ldap/schema.rb:532
3832
+ #: lib/active_ldap/schema.rb:566
3762
3833
  msgid "Attribute %s: Hash must have one key-value pair only: %s"
3763
3834
  msgstr ""
3764
3835
 
3765
- #: lib/active_ldap/connection.rb:99
3836
+ #: lib/active_ldap/connection.rb:98
3766
3837
  msgid ":ldap_scope connection option is deprecated. Use :scope instead."
3767
3838
  msgstr ""
3768
3839
 
3840
+ #: lib/active_ldap/connection.rb:156
3841
+ msgid ""
3842
+ "ActiveLdap::Connection.establish_connection has been deprecated since 1.1.0. "
3843
+ "Please use ActiveLdap::Connection.setup_connection instead."
3844
+ msgstr ""
3845
+
3846
+ #: lib/active_ldap/connection.rb:229
3847
+ msgid "since 1.1.0. "
3848
+ msgstr ""
3849
+
3769
3850
  #: lib/active_ldap/user_password.rb:10
3770
3851
  msgid "Invalid hashed password: %s"
3771
3852
  msgstr ""
@@ -3803,56 +3884,56 @@ msgid "%s should be just 2 printable characters"
3803
3884
  msgstr ""
3804
3885
 
3805
3886
  #: lib/active_ldap/schema/syntaxes.rb:162
3806
- #: lib/active_ldap/schema/syntaxes.rb:369
3887
+ #: lib/active_ldap/schema/syntaxes.rb:381
3807
3888
  msgid "%s has invalid UTF-8 character"
3808
3889
  msgstr ""
3809
3890
 
3810
- #: lib/active_ldap/schema/syntaxes.rb:225
3891
+ #: lib/active_ldap/schema/syntaxes.rb:237
3811
3892
  msgid "%s has missing components: %s"
3812
3893
  msgstr ""
3813
3894
 
3814
- #: lib/active_ldap/schema/syntaxes.rb:228
3895
+ #: lib/active_ldap/schema/syntaxes.rb:240
3815
3896
  msgid "%s is invalid time format"
3816
3897
  msgstr ""
3817
3898
 
3818
- #: lib/active_ldap/schema/syntaxes.rb:258
3899
+ #: lib/active_ldap/schema/syntaxes.rb:270
3819
3900
  msgid "%s is invalid integer format"
3820
3901
  msgstr ""
3821
3902
 
3822
- #: lib/active_ldap/schema/syntaxes.rb:270
3903
+ #: lib/active_ldap/schema/syntaxes.rb:282
3823
3904
  msgid "invalid JPEG format"
3824
3905
  msgstr ""
3825
3906
 
3826
- #: lib/active_ldap/schema/syntaxes.rb:311
3907
+ #: lib/active_ldap/schema/syntaxes.rb:323
3827
3908
  msgid "%s is invalid numeric format"
3828
3909
  msgstr ""
3829
3910
 
3830
- #: lib/active_ldap/schema/syntaxes.rb:326
3911
+ #: lib/active_ldap/schema/syntaxes.rb:338
3831
3912
  msgid "%s is invalid OID format: %s"
3832
3913
  msgstr ""
3833
3914
 
3834
- #: lib/active_ldap/schema/syntaxes.rb:328
3915
+ #: lib/active_ldap/schema/syntaxes.rb:340
3835
3916
  msgid "%s is invalid OID format"
3836
3917
  msgstr ""
3837
3918
 
3838
- #: lib/active_ldap/schema/syntaxes.rb:341
3919
+ #: lib/active_ldap/schema/syntaxes.rb:353
3839
3920
  msgid "%s has no mailbox type"
3840
3921
  msgstr ""
3841
3922
 
3842
- #: lib/active_ldap/schema/syntaxes.rb:345
3923
+ #: lib/active_ldap/schema/syntaxes.rb:357
3843
3924
  msgid "%s has unprintable character in mailbox type: '%s'"
3844
3925
  msgstr ""
3845
3926
 
3846
- #: lib/active_ldap/schema/syntaxes.rb:350
3927
+ #: lib/active_ldap/schema/syntaxes.rb:362
3847
3928
  msgid "%s has no mailbox"
3848
3929
  msgstr ""
3849
3930
 
3850
- #: lib/active_ldap/schema/syntaxes.rb:363
3851
- #: lib/active_ldap/schema/syntaxes.rb:382
3931
+ #: lib/active_ldap/schema/syntaxes.rb:375
3932
+ #: lib/active_ldap/schema/syntaxes.rb:394
3852
3933
  msgid "empty string"
3853
3934
  msgstr ""
3854
3935
 
3855
- #: lib/active_ldap/schema/syntaxes.rb:386
3936
+ #: lib/active_ldap/schema/syntaxes.rb:398
3856
3937
  msgid "%s has unprintable character: '%s'"
3857
3938
  msgstr ""
3858
3939
 
@@ -3864,79 +3945,65 @@ msgstr ""
3864
3945
  msgid "%s connection is not configured"
3865
3946
  msgstr ""
3866
3947
 
3867
- #: lib/active_ldap/configuration.rb:111
3948
+ #: lib/active_ldap/configuration.rb:110
3868
3949
  msgid ":ldap_scope configuration option is deprecated. Use :scope instead."
3869
3950
  msgstr ""
3870
3951
 
3871
- #: lib/active_ldap/configuration.rb:132
3952
+ #: lib/active_ldap/configuration.rb:131
3872
3953
  msgid "invalid URI: %s"
3873
3954
  msgstr ""
3874
3955
 
3875
- #: lib/active_ldap/configuration.rb:135
3956
+ #: lib/active_ldap/configuration.rb:134
3876
3957
  msgid "not a LDAP URI: %s"
3877
3958
  msgstr ""
3878
3959
 
3879
- #: rails/plugin/active_ldap/init.rb:7
3960
+ #: rails/init.rb:7
3880
3961
  msgid "You need ActiveLdap %s or later"
3881
3962
  msgstr ""
3882
3963
 
3883
- #: rails/plugin/active_ldap/init.rb:19
3964
+ #: rails/init.rb:19
3884
3965
  msgid "You should run 'script/generator scaffold_active_ldap' to make %s."
3885
3966
  msgstr ""
3886
3967
 
3887
- #: rails/plugin/active_ldap/generators/model_active_ldap/model_active_ldap_generator.rb:32
3888
- msgid "Use ATTRIBUTE as default DN attribute for instances of this model"
3968
+ #: benchmark/bench-al.rb:14
3969
+ msgid "Specify prefix for benchmarking"
3889
3970
  msgstr ""
3890
3971
 
3891
- #: rails/plugin/active_ldap/generators/model_active_ldap/model_active_ldap_generator.rb:34
3892
- #: rails/plugin/active_ldap/generators/model_active_ldap/model_active_ldap_generator.rb:40
3893
3972
  #: benchmark/bench-al.rb:15
3894
3973
  msgid "(default: %s)"
3895
3974
  msgstr ""
3896
3975
 
3897
- #: rails/plugin/active_ldap/generators/model_active_ldap/model_active_ldap_generator.rb:39
3898
- msgid "Use PREFIX as prefix for this model"
3899
- msgstr ""
3900
-
3901
- #: rails/plugin/active_ldap/generators/scaffold_al/scaffold_al_generator.rb:7
3902
- msgid "scaffold_al is deprecated. Use scaffold_active_ldap instead."
3903
- msgstr ""
3904
-
3905
- #: benchmark/bench-al.rb:14
3906
- msgid "Specify prefix for benchmarking"
3907
- msgstr ""
3908
-
3909
- #: benchmark/bench-al.rb:182
3976
+ #: benchmark/bench-al.rb:219
3910
3977
  msgid "Populating..."
3911
3978
  msgstr ""
3912
3979
 
3913
- #: benchmark/bench-al.rb:239
3980
+ #: benchmark/bench-al.rb:276
3914
3981
  msgid "Entries processed by Ruby/ActiveLdap + LDAP: %d"
3915
3982
  msgstr ""
3916
3983
 
3917
- #: benchmark/bench-al.rb:240
3984
+ #: benchmark/bench-al.rb:277
3918
3985
  msgid "Entries processed by Ruby/ActiveLdap + Net::LDAP: %d"
3919
3986
  msgstr ""
3920
3987
 
3921
- #: benchmark/bench-al.rb:242
3988
+ #: benchmark/bench-al.rb:279
3922
3989
  msgid ""
3923
3990
  "Entries processed by Ruby/ActiveLdap + LDAP: (without object creation): %d"
3924
3991
  msgstr ""
3925
3992
 
3926
- #: benchmark/bench-al.rb:245
3993
+ #: benchmark/bench-al.rb:282
3927
3994
  msgid ""
3928
3995
  "Entries processed by Ruby/ActiveLdap + Net::LDAP: (without object creation): "
3929
3996
  "%d"
3930
3997
  msgstr ""
3931
3998
 
3932
- #: benchmark/bench-al.rb:248
3999
+ #: benchmark/bench-al.rb:285
3933
4000
  msgid "Entries processed by Ruby/LDAP: %d"
3934
4001
  msgstr ""
3935
4002
 
3936
- #: benchmark/bench-al.rb:249
4003
+ #: benchmark/bench-al.rb:286
3937
4004
  msgid "Entries processed by Net::LDAP: %d"
3938
4005
  msgstr ""
3939
4006
 
3940
- #: benchmark/bench-al.rb:253
4007
+ #: benchmark/bench-al.rb:290
3941
4008
  msgid "Cleaning..."
3942
4009
  msgstr ""