summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-01-30 18:38:46 +0000
committerJeremy Allison <jra@samba.org>2004-01-30 18:38:46 +0000
commit14fb4b8e06368a2492f277492311fefdfffadaee (patch)
treeda6bd7de5188c28cf37a5e58a72bd79412baed74 /source3/printing/nt_printing.c
parent799d5494c744acadbe47b02de6a67ffa6dcf892d (diff)
downloadsamba-14fb4b8e06368a2492f277492311fefdfffadaee.tar.gz
samba-14fb4b8e06368a2492f277492311fefdfffadaee.tar.bz2
samba-14fb4b8e06368a2492f277492311fefdfffadaee.zip
Fix up name canonicalization (needed for krb5 keytab support later).
Remove source_env handler (no longer used in any codepath). Jeremy. (This used to be commit be60768e64ae2061f220faa3943dcb0588393dbc)
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 34274d1831..8aa02b57b6 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -2537,7 +2537,7 @@ static BOOL map_nt_printer_info2_to_dsspooler(NT_PRINTER_INFO_LEVEL_2 *info2)
map_sz_into_ctr(ctr, SPOOL_REG_PRINTERNAME, info2->sharename);
map_sz_into_ctr(ctr, SPOOL_REG_SHORTSERVERNAME, global_myname());
- get_myfullname(longname);
+ get_mydnsfullname(longname);
map_sz_into_ctr(ctr, SPOOL_REG_SERVERNAME, longname);
asprintf(&allocated_string, "\\\\%s\\%s", longname, info2->sharename);