mirror of
https://github.com/samba-team/samba.git
synced 2025-02-14 01:57:53 +03:00
This offers a global 'struct user_auth_info *cmdline_auth_info', similar to the 'cmdline_credentials' we have in source4/lib/cmdline/popt_common.c. And we create that in the POPT_CALLBACK_REASON_PRE stage and finalize it in the POPT_CALLBACK_REASON_POST stage. That means much less boring work for the callers and more freedom to change the user_auth_info internals in future. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
WARNING: This is experimental work-in-progress code, don't expect it to do anything sensible. Eventually this *might* turn into a fuse client filesystem. This is not a promise for anything.