[Samba] Samba domains with ldap

John H Terpstra jht at samba.org
Fri Nov 4 02:21:18 GMT 2005


Matt,

You need to remove the -a  flag from the add user script entry.

For the rest, suggest you follow chapter 5 of the second edition of the book 
Samba-3 by Example. Please keep me updated on your progress.

Cheers,
John T.

On Tuesday 01 November 2005 07:59, Matt Ingram wrote:
> I've been following the Samba 3 by Example book by John Terpstra and
> having problems getting things to work properly.
>
> Right now when I try to add a computer to the domain I get the attached
> in the log files.  And Windows returns the error message:  "The
> following error occured attempting to join the domain "DEATH": The user
> name could not be found.    The system name, "isdept88" in this case,
> get's added to the ldap, but the system doesn't attach to the domain.
>
> :S  Also attached are some of my config files.  I'm using Samba
>
> 3.0.12-5, Openldap2-2.2.23-6, smbldap-tools 0.8.4.
>
> Thanks in advance for any ideas.
>
> [2005/11/01 09:29:53, 2] lib/interface.c:add_interface(81)
>   added interface ip=192.168.200.1 bcast=192.168.200.255
> nmask=255.255.255.0 [2005/11/01 09:29:53, 2]
> smbd/sesssetup.c:setup_new_vc_session(608) setup_new_vc_session: New VC ==
> 0, if NT4.x compatible we would close all old resources. [2005/11/01
> 09:29:53, 2] smbd/sesssetup.c:setup_new_vc_session(608)
> setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all
> old resources. [2005/11/01 09:29:53, 2]
> auth/auth.c:check_ntlm_password(305)
>   check_ntlm_password:  authentication for user [administrator] -> [root]
> -> [root] succeeded [2005/11/01 09:29:53, 2] lib/access.c:check_access(324)
>   Allowed connection from  (192.168.200.25)
> [2005/11/01 09:29:53, 2] lib/interface.c:add_interface(81)
>   added interface ip=192.168.200.1 bcast=192.168.200.255
> nmask=255.255.255.0 [2005/11/01 09:29:53, 2]
> smbd/reply.c:reply_special(236)
>   netbios connect: name1=PDC             name2=ISDEPT88
> [2005/11/01 09:29:53, 2] smbd/reply.c:reply_special(243)
>   netbios connect: local=pdc remote=isdept88, name type = 0
> [2005/11/01 09:29:53, 2] smbd/server.c:exit_server(609)
>   Closing connections
> [2005/11/01 09:29:54, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2580)
>   Returning domain sid for domain DEATH ->
> S-1-5-21-932451236-683595512-1290266429 [2005/11/01 09:29:55, 2]
> smbd/server.c:exit_server(609)
>   Closing connections


More information about the samba mailing list