[Samba] Samba 4.1.17 classic update w/LDAP - parsing error

Rowland Penny rowlandpenny241155 at gmail.com
Wed Sep 23 09:19:12 UTC 2015


On 23/09/15 09:42, Mgr. Peter Tuharsky wrote:
> Hallo,
>
> I'm trying Samba 4.1.17 (Debian Jessie packages) classic update process
> with previous LDAP backend. The process goes normal, occasional "group
> already exists" etc.
>
> But it ends up with an error:
>
> ERROR(<type 'exceptions.ValueError'>): uncaught exception - unable to
> parse dn string
>    File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
> 175, in _run
>      return self.run(*args, **kwargs)
>    File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line
> 1321, in run
>      useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
>    File "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 903, in
> upgrade_from_samba3
>      add_group_from_mapping_entry(result.samdb, g, logger)
>    File "/usr/lib/python2.7/dist-packages/samba/upgrade.py", line 274, in
> add_group_from_mapping_entry
>      m.dn = ldb.Dn(samdb, "CN=%s,CN=Users,%s" % (groupmap.nt_name,
> samdb.get_default_basedn()))
>
>
> Does someone have a clue, please?
>

I would check your group names in LDAP, it looks like the upgrade 
doesn't like one of them for some reason.

Rowland



More information about the samba mailing list