diff options
author | Günther Deschner <gd@samba.org> | 2009-09-02 21:16:45 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-05-20 18:45:59 +0200 |
commit | e4bdb7e00e3acdb4e18dafdbe44cd4826acaaeab (patch) | |
tree | 06eba77066a872e922895e0a935eff066236279e /source3/libads | |
parent | 33a156f0c13476f431584492977b0d4c28e4e4fb (diff) | |
download | samba-e4bdb7e00e3acdb4e18dafdbe44cd4826acaaeab.tar.gz samba-e4bdb7e00e3acdb4e18dafdbe44cd4826acaaeab.tar.xz samba-e4bdb7e00e3acdb4e18dafdbe44cd4826acaaeab.zip |
s3-libads: add ads_set_sasl_wrap_flags().
Guenther
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/ads_struct.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/libads/ads_struct.c b/source3/libads/ads_struct.c index aef35ad822..e01a36cbae 100644 --- a/source3/libads/ads_struct.c +++ b/source3/libads/ads_struct.c @@ -151,6 +151,20 @@ ADS_STRUCT *ads_init(const char *realm, return ads; } +/**************************************************************** +****************************************************************/ + +bool ads_set_sasl_wrap_flags(ADS_STRUCT *ads, int flags) +{ + if (!ads) { + return false; + } + + ads->auth.flags = flags; + + return true; +} + /* free the memory used by the ADS structure initialized with 'ads_init(...)' */ |