[Samba] ADS join failing?

Zayas, Russell rzayas at qualcomm.com
Wed May 5 20:45:29 GMT 2004

Hello all,

	I'm not too sure we're having an ADS issue or not. Perhaps
someone could shed some light on this for us?

Here's what we're seeing during a net join:

14:32 myhost<42> sudo ./net join -S domaincontroller -U admin_user
Admin_user password: 

[2004/05/05 14:33:39, 0] libads/ldap.c:ads_add_machine_acct(1006)
  Host account for myhost already exists - modifying old account
[2004/05/05 14:33:39, 0] libads/ldap.c:ads_join_realm(1342)
  ads_add_machine_acct: No such object
ads_join_realm: No such object
ADS join did not work, falling back to RPC...
Joined domain MYDOMAIN.

	But, it seems that samba is up and running on our domain without
issue. I've been able to read/write etc. to the share on this host
without problem. Just in case it helps, below is the output of net

14:33 myhost<43> ./net ADS STATUS -U admin_user
Admin_user password: 

accountExpires: 9223372036854775807
badPasswordTime: 0
badPwdCount: 0
codePage: 0
countryCode: 0
instanceType: 4
isCriticalSystemObject: FALSE
lastLogoff: 0
lastLogon: 127282628213047592
logonCount: 0
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
objectClass: computer
objectGUID: 933781dc-39a2-4ae4-9994-204a0f355a7
objectSid: S-1-5-21-945540591-4024260831-3861152641-62366
primaryGroupID: 515
pwdLastSet: 0
name: MYHOST
sAMAccountName: MYHOST$
sAMAccountType: 805306369
userAccountControl: 4096
uSNChanged: 510675623
uSNCreated: 510671046
whenChanged: 20040505203340.0Z
whenCreated: 20040505201257.0Z

	Any and all insight on this issue is greatly appreciated &

Thanks much!

More information about the samba mailing list