diff options
author | Gerald Carter <jerry@samba.org> | 2003-02-15 23:36:18 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-02-15 23:36:18 +0000 |
commit | a703d55cd7558ef45de435d631bf5315fb616192 (patch) | |
tree | 1f99cef9c3da9e676ef4dda666abcf92df5f8558 /source3/rpc_server | |
parent | 22c875943d2e8efe87c5f5049ace37d1135eb187 (diff) | |
download | samba-a703d55cd7558ef45de435d631bf5315fb616192.tar.gz samba-a703d55cd7558ef45de435d631bf5315fb616192.tar.bz2 samba-a703d55cd7558ef45de435d631bf5315fb616192.zip |
* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
* never save a pointer to an automatic variable (they go away)
implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
messages being sent that have junk for strings;
fix in response to changes for CR 1504
(This used to be commit 043b9dff22e909fc290c34d879cad8b4c980fc13)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index 8304b14a1c..0bcc3c5a30 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -5770,7 +5770,7 @@ static BOOL check_printer_ok(NT_PRINTER_INFO_LEVEL_2 *info, int snum) fstrcpy(info->sharename, lp_servicename(snum)); slprintf(info->printername, sizeof(info->printername)-1, "\\\\%s\\%s", get_called_name(), info->sharename); - info->attributes = PRINTER_ATTRIBUTE_SHARED | PRINTER_ATTRIBUTE_NETWORK; + info->attributes = PRINTER_ATTRIBUTE_SAMBA; return True; } |