login about faq

Hi,

I get the following error message in the system log:

Thread-8852368: Fri Aug 10 14:41:15 2012 [ error ]: tpdu_make_smtp: To missing from template

What does this mean? The SMTP server, sender and recipient address are configured exactly.

Thanks,

Eszter

asked Aug 10 '12 at 18:13

ecsongradi's gravatar image

ecsongradi
6336

edited Aug 10 '12 at 18:15


Hi,

Few possible reasons:

1) User ldapuser2 doesn't have E-mail configured

2) Your LDAP connecter email setting is not not properly configured:

On Web Access open your LDAP connector and click "Edit search attributes". Remove mail attributr by clicking remove button. Add mail attribute with settings:

  Internal  Attr: 16
  Attr Name:      mail
  Attr type:      str

Click Add and OK. Restart MobileID service and try again.

link

answered Aug 14 '12 at 09:30

anttisa's gravatar image

anttisa
106252627

Hi Eszter,

Unfortunately you didn't post your exact configuration but start with checking following settings on Web Access:
1) Default parameters -> System Parameters -> General

Enabled  Mail Server(s): Mailer

Click Save

2) Default parameters -> OTP Authentication -> Misc

Enabled: SMS email
Enabled: Mail Subject: Your OTP
Enabled: Mail SMS Recipient: { LDAP.mail }
Enabled: Mail SMS Server(s): Mailer

Click Save and restart MobileID service and test authentication.

3) Optional: Just in case enable mail headers. Default parameters -> System Parameters -> General

Enabled: Mail Headers: mobileid

Click Save and restart MobileID service and test authentication.

link

answered Aug 13 '12 at 16:27

anttisa's gravatar image

anttisa
106252627

Hi,

I've done these settings, now i get the following message in user logs:

 OTPAUTH","Info","2012-08-1315:45:43","MobileID","RadiusServer","JuniperSA","ldapuser2","uid=ldapuser2,ou=people,dc=rttk,dc=test","NG3r","No mail recipient available, skipping Email..

We're using MobileID with Juniper SA Here is our config:

# MobileID (SNES Configuration)
DescriptiveName "MobileID"
LoadModule "MONITOR"

Cache (System Database)

<sdb> DescriptiveName "Cache" SDBType Cache SDBSize 1024 </sdb>

End Cache

EventLog (Log File)

<logging> DescriptiveName "EventLog" LogFile "/var/log/mobileid/midd.log" LogLevel Debug DebugOpts 8192 </logging>

End EventLog

LIMIT (Module)

<module> DescriptiveName "LIMIT" ModuleRequires "WLOGINSRV" Options LIMIT.CounterDatabase = "MySQL" Options LIMIT.CounterTable = "Counters" Options LIMIT.UsersTable = "CountersUsers" Options LIMIT.AccountingPeriod = "%m%Y" Options LIMIT.CountUsers = "yes" Options LIMIT.LimitReachedText = "A quota limitation occured" </module>

End LIMIT

LISTAUTH (Module)

<module> DescriptiveName "LISTAUTH" ModuleRequires "WLOGINSRV,LISTINIT" Options LISTINIT.PasswdFormat = "6[0-9]" Options LISTINIT.ListSize = "20" Options LISTINIT.ValidFor = 15 Options LISTINIT.NotifyWithEmail = 1 Options LISTAUTH.ListMode = 1 Options LISTAUTH.AutoInit = 2 Options LISTAUTH.AuthSuccessText = "Authentication success" Options LISTAUTH.BadListText = "Password list uninitialized or empty" Options LISTAUTH.SessionTime = 60 Options LISTAUTH.ChallengeText = "Enter PASSCODE number { LISTAUTH.PasswdID }" Options LISTAUTH.InitChallengeText = "New list sent -- Enter PASSCODE number { LISTAUTH.PasswdID }" Options LISTAUTH.ForceChallenge = Yes </module>

End LISTAUTH

LISTINIT (Module)

<module> DescriptiveName "LISTINIT" ModuleRequires "WLOGINSRV" Options LISTINIT.PasswdFormat = "6[0-9]" Options LISTINIT.ListSize = "5" Options LISTINIT.ValidFor = 43200 Options LISTINIT.NotifyWithSMS = 0 Options LISTINIT.NotifyWithEmail = 1 Options LISTINIT.InitSuccessText = "Initialization success" Options LISTINIT.PasswdText = "PASSCODES:" </module>

