-   Linux - Networking (
-   -   SAMBA PDC add user script error (

hitotito 04-22-2005 08:26 PM

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


ahwkong 04-22-2005 09:45 PM

I think you have to add the $ to the machine yourself.

-M in useradd means: "The user home directory will not be created, even if the system wide settings from /etc/login.defs is to create home dirs."

this command is to create user in the linux system. Not to be confused with smbpasswd

All times are GMT -5. The time now is 11:47 PM.