Not, just changing machine name via control panel

2011.07.25 17:04, Gaiseric Vandal rašė:
On 07/25/2011 03:41 AM, Vytautas Kasparavicius wrote:
Hello,
Samba 3.5.8-68 on F15 64bit with all latest updates.
Part of smb.conf file:

set primary group script = /usr/sbin/usermod -g %g %u
add user script = /usr/sbin/useradd -g 100 %u
add group script = /usr/sbin/groupadd %g
add user to group script = /usr/bin/gpasswd -a %u %g
add machine script = /usr/sbin/useradd -d /var/lib/nobody -g 100 -s /bin/false -M %u
delete user script = /usr/sbin/userdel %u -r
delete user from group script = /usr/bin/gpasswd -d %u %g
delete group script = /usr/sbin/groupdel %g
rename user script = /usr/sbin/usermod --login='%unew' '%uold'

I can rename WinXP machines in domain without any problem, but if I try to rename Win7 machine in domain I getting error

"The specified domain either does not exist or could not be contacted"



Are you removing the machine from the domain 1st, then renaming the machine, then rejoining?

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

Reply via email to