[Samba] samba-check-db-script python failure
Bob of Donelson Trophy
bob at donelsontrophy.net
Thu Apr 23 07:47:37 MDT 2015
When I run ./samba-check-db-repl.sh script I am getting the following:
root at dc01:~# ./samba-check-db-repl.sh
Failed to bind - LDAP error 49 LDAP_INVALID_CREDENTIALS -
<SASL:[GSS-SPNEGO]: NT_STATUS_LOGON_FAILURE> <>
Failed to connect to 'ldap://dc02.dtsh**m.dt.' with backend 'ldap':
(null)
ERROR(ldb): uncaught exception - None
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/ldapcmp.py", line
968, in run
outf=self.outf, errf=self.errf)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/ldapcmp.py", line
64, in __init__
options=ldb_options)
File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 114, in
__init__
self.connect(url, flags, options)
./samba-check-db-repl.sh: line 257: [: 0: unary operator expected
What would the "unary operator expected" issue be?
--
-------------------------
Bob Wooden of Donelson Trophy
615.885.2846 (main)
www.donelsontrophy.com [1]
"Everyone deserves an award!!"
Links:
------
[1] http://www.donelsontrophy.com
More information about the samba
mailing list