Re: [Samba] winbind 3.3.6 + windows 2008 ad

2009-07-07 Thread Christoph Kaminski

Christoph Kaminski schrieb:

Hi!

I have a problem with winbind 3.3.6 (debian sid pkg) and windows 2008 ad...

I can Join, I can see the ad users with wbinfo -u but I cant see them 
with getent passwd...


see this errors in the log file:

[2009/07/04 12:44:53,  1] libsmb/clikrb5.c:ads_krb5_mk_req(686)
  ads_krb5_mk_req: krb5_get_credentials failed for beelzeb...@chaos 
(Cannot resolve network address for KDC in requested realm)
[2009/07/04 12:44:53,  1] 
libsmb/cliconnect.c:cli_session_setup_kerberos(624)
  cli_session_setup_kerberos: spnego_gen_negTokenTarg failed: Cannot 
resolve network address for KDC in requested realm


What wrong?

Greetz


No one an idea? :(

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


Re: [Samba] winbind 3.3.6 + windows 2008 ad

2009-07-07 Thread Volker Lendecke
On Tue, Jul 07, 2009 at 12:25:11PM +0200, Christoph Kaminski wrote:
 Christoph Kaminski schrieb:
 Hi!

 I have a problem with winbind 3.3.6 (debian sid pkg) and windows 2008 ad...

 I can Join, I can see the ad users with wbinfo -u but I cant see them  
 with getent passwd...

 see this errors in the log file:

 [2009/07/04 12:44:53,  1] libsmb/clikrb5.c:ads_krb5_mk_req(686)
   ads_krb5_mk_req: krb5_get_credentials failed for beelzeb...@chaos  
 (Cannot resolve network address for KDC in requested realm)
 [2009/07/04 12:44:53,  1]  
 libsmb/cliconnect.c:cli_session_setup_kerberos(624)
   cli_session_setup_kerberos: spnego_gen_negTokenTarg failed: Cannot  
 resolve network address for KDC in requested realm

 What wrong?

 Greetz

 No one an idea? :(

Try to properly set up /etc/krb5.conf.

Volker


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

Re: [Samba] winbind 3.3.6 + windows 2008 ad

2009-07-07 Thread Christoph Kaminski

Volker Lendecke schrieb:


Try to properly set up /etc/krb5.conf.

Volker


Thats my Config, it is wrong somewhere?

[libdefaults] 

default_realm = CHAOS.LOCAL 




# The following krb5.conf variables are only for MIT Kerberos. 

krb4_config = /etc/krb.conf 

krb4_realms = /etc/krb.realms 

kdc_timesync = 1 

ccache_type = 4 

forwardable = true 

proxiable = true 




# The following encryption type specification will be used by MIT 
Kerberos
# if uncommented.  In general, the defaults in the MIT Kerberos code are 

# correct and overriding these specifications only serves to disable new 

# encryption types as they are added, creating interoperability 
problems.
# 

# Thie only time when you might need to uncomment these lines and change 

# the enctypes is if you have local software that will break on ticket 

# caches containing ticket encryption types it doesn't know about (such 
as
# old versions of Sun Java). 




#   default_tgs_enctypes = des3-hmac-sha1 

#   default_tkt_enctypes = des3-hmac-sha1 

#   permitted_enctypes = des3-hmac-sha1 




# The following libdefaults parameters are only for Heimdal Kerberos. 

v4_instance_resolve = false 

v4_name_convert = { 

host = { 

rcmd = host 

ftp = ftp 

} 

plain = { 

something = something-else 

} 

} 

fcc-mit-ticketflags = true 




[realms] 

CHAOS.LOCAL = { 

kdc = beelzebub.chaos.local 

admin_server = beelzebub.chaos.local 

master_kdc = beelzebub.chaos.local 

default_domain = chaos.local 

} 

ATHENA.MIT.EDU = { 

kdc = kerberos.mit.edu:88 

kdc = kerberos-1.mit.edu:88 

kdc = kerberos-2.mit.edu:88 

admin_server = kerberos.mit.edu 

default_domain = mit.edu 

} 

MEDIA-LAB.MIT.EDU = { 

kdc = kerberos.media.mit.edu 

admin_server = kerberos.media.mit.edu 

} 

ZONE.MIT.EDU = { 

kdc = casio.mit.edu 

kdc = seiko.mit.edu 

admin_server = casio.mit.edu 

} 

MOOF.MIT.EDU = { 

kdc = three-headed-dogcow.mit.edu:88 

kdc = three-headed-dogcow-1.mit.edu:88 

admin_server = three-headed-dogcow.mit.edu 

} 

CSAIL.MIT.EDU = { 

kdc = kerberos-1.csail.mit.edu 

kdc = kerberos-2.csail.mit.edu 

admin_server = kerberos.csail.mit.edu 

default_domain = csail.mit.edu 

krb524_server = krb524.csail.mit.edu 

} 

IHTFP.ORG = { 

kdc = kerberos.ihtfp.org 

admin_server = kerberos.ihtfp.org 

} 

GNU.ORG = { 

kdc = kerberos.gnu.org 

kdc = kerberos-2.gnu.org 

kdc = kerberos-3.gnu.org 

admin_server = kerberos.gnu.org 

} 

1TS.ORG = { 

kdc = kerberos.1ts.org 

admin_server = kerberos.1ts.org 

} 

GRATUITOUS.ORG = { 

kdc = kerberos.gratuitous.org 

admin_server = kerberos.gratuitous.org 

} 

DOOMCOM.ORG = { 

kdc = kerberos.doomcom.org 


admin_server = kerberos.doomcom.org
}
ANDREW.CMU.EDU = {
kdc = vice28.fs.andrew.cmu.edu
kdc = vice2.fs.andrew.cmu.edu
kdc = vice11.fs.andrew.cmu.edu
kdc = vice12.fs.andrew.cmu.edu
admin_server = vice28.fs.andrew.cmu.edu
default_domain = andrew.cmu.edu
}
CS.CMU.EDU = {
kdc = kerberos.cs.cmu.edu
kdc = kerberos-2.srv.cs.cmu.edu
admin_server = kerberos.cs.cmu.edu
}
DEMENTIA.ORG = {
kdc = kerberos.dementia.org
kdc = kerberos2.dementia.org
admin_server = kerberos.dementia.org
}
stanford.edu = {
kdc = krb5auth1.stanford.edu
kdc = krb5auth2.stanford.edu
kdc = krb5auth3.stanford.edu
master_kdc = krb5auth1.stanford.edu
admin_server = krb5-admin.stanford.edu
default_domain = stanford.edu
}

[domain_realm]
.chaos.local = CHAOS.LOCAL
chaos.local = CHAOS.LOCAL
.mit.edu = ATHENA.MIT.EDU
mit.edu = ATHENA.MIT.EDU
.media.mit.edu = MEDIA-LAB.MIT.EDU
media.mit.edu = MEDIA-LAB.MIT.EDU
.csail.mit.edu = CSAIL.MIT.EDU
csail.mit.edu = CSAIL.MIT.EDU
.whoi.edu = ATHENA.MIT.EDU

Re: [Samba] winbind 3.3.6 + windows 2008 ad

2009-07-07 Thread Volker Lendecke
On Tue, Jul 07, 2009 at 02:46:02PM +0200, Christoph Kaminski wrote:
 Volker Lendecke schrieb:

 Try to properly set up /etc/krb5.conf.

 Volker

 Thats my Config, it is wrong somewhere?

Looks ok. Sorry, out of ideas then.

Volker


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

Re: [Samba] winbind 3.3.6 + windows 2008 ad

2009-07-07 Thread Christoph Kaminski

James Zuelow schrieb:


Christoph,

Does it work if you put an entry for your DC into /etc/hosts?


no :(

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


Re: [Samba] winbind 3.3.6 + windows 2008 ad

2009-07-07 Thread Norberto Bensa
On Tue, Jul 7, 2009 at 9:46 AM, Christoph Kaminskiman...@gmx.de wrote:
 [realms]
        CHAOS.LOCAL = {
                kdc = beelzebub.chaos.local
                admin_server = beelzebub.chaos.local
                master_kdc = beelzebub.chaos.local
                default_domain = chaos.local

I used to have problems with Ubuntu when my domains ended in .local
and /etc/nsswitch.conf included mdns4 or mdns4_minimal. I don't know
it Debian Sid uses mdns4 but you should check that.

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


[Samba] winbind 3.3.6 + windows 2008 ad

2009-07-04 Thread Christoph Kaminski

Hi!

I have a problem with winbind 3.3.6 (debian sid pkg) and windows 2008 ad...

I can Join, I can see the ad users with wbinfo -u but I cant see them 
with getent passwd...


see this errors in the log file:

[2009/07/04 12:44:53,  1] libsmb/clikrb5.c:ads_krb5_mk_req(686)
  ads_krb5_mk_req: krb5_get_credentials failed for beelzeb...@chaos 
(Cannot resolve network address for KDC in requested realm)
[2009/07/04 12:44:53,  1] 
libsmb/cliconnect.c:cli_session_setup_kerberos(624)
  cli_session_setup_kerberos: spnego_gen_negTokenTarg failed: Cannot 
resolve network address for KDC in requested realm


What wrong?

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


Re: [Samba] winbind 3.3.6 + windows 2008 ad

2009-07-04 Thread Christoph Kaminski

Ah forgotten to paste my config:

[global] 



workgroup   = CHAOS 



realm   = CHAOS.LOCAL 



netbios name= moloch 





  server string   = 
%h file server (Samba %v) 




log file 
 = /var/log/samba/log.%m 

max log size= 1000 



syslog  = 0 



panic action= 
/usr/share/samba/panic-action %d 

security= ADS 



password server = beelzebub.chaos.local 





idmap backend 
 = ad 

idmap uid   = 1-2000 



idmap gid   = 1-2000 



winbind nss info= rfc2307 



winbind refresh tickets = yes 



winbind enum users  = yes 



winbind enum groups = yes 





use kerberos keytab 
 = yes 


interfaces  = br0 lo
bind interfaces only= yes
hosts allow = 127.0.0.0/8 , 
192.168.50.0/24, 2001:6f8:1316:1234/64

template homedir= /home/%D/%U
template shell  = /bin/bash
winbind use default domain  = yes
client use spnego   = yes
client ntlmv2 auth  = yes
encrypt passwords   = true
restrict anonymous  = 2
winbind separator   = \
client schannel = no
socket options  = TCP_NODELAY 
SO_RCVBUF=8192 SO_SNDBUF=8192

unix extensions = no


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