[Pkg-samba-maint] Bug#688004: samba-tool: need display warning, if time is not correct
Matyashov Andrey
sysadmin at gorod0k.ru
Tue Sep 18 01:32:17 UTC 2012
Package: samba4-common-bin
Version: 4.0.0~beta2+dfsg1-3
Severity: wishlist
Tags: upstream
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages samba4-common-bin depends on:
ii python 2.7.3~rc2-1
ii python-samba 4.0.0~beta2+dfsg1-3
ii samba-common 2:3.6.6-3
samba4-common-bin recommends no packages.
samba4-common-bin suggests no packages.
-- no debconf information
If the time on the domain controller and the current host is different, get an error connecting to ldap:
root at sdc:~# samba-tool domain join mydomain.net RODC -U admin
Finding a writeable DC for domain 'mydomain.net'
Found DC pdc.mydomain.net
Password for [MYDOMAIN\admin]:
Failed to bind - LDAP client internal error: NT_STATUS_INVALID_PARAMETER
Failed to connect to 'ldap://pdc.mydomain.net' with backend 'ldap': (null)
ERROR(ldb): uncaught exception - None
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 160, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 190, in run
machinepass=machinepass, use_ntvfs=use_ntvfs)
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 890, in join_RODC
machinepass, use_ntvfs)
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 70, in __init__
credentials=ctx.creds, lp=ctx.lp)
File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 56, in __init__
options=options)
File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 114, in __init__
self.connect(url, flags, options)
File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 71, in connect
options=options)
I would like instead to see a warning, may time not correct.
Thanks! ;-)
More information about the Pkg-samba-maint
mailing list