[Samba] Samba and AD login Problem - Samba
This is a discussion on [Samba] Samba and AD login Problem - Samba ; Hi All,
I am trying to join an AD domain due to the this (
http://gentoo-wiki.com/HOWTO_Active_...ba_and_Winbind
) document.
but when i try to add my computer to AD i get these error messages.
haploit srb # net ads join -U ...
-
[Samba] Samba and AD login Problem
Hi All,
I am trying to join an AD domain due to the this (
http://gentoo-wiki.com/HOWTO_Active_...ba_and_Winbind
) document.
but when i try to add my computer to AD i get these error messages.
haploit srb # net ads join -U Administrator
Administrator's password:
Using short domain name -- ISTANBUL
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
Deleted account for 'HAPLOIT' in realm 'ISTANBUL'
Failed to join domain: Type or value exists
I put some of my config files and logs to web here are the adresses;
http://cekirdek.pardus.org.tr/~serbulent/hosts
http://cekirdek.pardus.org.tr/~serbulent/krb5.conf
http://cekirdek.pardus.org.tr/~serbulent/smb.conf
http://cekirdek.pardus.org.tr/~serbulent/log.smbd
http://cekirdek.pardus.org.tr/~serbulent/log.winbindd
http://cekirdek.pardus.org.tr/~serbulent/log.winbindd
Do any one have any ideas ? Thanx a lot.
PS: Happy new year to all 
Serbulent
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-
Re: [Samba] Samba and AD login Problem
On Mon, Dec 31, 2007 at 04:41:16PM +0200, Serbulent UNSAL wrote:
> I am trying to join an AD domain due to the this (
> http://gentoo-wiki.com/HOWTO_Active_...ba_and_Winbind
> ) document.
>
> but when i try to add my computer to AD i get these error messages.
>
> haploit srb # net ads join -U Administrator
> Administrator's password:
> Using short domain name -- ISTANBUL
> Failed to set servicePrincipalNames. Please ensure that
> the DNS domain of this server matches the AD domain,
> Or rejoin with using Domain Admin credentials.
> Deleted account for 'HAPLOIT' in realm 'ISTANBUL'
> Failed to join domain: Type or value exists
Make sure that the fully qualified domain name and your host
name differ in the sense that you actually have a domain
appended.
Under Linux, "hostname" and "hostname -f" need to return
different things, hostname -f should preferrably show your
AD domain name appended.
Volker
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFHeQPeUzqjrWwMRl0RAi7OAKCQkXLHOOYDMhXoE3MuWu jpOWfENACeJqqS
Tt952lgOOU670GRzkOsN6IE=
=C2kR
-----END PGP SIGNATURE-----
-
Re: [Samba] Samba and AD login Problem
On Dec 31, 2007 7:59 AM, Volker Lendecke wrote:
> On Mon, Dec 31, 2007 at 04:41:16PM +0200, Serbulent UNSAL wrote:
> > I am trying to join an AD domain due to the this (
> > http://gentoo-wiki.com/HOWTO_Active_...ba_and_Winbind
> > ) document.
> >
> > but when i try to add my computer to AD i get these error messages.
> >
> > haploit srb # net ads join -U Administrator
> > Administrator's password:
> > Using short domain name -- ISTANBUL
> > Failed to set servicePrincipalNames. Please ensure that
> > the DNS domain of this server matches the AD domain,
> > Or rejoin with using Domain Admin credentials.
> > Deleted account for 'HAPLOIT' in realm 'ISTANBUL'
> > Failed to join domain: Type or value exists
>
> Make sure that the fully qualified domain name and your host
> name differ in the sense that you actually have a domain
> appended.
>
> Under Linux, "hostname" and "hostname -f" need to return
> different things, hostname -f should preferrably show your
> AD domain name appended.
>
> Volker
In addition, make sure that "Administrator" is your Domain Admin. I
used my Domain Admin account (an actual account not Administrator) and
it worked great. Also a piece of information that seems to be
floating around is that the krb5.conf doesn't need to exist and may
actually cause problems if configured incorrectly. Samba will get the
Kerberos info from AD if it's configured correctly.
-Chad
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba