Looking at docs-xml/smbdotconf/protocol/nameresolveorder.xml and also at the generated man pages it seems that name resolve order option supports: * lmhosts * host * wins * bcast But when looking at source3/libsmb/namequery.c in the function get_dc_list it seems that we support kdc and ads parameters as well but they are not documented.
I think this is invalid. The documentation is correct. While get_dc_list() does construct lists containing (only) "ads" or "kdc", which are handled by internal_resolve_name(), these can't be used in smb.conf, because handle_name_resolve_order() in lib/param/loadparm.c only allows values that are in the default list: valid_values = str_list_make_v3_const(NULL, DEFAULT_NAME_RESOLVE_ORDER, NULL); so if you e.g. add 'ads', you see: handle_name_resolve_order: WARNING: Ignoring invalid list value 'ads' for parameter 'name resolve order' Can't load st/ad_member/lib/server.conf - run testparm to debug it