Displaying 1 result from an estimated 1 matches for "next_token_talloc".
2009 Feb 16
1
samba-3.2.8 - KRB5_KT_UNKNOWN_TYPE;
...OWN_TYPE.
If smb_krb5_open_keytab with a filename "/etc/v5srvtab" it would work 
fine, however if the "default" keytab is used the expectation is that it 
must have a prefix "FILE:" or "WRFILE:". 
Is this the correct logic?   It appears that the loop
while (next_token_talloc(mem_ctx, &tmp, &kt_str, ",")) {
Should have the test
    if (tmp[0] == '/')
       found_valid_name = True;
Glenn
kerberos_keytab.c
ads_keytab_add_entry()
ret = smb_krb5_open_keytab(context, NULL, True, &keytab);
        if (ret) {
                DEBUG(1,(...