diff --git a/contrib/samba b/contrib/samba index a49f9dbf..ef5def37 100644 --- a/contrib/samba +++ b/contrib/samba @@ -12,14 +12,14 @@ _samba_resolve_order() _samba_domains() { if [ -n "${COMP_SAMBA_SCAN:-}" ]; then - COMPREPLY=( $( compgen -W '$( smbtree -D )' -- $cur ) ) + COMPREPLY=( $( compgen -W '$( smbtree -N -D )' -- $cur ) ) fi } _samba_hosts() { if [ -n "${COMP_SAMBA_SCAN:-}" ]; then - COMPREPLY=( $( compgen -W "$( smbtree -S )" -- $cur ) ) + COMPREPLY=( $( compgen -W "$( smbtree -N -S )" -- $cur ) ) fi }