Teman-teman,
Saya ingin membuat PDC (mydomain) di Fedora Core 1 menggunakan SAMBA default di
Fedora (versi 3.0.0-15).
Sebuah PC Client Win2K sudah bisa join ke domain mydomain. Problem muncul ketika
ingin logon ke PDC, muncul error "The system cannot log you in to this domain
because the system's computer primary domain is missing or the password on that
account is incorrect. " Padahal sudah menggunakan user Linux dan user SAMBA.

File smb.conf-nya:

#======================= Global Settings =====================================
[global]

admin users = @sysadmin
printer admin = @sysadmin
printing = lprng

addprinter command = /usr/bin/addprinter
domain admin group = @sysadmin

# Making a machine account "On theFly"
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
add user script = /usr/sbin/useradd -g machines -c CompAccount -d /dev/null -s
/bin/false %m$


   workgroup = SMBWCS

   server string = Samba Server

;   hosts allow = 192.168.1. 192.168.2. 127.


   printcap name = /etc/printcap
   load printers = yes

;   printing = bsd

  guest account = nobody

   log file = /var/log/samba/%m.log

   max log size = 0

   security = user
;   password server = <NT-Server-Name>

;  password level = 8
;  username level = 8

  encrypt passwords = yes
;  smb passwd file = /etc/samba/smbpasswd

;  unix password sync = Yes
;  passwd program = /usr/bin/passwd %u
;  passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*

# Unix users can map to different SMB User names
;  username map = /etc/samba/smbusers

;   include = /etc/samba/smb.conf.%m

   socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
;   interfaces = 192.168.12.2/24 192.168.13.2/24 

;   remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
;   remote announce = 192.168.1.255 192.168.2.44

   local master = yes
   os level = 99
   domain master = yes 
   preferred master = yes

# Enable this if you want Samba to be a domain logon server for 
# Windows95 workstations. 
   domain logons = yes

# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
;   logon script = %m.bat
# run a specific logon batch file per username
;   logon script = %U.bat

;   logon path = \\%L\Profiles\%U

; name resolve order = wins lmhosts bcast

# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
;   wins support = yes

# WINS Server - Tells the NMBD components of Samba to be a WINS Client
#       Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
;   wins server = w.x.y.z

# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one  WINS Server on the network. The default is NO.
;   wins proxy = yes

# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The built-in default for versions 1.9.17 is yes,
# this has been changed in version 1.9.18 to no.
   dns proxy = no 


;  preserve case = no
;  short preserve case = no
# Default case is normally upper case for all DOS files
;  default case = lower
# Be very careful with case sensitivity - it can break things!
;  case sensitive = no

#============================ Share Definitions ==============================
[homes]
   comment = Home Directories
   browseable = no
   writable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
;   comment = Network Logon Service
   path = /home/netlogon
   write list = administrator
   guest ok = yes
   
;   writable = no
;   share modes = no

[Profiles]
    path = /home/ntprofiles
    browseable = no
    guest ok = yes
    read only = no
    create mask = 0600
    directory mask = 0700


# NOTE: If you have a BSD-style print system there is no need to 
# specifically define each individual printer
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no

   guest ok = no
   writable = no
   printable = yes


;[tmp]
;   comment = Temporary file space
;   path = /tmp
;   read only = no
;   public = yes

# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   read only = yes
;   write list = administrator

;[fredsprn]
;   comment = Fred's Printer
;   valid users = fred
;   path = /homes/fred
;   printer = freds_printer
;   public = no
;   writable = no
;   printable = yes

;[fredsdir]
;   comment = Fred's Service
;   path = /usr/somewhere/private
;   valid users = fred
;   public = no
;   writable = yes
;   printable = no

;[pchome]
;  comment = PC Directories
;  path = /usr/pc/%m
;  public = no
;  writable = yes

;[public]
;   path = /usr/somewhere/else/public
;   public = yes
;   only guest = yes
;   writable = yes
;   printable = no

;[myshare]
;   comment = Mary's and Fred's stuff
;   path = /usr/somewhere/shared
;   valid users = mary fred
;   public = no
;   writable = yes
;   printable = no
;   create mask = 0765




Kira-kira dimana yah errornya. Please help.
Thanks.

---- Msg sent via Spymac Mail - http://www.spymac.com

-- 
Unsubscribe: kirim email kosong ke [EMAIL PROTECTED]
Arsip dan info di http://linux.or.id/milis.php
FAQ milis http://linux.or.id/faq.php

Kirim email ke