# samba-tool domain trust create DOMC.TESTC LocalDomain Netbios[DOMB] DNS[domb.testb] SID[S-1-5-21-3675641007-1886701808-1407599231] RemoteDC Netbios[DCC] DNS[dcc.domc.testc] ServerType[PDC,GC,LDAP,DS,KDC,TIMESERV,CLOSEST,WRITABLE,GOOD_TIMESERV,FULL_SECRET_DOMAIN_6,ADS_WEB_SERVICE] RemoteDomain Netbios[DOMC] DNS[domc.testc] SID[S-1-5-21-3611360735-1365415015-3217858865] ERROR(exception): uncaught exception - arcfour_encrypt() requires python*-crypto or python*-m2crypto or m2crypto File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 2480, in run outgoing=outgoing_blob) File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 2460, in generate_AuthInfoInternal encrypted_trustpass = arcfour_encrypt(session_key, trustpass_blob) File "/usr/lib64/python2.7/site-packages/samba/__init__.py", line 387, in arcfour_encrypt "python*-crypto or python*-m2crypto or m2crypto") Решение: # apt-get install python-module-m2crypto