Difference between revisions of "Talk:Advanced Samba"

From SME Server
Jump to navigationJump to search
m (Added heading for first comment)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
==Server Roles==
+
== Not documented - remove a machine from domain if you don't have access to the machine any-more  ==
You have ''Primary Domain Controller'' as 5.2 under ''Configure Server Roles'' but this role does not appear in the description. Is this about to be edited? --[[User:Ente|Ente]] 13:39, 13 October 2008 (UTC)
 
  
== Install necessary patched packages ==
+
found on old wiki
  
Maybe this needs to be clarified? Which of these packages are needed? All of the ones in the linked directory or the ones in the ''patches/'' folder? --[[User:Ente|Ente]] 13:45, 13 October 2008 (UTC)
+
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
 +
 
 +
--[[User:Larieu|Larieu]] ([[User talk:Larieu|talk]]) 22:46, 27 March 2015 (CET)

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

--Larieu (talk) 22:46, 27 March 2015 (CET)