[Samba] Re: Joining a Samba 3 domain (ALMOST SOLVED)
Marcelo Gonçalves Diotto
marcelo at ceset.unicamp.br
Thu Dec 15 18:08:34 GMT 2005
I've almost solved my problem.
First of all my LDAP tree is:
ou = Computers
ou = Users
ou = Groups
In my /etc/ldap.conf i've this:
When i do a "getent passwd" i get only the itens under "ou=Users"
and my /etc/passwd (i believe the machines account should appear too).
And my "net rpc join -U root -w DOMAIN" i get:
Create of workstation account failed
Unable to join domain INTRA.
(but when i look in ldap a machine acount was created)
I tried to move the machine account tho the "ou=Users" (so my
"getent passwd" also shows the machine account), and when i did "net rpc
join -U root -w DOMAIN" i got:
"Joined domain DOMAIN"
What an awful thing!!!
* So if i put both computers and users inside "ou=Users" it will be
ok, but........ my LDAP tree would be a mess!!!
Can someone helps me??? PLEASE!! :D
Marcelo Gonçalves Diotto wrote:
> I've used the idealx tutorial
> (http://samba.idealx.org/smbldap-howto.en.html), almost everything is
> fine, i can access the home directories and view shares, but when i
> try to join the domain i get the error:
> "while attempting to join the domain DOMAIN the user could not be found"
> When i look in ldap the machine acount was created and in
> /var/log/samba there is no error log (it creates e logfile for the
> machine, but it is kept empty).
> Can someone help us??
> Mike wrote:
>> I have followed the Samba 3 by Example Chapter 2 small office network
>> to the letter. I can connect to server shares using the root user and
>> pw but when I try to join the domain I still get the message " while
>> attempting to join the domain xxxx the user could not be found"
>> Thanks for any help you may be able to give
Marcelo Gonçalves Diotto e-mail: marcelo at ceset.unicamp.br
Analista de Suporte Computacional / Administrador de Redes
Centro Superior de Educação Tecnológica - CESET Fone: (19) 3404-7270
Universidade Estadual de Campinas - UNICAMP Fax: (19) 3404-7164
"Se um dia tiver que escolher entre o mundo e o amor...
Lembre-se: Se escolher o mundo, ficará sem o amor,
mas se escolher o amor, com ele conquistará o mundo!"
More information about the samba