NAV2013 How to make 'User & Password' users??

vri1146vri1146 Member Posts: 14
edited 2012-11-26 in NAV Three Tier
Hi there everyone,

I have an issue to make users on NAV 2013 which use user & password. Because no matter how many times i tried to make user & password users, i ended up login with Windows Authentication. Is there any possible ways to make a 'pure' user & password users?
Sorry for the bad grammar.

Thanks.

Comments

  • krikikriki Member, Moderator Posts: 9,112
    You can't have multiple login-types on a service tier. So if you have Windows logins, you can't use the others.

    BUT if you want also other logins, you MUST create another service tier which you configure to use the other login type.

    And then you must direct the different login types to the correct service tier.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • yukonyukon Member Posts: 361
    Hi vri1146,

    NAV 2013 is supported NavUserName and Password Login. But you need to configure for it.

    Walkthrough :http://msdn.microsoft.com/en-us/library/dd355093%28v=nav.70%29.aspx
    kriki wrote:
    You can't have multiple login-types on a service tier. So if you have Windows logins, you can't use the others.

    Best Regards,
    Yukon
    Make Simple & Easy
  • vri1146vri1146 Member Posts: 14
    Thanks for your tips. But now i have another issue. After i made NAV service with NAVUserPassword, the service cannot be started. Is there any other way to make this service works?

    Thanks.
  • yukonyukon Member Posts: 361
    Hi vri1146,

    Can you show error log at here. We can't know what is the issue without show your error description.
    Noted: Did you correct configuration for NavuserPassword?


    Best Regards,
    Yukon
    Make Simple & Easy
  • vri1146vri1146 Member Posts: 14
    Well in fact there's no error, but the problem after i made NAV Instance using NAVUserPassword credential type the services wont start at all. But when i changed it to Windows credential type and start it, no problem at all.

    Thanks.
  • yukonyukon Member Posts: 361
    Hi vri1146,

    Can you show your Config file at here?

    Regards,
    Yukon
    Make Simple & Easy
  • vri1146vri1146 Member Posts: 14
    @yukon : sorry, is it my custom setting config file or instance config file?

    Thanks.
  • yukonyukon Member Posts: 361
    Hi,
    Custom setting. Under service folder.

    Regards,
    Yukon
    Make Simple & Easy
  • kinekine Member Posts: 12,562
    The service itself is still using Windows authentication of course. Are you sure, that you are running the service under known account?
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • vri1146vri1146 Member Posts: 14
    @yukon, here is my custom setting config :

    <appSettings>
    <add key="NetworkProtocol" value="Default" />
    <add key="DatabaseServer" value="SL80210" />
    <add key="DatabaseInstance" value="" />
    <add key="DatabaseName" value="DB_NAVUserPassword" />
    <add key="EnableSqlConnectionEncryption" value="false" />
    <add key="TrustSQLServerCertificate" value="true" />
    <add key="ServerInstance" value="DynamicsNAVUserPassword" />
    <add key="ClientServicesPort" value="7116" />
    <add key="SOAPServicesPort" value="7117" />
    <add key="ODataServicesPort" value="7118" />
    <add key="ManagementServicesPort" value="7115" />
    <add key="ManagementServicesEnabled" value="true" />
    <add key="ClientServicesEnabled" value="true" />
    <add key="SOAPServicesEnabled" value="true" />
    <add key="ODataServicesEnabled" value="true" />
    <add key="SOAPServicesSSLEnabled" value="false" />
    <add key="ODataServicesSSLEnabled" value="false" />
    <add key="SOAPServicesMaxMsgSize" value="1024" />
    <add key="ServicesUseNTLMAuthentication" value="false" />
    <add key="ServicesDefaultTimeZone" value="UTC" />
    <add key="ODataServicesMaxPageSize" value="1000" />
    <add key="ClientServicesOperationTimeout" value="MaxValue" />
    <add key="ClientServicesProtectionLevel" value="EncryptAndSign" />
    <add key="MaxConcurrentCalls" value="40" />
    <add key="ClientServicesMaxConcurrentConnections" value="150" />
    <add key="ClientServicesReconnectPeriod" value="00:10:00" />
    <add key="ClientServicesMaxNumberOfOrphanedConnections" value="20" />
    <add key="ClientServicesCompressionThreshold" value="64" />
    <add key="MetadataProviderCacheSize" value="150" />
    <add key="ClientServicesMaxUploadSize" value="30" />
    <add key="EnableDebugging" value="false" />
    <add key="DebuggingAllowed" value="true" />
    <add key="ClientServicesMaxItemsInObjectGraph" value="512" />
    <add key="ClientServicesChunkSize" value="28" />
    <add key="ClientServicesProhibitedFileTypes" value="ade;adp;app;asp;bas;bat;chm;cmd;com;cpl;csh;exe;fxp;gadget;hlp;hta;inf;ins;isp;its;js;jse;ksh;lnk;mad;maf;mag;mam;maq;mar;mas;mat;mau;mav;maw;mda;mdb;mde;mdt;mdw;mdz;msc;msi;msp;mst;ops;pcd;pif;prf;prg;pst;reg;scf;scr;sct;shb;shs;url;vb;vbe;vbs;vsmacros;vss;vst;vsw;ws;wsc;wsf;wsh" />
    <add key="NASServicesStartupCodeunit" value="" />
    <add key="NASServicesStartupMethod" value="" />
    <add key="NASServicesStartupArgument" value="" />
    <add key="NASServicesCompany" value="" />
    <add key="NASServicesEnableDebugging" value="false" />
    <add key="ClientServicesCredentialType" value="NavUserPassword" />
    <add key="ClientServicesTokenSigningKey" value="" />
    <add key="ClientServicesCertificateThumbprint" value="" />
    <add key="ClientServicesCertificateValidationEnabled" value="true" />
    <add key="EnableSoftwareQualityMetrics" value="false" />
    <add key="DataCacheSize" value="9" />
    <add key="SessionEventTableRetainPeriod" value="3" />
    <add key="SessionEventTablePurgeFrequency" value="0 6:00" />
    <add key="SqlCommandTimeout" value="00:30:00" />
    <add key="ODataServicesDefaultCompany" value="" />
    <add key="EnableStaticAssemblies" value="False" />
    <add key="ClientServicesIdleClientTimeout" value="MaxValue" />
    <add key="OrphanedConnectionPurgePeriod" value="00:01:00" />
    <add key="Binding" value="" />
    <add key="UseQueryForFind" value="False" />
    <add key="BufferedInsertEnabled" value="True" />
    <add key="SqlConnectionTimeout" value="0:01:30" />
    <add key="SessionEventTablePurgeLookupPeriod" value="2:00:00" />
    <add key="CacheSynchronizationPeriod" value="0:00:30" />
    <add key="HeartbeatPeriod" value="0:00:30" />
    <add key="ResultSetGroupCacheUsesGlobalCache" value="True" />
    <add key="UseCalculatedFieldsCache" value="True" />
    <add key="UseResultSetCache" value="True" />
    <add key="EnableTempTableSizeReporting" value="False" />
    </appSettings>

    @kine , im running it as windows administrator

    Thanks.
  • yukonyukon Member Posts: 361
    Hi vri1146,

    Where is your "ClientServicesCertificateThumbprint" value in CustomSettings file. Value should be like that
    <add key="ClientServicesCertificateThumbprint" value="58 a2 cd e4 6f 40 a7 20 87 d0 89 3d d2 0b 54 ce ad d4 81 99" />
    

    You will be get below error message when you start the service. Because of you are using "NavUserPassword" but you haven't set "ClientServicesCertificateThumbprint" (ClientServicesCertificate).
    ---------------------------
    Services
    ---------------------------
    The Microsoft Dynamics NAV Server [DynamicsNAV70] service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs.
    ---------------------------
    OK   
    ---------------------------
    

    Below error Description is under "Event" Log
    Service: DynamicsNAV70
    User: 
    Type: Microsoft.Dynamics.Nav.Types.NavConfigurationException
    SuppressMessage: False
    FatalityScope: None
    Message: The required certificate thumbprint is not specified. Specify a valid value for the ClientServicesCertificateThumbprint configuration setting.
    StackTrace:
         at Microsoft.Dynamics.Nav.Types.CertificateValidator.ValidateCertificateThumbprint(String thumbprint)
         at Microsoft.Dynamics.Nav.Types.CertificateHelper.GetCertificateFromThumbprint(String certificateThumbprint)
         at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.CreateServiceHosts(ServerUserSettings settings, Boolean usePortSharing, String machineName)
         at Microsoft.Dynamics.Nav.WindowsServices.NavServerWindowsService.OnStart(String[] args)
    Source: Microsoft.Dynamics.Nav.Types
    

    Did you follow walkthrough example? I think you didn't follow walkthrough :D or miss out some step.

    Regards,
    Yukon
    Make Simple & Easy
Sign In or Register to comment.