PDA

View Full Version : Samba and Active directory authentication problems


gvmorris
2006-06-09, 11:57 AM CDT
Hi. I am running Fedora Core 4. I am having trouble with using Samba in ADS mode. Samba itself was working fine in security = user mode. I tried to join it to an established Active Directory Domain as a Member server. I was able to join the domain with no problem but authentication is not working properly. I set up the krb5.conf file and winbind is running (not sure if they are correct or not...) . I set up a printer in SMB and am able to access it from my pc with no problem, but I have a logon on the linux box. When I log on a different pc as one of the domain users and try to add the printer or browse the the server it pops up with an logon box. The only logon it recognizes is mine or root. This is a test server so its not critical but I would eventually like to implement it on the domain.

If I run ' kinit administrator@domain.com ' (using my domain name) it asks for a password. After typing in the password it comes up with the following.

kinit(v5): KDC reply did not match expectations while getting initial credentials

Any help would be appreciated. I have searched many threads on many sites to no avail. I am sure it is probably something small but its wearing me out :confused:

ddoctor
2006-06-17, 07:18 AM CDT
I'm having similar problems, but I've hit this specific problem and got around it.

try
kinit administrator@DOMAIN.COM
or
kinit administrator@DOMAIN

Kerberos auth seems to be case-sensitive and likes capitals for its realms. My krb5.conf file is at http://forums.fedoraforum.org/showthread.php?p=552722#post552722 if that helps.