diff --git a/modules/smartnameattribute/lib/Auth/Process/SmartName.php b/modules/smartnameattribute/lib/Auth/Process/SmartName.php
index b969c8d5f9f2c03816ffaac2f2a2b6c3b22734e5..e1fea266c10bf7158c1a8970827a9c4a877545a1 100644
--- a/modules/smartnameattribute/lib/Auth/Process/SmartName.php
+++ b/modules/smartnameattribute/lib/Auth/Process/SmartName.php
@@ -66,6 +66,8 @@ class sspmod_smartnameattribute_Auth_Process_SmartName extends SimpleSAML_Auth_P
 		assert('is_array($request)');
 		assert('array_key_exists("Attributes", $request)');
 
+		SimpleSAML_Logger::warning('You are using the deprecated smartnameattribute:SmartName filter. You should replace it with smartattributes:SmartName instead.');
+
 		$attributes =& $request['Attributes'];
 		
 		$fullname = $this->getFullName($attributes);