Bug 9397 - vague error from classicupgrade
Summary: vague error from classicupgrade
Status: NEW
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
Depends on:
Reported: 2012-11-15 05:54 UTC by Brian May
Modified: 2012-11-15 05:54 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Brian May 2012-11-15 05:54:09 UTC
git version

root@sys11:/etc/ssl/local# /usr/local/samba/bin/samba-tool domain classicupgrade --dbdir=/tmp/samba --use-xattrs=yes  --realm=ad.vpac.org /tmp/smb.conf 
Reading smb.conf
WARNING: The "idmap backend" option is deprecated
WARNING: The "idmap uid" option is deprecated
WARNING: The "idmap gid" option is deprecated
Unknown parameter encountered: "share modes"
Ignoring unknown parameter "share modes"
Importing WINS database
Importing Account policy
Importing idmap database
Importing groups
Group already exists sid=S-1-5-21-1268321594-3481289969-4150125466-513, groupname=Domain Users existing_groupname=Domain Users, Ignoring.
Group already exists sid=S-1-5-21-1268321594-3481289969-4150125466-514, groupname=Domain Guests existing_groupname=Domain Guests, Ignoring.
Group already exists sid=S-1-5-21-1268321594-3481289969-4150125466-512, groupname=Domain Admins existing_groupname=Domain Admins, Ignoring.
Importing users
Failed to modify account record CN=bill,CN=Users,DC=ad,DC=vpac,DC=org to set user attributes: objectclass_attrs: attribute 'description' on entry 'CN=bill,CN=Users,DC=ad,DC=vpac,DC=org' contains at least one invalid value!
ERROR(<class 'passdb.error'>): uncaught exception - Unable to add sam account 'bill', (-1073741811,Unexpected information received)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py", line 1318, in run
    useeadb=eadb, dns_backend=dns_backend, use_ntvfs=use_ntvfs)
  File "/usr/local/samba/lib/python2.7/site-packages/samba/upgrade.py", line 890, in upgrade_from_samba3

Would be nice if it could tell me what is wrong with the description field on this user. Is there some sort of restriction on length? Other then that, description is just plain standard ASCII.

I have conducted searches, but not able to find anything on restrictions on the AD Description field that might explain these errors.