Re: [Samba] Samba4 join existing domain

2010-06-16 Thread George Lazar

Hi Andrew,

I have sent you the output via mail but I'm not sure you have received.
Now is attached here also.

Thanks,
George



Andrew Bartlett wrote:
> 
> On Fri, 2010-06-11 at 06:10 -0700, George Lazar wrote:
>> Hi,
>> 
>> I've got a similar issue when I'm trying to add Samba 4 alpha12 (latest
>> git)
>> as BDC.
>> PDC is another Samba4alpha12 running well but when I'm trying to add a
>> BDC:
>> 
>> ###
>> ./bin/net vampire my.domain -Uadministrator --realm=my.domain -d10:
>> 
>> ...
>> tevent: Destroying timer event 0x24fa0c0 "ldap_request_timeout"
>> tevent: Added timed event "composite_trigger": 0x24f06f0
>> tevent: Destroying timer event 0x24f06f0 "composite_trigger"
>> libnet_BecomeDC() failed - NT_STATUS_INVALID_PARAMETER_MIX
>> Vampire of domain failed: NT_STATUS_INVALID_PARAMETER_MIX
>> 
>> 
>> krb5.conf:
>> [libdefaults]
>> default_realm = MY.DOMAIN
>> dns_lookup_realm = true
>> dns_lookup_kdc = true
>> 
>> I have followed excatly the tutorial:
>> http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
>> 
>> kinit administrator is working and not time issues between the servers.
>> 
>> Please advise,
>> Thanks
> 
> G'day,
> 
> I'll need more than the last lines of the log before I can give any
> clues, sorry.
> 
> Either get it at a level that you are happy to mail to the list, or send
> the lot to me privately.
> 
> Andrew Bartlett
> 
> -- 
> Andrew Bartletthttp://samba.org/~abartlet/
> Authentication Developer, Samba Team   http://samba.org
> Samba Developer, Cisco Inc.
> 
> 
>  
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
http://old.nabble.com/file/p28899741/output.log output.log 
-- 
View this message in context: 
http://old.nabble.com/Samba4-join-existing-domain-tp27930446p28899741.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba4 join existing domain

2010-06-12 Thread Andrew Bartlett
On Fri, 2010-06-11 at 06:10 -0700, George Lazar wrote:
> Hi,
> 
> I've got a similar issue when I'm trying to add Samba 4 alpha12 (latest git)
> as BDC.
> PDC is another Samba4alpha12 running well but when I'm trying to add a BDC:
> 
> ###
> ./bin/net vampire my.domain -Uadministrator --realm=my.domain -d10:
> 
> ...
> tevent: Destroying timer event 0x24fa0c0 "ldap_request_timeout"
> tevent: Added timed event "composite_trigger": 0x24f06f0
> tevent: Destroying timer event 0x24f06f0 "composite_trigger"
> libnet_BecomeDC() failed - NT_STATUS_INVALID_PARAMETER_MIX
> Vampire of domain failed: NT_STATUS_INVALID_PARAMETER_MIX
> 
> 
> krb5.conf:
> [libdefaults]
> default_realm = MY.DOMAIN
> dns_lookup_realm = true
> dns_lookup_kdc = true
> 
> I have followed excatly the tutorial:
> http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC
> 
> kinit administrator is working and not time issues between the servers.
> 
> Please advise,
> Thanks

G'day,

I'll need more than the last lines of the log before I can give any
clues, sorry.

Either get it at a level that you are happy to mail to the list, or send
the lot to me privately.

Andrew Bartlett

-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Samba Developer, Cisco Inc.



signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Re: [Samba] Samba4 join existing domain

2010-06-11 Thread George Lazar

Hi,

I've got a similar issue when I'm trying to add Samba 4 alpha12 (latest git)
as BDC.
PDC is another Samba4alpha12 running well but when I'm trying to add a BDC:

###
./bin/net vampire my.domain -Uadministrator --realm=my.domain -d10:

...
tevent: Destroying timer event 0x24fa0c0 "ldap_request_timeout"
tevent: Added timed event "composite_trigger": 0x24f06f0
tevent: Destroying timer event 0x24f06f0 "composite_trigger"
libnet_BecomeDC() failed - NT_STATUS_INVALID_PARAMETER_MIX
Vampire of domain failed: NT_STATUS_INVALID_PARAMETER_MIX


krb5.conf:
[libdefaults]
default_realm = MY.DOMAIN
dns_lookup_realm = true
dns_lookup_kdc = true

