Difference between revisions of "Talk:Advanced Samba"
From SME Server
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | == Not documented - remove a machine from domain if you don | + | == Not documented - remove a machine from domain if you don't have access to the machine any-more == |
found on old wiki | found on old wiki |
Latest revision as of 22:46, 27 March 2015
Not documented - remove a machine from domain if you don't have access to the machine any-more
found on old wiki
Problem1: You want to remove a machine from a domain. Problem2: A domain machine account currently exists but the computer has been removed from the domain. You want to reconnect this same computer or you have replaced the computer and want to reconnect to the domain using the same computer (netbios) name.
NOTE: when issued inside samba appends the $ to $machineName to create $machineName$. For instance if the computer netbios name is STATION1 then it becomes station1$. NOTE: uppercase netbios names are converted to lowercase.
STEP 1: To remove a machine from a domain once it is added you may follow these command-line steps:
# /usr/bin/smbpasswd -x $machineName$ # /usr/bin/passwd -d $machineName$ # /usr/sbin/userdel $machineName$ # /sbin/e-smith/db accounts delete $machineName$
I think is worth to be in the wiki further on