[Samba] Unable to add computer to domain

Craig White craigwhite at azapple.com
Sun Mar 12 17:24:57 GMT 2006


I'm going to ignore other users problems since they may or may not have
similarities to your issues.

Can you actually connect to your LDAP server from the command line?

Can you actually connect to your LDAP server from the command line with
'write' permissions as the user and parameters as indicated within
smb.conf ?

Can you actually connect to your LDAP server from the command line with
'write' permissions as the user and parameters as indicated within
smbldap-tools_bind.conf ?

Craig

On Sun, 2006-03-12 at 10:57 -0600, Wesley Hobbie wrote:
> Ok, I did not know that.  I modified the two files in the /etc/smbldap-tools
> folder, although I am still getting the same error.
> 
> I looked at the Samba archive for March and I notice some other people seem
> to be having the same issue.
> March 2 - Bevan Agard
> March 6 - Hakan BAYINDIR
> 
> I try to add my Windows 2003 Server to the domain and I get an error that
> the user name could not be found.  That is when I tried to manually execute
> the command that Samba is instructed to use when adding a machine, which is
> when I got the error about it cannot contact the LDAP server.
> 
> -----Original Message-----
> From: Craig White [mailto:craigwhite at azapple.com] 
> Sent: Saturday, March 11, 2006 11:35 AM
> To: samba at lists.samba.org
> Subject: Re: [Samba] Unable to add computer to domain
> 
> 
> On Sat, 2006-03-11 at 11:10 -0600, Wesley Hobbie wrote:
> > I have an OpenLDAP backend, Samba knows how to talk to it, my Samba 
> > users are stored in LDAP and file shares work fine authenticating to 
> > the LDAP server. I tried executing smbldap-useradd -w server02 on the 
> > command-line and got the following error:
> > failed to perform search; Can't contact LDAP server at
> > /usr/lib/perl5/vendor_perl/5.8.7/smbldap_tools.pm line 362, <DATA> line
> 283.
> > Error looking for next uid at
> > /usr/lib/perl5/vendor_perl/5.8.7/smbldap_tools.pm line 993, <DATA> line
> 283.
> >  
> > Anyone have any ideas?
> ----
> sounds as though you've been using tools other than smbldap to setup user
> accounts, etc.
> 
> smbldap has to be configured to talk to your LDAP server if you expect it to
> work.
> 
> depending upon which version of smbldap you are using, your config files
> will be in various places but I think the current place is
> /etc/smbldap-tools directory these days.
> 
> Craig
> 
> 
> 



More information about the samba mailing list