Ignore:
Timestamp:
Jan 15, 2010, 8:23:30 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 to 3.3.10 (source)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.3.x/source/libads/kerberos.c

    r223 r370  
    2323
    2424#include "includes.h"
     25#include "smb_krb5.h"
    2526
    2627#ifdef HAVE_KRB5
     
    4748        if (prompts[0].reply->length > 0) {
    4849                if (data) {
    49                         strncpy(prompts[0].reply->data, (const char *)data,
     50                        strncpy((char *)prompts[0].reply->data, (const char *)data,
    5051                                prompts[0].reply->length-1);
    51                         prompts[0].reply->length = strlen(prompts[0].reply->data);
     52                        prompts[0].reply->length = strlen((const char *)prompts[0].reply->data);
    5253                } else {
    5354                        prompts[0].reply->length = 0;
Note: See TracChangeset for help on using the changeset viewer.