docs: public static int getDefaultFlags ( CIFSContext tc, Type1Message type1 ) {
          if ( type1 == null )
              return getDefaultFlags(tc);
          int flags = NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION;
          int type1Flags = type1.getFlags();
          flags |= ( ( type1Flags & NTLMSSP_NEGOTIATE_UNICODE ) != 0 ) ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM;
          if ( ( type1Flags & NTLMSSP_REQUEST_TARGET ) != 0 ) {
              String domain = tc.getConfig().getDefaultDomain();
              if ( domain != null ) {
                  flags |= NTLMSSP_REQUEST_TARGET | NTLMSSP_TARGET_TYPE_DOMAIN;
              }
          }
          return flags;
      }