Univention Bugzilla – Bug 26516
univention-join Fehler wenn man das Passwort mittels Datei mitliefert
Last modified: 2012-09-18 08:31:16 CEST
Hallo zusammen Das Passwort mittels Datei bei "univention-join" mitgeben funktioniert nicht korrekt. In der Datei /root/.pw.tmp steht ein falsches Passwort root@srv-01:~# univention-join -dcname dc-master.local -dcaccount Administrator -dcpwd /root/.pw.tmp univention-join: joins a computer to an ucs domain copyright (c) 2001-2011 Univention GmbH, Germany Check DC Master: ************************************************************************** * Join failed! * * Contact your system administrator * ************************************************************************** * Message: ssh-login for Administrator@dc-master.local failed. Maybe you entered a wrong password. ************************************************************************** root@srv-01:~# In der Datei /root/.pw.tmp steht das korrekte Administrator Passwort root@srv-01:~# univention-join -dcname dc-master.local -dcaccount Administrator -dcpwd /root/.pw.tmp univention-join: joins a computer to an ucs domain copyright (c) 2001-2011 Univention GmbH, Germany Check DC Master: done Search ldap/base done Search LDAP binddn done Sync time done Join Computer Account: done ************************************************************************** * Join failed! * * Contact your system administrator * ************************************************************************** * Message: univention-server-join: joins a server to an univention domain copyright (c) 2001-2011 Univention GmbH, Germany E: failed to create Member Server (2) [option --bindpwd requires argument] ************************************************************************** root@srv-01:~# Das Passwort wird nicht mittels Datei eingelesen sondern von Hand an der Console eingegeben root@srv-01:~# univention-join -dcname dc-master.local -dcaccount Administrator univention-join: joins a computer to an ucs domain copyright (c) 2001-2011 Univention GmbH, Germany Insert DC Master Password: Check DC Master: done Search ldap/base done Search LDAP binddn done Sync time done Join Computer Account: done Check TLS connection done Download host certificate done Configure 02univention-heimdal-member.inst done ... Vielen Dank für eine baldige Hilfe. mfg, Roland
Hinweis, hier gibt es keinen Fehler wenn man eine Datei verwedet: univention-run-join-scripts -dcaccount Administrator -dcpwd /root/.pw.tmp
Hallo Roland, welche Paketversion von univention-join ist installiert und wie lautet die vollständige UCS-Versionsnummer? Tritt das Problem nur auf Memberservern auf, oder sind davon auch DC Slaves betroffen? Die explizite Angabe des Masters ist normalerweise nicht notwendig. Ändert sich das Verhalten, wenn das Argument -dcname weggelassen wird?
Vermutlich ein Duplikat von Bug #19430 comment 1: (In reply to comment #0) > In der Datei /root/.pw.tmp steht das korrekte Administrator Passwort > > root@srv-01:~# univention-join -dcname dc-master.local -dcaccount Administrator -dcpwd /root/.pw.tmp ... > E: failed to create Member Server (2) [option --bindpwd requires argument] Das Problem ist hier, das hier eine Datei angegeben wird, die im /root/-Verzeichnis liegt und die "root" gehört. "univention-join" probiert die Datei 1:1 auf den DC_Master zu kopieren, auch in das Verzeichnis "/root/", allerdings dort als Benutzer "Administrator", was natürlich nicht erlaubt ist. In /var/log/univention/join.log sollte die zugehörige Fehlermeldung stehen.
Da hier keine weitere Rückmeldung erfolgt, schließe ich den Bug als Duplikat von Bug #19430, denn das Problenm wurde durch svn34833 korrigiert. *** This bug has been marked as a duplicate of bug 19430 ***