End LISTINIT

MONITOR (Module)

<module> DescriptiveName "MONITOR" Options MONITOR.MonitorDatabase = "MySQL" Options MONITOR.EventTable = "Events" Options MONITOR.MonitorTable = "Monitors" Options MONITOR.SMTPServer = "Mailer" Options MONITOR.NotifyEmail = "ecsongradi@relnet.hu" Options MONITOR.CacheDatabase = "Cache" </module>

End MONITOR

Mailer (Mail Server)

<host> DescriptiveName "Mailer" IpAddress 89.135.55.204 Port 25 Protocol SMTP </host>

End Mailer

MySQL (SQL Server)

<host> DescriptiveName "MySQL" IpAddress 127.0.0.1 Port 3306 Protocol DB LoginName "midd" LoginPasswd "midd" DBName "middb" DBType MySQL Min 2 Max 8 Idle 10 </host>

End MySQL

OATHAUTH (Module)

<module> DescriptiveName "OATHAUTH" ModuleRequires "WLOGINSRV,OATHINIT" Options OATHAUTH.SessionTime = 60 Options OATHAUTH.AuthSuccessText = "Authentication success" Options OATHAUTH.TokenChallengeText = "Please enter your PASSCODE: " Options OATHAUTH.PinChangeText = "Please provide your new PIN:" Options OATHAUTH.PinErrorText = "Incorrect PIN" Options OATHAUTH.PinLenInvalidText = "Incorrect PIN" Options OATHAUTH.SeedMissingText = "Seed not set" </module>

End OATHAUTH

OATHINIT (Module)

<module> DescriptiveName "OATHINIT" ModuleRequires "WLOGINSRV" Options OATHINIT.InitSuccessText = "Initialization success" Options OATHINIT.SynFailureText = "Synchronization failed" </module>

End OATHINIT

OTPAUTH (Module)

<module> DescriptiveName "OTPAUTH" ModuleRequires "WLOGINSRV" Options OTPAUTH.PasswdFormat = "6[0-9]" Options OTPAUTH.SessionTime = 60 Options OTPAUTH.ChallengeText = "Please enter your SMS password" Options OTPAUTH.SMSText = "Hello {RADIUS.User-Name}, your SMS password is {OTPAUTH.Passwd}" Options OTPAUTH.AuthSuccessText = "Authentication success" Options OTPAUTH.SMSMode = 1 Options OTPAUTH.ModeOrder = "1,5" Options OTPAUTH.MailSubject = "Your OTP" Options OTPAUTH.MailRecipient = "{ LDAP.mail }" Options OTPAUTH.MailSMSRecipient = "{ LDAP.mail }" Options OTPAUTH.MailSMSGateway = "Mailer" Options OTPAUTH.BlockUsers = No Options OTPAUTH.PolicyMangleAccept = "/var/lib/mobileid/custom/syncseed" Options OTPAUTH.RequestMode = 2 </module>

End OTPAUTH

PWDAUTH (Module)

<module> DescriptiveName "PWDAUTH" ModuleRequires "WLOGINSRV" Options PWDAUTH.AuthSuccessText = "Authentication success" </module>

End PWDAUTH

RadiusServer (RADIUS Service)

<host> DescriptiveName "RadiusServer" Protocol RADIUS Listen 1812 LoadModule "WLOGINSRV" Options WLOGINSRV.UserDatabase = "rttk.test" Options WLOGINSRV.MailServer = "Mailer" Options WLOGINSRV.Debug = Yes Options WLOGINSRV.LogAccessTable = "Access" Options WLOGINSRV.LogSMSTable = "SMS" Options LISTINIT.PasswdFormat = "6[0-9]" Options LISTINIT.ListSize = "20" Options LISTINIT.ValidFor = 10 Options LISTINIT.NotifyWithEmail = 1

JuniperSA (RADIUS Client)

<host> DescriptiveName "JuniperSA" IpAddress 172.16.3.250 Secret "relnet" AllowedIDs "SMS" Options WLOGINSRV.UserDatabase = "rttk.test" Options WLOGINSRV.MailServer = "Mailer" Options WLOGINSRV.SenderEmail = "gbasthy@relnet.hu" Options OTPAUTH.SessionTime = 120 Options PWDAUTH.BlockUsers = No </host>

End JuniperSA

WebAccess (RADIUS Client)

