Hi,
I would like to join SLES server to Microsoft Server 2008 Active Directory to enable domain authentication when accessing samba shares. When I run
Code:
net ads join -U administrator
I get the following error
Code:
"Failed to join domain: Improperly formed account name."
I tried the same samba configuration on another server (OpenSuse 11.2) without any problem, so I think it is somehow connected with the Samba version, but I'm not sure. Has anybody experienced this behaviour?
Obtaining Kerberos ticket-granting ticket
Code:
kinit administrator@MYDOMAIN
completed without problem
the package versions on SLES 10 SP2 (x86_64) are following
Code:
samba-3.0.28-0.5
samba-client-3.0.28-0.5
krb5-1.4.3-19.34
krb5-32bit-1.4.3-19.34
krb5-client-1.4.3-19.34
here is the configuration
/etc/samba/smb.conf
Code:
[global]
workgroup = OUR-DOMAIN
security = ads
realm = OUR-DOMAIN
encrypt passwords = true
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
password server = dc.our-domain
[public]
comment = Public Temporary Data
path = /mnt/public
read only = No
/etc/krb5.conf
Code:
[libdefaults]
default_realm = OUR-DOMAIN
[realms]
OUR-DOMAIN = {
kdc = dc.our-domain
admin_server = dc.our-domain
}
[domain_realm]
.OUR-Domain = OUR-DOMAIN
OUR-Domain = OUR-DOMAIN
[logging]
kdc = FILE:/var/log/krb5/krb5kdc.log
admin_server = FILE:/var/log/krb5/kadmind.log
default = SYSLOG:NOTICE:DAEMON
Thanks in advance for for any ideas how to solve that. It would be great if there was a solution without reinstalling the system