SAMBA PDC add user script error
I am pretty new to linux networking.... say about a few weeks.
I've set up DNS and fileserver using SMB, and now trying to configure PDC also using SMB. (Using FC3 with SELinux activated)
Everything went well until the end, where I want to add windows XP Pro Box to my newly configured domain... (say testdomain).
It gave me an error saying:
The user name could not be found.
After looking into the problem, I found out that following command is causing the error in :
add user script = useradd -d /dev/null -g 100 -s /bin/false -M testmachine
This should add :
instead it leaves the "$" out, look like
Because of this error, I cannot add machine unless I edit passwd file.
what is the right command to add Machine ID into passwd file?
Thanks in advance