Acked-by: Igor Mammedov <niallain@xxxxxxxxx> On Fri, Jan 7, 2011 at 5:11 PM, Jeff Layton <jlayton@xxxxxxxxx> wrote: > Signed-off-by: Jeff Layton <jlayton@xxxxxxxxx> > --- > Âcifs.upcall.c |  Â8 ++++++++ > Â1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/cifs.upcall.c b/cifs.upcall.c > index 12df8cc..3dbcd6e 100644 > --- a/cifs.upcall.c > +++ b/cifs.upcall.c > @@ -483,6 +483,7 @@ decode_key_description(const char *desc, struct decoded_args *arg) >                Âreturn 1; >            Â} >            Âretval |= DKD_HAVE_HOSTNAME; > +            syslog(LOG_DEBUG, "host=%s", arg->hostname); >        Â} else if (!strncmp(tkn, "ip4=", 4) || !strncmp(tkn, "ip6=", 4)) { >            Âif (pos == NULL) >                Âlen = strlen(tkn); > @@ -497,6 +498,7 @@ decode_key_description(const char *desc, struct decoded_args *arg) >                Âreturn 1; >            Â} >            Âretval |= DKD_HAVE_IP; > +            syslog(LOG_DEBUG, "ip=%s", arg->ip); >        Â} else if (strncmp(tkn, "user=", 5) == 0) { >            Âif (pos == NULL) >                Âlen = strlen(tkn); > @@ -511,6 +513,7 @@ decode_key_description(const char *desc, struct decoded_args *arg) >                Âreturn 1; >            Â} >            Âretval |= DKD_HAVE_USERNAME; > +            syslog(LOG_DEBUG, "user=%s", arg->username); >        Â} else if (strncmp(tkn, "pid=", 4) == 0) { >            Âerrno = 0; >            Âarg->pid = strtol(tkn + 4, NULL, 0); > @@ -519,6 +522,7 @@ decode_key_description(const char *desc, struct decoded_args *arg) >                    strerror(errno)); >                Âreturn 1; >            Â} > +            syslog(LOG_DEBUG, "pid=%u", arg->pid); >            Âretval |= DKD_HAVE_PID; >        Â} else if (strncmp(tkn, "sec=", 4) == 0) { >            Âif (strncmp(tkn + 4, "krb5", 4) == 0) { > @@ -528,6 +532,7 @@ decode_key_description(const char *desc, struct decoded_args *arg) >                Âretval |= DKD_HAVE_SEC; >                Âarg->sec = MS_KRB5; >            Â} > +            syslog(LOG_DEBUG, "sec=%d", arg->sec); >        Â} else if (strncmp(tkn, "uid=", 4) == 0) { >            Âerrno = 0; >            Âarg->uid = strtol(tkn + 4, NULL, 16); > @@ -537,6 +542,7 @@ decode_key_description(const char *desc, struct decoded_args *arg) >                Âreturn 1; >            Â} >            Âretval |= DKD_HAVE_UID; > +            syslog(LOG_DEBUG, "uid=%u", arg->uid); >        Â} else if (strncmp(tkn, "creduid=", 8) == 0) { >            Âerrno = 0; >            Âarg->creduid = strtol(tkn + 8, NULL, 16); > @@ -546,6 +552,7 @@ decode_key_description(const char *desc, struct decoded_args *arg) >                Âreturn 1; >            Â} >            Âretval |= DKD_HAVE_CREDUID; > +            syslog(LOG_DEBUG, "creduid=%u", arg->creduid); >        Â} else if (strncmp(tkn, "ver=", 4) == 0) {   Â/* if version */ >            Âerrno = 0; >            Âarg->ver = strtol(tkn + 4, NULL, 16); > @@ -555,6 +562,7 @@ decode_key_description(const char *desc, struct decoded_args *arg) >                Âreturn 1; >            Â} >            Âretval |= DKD_HAVE_VERSION; > +            syslog(LOG_DEBUG, "ver=%d", arg->ver); >        Â} >        Âif (pos == NULL) >            Âbreak; > -- > 1.7.3.4 > > ÿô.nÇ·®+%˱é¥wÿº{.nÇ·¥{±ý¶¡Ü}©²ÆzÚj:+v¨þø®w¥þàÞ¨è&¢)ß«a¶Úÿûz¹ÞúÝjÿwèf