diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-21 15:14:29 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-23 13:47:27 +0200 |
commit | 734e1b6812b672fc7d838e943b14b8a176552734 (patch) | |
tree | 07c3463fd6912efd4ee16fd61079219a21d26fdc /source3/smbd | |
parent | 38b5beb33d78fd6a799fa591e29e5e1227adfa70 (diff) | |
download | samba-734e1b6812b672fc7d838e943b14b8a176552734.tar.gz samba-734e1b6812b672fc7d838e943b14b8a176552734.tar.bz2 samba-734e1b6812b672fc7d838e943b14b8a176552734.zip |
s3-param Remove 'announce version' parameter
The only users I can find of this on the internet involve confused
users, and our own documentation recommends never setting this. Don't
confuse our users any longer.
Andrew Bartlett
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/lanman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index f8101d9571..dac91b2a40 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -4027,8 +4027,8 @@ static bool api_NetWkstaGetInfo(struct smbd_server_connection *sconn, } p += 4; - SCVAL(p,0,lp_major_announce_version()); /* system version - e.g 4 in 4.1 */ - SCVAL(p,1,lp_minor_announce_version()); /* system version - e.g .1 in 4.1 */ + SCVAL(p,0,SAMBA_MAJOR_NBT_ANNOUNCE_VERSION); /* system version - e.g 4 in 4.1 */ + SCVAL(p,1,SAMBA_MINOR_NBT_ANNOUNCE_VERSION); /* system version - e.g .1 in 4.1 */ p += 2; SIVAL(p,0,PTR_DIFF(p2,*rdata)); |