Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
General Linux > Samba > Issue <<  64 of 98 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 2349
Last update: 07-01-04
Issue:
How do I make a machine a domain member on my Linux Primary Domain Controller (PDC)?
Resolution:
First you should create a group that all of your machine accounts will be members of. For example:

groupadd machines

Then enter the following command to add a machine account. Replace machine_name with the name of the machine you wish to add, and remember that the machine name must include the $ at the end.

/usr/sbin/useradd -s /bin/false -d /dev/null -g machines machine_name$

Some systems will not accept the $ as a valid character. If this is the case, add machine_name and then manually edit the /etc/passwd file and add a $ to the end of machine_name.

After this is completed you must create the corresponding samba account for the machine. Do this by entering the following command. Again, replace machine_name with the name of the machine. In this case you do not need to add the $ character.

smbpasswd -a -m machine_name


How well did this entry answer your question?


good wrong incomplete out of date
General Linux > Samba > Issue <<   64  of  98  >>