LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Join linux machine to windows AD - help (https://www.linuxquestions.org/questions/linux-software-2/join-linux-machine-to-windows-ad-help-617897/)

boney- 02-01-2008 05:12 AM

Join linux machine to windows AD - help
 
Hi,

Im trying to join my linuxmachine to windows AD.

I've joined the AD so far, and can list users and groups with:
wbinfo -u and wbinfo -g.

However wbinfo -a user%password does not work, i get the following:

Code:

plaintext password authentication failed
error code was NT_STATUS_NO SUCH_USER (0x0000064)
error message was: No such user
Could not authenticate user user%password with plaintext password
challenge/respone password authentication succeeded

and when i do gentent passwd i only get the local users and not the ones that are member of the domain.

Any help appreciated!

// boney

waelaltaqi 02-01-2008 10:13 PM

i'm not sure what you setup but you probably need to change the authentication method from plain text to NTLM or Kerberous

Doug52392 02-01-2008 11:14 PM

I've gotten similar error messages trying to get Fedora Linux and OpenSuSE Linux to join Windows Server 2008 domains. I'm still trying to figure out why it won't work though.

boney- 02-04-2008 03:04 AM

solved it by using wbinfo -a MYDOMAIN\\user%password.


Ive done the kinit administrator@MYDOMAIN.SE and verifyed it with klist (i have a ticket)

And ive also joined the domain (net ads join -U administrator@MYDOMAIN.SE)
which worked fine.

wbinfo -u, wbinfo -g, wbinfo -t, wbinfo a MYDOMAIN\\user%password works fine.

but getent passwd shows the local users.

Any help on this is greatly appreciated

// boney

boney- 02-04-2008 05:34 AM

solved

add: winbind use default domain = yes smb.conf and it all works fine.
after i edited a few pam modules i could succesfuly ssh to my linuxmachine using my windows account information.

//boney


All times are GMT -5. The time now is 06:31 AM.