[Samba] Re: Problem joining DOMAIN
news.gmane.org
danaf at vtnnv.com
Thu Jan 27 22:42:51 GMT 2005
The LDAP backend is searching for machine accounts in the Users ou. It adds
the Posix account info first, then attempts to find the machine account to
create the samba attributes, but it's looking in the correct ou. I believe
this is fixed in 3.0.11. I have found that by attempting to join the domain
twice in succession it will work the second time.
"Daniel Corbe" <daniel.junkmail at gmail.com> wrote in message
news:cceb89df05012713196cf88718 at mail.gmail.com...
> Can anyone point me in the right direction and/or hit me with a clue bat
> please?
>
> -Daniel
>
>
> On Thu, 27 Jan 2005 12:06:09 -0500, Daniel Corbe
> <daniel.junkmail at gmail.com> wrote:
>> Hello,
>>
>> I'm using LDAP as my passdb backend and I am having a problem joining
>> my machines to the domain.
>>
>> I am running Samba 3.0.10:
>>
>> When I run:
>>
>> [root at core1 samba]# bin/net rpc join -U Administrator%5P4nkm3
>> Create of workstation account failed
>> Unable to join domain VOIP.
>>
>> From the command line, this is what appears in my smbd logs:
>>
>> [2005/01/27 17:14:44, 0] rpc_server/srv_netlog_nt.c:get_md4pw(244)
>> get_md4pw: Workstation VOIP-PDC1$: no account in domain
>>
>> However
>>
>> The workstation account for VOIP-PDC1 acctually DOES get added to the
>> LDAP tree as follows:
>>
>> [root at core1 var]# ldapsearch -D
>> "cn=Manager,dc=voipincorporated,dc=com" -b
>> "dc=voipincorporated,dc=com" -x -W '(uid=VOIP-PDC1$)'
>> Enter LDAP Password:
>> version: 2
>>
>> #
>> # filter: (uid=VOIP-PDC1$)
>> # requesting: ALL
>> #
>>
>> # voip-pdc1$, Computers, smb, voipincorporated, com
>> dn: uid=voip-pdc1$,ou=Computers,o=smb,dc=voipincorporated,dc=com
>> objectClass: top
>> objectClass: inetOrgPerson
>> objectClass: posixAccount
>> cn: voip-pdc1$
>> sn: voip-pdc1$
>> uid: voip-pdc1$
>> uidNumber: 2000
>> gidNumber: 553
>> homeDirectory: /dev/null
>> loginShell: /bin/false
>> description: Computer
>>
>> # search result
>> search: 2
>> result: 0 Success
>>
>> # numResponses: 2
>> # numEntries: 1
>> [root at core1 var]#
>>
>> Can anyone help me or point me in the right direction?
>>
>> Thanks!
>>
>> Regards,
>> Daniel
>>
> --
> 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