Hello,
How can I to join for the PDC itself?

net ads join -U root@SCHOOL
[2012/02/12 07:05:19.510351,  0] param/loadparm.c:7504(lp_set_enum_parm)
  WARNING: Ignoring invalid value 'yes ;This defines it as the Primary
Domain Controller' for parameter 'domain master'
Host is not configured as a member server.
Invalid configuration.  Exiting....


 #Domain name
  workgroup = SCHOOL
  #The Server Name
  netbios name = proba
  #server string = Samba
  #Time server, Workstations will set their time by this server
  time server =yes
  passdb backend = tdbsam
  #SECURITY AND LOGIN SETTINGS
  #This must be a user in PDC
  security = domain
  bind interfaces only = yes
  #Windows XP/2000
  encrypt passwords = yes
  #Login in settings.
  domain logons = Yes
  #Error Logs, Comment it out when you in production.
  log level = 3
  #PDC and MASTER BROWSER SETTINGS
  #os level = 64 #Windows for master PDC. Highers windows can get is 32
  preferred master = yes
  #local master = yes
  domain master = yes ;This defines it as the Primary Domain Controller
  #Add delete users on linux and samba (keeps linux and samba accounts
in sync)
  add user script = /usr/sbin/useradd -m %u
  add machine script = /usr/sbin/useradd -s /bin/false/ -d
/var/lib/nobody %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
  #User Profiles and Home directory.
  logon drive = H:

...................................

Reply via email to