I have a PDC running debian wheezy with samba 3.5.11 . If I run 'net rpc testjoin' on my PDC, it does this: # net rpc testjoin get_schannel_session_key: could not fetch trust account password for domain 'UW-MATH' net_rpc_join_ok: failed to get schannel session key from server HUBBLE for domain UW-MATH. Error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO Join to domain 'UW-MATH' is not valid: NT_STATUS_CANT_ACCESS_DOMAIN_INFO The backend is openldap and I can find the name of my PDC in the ldap database. It appears to have a valid machine trust account based on the ldap record. The main problem I'm having is that after I joined a Win7 machine to the domain, I can't log in as a domain user. It says "The trust relationship between this workstation and the domain failed."
Did you make the required registry changes
http://wiki.samba.org/index.php/Windows7
HKLM\System\CCS\Services\LanmanWorkstation\Parameters
DWORD DomainCompatibilityMode = 1
DWORD DNSNameResolutionRequired = 0
Do you have problems with XP machines?
On 12/22/2011 02:28 PM, John G. Heim wrote:> I have a PDC running debian wheezy with samba 3.5.11 . If I run 'net
> rpc testjoin' on my PDC, it does this:
>
> # net rpc testjoin
> get_schannel_session_key: could not fetch trust account password for
> domain 'UW-MATH'
> net_rpc_join_ok: failed to get schannel session key from server HUBBLE
> for domain UW-MATH. Error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO
> Join to domain 'UW-MATH' is not valid:
NT_STATUS_CANT_ACCESS_DOMAIN_INFO
>
> The backend is openldap and I can find the name of my PDC in the ldap
> database. It appears to have a valid machine trust account based on
> the ldap record.
>
> The main problem I'm having is that after I joined a Win7 machine to
> the domain, I can't log in as a domain user. It says "The trust
> relationship between this workstation and the domain failed."
>
please update, in wheezy samba is upgraded to 3.6.1 and test again. Louis>-----Oorspronkelijk bericht----- >Van: jheim at math.wisc.edu >[mailto:samba-bounces at lists.samba.org] Namens John G. Heim >Verzonden: 2011-12-22 20:28 >Aan: samba at lists.samba.org >Onderwerp: [Samba] net rpc testjoin error > >I have a PDC running debian wheezy with samba 3.5.11 . If I >run 'net rpc >testjoin' on my PDC, it does this: > ># net rpc testjoin >get_schannel_session_key: could not fetch trust account >password for domain >'UW-MATH' >net_rpc_join_ok: failed to get schannel session key from >server HUBBLE for >domain UW-MATH. Error was NT_STATUS_CANT_ACCESS_DOMAIN_INFO >Join to domain 'UW-MATH' is not valid: >NT_STATUS_CANT_ACCESS_DOMAIN_INFO > >The backend is openldap and I can find the name of my PDC in the ldap >database. It appears to have a valid machine trust account >based on the ldap >record. > >The main problem I'm having is that after I joined a Win7 >machine to the >domain, I can't log in as a domain user. It says "The trust >relationship >between this workstation and the domain failed." > >-- >To unsubscribe from this list go to the following URL and read the >instructions: https://lists.samba.org/mailman/options/samba > >