Bug 28459 - Fix lockfile handling in translog overlay
Fix lockfile handling in translog overlay
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: LDAP
UCS 4.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on: 27330 28417
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-11 10:41 CEST by Stefan Gohmann
Modified: 2020-07-03 20:56 CEST (History)
3 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Gohmann univentionstaff 2012-09-11 10:41:26 CEST
Der slapd-Patch sollte auch umgestellt werden.


+++ This bug was initially created as a clone of Bug #28417 +++

Der Join eines Slave gegen einen Samba4-DC Master schlägt zur Zeit fehl:

=========================================================================
root@slave12:~# univention-join 
/usr/sbin/univention-join: line 33: }#: command not found
univention-join: joins a computer to an ucs domain
copyright (c) 2001-2012 Univention GmbH, Germany

Enter DC Master Account : Administrator
Enter DC Master Password: 

Search DC Master:                                          done
Check DC Master:                                           done
Stop LDAP Server:                                          done
Stop Samba 4 Server:                                       done
Search ldap/base                                           done
Start LDAP Server:                                         done
Search LDAP binddn                                         done
Sync time                                                  done
Join Computer Account:                                     done
Stopping univention-directory-listener daemon:  done
Sync ldap-backup.secret:                                   done
Check TLS connection                                       done
Download host certificate                                  done
Restart LDAP Server:                                       done
Sync Kerberos settings:                                    done
Configure 01univention-ldap-server-init.inst               done
Configure 03univention-directory-listener.inst             failed


**************************************************************************
* Join failed!                                                           *
* Contact your system administrator                                      *
**************************************************************************
* Message:  FAILED: 03univention-directory-listener.inst
**************************************************************************
=========================================================================




Sollte aber eigentlich gehen:

root@slave12:~# ldapsearch -xLLL -h master10.arucs3i8.qa -p 7389 -D
"$ldap_hostdn" -y /etc/machine.secret cn=$hostname dn
dn: cn=slave12,cn=dc,cn=computers,dc=arucs3i8,dc=qa



Aus den Join.log mit set -x:

=========================================================================
+ options=-o -x -ZZ -d 1 -i -h master10.arucs3i8.qa -b dc=arucs3i8,dc=qa -m
/usr/lib/univention-directory-listener/system -c
/var/lib/univention-directory-listener
+ [ -n domaincontroller_slave ]
+ [ domaincontroller_slave = domaincontroller_master -o domaincontroller_slave
= domaincontroller_backup ]
+ univention-config-registry get ldap/hostdn
+ /usr/sbin/univention-directory-listener -o -x -ZZ -d 1 -i -h
master10.arucs3i8.qa -b dc=arucs3i8,dc=qa -m
/usr/lib/univention-directory-listener/system -c
/var/lib/univention-directory-listener -D
cn=slave12,cn=dc,cn=computers,dc=arucs3i8,dc=qa -y /etc/machine.secret
03.07.12 19:46:33.772  DEBUG_INIT
03.07.12 19:46:33.811  LISTENER    ( ERROR   ) : failed to connect to notifier
03.07.12 19:46:33.812  LISTENER    ( WARN    ) : can not connect to ldap server
(master10.arucs3i8.qa)
03.07.12 19:46:33.812  LISTENER    ( ERROR   ) : can not connect to any ldap
server, exit
=========================================================================
Comment 1 Stefan Gohmann univentionstaff 2017-06-16 20:38:25 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 2 Ingo Steuwer univentionstaff 2020-07-03 20:56:05 CEST
This issue has been filed against UCS 4.2.

UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.