diff options
author | Jeremy Allison <jra@samba.org> | 2000-06-08 22:24:13 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-06-08 22:24:13 +0000 |
commit | a62d17dc618f3de641341118af02fb43b6cb7e6a (patch) | |
tree | b2251f788f9cb2e7c614530487d82611cf1f3263 /source3/smbd | |
parent | f5a4d08d9ed37e08b709c3ee4b0f3db2b2249855 (diff) | |
download | samba-a62d17dc618f3de641341118af02fb43b6cb7e6a.tar.gz samba-a62d17dc618f3de641341118af02fb43b6cb7e6a.tar.bz2 samba-a62d17dc618f3de641341118af02fb43b6cb7e6a.zip |
Change from "David S. Chappell" <David.Chappell@mail.cc.trincoll.edu>
to make "printer driver file" a share parameter. This fits better with
the new NT printing subsystem.
Jeremy.
(This used to be commit 7afb68461f3938a647a6c48689293af8ed36ccb7)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/lanman.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index cfc0e08d47..bee2b39f2f 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -499,10 +499,10 @@ static void fill_printq_info_52(connection_struct *conn, int snum, int uLevel, char *p; char **lines, *line; - lines = file_lines_load(lp_driverfile(),NULL); + lines = file_lines_load(lp_driverfile(snum),NULL); if (!lines) { DEBUG(3,("fill_printq_info: Can't open %s - %s\n", - lp_driverfile(),strerror(errno))); + lp_driverfile(snum),strerror(errno))); desc->errcode=NERR_notsupported; return; } @@ -668,10 +668,10 @@ static int get_printerdrivernumber(int snum) char *p; char **lines, *line; - lines = file_lines_load(lp_driverfile(), NULL); + lines = file_lines_load(lp_driverfile(snum), NULL); if (!lines) { DEBUG(3,("get_printerdrivernumber: Can't open %s - %s\n", - lp_driverfile(),strerror(errno))); + lp_driverfile(snum),strerror(errno))); return(0); } |