I have followed excatly the tutorial:
http://wiki.samba.org/index.php/Samba4/HOWTO/Join_a_domain_as_a_DC

kinit administrator is working and not time issues between the servers.

Please advise,
Thanks


Andreas Jacobi wrote:
> 
> Hello,
> 
> I get this error message when i try to join my Samba4 server to an
> existing
> domain:
> 
> """
>>./net vampire domain.local -Uadmin --realm=domain.local
> Password for [WORKGROUP\admin]:
> Become DC [(null)] of Domain[DOMAIN]/[domain.local]
> Promotion Partner is Server[dc1.domain.local] from
> Site[Default-First-Site-Name]
> Options:crossRef behavior_version[2]
> schema object_version[30]
> domain behavior_version[2]
> domain w2k3_update_revision[8]
> Failed to bind uuid "uuid-number" - NT_STATUS_INVALID_PARAMETER
> libnet_BecomeDC() failed - NT_STATUS_INVALID_PARAMETER
> Vampire of domain failed: NT_STATUS_INVALID_PARAMETER
> return code = -1
> """
> 
> The primary DC is a Windows Server 2003 and it also acts as DNS server.
> 
> What could be the cause of this? Has it something to do with me using
> Windows as DNS server?
> 
> 
> Regards Andreas
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Samba4-join-existing-domain-tp27930446p28854943.html
Sent from the Samba - General mailing list archive at Nabble.com.

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


Re: [Samba] Samba4 join existing domain

2010-03-23 Thread Andreas Jacobi
I got the DNS resolv working. I edited /etc/nsswitch.conf and moved "dns"
further to the left in the list, before it was just right to
[NOTFOUND=return].

hosts:  files dns mdns4_minimal [NOTFOUND=return] mdns4


Regards Andreas



2010/3/22 Andreas Jacobi 

> Ok I tried some settings in krb5.conf and I got it to work. I had to
> specify the ip address of the kdc and not fqdn.
> Seems there is something wrong with my windows dns. Do you need to do
> anything special with windows dns to get it to work with linux and samba?
> As it is now I have only installed it and the dc service on the same
> windows computer, no other configuration.
>
>
> Regards Andreas
>
> 2010/3/21 Andrew Bartlett 
>
> On Wed, 2010-03-17 at 12:05 +0100, Andreas Jacobi wrote:
>> > Hello,
>> >
>> > I get this error message when i try to join my Samba4 server to an
>> existing
>> > domain:
>> >
>> > """
>> > >./net vampire domain.local -Uadmin --realm=domain.local
>> > Password for [WORKGROUP\admin]:
>> > Become DC [(null)] of Domain[DOMAIN]/[domain.local]
>> > Promotion Partner is Server[dc1.domain.local] from
>> > Site[Default-First-Site-Name]
>> > Options:crossRef behavior_version[2]
>> > schema object_version[30]
>> > domain behavior_version[2]
>> > domain w2k3_update_revision[8]
>> > Failed to bind uuid "uuid-number" - NT_STATUS_INVALID_PARAMETER
>> > libnet_BecomeDC() failed - NT_STATUS_INVALID_PARAMETER
>> > Vampire of domain failed: NT_STATUS_INVALID_PARAMETER
>> > return code = -1
>> > """
>> >
>> > The primary DC is a Windows Server 2003 and it also acts as DNS server.
>> >
>> > What could be the cause of this? Has it something to do with me using
>> > Windows as DNS server?
>>
>> I think that you don't have your /etc/krb5.conf set up correctly.
>> Ensure that:
>>
>> [libdefaults]
>>  default_realm = DOMAIN.LOCAL
>>  dns_lookup_realm = true
>>  dns_lookup_kdc = true
>>
>> is set, and then try a 'kinit administrator' to check that this works
>> first.
>>
>> Also perhaps turn up the debug level (add -d3 for example).
>>
>> Andrew Bartlett
>> --
>> Andrew Bartlett
>> http://samba.org/~abartlet/ 
>> Authentication Developer, Samba Team   http://samba.org
>> Samba Developer, Cisco Inc.
>>
>
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4 join existing domain

2010-03-22 Thread Andreas Jacobi
Ok I tried some settings in krb5.conf and I got it to work. I had to specify
the ip address of the kdc and not fqdn.
Seems there is something wrong with my windows dns. Do you need to do
anything special with windows dns to get it to work with linux and samba?
As it is now I have only installed it and the dc service on the same windows
computer, no other configuration.


Regards Andreas

