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/krb5_setpw.c

    r206 r370  
    2020
    2121#include "includes.h"
     22#include "smb_krb5.h"
    2223
    2324#ifdef HAVE_KRB5
     
    286287        }
    287288       
    288         p = packet->data;
     289        p = (char *)packet->data;
    289290        /*
    290291        ** see if it is an error
     
    369370        }
    370371       
    371         p = clearresult.data;
     372        p = (char *)clearresult.data;
    372373       
    373374        res_code = RSVAL(p, 0);
     
    694695        if (prompts[0].reply->length > 0) {
    695696                if (data) {
    696                         strncpy(prompts[0].reply->data,
     697                        strncpy((char *)prompts[0].reply->data,
    697698                                (const char *)data,
    698699                                prompts[0].reply->length-1);
    699                         prompts[0].reply->length = strlen(prompts[0].reply->data);
     700                        prompts[0].reply->length = strlen((const char *)prompts[0].reply->data);
    700701                } else {
    701702                        prompts[0].reply->length = 0;
Note: See TracChangeset for help on using the changeset viewer.