Re: LDAP import/export
On Wed, Jun 17, 2015 at 10:59:14AM +0200, Wolfgang Schweer wrote:
> On Wed, Jun 17, 2015 at 08:59:45AM +0200, Giorgio Pioda wrote:
> >
> > "Failed to generate LDAP export: Enter LDAP Password: ldap_bind: Server
> > is unwilling to perform (53) additional info: unauthenticated bind
> > (DN with no password) disallowed (while operating on LDAP
> > server ldap://ldap.intern)"
> >
> > Any idea to fix it?
>
> No. But it might be possible to (adapt and) use Petter's script:
> /usr/share/debian-edu-config/tools/ldap-migrate-squeeze-wheezy
>
> IIRC, some final migration steps had to be done manually (search the
> mailing list). But, there's the chance that the script might even work
> better for wheezy to jessie migration cause the changes to the initial
> LDAP database have been minimal.
>
> You might find this useful, too:
> https://wiki.debian.org/DebianEdu/Documentation/Jessie/Upgrades
> Please note that this upgrade recipe has only been tested on a system
> with a default combi server setup.
Little progress by myself
in file /usr/share/gosa/include/class_ldap.inc line 1010 modified to
$cmd = "ldapsearch -x -Z -LLLL -D {$admin} {$filter} {$limit} {$scope} -H {$host} -b {$dn} -w {$pwd}";
and a full ldiff gets generated. Apparently the -Z (encryption) and explicit
passwd login are needed.
Still the $filter variable doesn't set the proper value; unclear to me
how to reat the POST with a random generated "bs_input_*" variable name
to give a clean fix.
Anyway I'll look at your suggestions
--
Giorgio Pioda - Sysadmin SPSE-Tenero
Cell +41 79 629 20 63
Tel +41 58 468 62 48
Fax +41 58 468 61 98
Reply to: