Fail to add the new pc for the domain controller
I was face the problem, when i telnet to Linux server i try to add the new pc for the domain controller, i use the below command.
useradd -g machines -d /dev/null -c "Trusted Machines" -s /bin/false nhc081$ but the error message display unknown group machines. |
Did you get this example from the Samba3-Howto guide?
You may have skipped the part about creating a Unix group for the Machine Trusted Account group. There example used the group "machines" with a GID of 100. Also check on the server, because maybe a different group name is used. Another thing to check, is for a "add machine script =" entry in smb.conf. This entry will be essentially the same as the command you are using to manually add the machine. If you have this script it is better to try to join the domain from the windows machine (using the Domain Administrators password) and let Samba automatically create the Unix/Linux account for the machine. This way you don't have to make sure that you log on right away. I would recommend reading chapter 6 of the Samba 3 Howto and Reference guide. You may have a samba-doc package that supplies it, such as in /usr/share/doc/packages/samba/Samba3-Howto.pdf. On some distro's the samba package supplies a postscript version. Otherwise, go to the Samba.org website and download a copy. |
Quote:
i got 1 more question how to entry in smb.conf in the "add machines script=" can you write to the full script to me? |
Here is an example from a Red Hat 3 configuration that Samba 3: Howto and Reference uses:
Code:
[global] This example is very close to yours. The "-M %u" is a dynamic variable which depends on the machine that is trying to be added. Do you have a "machines" group added? I would again highly recommend reading that chapter in the Samba 3 book. There is a new edition of "Using Samba" out that is very good as well. This book is in the book stores. |
hi!guru...nice to meet u...
How to check whether the group "machines" is exist in the domain? If no exist,how to create the group "machines"? Is that any effect to those existing PC which previously created under group "machines" after create the group "machines"? |
Quote:
Quote:
Quote:
Note that there are other backends that you might use as well. For example, for "security = ad", the "add machine script =" value will use an ldap script instead. |
manually add group "machines"
Can i manually add in the group "machines" in /etc/group?
Any side effect, because "groupadd" command not working.... |
You need to be root to run the command. If you use sudo, precede the command with the directory, as in sudo /sbin/groupadd or sudo /usr/groupadd, whichever the case may be. You can also use the try "locate groupadd" or use your distro's gui "groups & Users" config program. Your distro may call the script something else as well. You will need to read your distro's documentation if "groupadd" isn't available.
Be sure you follow the instructions in the Samba3-Howto or the Samba3-byExample book. There are several steps to configuring a Samba Standalone PDC. Using swat may make the process easier as well. (I thought you had Mandriva in your profile earlier, otherwise this next statement won't make sense) Also, make sure that you have the wizdrake package installed. It may have a wizard for configuring a samba server. |
Network Connection Failed
I have install linux redhat 9.0 to the new PC, but after finish install, i tyr to ping to other PC, no reply at all, WHY?
anyone can help me solve this problem? |
I have install linux redhat 9.0 to the new PC, but after finish install, i tyr to ping to other PC, no reply at all, WHY?
anyone can help me solve this problem? |
All times are GMT -5. The time now is 04:50 PM. |