Package: samba-common-bin Version: 2:4.1.7+dfsg-2 Dear Maintainer,
please check password length on initial provision to avoid error during parsing. I ran the command samba-tool domain provision --use-rfc2307 --interactive provided password (4 letters) retyped it (4 letters) And end up with the following error message: Setting up sam.ldb data Setting up well known security principals Setting up sam.ldb users and groups ERROR(ldb): uncaught exception - 0000052D: Constraint violation - check_password_restrictions: the password is too short. It should be equal or longer than 7 characters! 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 398, in run use_rfc2307=use_rfc2307, skip_sysvolacl=False) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 2155, in provision skip_sysvolacl=skip_sysvolacl) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1757, in provision_fill next_rid=next_rid, dc_rid=dc_rid) File "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line 1436, in fill_samdb "KRBTGTPASS_B64": b64encode(krbtgtpass.encode('utf-16-le')) File "/usr/lib/python2.7/dist-packages/samba/provision/common.py", line 50, in setup_add_ldif ldb.add_ldif(data, controls) File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 224, in add_ldif self.add(msg, controls) Please also check whether a smb.conf is present - because if it is, the parsing ends up with: Administrator password: Retype password: ERROR(<class 'samba.provision.ProvisioningError'>): Provision failed - ProvisioningError: guess_names: 'realm =' was not specified in supplied /etc/samba/smb.conf. Please remove the smb.conf file and let provision generate it File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 398, in run Stefan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org