[Samba] Re: Samba Server not using domain users as samba users

Tim Holmes tholmes at mcaschool.net
Wed Jul 20 20:36:14 GMT 2005



> -----Original Message-----
> From: M Maki [mailto:mmaki at adelphia.net]
> Sent: Wednesday, July 20, 2005 11:42 AM
> To: Tim Holmes
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] Re: Samba Server not using domain users as samba
> users
> 
>  > When I run the net ads join -U command, I get the following error
>  >
>  > [root at srvweb-01 ~]# net ads join -U administrator administrator's
>  > password:
>  > [2005/07/20 10:57:26, 0] libads/ldap.c:ads_join_realm(1640)
>  >   ads_add_machine_acct (srvweb-01): Type or value exists
>  > ads_join_realm: Type or value exists
>  >
>  > This immediately says to me that the machine is already joined to
the
>  > domain, but when I check the domain machines list, it is not there
>  > that I can find.
> 
> I always add my computer accounts to AD before I join them. You might
> want to give that a try though it sounds like that is not your
problem.
> 
> Mike

[Tim Holmes] 

Ok -- one other slight problem -- it seems that I have some sort of a
rogue record in my ADS Tree or something.  For whatever reason, I cannot
join my server as srvweb-01,  so as a simple solution, I changed the
host name on the server to srvweb-02.

I changed it in the system-config-network applet, in the hosts file, and
checked the krb5.conf and smb.conf files to make sure it was not
referenced in there anywhere.

Then I restarted the machine, so all the new settings were applied, also
changed the DNS and reloaded the zone,  This machine has a static
address, so DHCP should be a non issue

But when I try to join the domain, it still fails -- the routine worked
perfectly on my test server, it joined perfectly on the first try.  I
suspect that the old host name (srvweb-01) is registered someplace that
I don't know about, but I cannot seem to find it -- any suggestions
where I should be looking?

Thanks
Timothy A. Holmes
 
IT Manager / Webmaster / Science Teacher
 
Medina Christian Academy
A Higher Standard...
 
Jeremiah 33:3
Jeremiah 29:11
Esther 4:14



More information about the samba mailing list