summaryrefslogtreecommitdiff
path: root/source3/libsmb/nmblib.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-06-20 05:42:00 +0000
committerTim Potter <tpot@samba.org>2002-06-20 05:42:00 +0000
commitb7e4b7f0e20c08da89526306a7e361757bd23e8f (patch)
tree4dd8a68714bc7fc6918da9359eed807695868d6b /source3/libsmb/nmblib.c
parent6905730c3eede966f574c35794e559ab93235245 (diff)
downloadsamba-b7e4b7f0e20c08da89526306a7e361757bd23e8f.tar.gz
samba-b7e4b7f0e20c08da89526306a7e361757bd23e8f.tar.bz2
samba-b7e4b7f0e20c08da89526306a7e361757bd23e8f.zip
Got rid of unused flags field in lanman api_commands[].
Added an auth_user field which denotes whether the api call can be made anonymously. In combination with lp_restrict_anonymous() this can decrease the amount of information that can be retrieved anonymously. So far NetShareEnum, NetSessionEnum, NetGroupEnum, NetGroupGetUsers, NetUserEnum, PrintQEnum, NetFileEnum cannot be called anonymously. SamOEMChangePassword and NetServerEnum can be called anonymously. All other functions can be called anonymously until it can be proven that they can't to avoid breaking anything. (This used to be commit ead6ab9602640aca5d1d8ac336f3a129f9466159)
Diffstat (limited to 'source3/libsmb/nmblib.c')
0 files changed, 0 insertions, 0 deletions