[Samba] DC IP address change

2013-06-10 Thread Saad Benateigha
Hello: 
I have been using a test network for testing Samba 4 
Everything worked OK using 192.168.1.20 for DC 
When I changed the IP to another one in a different subnet 
I modified the following: 

* The hosts file 
* Network interfaces 
* IP forwarders 


I can access internet, I can ping the DC with the changed IP address 
But when I run 
host -t A samba.samdom.example.com.  //changing the appropriate host and domain 

I still get the old IP 192.168.1.120 
What am I missing 

Please help 

SHB 




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


[Samba] Fwd: DC IP address change

2013-06-10 Thread Saad Benateigha
I am using Samba 4.0.6 
Correction : the old IP is 192.168.1.20 

Thank you 
SHB 

- Forwarded Message -

From: Saad Benateigha sbenatei...@geomega.com 
To: samba@lists.samba.org 
Sent: Monday, June 10, 2013 1:30:17 PM 
Subject: DC IP address change 


Hello: 
I have been using a test network for testing Samba 4 
Everything worked OK using 192.168.1.20 for DC 
When I changed the IP to another one in a different subnet 
I modified the following: 

* The hosts file 
* Network interfaces 
* IP forwarders 


I can access internet, I can ping the DC with the changed IP address 
But when I run 
host -t A samba.samdom.example.com.  //changing the appropriate host and domain 

I still get the old IP 192.168.1.120 
What am I missing 

Please help 

SHB 





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


Re: [Samba] Fwd: DC IP address change

2013-06-10 Thread Saad Benateigha

The server name did not change, Just the IP address 
and the appropriate subnet addresses. 
- Original Message -

From: JUAN EDUARDO DELGADILLO CHAVEZ j...@idec.edu.mx 
To: Saad Benateigha sbenatei...@geomega.com 
Sent: Monday, June 10, 2013 2:13:10 PM 
Subject: RE: [Samba] Fwd: DC IP address change 

[Samba] Fwd: DC IP address change 

Did you modify your name server? May be bind? 



Atentamente 

cid:image001.jpg@01CE65ED.043BDE50



De: samba-boun...@lists.samba.org [mailto: samba-boun...@lists.samba.org ] En 
nombre de Saad Benateigha 
Enviado el: lunes, 10 de junio de 2013 02:38 p.m. 
Para: samba-boun...@lists.samba.org 
CC: samba@lists.samba.org 
Asunto: [Samba] Fwd: DC IP address change 

I am using Samba 4.0.6 
Correction : the old IP is 192.168.1.20 

Thank you 
SHB 

- Forwarded Message - 

From: Saad Benateigha  sbenatei...@geomega.com  
To: samba@lists.samba.org 
Sent: Monday, June 10, 2013 1:30:17 PM 
Subject: DC IP address change 


Hello: 
I have been using a test network for testing Samba 4 
Everything worked OK using 192.168.1.20 for DC 
When I changed the IP to another one in a different subnet 
I modified the following: 

* The hosts file 
* Network interfaces 
* IP forwarders 


I can access internet, I can ping the DC with the changed IP address 
But when I run 
host -t A samba.samdom.example.com . //changing the appropriate host and domain 

I still get the old IP 192.168.1.120 
What am I missing 

Please help 

SHB 





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


__ Información de ESET Endpoint Antivirus, versión de la base de datos 
de firmas de virus 8434 (20130610) __ 

El mensaje fue verificado por ESET Endpoint Antivirus. 

http://www.eset-la.com 


__ Información de ESET Endpoint Antivirus, versión de la base de datos 
de firmas de virus 8434 (20130610) __ 

El mensaje fue verificado por ESET Endpoint Antivirus. 

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

Re: [Samba] Fwd: creating posgres service principal

2013-03-13 Thread Saad Benateigha
I dropped the @REALM 
and I still get the uncaught exception 

I am using Samba 4.0.3 

Help! 

Saad 
- Original Message -

