Displaying 1 result from an estimated 1 matches for "net_use_machine_account".
2007 Dec 01
0
[3.2.0pre1] net ads join fails with NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT
...ESSFUL;
- sec = (enum security_types)lp_security();
-
- if (sec == SEC_ADS) {
- /* Connect to IPC$ using machine account's credentials. We don't use anonymous
- connection here, as it may be denied by server's local policy. */
- net_use_machine_account();
-
- } else {
- /* some servers (e.g. WinNT) don't accept machine-authenticated
- smb connections */
- conn_flags |= NET_FLAGS_ANONYMOUS;
- }
-
/* Connect to remote machine */
- ntret = net_make_ipc_connection_ex(domain, s...