[Samba] problem to join windows XP hosts to samba-ldap PDC

Hector Blanco white.lists at gmail.com
Mon Mar 17 15:18:20 GMT 2008


Thanks for the hint, Mario, but I don't think that's the problem.

Well... I don't know how it will be for Jim, but in my case, the
"machine" account is created in the Ldap server. When I'm in windows
(2000-Pro in my case) and I try to join the domain, I am prompted for
a "user that has administrator privileges in the domain" (or something
like that). I write "root" as username (root is an Ldap administrator)
and his password. After this, an account for the Windows machine
appears in Ldap... (so it seems that the password for an administrator
is properly set). The thing is that this "machine account" seems to
lack of "something" (As I said in
http://lists.samba.org/archive/samba/2008-February/138860.html ).

Actually, the message that appears in Windows is different depending
of if the user really exists or not:
  > The thing is that
  > everything seems to be fine until in the windows machine a "error
  > window dialog" appears with a very ugly red signal, saying ("username
  > not found"). I think it must be something wrong with the user "root",
  > because if I try a username that is really non-existent (john, for
  > instance) or if I mistype the password, the message that appears in
  > windows is different (in my computer appears in Spanish, but it's
  > something like "session starting error: username not found or wrong
  > password")
[Quoting from: http://lists.samba.org/archive/samba/2008-February/138639.html]

But I'm just a newbie, so I may be wrong in all the concepts I have in
my brain... :S

I'm thinking in adding by hand what is missing in the machine account
(the objectClass: sambaSamAccount and therefore the sambaNTPassword,
sambaPrimaryGroupSID and so on). You can see the difference between a
working samba "machine" and a non-working one (mine, actually :D )in
the first link of this message.

Regards, and thank you again

2008/3/17, FC Mario Patty <fcmario76 at gmail.com>:
> Guys,
>
>  " username or password unknown"
>
>  Did you use the root's samba password? If you don't have one, please create
>  it with smbldap-passwd. If you do have one, try set your wins server in
>  windows to the ip address of your pdc. Then try again to join the pc into
>  the domain. Btw, can you show us your smb.conf?
>
>
>  Regards,
>
> --
>
> To unsubscribe from this list go to the following URL and read the
>  instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list