Gerald Carter cartegw at Eng.Auburn.EDU
Fri Feb 26 14:22:44 GMT 1999

Mike Black wrote:
> Any reason smbpasswd couldn't be smart enough to strip off 
> the $??  Sounds like this will be a common problem.
> Just do:
>     strtok(machinename,"$");

It does.

           if (user_name[strlen(user_name)-1] == '$') {
                    user_name[strlen(user_name)-1] = 0;

The problem was that he was trying to add a machine account
without specifying the -a flag.  Therefore the message about 
not being able to locate the entry.

                            Gerald ( Jerry ) Carter	
Engineering Network Services                           Auburn University 
jerry at   

       "...a hundred billion castaways looking for a home."
                                  - Sting "Message in a Bottle" ( 1979 )

More information about the samba-ntdom mailing list