diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-04 09:42:51 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-04 09:42:51 +0000 |
commit | 6760e69a68571e01ee57b959193a56278962a23c (patch) | |
tree | cab4036d3fcb04cd2ab1ee3ab1eedcd3a1fd2b79 /source3/smbwrapper/smbw.c | |
parent | ce843e9735742626bb03cbea61041fff5d215930 (diff) | |
download | samba-6760e69a68571e01ee57b959193a56278962a23c.tar.gz samba-6760e69a68571e01ee57b959193a56278962a23c.tar.bz2 samba-6760e69a68571e01ee57b959193a56278962a23c.zip |
added support for printing via smbwrapper
You can print using "cp filename /smb/SERVER/PRINTER/jobname"
You can list the current printqueue using ls
(This used to be commit 080fb61b69620e26e8122705383dc2bd0468a519)
Diffstat (limited to 'source3/smbwrapper/smbw.c')
-rw-r--r-- | source3/smbwrapper/smbw.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/smbwrapper/smbw.c b/source3/smbwrapper/smbw.c index 74a40a2451..3a2cbcf5ac 100644 --- a/source3/smbwrapper/smbw.c +++ b/source3/smbwrapper/smbw.c @@ -390,8 +390,7 @@ struct smbw_server *smbw_server(char *server, char *share) return NULL; } - if (!cli_send_tconX(&c, share, - strstr(share,"IPC$")?"IPC":"A:", + if (!cli_send_tconX(&c, share, "?????", password, strlen(password)+1)) { errno = smbw_errno(&c); cli_shutdown(&c); |