From: Andrew Bartlett abart...@samba.org 
To: Saad Benateigha sbenatei...@geomega.com 
Cc: samba@lists.samba.org 
Sent: Tuesday, March 12, 2013 10:49:09 PM 
Subject: Re: [Samba] Fwd: creating posgres service principal 

On Tue, 2013-03-12 at 15:12 -0600, Saad Benateigha wrote: 
 Jsut in case 
 
 - Forwarded Message - 
 
 From: Saad Benateigha sbenatei...@geomega.com 
 To: samba-boun...@lists.samba.org 
 Sent: Tuesday, March 12, 2013 3:11:11 PM 
 Subject: creating posgres service principal 
 
 
 Hello! 
 
 I have found some information in the Samba and beyond 
 And this what I did 
 # samba-tool user create postgres-servername 
 # samba-tool spn add postgres/servername.domain_name@REALM 
 postgres-servername 
 
 The following command: 
 # samba-tool domain exportkeytab /root/krb5.keytab 
 --principal=postgres/servername.domain_name@REALM 
 
 generates the following exception 
 
 ERROR(runtime): uncaught exception - Key table entry not found 
 File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py, 
 line 175, in _run 
 return self.run(*args, **kwargs) 
 File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py, 
 line 103, in run 
 net.export_keytab(keytab=keytab, principal=principal) 
 
 What did I do? 
 
 by the way 
 When I check list of the service principal(s) for the user postgres-servname, 
 the principal mentioned above does belone the user psotgres-servername 
 I ran the following command # sam-tool spn list postgres-servername 
 Also I can export the key tab for the the default principal krbtgt 
 using the following command 
 # samba-tool domain exportkeytab /root/outfile.keytab 
 
 Is the switch --principal working? 

Just drop the @REALM, and it should work fine. 

Andrew Bartlett 

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



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


[Samba] Fwd: Fwd: creating posgres service principal

2013-03-13 Thread Saad Benateigha


- Forwarded Message -

From: Saad Benateigha sbenatei...@geomega.com 
To: Kaito Kumashiro kumashiro.ka...@gmail.com 
Sent: Wednesday, March 13, 2013 8:00:43 AM 
Subject: Re: [Samba] Fwd: creating posgres service principal 


I did that 
Using ADSI 
Attribute Value 
sAMAccountName postgres-servername 
servicePrincipalName postgres/servername.domain@REALM 
userPrincipalName postgres-servername@domain 

Are there any other attributes that I missed 

- Forwarded Message -

From: Kaito Kumashiro kumashiro.ka...@gmail.com 
To: Saad Benateigha sbenatei...@geomega.com 
Sent: Wednesday, March 13, 2013 7:49:47 AM 
Subject: Re: [Samba] Fwd: creating posgres service principal 


On Tue, Mar 12, 2013 at 10:12 PM, Saad Benateigha  sbenatei...@geomega.com  
wrote: 




ERROR(runtime): uncaught exception - Key table entry not found 
File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py, 
line 175, in _run 
return self.run(*args, **kwargs) 
File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py, 
line 103, in run 
net.export_keytab(keytab=keytab, principal=principal) 

What did I do? 



It looks like this SPN is not attached to any principal. Make sure that 
postgres-servername really has postgres/servername.domain_ name@REALM SPN 
defined. 
You can check it with samba-tool spn list postgres-servername or in ADSI 
Editor. Also, double-check for any typos. 



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


[Samba] Fwd: creating posgres service principal

2013-03-12 Thread Saad Benateigha
Jsut in case 

- Forwarded Message -

From: Saad Benateigha sbenatei...@geomega.com 
To: samba-boun...@lists.samba.org 
Sent: Tuesday, March 12, 2013 3:11:11 PM 
Subject: creating posgres service principal 


Hello! 

I have found some information in the Samba and beyond 
And this what I did 
# samba-tool user create postgres-servername 
# samba-tool spn add postgres/servername.domain_name@REALM postgres-servername 

