automatic adding machines to domain in samba
Cheers foks,
I want to automatically add machines to my domain in samba, and I've added the following line im my smb.conf:
add user script = /usr/sbin/useradd -g machines -d /dev/null -c "machine account" -s /bin/false %m
i've tried with %m and %u , anyway, it didn't make this to work; in win2k, when trying to add a machine to the domain, this error show up:
The user name could not be found.
Any ideas?
Last edited by brasuca; 05-14-2004 at 06:34 AM.
|