merge changes from 0.9.9 branch
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5159 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -294,8 +294,11 @@ realm_of_cell(kafs_data *data, const char *cell, char **realm)
|
||||
}
|
||||
fclose(F);
|
||||
}
|
||||
if (*realm == NULL && dns_find_cell(cell, buf, sizeof(buf)) == 0)
|
||||
if (*realm == NULL && dns_find_cell(cell, buf, sizeof(buf)) == 0) {
|
||||
*realm = strdup(krb_realmofhost(buf));
|
||||
if(*realm != NULL)
|
||||
ret = 0;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user