[Samba] issue with adding machines to new domain

ryan punt rpunt at good-sam.com
Tue Sep 19 13:50:12 GMT 2006

What privileges does your Domain Admins group have? 

Run 'net rpc rights list "Domain Admins"' and reply with the results.

>>> David Bear <David.Bear at asu.edu> 9/18/2006 6:15:31 PM >>>
I have created a domain controller using samba 3.0.20.

I following howto's from a couple of books and the samba.org site.

I was able to use net rpc vampire to migrate the old nt4 domain user
accounts, machine accounts, and trusts.

However, now when I attempt to use add a new machine to the domain I
receive and error. From windows I get:

"The user name could not be found"

When I look at the samba log file I see

"... running the command useradd .. gave 5" (I've abbreviated the
script since it follows the how tos)

I didn't know what the 'gave 5' meant. I assume it means that useradd
failed. Looking at /etc/passwd does indeed show that there was no
machine account created.

I looked in the man page but I don't see what any documentation on
error codes returned by useradd.

I have run net group map and verified that "Domain Admins" maps to the
unix group ntadmins. The windows users is a member of both "Domain
Admins" and ntadmins.

Where else should I look?

David Bear
phone: 	602-496-0424
fax: 	602-496-0955
College of Public Programs/ASU
University Center Rm 622
411 N Central
Phoenix, AZ 85007-0685
 "Beware the IP portfolio, everyone will be suspect of trespassing"
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba 

-------------- next part --------------

This email transmission and any documents, files or previous

email messages attached to it may contain information that is

confidential or legally privileged. If you are not the intended

recipient, you are hereby notified that any disclosure, copying,

printing, distributing or use of this transmission is strictly

prohibited. If you have received this transmission in error,

please immediately notify the sender by telephone or return

email and delete the original transmission and its attachments

without reading or saving in any manner.

The Evangelical Lutheran Good Samaritan Society.


More information about the samba mailing list