I have a problem with winbind because something is working - and I don't know why. *G*
It's FreeBSD9 with Samba 3.6.7, joined to Active Directory (security=ADS), no(!) special krb5.conf file present, everything is working fine.
But every time I start up winbindd a kerberos ticket (/tmp/krb5cc_0) is created, if I stop winbindd the file is removed:
My Problem is: I have never created a ticket using kinit, I just joined the domain using
Why does winbindd create this _0 ticket? I've never sees this before on any other of my machines...
If I try to do this manually using
the result is:
The principal is "domainadminusername" - but not "myhost$"?
What is the reason for this automagically created ticket and how can I forbid winbindd to do this?
Best regards,
Michael
smb.conf:
It's FreeBSD9 with Samba 3.6.7, joined to Active Directory (security=ADS), no(!) special krb5.conf file present, everything is working fine.
But every time I start up winbindd a kerberos ticket (/tmp/krb5cc_0) is created, if I stop winbindd the file is removed:
Code:
[root@myhost ~/scripts]# klist
Credentials cache: FILE:/tmp/krb5cc_0
Principal: myhost$@mydomain
Issued Expires Principal
Oct 11 16:16:25 Oct 12 02:16:25 krbtgt/mydomain.DE@mydomain
Oct 11 16:16:25 Oct 12 02:16:25 ldap/dc2.mydomain.DE@mydomain
My Problem is: I have never created a ticket using kinit, I just joined the domain using
Code:
net ads join -U domainadminusername
Why does winbindd create this _0 ticket? I've never sees this before on any other of my machines...
If I try to do this manually using
Code:
kinit domainadminusername@mydomain
the result is:
Code:
[root@myhost ~/scripts]# klist
Credentials cache: FILE:/tmp/krb5cc_0
Principal: domainadminusername@mydomain
The principal is "domainadminusername" - but not "myhost$"?
What is the reason for this automagically created ticket and how can I forbid winbindd to do this?
Best regards,
Michael
smb.conf:
Code:
[global]
netbios name = myhost
netbios aliases = myhost-alias
server string = MyServer
bind interfaces only = yes
interfaces = 127.0.0.0/8 em0
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
# use sendfile = yes
# aio read size = 16384
realm = mydomain.de
workgroup = mydomain
security = ads
domain master = no
local master = no
preferred master = no
name resolve order = host wins bcast
allow trusted domains = No
winbind use default domain = no
winbind refresh tickets = yes
winbind offline logon = yes
winbind reconnect delay = 30
winbind cache time = 3600
winbind enum users = no
winbind enum groups = yes
winbind expand groups = 2
winbind nested groups = yes
idmap config *: backend = rid
idmap config *: range = 100000-9000000
idmap config AD: backend = rid
idmap config AD: range = 100000-9000000
template shell = /bin/bash
template homedir = /home/%D/%U
time server = yes
unix charset = utf8
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
syslog only = no
min protocol = NT1
create mask = 0600
directory mask = 0700
log level = 1
unix extensions = no