[sork] splitting login with passwd?

Jan Johansson j2 at mupp.net
Mon Jan 16 13:43:57 PST 2006


Okay.. NEW question. Is it possible to use passwd to split a username? User
is logged in as j2-mobil at mupp.net, that would set %u to "j2-mobil at mupp.net".
Problem is that i would need two vars. One to hold j2-mobil, and one to hold
mupp.net in order to get my passwd backend working. Possible?

My SQL (update) is below, and you can see where I need to use the vars.

update pm_users inner join pm_domains on pm_domains.ID = pm_users.SiteID set
pm_users.Password = md5('q1w2e3') where pm_users.name = 'j2-mobil' and
pm_domains.Name = 'mupp.net';
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3012 bytes
Desc: not available
Url : http://lists.horde.org/archives/sork/attachments/20060116/af988ab0/smime.bin


More information about the sork mailing list