I have used winbind with kerberos and samba to connect to an AD server
All though I seem to be able to get a ticket ( kinit works) when I run
net ads join -U
stavros.ioannidis@DIONIC.COM.GR
I get the following error:
Ignoring unknown parameter "winbind seperator"
Enter
stavros.ioannidis@DIONIC.COM.GR's password:
[2008/12/15 19:48:16, 0] passdb/secrets.c:secrets_init(71)
Failed to open /var/lib/samba/secrets.tdb
Failed to join domain: Unable to open secrets database
ANY IDEAS WHY THIS IS HAPPENING.
I am displaying my configuration files
/etc/krb5.conf
[logging]
default = FILE:/var/log/krb5libs.log
kdc = FILE:/var/log/krb5kdc.log
admin_server = FILE:/var/log/kadmind.log
[libdefaults]
ticket_lifetime = 36000
default_realm = DIONIC.COM.GR
default_tgs_enctypes = des3-hmac-sha1 des-cbc-crc
default_tkt_enctypes = des3-hmac-sha1 des-cbc-crc
[realms]
DIONIC.COM.GR = {
kdc = DC1.DIONIC.COM.GR
kdc = DC2.DIONIC.COM.GR
admin_server = DC1.DIONIC.COM.GR
default_domain = DIONIC.COM.GR
}
[domain_realm]
.dionic.com.gr = DIONIC.COM.GR
dionic.com.gr = DIONIC.COM.GR
/etc/samba/smb.conf
[global]
security = ads
netbiosname = STARGATE
realm = DIONIC.COM.GR.nl
password server = DC1.DIONIC.COM.GR
workgroup = DIONIC.COM.GR
idmap uid = 500-100000
idmap gid = 500-100000
winbind seperator = +
winbind enum users = no
winbind enum groups = no
winbind use default domain = yes
idmap uid = 10000-20000
template homedir = /home/%D/%U
template shell = /bin/bash
client use spnego = yes
domain master = no
/etc/ldpa.conf
host 127.0.0.1
base dc=dionic,dc=com,dc=gr
uri ldaps://dc1.dionic.com.gr/
ldap_version 3
binddn cn=stavros_ioannidis,dc=dionic,dc=com,dc=gr
bindpw
rootbinddn cn=stavros.ioannidis,dc=dionic,dc=com,dc=gr
scope sub
pam_password md5
nss_base_passwd dc=dionic,dc=com,dc=gr?sub
nss_base_shadow dc=dionic,dc=com,dc=gr?sub
nss_base_group dc=dionic,dc=com,dc=gr
&(objectCategory=group) (gidnumber=*)
nss_map_objectclass posixAccount User
nss_map_objectclass shadowAccount User
nss_map_objectclass posixGroup Group
nss_map_attribute gecos cn
nss_map_attribute homeDirectory unixHomeDirectory
nss_map_attribute uniqueMember member