self.auth=Auth()
gid=authinfo.get_gid_object()
+ self.ldapdictlist = ['type',
+ 'pkey',
+ 'uid',
+ 'serial',
+ 'authority',
+ 'peer_authority',
+ 'pointer' ,
+ 'hrn']
def ldapFind(self, record_filter = None, columns=None):
results.append( {
'type': 'user',
- 'pkey': ldapentry[1]['sshPublicKey'][0].
-# 'email': ldapentry[1]['mail'][0],
-# 'first_name': ldapentry[1]['givenName'][0],
-# 'last_name': ldapentry[1]['sn'][0],
+ 'pkey': ldapentry[1]['sshPublicKey'][0],
+ 'uid': ldapentry[1]['uid'][0],
+ 'email': ldapentry[1]['mail'][0],
+ 'first_name': ldapentry[1]['givenName'][0],
+ 'last_name': ldapentry[1]['sn'][0],
# 'phone': 'none',
'serial': 'none',
'authority': self.authname,