<host> DescriptiveName "WebAccess" IpAddress 127.0.0.1 Secret "lka83jdMSK62Wjsk" AllowedIDs "WEBACCESSCLIENT" Options WLOGINSRV.DefaultProfile = "SMSMSG" Options WLOGINSRV.UserDatabase = "rttk.test" </host>

End WebAccess

default (RADIUS Client)

<host> DescriptiveName "default" IpAddress 0.0.0.0 Secret "123456789" Netmask 0 AllowedIDs "portal" Options OTPAUTH.SMSFallback = "PWDAUTH" Options WLOGINSRV.UserDatabase = "rttk.test" Options WLOGINSRV.MailServer = "Mailer" Options USERBLOCK.BlockTime = 180 Options USERBLOCK.MaxFailures = 30 Options USERBLOCK.SessionTime = 120 </host>

End default

</host>

End RadiusServer

Requests (System Database)

<sdb> DescriptiveName "Requests" SDBType Persistent SDBSize 128 </sdb>

End Requests

SMSC (SMS Gateway)

<host> DescriptiveName "SMSC" IpAddress 94.23.47.209 Port 3000 Protocol SMPP-TX LoadModule "WLOGINSRV" LoginName "39TD7" LoginPasswd "MNPW7" RetryAttempts 1 Min 0 Max 1 Idle 10 </host>

End SMSC

SMSMSG (Module)

<module> DescriptiveName "SMSMSG" ModuleRequires "WLOGINSRV" Options SMSMSG.SendSuccessText = "Notification success" </module>

End SMSMSG

Sessions (System Database)

<sdb> DescriptiveName "Sessions" SDBType Timed SDBSize 128 </sdb>

End Sessions

TICAUTH (Module)

<module> DescriptiveName "TICAUTH" ModuleRequires "WLOGINSRV,TICINIT" Options TICAUTH.AuthSuccessText = "Authentication success" Options TICAUTH.BadTicketText = "Ticket expired or uninitialized" Options TICAUTH.BlockUsers = Yes Options TICAUTH.ChallengeText = "Please enter your ticket password" Options TICAUTH.SessionTime = 60 </module>

End TICAUTH

TICINIT (Module)

<module> DescriptiveName "TICINIT" ModuleRequires "WLOGINSRV" Options TICINIT.BlockUsers = No Options TICINIT.ChallengeText = "Please confirm your ticket password" Options TICINIT.ConfirmPassword = Yes Options TICINIT.DefaultTime = 60 Options TICINIT.InitSuccessText = "Initialization success" Options TICINIT.PasswdFormat = "6[0-9]" Options TICINIT.SMSText = "Hello {RADIUS.User-Name}, your ticket password is {TICINIT.Passwd}" Options TICINIT.SessionTime = 60 </module>

End TICINIT

TOKAUTH (Module)

<module> DescriptiveName "TOKAUTH" ModuleRequires "WLOGINSRV,TOKINIT" Options TOKAUTH.SessionTime = 120 Options TOKAUTH.AuthSuccessText = "Authentication success" Options TOKAUTH.TokenChallengeText = "Your token challenge is {TOKAUTH.TokenChallenge}. Please enter your token password" </module>

End TOKAUTH

TOKINIT (Module)

<module> DescriptiveName "TOKINIT" ModuleRequires "WLOGINSRV" Options TOKINIT.InitSuccessText = "Initialization success" </module>

End TOKINIT

USERBLOCK (Module)

<module> DescriptiveName "USERBLOCK" ModuleRequires "WLOGINSRV" Options USERBLOCK.AccountBlockedText = "Your account has been blocked. Please enter your unblocking code" Options USERBLOCK.AccountInvalidText = "Your account is not yet valid or expired." Options USERBLOCK.BlockTime = 180 Options USERBLOCK.MaxFailures = 3 Options USERBLOCK.PasswdFormat = "6[0-9]" Options USERBLOCK.SMSNotificationRate = 60 Options USERBLOCK.SessionTime = 60 Options USERBLOCK.UnblockPasswdSMSText = "Your account has been blocked. You can unblock it with code {USERBLOCK.Passwd}" Options USERBLOCK.UnblockSuccessText = "Account unblocking success. Please retry" </module>

End USERBLOCK

USERCHECK (Module)

<module> DescriptiveName "USERCHECK" ModuleRequires "WLOGINSRV" Options USERCHECK.CheckSuccessText = "Account valid" </module>

End USERCHECK

