git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
s3-param Remove special case for global_myname(), rename to lp_netbios_name()
[ira/wip.git]
/
source3
/
libsmb
/
libsmb_context.c
diff --git
a/source3/libsmb/libsmb_context.c
b/source3/libsmb/libsmb_context.c
index 9d473d19b2fe1e37ee9420ba9d58da07e1819ac5..dbf70e02c8d2d6188ca53406077c3b1b37249e48 100644
(file)
--- a/
source3/libsmb/libsmb_context.c
+++ b/
source3/libsmb/libsmb_context.c
@@
-599,8
+599,8
@@
smbc_init_context(SMBCCTX *context)
* our hostname etc
*/
char *netbios_name;
* our hostname etc
*/
char *netbios_name;
- if (
global_my
name()) {
- netbios_name = SMB_STRDUP(
global_my
name());
+ if (
lp_netbios_
name()) {
+ netbios_name = SMB_STRDUP(
lp_netbios_
name());
} else {
/*
* Hmmm, I want to get hostname as well, but I am too
} else {
/*
* Hmmm, I want to get hostname as well, but I am too