Test di funzionamento del Single Sing-On

Testiamo ora il Single Sign-On anche sul client:
# kinit stefano
[email protected]'s Password:
# ldapwhoami -Y GSSAPI
SASL/GSSAPI authentication started
SASL username: [email protected]
SASL SSF: 56
SASL installing layers
dn:uid=stefano,ou=users,dc=esempio,dc=lan
Result: Success (0)
# smbclient //pdc/netlogon -k
OS=[Unix] Server=[Samba 3.0.24]
smb: \> ls
  .                                   D        0  Tue Apr 14 14:44:05 2008
  ..                                  D        0  Tue Apr 14 14:44:05 2008

                57073 blocks of size 131072. 47323 blocks available
smb: \> quit

# klist
Credentials cache: FILE:/tmp/krb5cc_0
        Principal: [email protected]

  Issued           Expires          Principal
Apr 16 14:50:07  Apr 17 13:03:38  krbtgt/[email protected]
Apr 16 14:50:12  Apr 17 13:03:38  ldap/[email protected]
Apr 16 14:50:47  Apr 17 13:03:38  cifs/[email protected]

Stefano Sasso 2009-04-16