diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-12 20:03:42 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-12 20:03:42 +0000 |
commit | caa50525220b0d0250fa139367593c2de2c12135 (patch) | |
tree | e37748c25c6d433104f4f98540f5cf0a68b69254 /source/rpc_client | |
parent | aa3c659a8dba0437c17c60055a6ed30fdfecdb6d (diff) | |
download | samba-caa50525220b0d0250fa139367593c2de2c12135.tar.gz samba-caa50525220b0d0250fa139367593c2de2c12135.tar.xz samba-caa50525220b0d0250fa139367593c2de2c12135.zip |
final part of "first" phase converting over to msrpc daemon architecture.
done a minimal amout of clean-up in the Makefile, removing unnecessary
modules from the link stage. this is not complete, yet, and will
involve some changes, for example to smbd, to remove dependencies on
the password database API that shouldn't be there. for example,
smbd should not ever call getsmbpwXXX() it should call the Samr or Lsa
API.
this first implementation has minor problems with not reinstantiating
the same services as the caller. the "homes" service is a good example.
Diffstat (limited to 'source/rpc_client')
-rw-r--r-- | source/rpc_client/cli_connect.c | 2 | ||||
-rw-r--r-- | source/rpc_client/cli_spoolss.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/rpc_client/cli_connect.c b/source/rpc_client/cli_connect.c index fcca3e44fff..f935b530444 100644 --- a/source/rpc_client/cli_connect.c +++ b/source/rpc_client/cli_connect.c @@ -96,7 +96,7 @@ static struct cli_connection *cli_con_get(const char* srv_name, con->pipe_name = strdup(pipe_name); } - con->cli = cli_net_use_add(srv_name, usr_creds, False, reuse); + con->cli = cli_net_use_add(srv_name, usr_creds, True, reuse); if (con->cli == NULL) { diff --git a/source/rpc_client/cli_spoolss.c b/source/rpc_client/cli_spoolss.c index 2b620f036e9..7ddbb9dbe40 100644 --- a/source/rpc_client/cli_spoolss.c +++ b/source/rpc_client/cli_spoolss.c @@ -62,7 +62,7 @@ BOOL spoolss_enum_printers(uint32 flags, const char *srv_name, DEBUG(5,("SPOOLSS Enum Printers (Server: %s level: %d)\n", srv_name, level)); - make_spoolss_q_enumprinters(&q_o, flags, srv_name, level, 0x50); + make_spoolss_q_enumprinters(&q_o, flags, srv_name, level, 0x200); /* turn parameters into data stream */ spoolss_io_q_enumprinters("", &q_o, &buf, 0); |