WLOGINSRV (Module)

<module> DescriptiveName "WLOGINSRV" Options WLOGINSRV.DefaultProfile = "PWDAUTH,OTPAUTH" Options WLOGINSRV.FallbackProfile = "PWDAUTH" Options WLOGINSRV.FallbackKeyword = "{ldap.9}" Options WLOGINSRV.UserDatabase = "rttk.test" Options WLOGINSRV.MetaDatabase = "MySQL" Options WLOGINSRV.MetaTable = "UserData" Options WLOGINSRV.SMSGateway = "SMSC" Options WLOGINSRV.MailServer = "Mailer" Options WLOGINSRV.UserSearchFilter = "(cn={ RADIUS.User-Name })" Options WLOGINSRV.GroupSearchMode = 4 Options WLOGINSRV.LogDatabase = "MySQL" Options WLOGINSRV.Debug = Yes Options WLOGINSRV.LogAccessTable = "Access" Options WLOGINSRV.LogSMSTable = "SMS" Options WLOGINSRV.SMSFailureText = "Problems at sending SMS" Options WLOGINSRV.UnknownUserText = "Unknown user" Options WLOGINSRV.BadAccountText = "Account missing mandatory data" Options WLOGINSRV.BadGroupText = "Account not in required group" Options WLOGINSRV.AccountDisabledText = "Account not activated" Options WLOGINSRV.PwdExpiresText = "Password is about to expire" Options WLOGINSRV.PwdExpiredText = "Password expired" Options WLOGINSRV.PwdChangeText = "Please change your password" Options WLOGINSRV.BadProfileText = "Invalid wLogin profile" Options WLOGINSRV.BadPasswordText = "Bad password or code" Options WLOGINSRV.BadInputText = "Invalid Input Data" Options WLOGINSRV.ServerBusyText = "Server busy" Options WLOGINSRV.NoSessionText = "Session timedout" Options WLOGINSRV.DuplicateRequestText = "Session still valid" Options WLOGINSRV.InternalErrorText = "Internal error" Options WLOGINSRV.PwdChangeErrorText = "Password change error" Options WLOGINSRV.IgnoreWLoginEnabled = Yes Options WLOGINSRV.SenderEmail = "tfenyvesi@relnet.hu" Options WLOGINSRV.MailHeaders = "mobileid" Options WLOGINSRV.DefaultCountryCode = "+36" Options WLOGINSRV.RequestDatabase = "Requests" Options WLOGINSRV.SessionDatabase = "Sessions" Options WLOGINSRV.BadCTResponseText = "Invalid CT response" Options WLOGINSRV.ProviderID = 12345678 Options WLOGINSRV.ProviderName = "SSH" </module>

End WLOGINSRV

rttk.test (LDAP Server)

<host> DescriptiveName "rttk.test" IpAddress 172.16.2.100 Port 389 Protocol LDAP LoginName "cn=admin,dc=rttk,dc=test" LoginPasswd "Relnet1234" LicencedGroups "undefined" Min 0 Max 8 Idle 10 ConnectionType PLAINTEXT Options WLOGINSRV.UserSearchFilter = "(|(cn={ RADIUS.User-Name })(uid={ RADIUS.User-Name }))" Options WLOGINSRV.UserSearchBase = "dc=rttk,dc=test"

rttk.test_Attrs (Dictionary)

<dictionary> DescriptiveName "rttk.test_Attrs" VendorId LDAP AttributeList "Attribute mobile 3 str;Attribute DN 4 str;Attribute wloginparameters 5 str;Attribute wLoginEnabled 6 str;Attribute snesUserData 7 str;Attribute ReservedSNES 25 str;Attribute preferredlanguage 8 str;Attribute member 10 str;Attribute groupmembership 11 str;Attribute mail 1 str;" </dictionary>

End rttk.test_Attrs

</host>

End rttk.test

End MobileID

link

answered Aug 13 '12 at 17:19

ecsongradi's gravatar image

ecsongradi
6336

Hi,

The second reason was the problem. It works now with the new mail attribute :)

Thanks for your help.

link

answered Aug 14 '12 at 12:47

ecsongradi's gravatar image

ecsongradi
6336

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×55
×1
×1

Asked: Aug 10 '12 at 18:13

Seen: 4,927 times

Last updated: Aug 14 '12 at 12:47

All user contributed content licensed under the cc-by-sa license.
Powered by OSQA.