Hi, get_printerdrivernumber in lanman.c seems to have a small bug: If it gets into the true-path of this: if (!lines) { DEBUG(3,("Can't open %s - %s\n", lp_driverfile(snum),st } Neither p nor ok are set to any value (so inherit, what was on the stack). ok could be True, p could be an invalid pointer. Elrond