summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <anschneider@suse.de>2008-06-23 16:29:40 +0200
committerKarolin Seeger <kseeger@samba.org>2008-06-24 09:11:02 +0200
commit1cbae6583e04aa382c27d459f8d1c58488b3af7a (patch)
tree29701d5a0adafd054cea43bba158e73e1a6b1dd7
parentc7d963191e1858000752ff57eac1501777f0ebda (diff)
downloadsamba-1cbae6583e04aa382c27d459f8d1c58488b3af7a.tar.gz
Add documentation for kerberos support in libsmbclient.
Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Derrell Lipman <derrell.lipman@unwireduniverse.com> (cherry picked from commit fa803ce183376c938f92b0f31a7d89d522fd309f)
-rw-r--r--source/include/libsmbclient.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/include/libsmbclient.h b/source/include/libsmbclient.h
index 2e38944d657..c7ba63de31f 100644
--- a/source/include/libsmbclient.h
+++ b/source/include/libsmbclient.h
@@ -259,6 +259,11 @@ typedef struct _SMBCCTX SMBCCTX;
* Type for the the authentication function called by the library to
* obtain authentication credentals
*
+ * For kerberos support the function should just be called without
+ * prompting the user for credentials. Which means a simple 'return'
+ * should work. Take a look at examples/libsmbclient/get_auth_data_fn.h
+ * and examples/libsmbclient/testbrowse.c.
+ *
* @param srv Server being authenticated to
*
* @param shr Share being authenticated to
@@ -293,6 +298,11 @@ typedef void (*smbc_get_auth_data_fn)(const char *srv,
* Type for the the authentication function called by the library to
* obtain authentication credentals
*
+ * For kerberos support the function should just be called without
+ * prompting the user for credentials. Which means a simple 'return'
+ * should work. Take a look at examples/libsmbclient/get_auth_data_fn.h
+ * and examples/libsmbclient/testbrowse.c.
+ *
* @param c Pointer to the smb context
*
* @param srv Server being authenticated to