*type = 0x4;
if((*data = (uint8 *)talloc(ctx, 4*sizeof(uint8) )) == NULL)
return False;
- SIVAL(*data, 0, 0x01);
+ SIVAL(*data, 0, 0x00);
*needed = 0x4;
return True;
}
*type = 0x4;
if((*data = (uint8 *)talloc(ctx, 4*sizeof(uint8) )) == NULL)
return False;
- SIVAL(*data, 0, 0x1B);
+ /* formally was 0x1b */
+ SIVAL(*data, 0, 0x0);
*needed = 0x4;
return True;
}
*type = 0x4;
if((*data = (uint8 *)talloc(ctx, 4*sizeof(uint8) )) == NULL)
return False;
- SIVAL(*data, 0, 0x01);
+ SIVAL(*data, 0, 0x00);
*needed = 0x4;
return True;
}
return True;
}
- if (!strcmp(value, "DefaultSpoolDirectory")) {
- pstring string="You are using a Samba server";
+ if (!strcmp(value, "DefaultSpoolDirectory")) {
+ fstring string;
+
+ fstrcpy(string, string_truncate(lp_serverstring(), MAX_SERVER_STRING_LENGTH));
*type = 0x1;
*needed = 2*(strlen(string)+1);
if((*data = (uint8 *)talloc(ctx, ((*needed > in_size) ? *needed:in_size) *sizeof(uint8))) == NULL)