summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2006-05-03 20:31:24 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:35 -0500
commitb2f8c9b82d1d96bd49d314a60191b7a62ffc52ca (patch)
treed3df8fb64e0379bfb6327b243f6ded1737bf3533
parent1789976c172085569026e62bc563ff0ea017fe9d (diff)
downloadsamba-b2f8c9b82d1d96bd49d314a60191b7a62ffc52ca.tar.gz
samba-b2f8c9b82d1d96bd49d314a60191b7a62ffc52ca.tar.bz2
samba-b2f8c9b82d1d96bd49d314a60191b7a62ffc52ca.zip
r15421: Correct function comments.
Andrew Bartlett (This used to be commit f9899277898ee7ef1118cbc49f5f277623ff7444)
-rw-r--r--source4/auth/credentials/credentials.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/auth/credentials/credentials.c b/source4/auth/credentials/credentials.c
index e00251d69f..28ba5eb32d 100644
--- a/source4/auth/credentials/credentials.c
+++ b/source4/auth/credentials/credentials.c
@@ -514,13 +514,12 @@ void cli_credentials_parse_string(struct cli_credentials *credentials, const cha
}
/**
- * Given a string, typically obtained from a -U argument, parse it into domain, username, realm and password fields
+ * Given a a credentials structure, print it as a string
*
- * The format accepted is [domain\\]user[%password] or user[@realm][%password]
+ * The format output is [domain\\]user[%password] or user[@realm][%password]
*
* @param credentials Credentials structure on which to set the password
- * @param data the string containing the username, password etc
- * @param obtained This enum describes how 'specified' this password is
+ * @param mem_ctx The memory context to place the result on
*/
const char *cli_credentials_get_unparsed_name(struct cli_credentials *credentials, TALLOC_CTX *mem_ctx)