-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Latrell Wang 王獻綱 wrote:
> I looked into the source code, and have some observations:
> 1.
> I don't wrote the realm in my smb.conf, because I get 
> the realm form net ads info.
> Once I set realm in the smb.conf, net ads info worked

For any 'net ads' command you have to set the realm.
This has always been a requirement.

> 2. When I try to join domain, using net ads join
> -Uadministrator%password, I got the following message:
>
> Using short domain name -- NAS
> Failed to set servicePrincipalNames. Please ensure that
> the DNS domain of this server matches the AD domain,
> Or rejoin with using Domain Admin credentials.
> Disabled account for 'NSAF933' in realm 'NAS.LOCAL'

Make sure the fqdn of the Samba server is set correctly.





cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFukrxIR7qMdg1EfYRAul2AJ9FEG2nwts4vpgn8ots3768tVzLWQCgtHeB
FUduAvGAd0b7hjXAJLNe0AE=
=YQBY
-----END PGP SIGNATURE-----

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to