This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cannot start Sophos Management Service

Hi,

we recently upgraded to Samba 4, but now we're having problems running the management console. I followed http://www.sophos.com/en-us/support/knowledgebase/66222.aspx, but I'm stuck on step 3. When I run OSQL -E -S sv20-64\SOPHOS -Q "SELECT Name FROM SYSDATABASES" I get "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.".

Does anybody has an idea what to do?

:36539


This thread was automatically locked due to age.
  • Update: I removed the machine from the domain, rebooted, put the machine back into the domain, rebooted again and on the server it works now. but when I launch it from my pc, I get these errors;

    System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ServiceModel.Security.SecurityNegotiationException: SOAP security negotiation with 'sv20-64/.../EncryptionFrontEnd' for target 'sv20-64/.../EncryptionFrontEnd' failed. See inner exception for more details. ---> System.ComponentModel.Win32Exception: Security Support Provider Interface (SSPI) authentication failed. The server may not be running in an account with identity 'host/sv20-64'. If the server is running in a service account (Network Service for example), specify the account's ServicePrincipalName as the identity in the EndpointAddress for the server. If the server is running in a user account, specify the account's UserPrincipalName as the identity in the EndpointAddress for the server.
    at System.ServiceModel.Security.WindowsSspiNegotiation.GetOutgoingBlob(Byte[] incomingBlob, ChannelBinding channelbinding, ExtendedProtectionPolicy protectionPolicy)
    at System.ServiceModel.Security.SspiNegotiationTokenProvider.GetNextOutgoingMessageBody(Message incomingMessage, SspiNegotiationTokenProviderState sspiState)
    at System.ServiceModel.Security.IssuanceTokenProviderBase`1.GetNextOutgoingMessage(Message incomingMessage, T negotiationState)
    at System.ServiceModel.Security.IssuanceTokenProviderBase`1.DoNegotiation(TimeSpan timeout)
    --- End of inner exception stack trace ---

    Server stack trace:
    at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
    at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
    at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeEndService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at Sophos.Encryption.FrontEnd.Interfaces.IEncryptionFEServiceAsync.EndIsEncryptionInstalled(IAsyncResult result)
    at Sophos.Encryption.UI.Module.<>c__DisplayClass4.<.ctor>b__2(IEncryptionFEServiceAsync s)
    at Sophos.Encryption.FrontEnd.Interfaces.ClientChannelWrapper`1.EndInvoke[TResult](Func`2 function)
    at Sophos.Encryption.UI.Module..ctor(IExtensionManager extensionManager, IFrontEndProxyFactory factory)
    --- End of inner exception stack trace ---
    at System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruct& signature, IntPtr declaringType)
    at System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct signature, RuntimeTypeHandle declaringType)
    at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
    at System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
    at System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
    at Sophos.UIController.UIControl.<Initialize>b__a()
    at Sophos.UIController.Product.Logging.LogMethod(MemberInfo method, Action func)
    at Sophos.UIController.UIControl.Initialize()

    ----- [outer exception] -----
    -- error: 0x80131604
    -- facility: C#/.NET

    at 6
    at 5
    at 4
    at 3
    at 2
    at 1
    at class ATL::CComPtr<struct UIController::IUIControl> __cdecl createUIController(struct IDispatch *,const wchar_t *)
    at __w64 long __thiscall CMainFrame::OnCreate(struct tagCREATESTRUCTW *)
    at int __cdecl Run(int,class bl::CommandLine,enum bl::ConsoleType::Type)
    at int __stdcall wWinMain(struct HINSTANCE__ *,struct HINSTANCE__ *,wchar_t *,int)

    Anyone has an idea

    :36545