The server looks for a file called /etc/winpr/SAM

It's a text file with line entries in the same format as samdump. There is
a tool in the sources that gets built:
winpr/tools/hash/winpr-hash

You can call it this way:

winpr-hash -u awakecoding -p password
awakecoding:::8846f7eaee8fb117ad06bdd830b7586c:::

and paste the line that the tool outputs to /etc/winpr/SAM.

Here's the help for the tool:

winpr-hash: NTLM hashing tool
Usage: winpr-hash -u <username> -p <password> [-d <domain>]


On Sat, Oct 6, 2012 at 5:04 AM, Yorjing Tsai <yorj...@gmail.com> wrote:

> Hi everybody:
>        I see https://github.com/FreeRDP/FreeRDP/issues/715 these days.
>        And I've built xfreerdp-server soon.
>
>        But when I active xfreerdp-server in Ubuntu 12.04 64-bit,
>        I access Ubuntu by Win7 RDP Client,
>        the message shows in Ubuntu's console as follows:
>
>        Listening on 0.0.0.0 port 3389.
>        bind: Address already in use
>        We've got a client XXX.XXX.XXX.XXX(Win7 IP)
>        Client Security: NLA:1 TLS:1 RDP:0
>        Server Security: NLA:1 TLS:0 RDP:0
>        Negotiated Security: NLA:1 TLS:0 RDP:0
>        TLS connection accepted
>        Could not open SAM file!
>        Could not open SAM file!
>        Message Integrity Check (MIC) verification failed!
>        Expected MIC:
>        0000 7e e5 6c d6 0c 66 71 5b d2 6e e1 3e 51 f3 14 1d
> ~.l..fq[.n.>Q...
>        Actual MIC:
>        0000 b1 6a 39 8c 9d 80 b7 8f ed 5d b3 5d 43 e3 e8 01
> .j9......].]C...
>        AcceptSecurityContext status: 0x8009030F
>        client authentication failure
>        Failed to check freerdp file descriptor
>        Client XXX.XXX.XXX.XXX disconnected.
>
>       The message tells me "It can't open SAM file".
>       However I have no idea about how to create a SAM file and put it in
> /etc/winpr.
>       Who can help me to create a SAM file and let my xfreerdp-server can
> work
> successfully?
>       Thank you for your help!
>
>
>
> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Freerdp-devel mailing list
> Freerdp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freerdp-devel
>
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Freerdp-devel mailing list
Freerdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freerdp-devel

Reply via email to