RE [Samba] cannot change computer name

2005-10-10 Thread stephane . purnelle
You cannot change the  computer namde direcly, you must disconnect from 
the domain, change the name and reconnect to the domain.
I always use this methode

---
Stéphane PURNELLE [EMAIL PROTECTED]
Service Informatique   Corman S.A.   Tel : 00 32 087/342467

[EMAIL PROTECTED] a écrit sur 
10/10/2005 12:31:37 :

 This is a repeat post . I am waiting to hear from someone about this 
issue.
 please help me resolving this issue.
 
  I have samba PDC configured.
 
  I am unable to change the computer name for any computer . All clients 

  are windows XP pro .
 
  It says access denied. Although i use the same Administrator username 
  and password which i used to join these computers to samba domain. I 
  will really appreciate if some can help me in this .
  thanks  regards
 
  I am using samba-server-3.0.13-2mdk
 
  Here is Global section of my samba conf
 
  [global]
 server string = network Share
 workgroup = NETPDC
 netbios name = freeze
 encrypt passwords = Yes
 smb passwd file = /etc/samba/smbpasswd
 passwd chat = *New*password* %n\n *new*password* %n\n *success*
 passwd program = /usr/bin/passwd %u
 passwd chat debug = yes
 unix password sync = Yes
 log level = 0
 username map = /etc/samba/smbusers
 syslog = 0
 printcap name = CUPS
 show add printer wizard = no
 printing = CUPS
 name resolve order = wins bcast hosts
 add user script = /usr/sbin/useradd -m %u
 delete user script = /usr/sbin/userdel -r %u
 add group script = /usr/sbin/groupadd %g
 delete group script = /usr/sbin/groupdel %g
 add user to group script = /usr/sbin/usermod -G %g %u
 add machine script = /usr/sbin/useradd -s /bin/false -d 
  /dev/null %u
 logon script = scripts\login.bat
 #logon home = \\%L\%U
 #logon drive = X:
 domain logons = Yes
 preferred master =  Yes
 wins support = Yes
 winbind separator = \
 idmap uid = 1-2
 idmap gid = 1-2
  #   directory security mask = 0775
  #   security mask = 0775
  #   create mask = 0775
 directory mode = 0775
 
 
 
 -- 
 To unsubscribe from this list go to the following URL and read the
 instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


RE: [Samba] cannot change computer name

2005-10-10 Thread Louis van Belle
Try the folowing, remove the pc from the domain.
logon localy with administrator and try again.

Does not work ? do the folowing.
Start - Run, type GPEDIT.MSC (enter) 
In the screen you see, klik with right on local computer on the top
en get the properties. 

Here disable both settings for policies.

type Start-run : GPUPDATE  ( enter ) 
and try again. 

!!! DO NOT RENAME COMPUTERS WHEN IN DOMAIN 
!!! IT ALWAYS GIVES PROBLEMS !!!

Louis

-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] Namens aT
Verzonden: maandag 10 oktober 2005 12:32
Aan: samba@lists.samba.org
Onderwerp: [Samba] cannot change computer name

This is a repeat post . I am waiting to hear from someone 
about this issue.
please help me resolving this issue.

 I have samba PDC configured.

 I am unable to change the computer name for any computer . 
All clients 
 are windows XP pro .

 It says access denied. Although i use the same Administrator 
username 
 and password which i used to join these computers to samba domain. I 
 will really appreciate if some can help me in this .
 thanks  regards

 I am using samba-server-3.0.13-2mdk

 Here is Global section of my samba conf

 [global]
server string = network Share
workgroup = NETPDC
netbios name = freeze
encrypt passwords = Yes
smb passwd file = /etc/samba/smbpasswd
passwd chat = *New*password* %n\n *new*password* %n\n 
*success*
passwd program = /usr/bin/passwd %u
passwd chat debug = yes
unix password sync = Yes
log level = 0
username map = /etc/samba/smbusers
syslog = 0
printcap name = CUPS
show add printer wizard = no
printing = CUPS
name resolve order = wins bcast hosts
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = /usr/sbin/useradd -s /bin/false -d 
 /dev/null %u
logon script = scripts\login.bat
#logon home = \\%L\%U
#logon drive = X:
domain logons = Yes
preferred master =  Yes
wins support = Yes
winbind separator = \
idmap uid = 1-2
idmap gid = 1-2
 #   directory security mask = 0775
 #   security mask = 0775
 #   create mask = 0775
directory mode = 0775



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


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