The following command: 
# samba-tool domain exportkeytab /root/krb5.keytab 
--principal=postgres/servername.domain_name@REALM 

generates the following exception 

ERROR(runtime): uncaught exception - Key table entry not found 
File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py, 
line 175, in _run 
return self.run(*args, **kwargs) 
File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py, 
line 103, in run 
net.export_keytab(keytab=keytab, principal=principal) 

What did I do? 

by the way 
When I check list of the service principal(s) for the user postgres-servname, 
the principal mentioned above does belone the user psotgres-servername 
I ran the following command # sam-tool spn list postgres-servername 
Also I can export the key tab for the the default principal krbtgt 
using the following command 
# samba-tool domain exportkeytab /root/outfile.keytab 

Is the switch --principal working? 


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


[Samba] Fwd: kerberos

2013-03-09 Thread Saad Benateigha
Sorry 

- Forwarded Message -

From: Saad Benateigha sbenatei...@geomega.com 
To: Andrew Bartlett abart...@samba.org 
Sent: Friday, March 8, 2013 4:09:36 PM 
Subject: Re: [Samba] kerberos 


Andrew: 
I have found some information in the Samba and beyond 
And this what I did 
# samba-tool user create postgres-servername 
# samba-tool spn add postgres/servername.domain_name@REALM postgres-servername 

The following command: 
# samba-tool domain exportkeytab /root/krb5.keytab 
--principal=postgres/servername.domain_name@REALM 

generates the following exception 

ERROR(runtime): uncaught exception - Key table entry not found 
File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py, 
line 175, in _run 
return self.run(*args, **kwargs) 
File /usr/local/samba/lib/python2.7/site-packages/samba/netcmd/domain.py, 
line 103, in run 
net.export_keytab(keytab=keytab, principal=principal) 

What did I do? 

Saad 

- Forwarded Message -

From: Saad Benateigha sbenatei...@geomega.com 
To: Ricky Nance ricky.na...@weaubleau.k12.mo.us 
Sent: Friday, March 8, 2013 1:08:34 PM 
Subject: Re: [Samba] kerberos 


Thank you for that 
I was wondering if anyone has created a service principle for postgresql? 

S. 

- Forwarded Message -

From: Ricky Nance ricky.na...@weaubleau.k12.mo.us 
To: Andrew Bartlett abart...@samba.org 
Cc: Saad Benateigha sbenatei...@geomega.com, samba@lists.samba.org 
Sent: Friday, March 8, 2013 5:37:36 AM 
Subject: Re: [Samba] kerberos 


https://wiki.samba.org/index.php/Samba_AD_DC_HOWTO_TEMP#Samba_AD_management may 
be of help. 



Ricky 



On Fri, Mar 8, 2013 at 12:53 AM, Andrew Bartlett  abart...@samba.org  wrote: 



On Wed, 2013-03-06 at 14:18 -0700, Saad Benateigha wrote: 
 I am having a problem using kerberos 
 
 I have installed samba4, and it appears to work correctly 
 However I want to create a service principle 
 and every time I try to use 
 kadmin -p admin 
 I get this error: 
 Database error! Required KADM5 principal missing while initializing kadmin 
 interface 
 
 What am I doing wrong? 
 Is there another command since Samba4 has it own kerberos? 
 Please shed some light on my dilemma. 

Correct, you cannot use kamin against a Samba AD DC. We do not provide 
this interface. 

See samba-tool to managet your AD users. 

Andrew Bartlett 

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




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






-- 





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


[Samba] kerberos

2013-03-06 Thread Saad Benateigha
I am having a problem using kerberos 

I have installed samba4, and it appears to work correctly 
However I want to create a service principle 
and every time I try to use 
kadmin -p admin 
I get this error: 
Database error! Required KADM5 principal missing while initializing kadmin 
interface 

What am I doing wrong? 
Is there another command since Samba4 has it own kerberos? 
Please shed some light on my dilemma. 

Thank you 
Saad 

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