[Klone-users] Bugs response_set_field

thomas fossati tho at koanlogic.com
Wed Apr 30 12:16:25 EDT 2008


Hi Mickael,

On Apr 30, 2008, at 4:33 PM, Mickael Auger wrote:
> When this patch should be included in the next KLone version, I  
> should do one page of your Wiki concerning the authentication with  
> Basic access authentication.
> But I must use an external "passwd" file system (in "/etc" and not  
> in "webapp/etc") and I would like use your LibU library (password  
> module).
>
> Have you a suggestion?

have you took a look at http://www.koanlogic.com/download/klone/klapp-auth-simple-1.2.0.tar.gz 
  ?

To load a non-embfs passwd you shall add KLONE_CONF_ARGS += -- 
enable_sup_fs.
On the u_pwd side you can play a bit with auth_init() in auth-hooks/ 
auth_hooks.c; perhaps you'll want to load credentials from a passwd  
file which was supplied via kloned.conf instead of hardcoding it (use  
u_config_get_subkey_value(ctx->config, ...) to load pwd_name from  
configuration).
The authentication core is at webapp/www/auth.kl1, then you can safely  
throw away the rest of the klapp :)

ciao, t.




More information about the klone-users mailing list