View | Details | Raw Unified | Return to bug 38927
Collapse All | Expand All

(-)a/component/saml/univention-saml/univention-saml.py (-1 / +1 lines)
 Lines 103-109   def handler(dn, new, old): Link Here 
103
				if new.get('simplesamlAttributes'):
103
				if new.get('simplesamlAttributes'):
104
					f.write("	'simplesaml.attributes'	=> %s,\n" % new.get('simplesamlAttributes')[0])
104
					f.write("	'simplesaml.attributes'	=> %s,\n" % new.get('simplesamlAttributes')[0])
105
				if new.get('simplesamlLDAPattributes'):
105
				if new.get('simplesamlLDAPattributes'):
106
					f.write("	'attributes'	=> '%s',\n" % ','.join(new.get('simplesamlLDAPattributes')))
106
					f.write("	'attributes'	=> array('%s'),\n" % "','".join(new.get('simplesamlLDAPattributes')))
107
				if new.get('serviceproviderdescription'):
107
				if new.get('serviceproviderdescription'):
108
					f.write("	'description'	=> '%s',\n" % new.get('serviceproviderdescription')[0])
108
					f.write("	'description'	=> '%s',\n" % new.get('serviceproviderdescription')[0])
109
				if new.get('serviceProviderOrganizationName'):
109
				if new.get('serviceProviderOrganizationName'):

Return to bug 38927