Bug 27579 - ldapsearch per GSSAPI funktionier nicht auf UCS 3.0 Backup und Slave
ldapsearch per GSSAPI funktionier nicht auf UCS 3.0 Backup und Slave
Status: RESOLVED DUPLICATE of bug 20051
Product: UCS
Classification: Unclassified
Component: Kerberos
UCS 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Kerberos maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-14 15:31 CEST by Tim Petersen
Modified: 2012-06-15 08:42 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
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 Tim Petersen univentionstaff 2012-06-14 15:31:17 CEST
An Ticket #2012061321001947 aufgefallen:

root@backup:~# kinit Administrator
Administrator@DOMAIN's Password: 
root@backup:~# klist 
Credentials cache: FILE:/tmp/krb5cc_0
        Principal: Administrator@DOMAIN

  Issued                Expires               Principal
Jun 13 16:59:03 2012  Jun 14 02:59:03 2012  krbtgt/DOMAIN@DOMAIN
root@ucsdns:~# ldapsearch -YGSSAPI cn=backup
SASL/GSSAPI authentication started
ldap_sasl_interactive_bind_s: Local error (-2)
additional info: SASL(-1): generic failure: GSSAPI Error:  Miscellaneous failure (see
text) (Server (ldap/backup.domain@DOMAIN) unknown)


Hintergrund ist, dass im S4 kein "ldap/"-Principal für den Host existiert.
Es hat nicht ausgereicht, entsprechende "servicePrincipalName"-Einträge in der LDB am Rechnerobjekt zu hinterlegen - vermutlich fehl ein Keytype
Comment 1 Philipp Hahn univentionstaff 2012-06-15 08:42:42 CEST
(In reply to Bug #20051 comment #0)
> Eine weitere Schwierigkeit ist, daß wohl nur auf dem Master die zugehörige
> Kerberos-Prinzipal "ldap/${hostname}.${domainname}@${kerberos/realm}"
> existiert; auf einem Backup bzw. Slave scheitert die Authentifizierung dann mit
> folgender Meldung:
> # LDAPSASL_MECH=gssapi ldapwhoami
>  SASL/GSSAPI authentication started
>  ldap_sasl_interactive_bind_s: Local error (-2)
>          additional info: SASL(-1): generic failure: GSSAPI Error: 
> Miscellaneous failure (see text) (Server
> (ldap/xen2.opendvdi.local@OPENDVDI.LOCAL) unknownA)

*** This bug has been marked as a duplicate of bug 20051 ***