summaryrefslogtreecommitdiff
path: root/libcli/security/session.c
AgeCommit message (Collapse)AuthorFilesLines
2024-02-16libcli/security: Make ‘session_info’ parameter constJo Sutton1-1/+1
Signed-off-by: Jo Sutton <josutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
2023-03-09libcli/security: Avoid includes.hVolker Lendecke1-1/+2
Don't rebuild libcli/security when not necessary Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2021-10-08libcli: Simplify security_session_user_level()Volker Lendecke1-5/+4
Use sid_compose(), use struct dom_sid on the stack. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2021-10-08libcli: Introduce a helper variable in security_session_user_level()Volker Lendecke1-7/+9
Makes it easier to read for me Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2018-03-15libcli/security: only announce a session as GUEST if 'Builtin\Guests' is ↵Ralph Boehme1-7/+11
there without 'Authenticated User' BUG: https://bugzilla.samba.org/show_bug.cgi?id=13328 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
2016-04-28libcli/security: implement SECURITY_GUESTStefan Metzmacher1-0/+4
SECURITY_GUEST is not exactly the same as SECURITY_ANONYMOUS. BUG: https://bugzilla.samba.org/show_bug.cgi?id=11847 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
2011-02-22s4-auth Move libcli/security/session.c to the top levelAndrew Bartlett1-0/+64
This code is now useful in common, as the elements of the auth_session_info structure have now been defined in common IDL. Andrew Bartlett