2010/3/21 Andrew Bartlett 

> On Wed, 2010-03-17 at 12:05 +0100, Andreas Jacobi wrote:
> > Hello,
> >
> > I get this error message when i try to join my Samba4 server to an
> existing
> > domain:
> >
> > """
> > >./net vampire domain.local -Uadmin --realm=domain.local
> > Password for [WORKGROUP\admin]:
> > Become DC [(null)] of Domain[DOMAIN]/[domain.local]
> > Promotion Partner is Server[dc1.domain.local] from
> > Site[Default-First-Site-Name]
> > Options:crossRef behavior_version[2]
> > schema object_version[30]
> > domain behavior_version[2]
> > domain w2k3_update_revision[8]
> > Failed to bind uuid "uuid-number" - NT_STATUS_INVALID_PARAMETER
> > libnet_BecomeDC() failed - NT_STATUS_INVALID_PARAMETER
> > Vampire of domain failed: NT_STATUS_INVALID_PARAMETER
> > return code = -1
> > """
> >
> > The primary DC is a Windows Server 2003 and it also acts as DNS server.
> >
> > What could be the cause of this? Has it something to do with me using
> > Windows as DNS server?
>
> I think that you don't have your /etc/krb5.conf set up correctly.
> Ensure that:
>
> [libdefaults]
>  default_realm = DOMAIN.LOCAL
>  dns_lookup_realm = true
>  dns_lookup_kdc = true
>
> is set, and then try a 'kinit administrator' to check that this works
> first.
>
> Also perhaps turn up the debug level (add -d3 for example).
>
> Andrew Bartlett
> --
> Andrew Bartlett
> http://samba.org/~abartlet/
> Authentication Developer, Samba Team   http://samba.org
> Samba Developer, Cisco Inc.
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Samba4 join existing domain

2010-03-21 Thread Andrew Bartlett
On Wed, 2010-03-17 at 12:05 +0100, Andreas Jacobi wrote:
> Hello,
> 
> I get this error message when i try to join my Samba4 server to an existing
> domain:
> 
> """
> >./net vampire domain.local -Uadmin --realm=domain.local
> Password for [WORKGROUP\admin]:
> Become DC [(null)] of Domain[DOMAIN]/[domain.local]
> Promotion Partner is Server[dc1.domain.local] from
> Site[Default-First-Site-Name]
> Options:crossRef behavior_version[2]
> schema object_version[30]
> domain behavior_version[2]
> domain w2k3_update_revision[8]
> Failed to bind uuid "uuid-number" - NT_STATUS_INVALID_PARAMETER
> libnet_BecomeDC() failed - NT_STATUS_INVALID_PARAMETER
> Vampire of domain failed: NT_STATUS_INVALID_PARAMETER
> return code = -1
> """
> 
> The primary DC is a Windows Server 2003 and it also acts as DNS server.
> 
> What could be the cause of this? Has it something to do with me using
> Windows as DNS server?

I think that you don't have your /etc/krb5.conf set up correctly.
Ensure that:

[libdefaults]
 default_realm = DOMAIN.LOCAL
 dns_lookup_realm = true
 dns_lookup_kdc = true

is set, and then try a 'kinit administrator' to check that this works
first. 

Also perhaps turn up the debug level (add -d3 for example). 

Andrew Bartlett
-- 
Andrew Bartletthttp://samba.org/~abartlet/
Authentication Developer, Samba Team   http://samba.org
Samba Developer, Cisco Inc.


signature.asc
Description: This is a digitally signed message part
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

[Samba] Samba4 join existing domain

2010-03-17 Thread Andreas Jacobi
Hello,

I get this error message when i try to join my Samba4 server to an existing
domain:

"""
>./net vampire domain.local -Uadmin --realm=domain.local
Password for [WORKGROUP\admin]:
Become DC [(null)] of Domain[DOMAIN]/[domain.local]
Promotion Partner is Server[dc1.domain.local] from
Site[Default-First-Site-Name]
Options:crossRef behavior_version[2]
schema object_version[30]
domain behavior_version[2]
domain w2k3_update_revision[8]
Failed to bind uuid "uuid-number" - NT_STATUS_INVALID_PARAMETER
libnet_BecomeDC() failed - NT_STATUS_INVALID_PARAMETER
Vampire of domain failed: NT_STATUS_INVALID_PARAMETER
return code = -1
"""

The primary DC is a Windows Server 2003 and it also acts as DNS server.

What could be the cause of this? Has it something to do with me using
Windows as DNS server?


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