xpra icon
Bug tracker and wiki

Opened 3 weeks ago

Closed 3 weeks ago

#2288 closed enhancement (fixed)

generic sql auth

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 3.0
Component: server Version: 2.5.x
Keywords: Cc:

Description

Based on sqlalchemy.

Change History (2)

comment:1 Changed 3 weeks ago by Antoine Martin

Status: newassigned

Done in r22622.

This backend is called just sql. ie: --tcp-auth=sql:uri=mysql://xpra:xpra@localhost/xpra.

This backend requires the sqlalchemy python bindings to be installed, ie on Fedora with Python3: sudo dnf install python3-sqlalchemy.

Tested with mysql, using the same steps as #2287.
It should work equally well with other backends, though the command line interface tool assumes that the paramstyle is %s. Use the env var PARAMSTYLE to override this.

Last edited 3 weeks ago by Antoine Martin (previous) (diff)

comment:2 Changed 3 weeks ago by Antoine Martin

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.