[Ilugc] samba user problem

  • From: babu_jayapaul@xxxxxxxxx (babu jayapaul)
  • Date: Thu, 8 Apr 2004 01:33:04 -0700 (PDT)

Dear Friends

I have configured samba 3.0 as my PDC in Fedora. when
i try to configure the domain in win2k, it ask for a
admin user name and passwd to join the domain, I have
<root> as username and passwd. but showing a error as
follows.

"The following error occurred attempting to join the
domain 'ITDOMAIN1'
     
 Username could not be found"

but i have added the root as samba user using the
following command

 "smbpasswd -a root"

     I can able to open the samba root share using the
same username and passwd in win2k network
neighborhood.

please help me 

thanks in advance.

babu j
# This file Modified by Babu-Jey-Linuz on 23/3/04


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

# workgroup = NT-Domain-Name or Workgroup-Name
   netbios name = Tuxserver
   workgroup = itdomain1
   
# server string is the equivalent of the NT
Description field
   server string = itdomain1

   printcap name = /etc/printcap
   load printers = yes

# this tells Samba to use a separate log file for each
machine
# that connects
   log file = /var/log/samba/%m.log

# Put a capping on the size of the log files (in Kb).
   max log size = 50

  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*

# Most people will find that this option gives better
performance.
# See speed.txt and the manual pages for details
   socket options = TCP_NODELAY SO_RCVBUF=8192
SO_SNDBUF=8192

   addprinter command = /usr/bin/addprinter

   logon drive = H:
   local master = yes
   os level = 65
   domain master = yes 
   preferred master = yes
   domain logons = yes
;   domain admin group = root,administrator
    logon script = logon.bat
   logon home = \\%L\%u\.win_profile\%m

   wins support = yes
   time server = yes
   admin users = root administrator babu
#   domain admin group = root administrator 
   printer admin = @sysadmin
   printing = lprng

# Dynamic Creation of Machine Trust Accounts
  add user script = /usr/sbin/useradd -d /dev/null -g
100 -s /bin/false -M %u


#============ Share Definitions =====================
[homes]
   comment = Home Directories
   browseable = no
   ;writable = yes
   ;valid users = %S
   ;create mode = 0664
   ;directory mode = 0775
   read only = no 
   guest ok = no
   map archive = yes
[cdrom]
   comment = CD Drive
   path = /misc/cd
   valid users = @sysadmin

[software]
   comment = Software's
   path = /mnt/soft
   valid users = @sysadmin

# Un-comment the following and create the netlogon
directory for Domain Logons
 [netlogon]
## Store all samba PDC overhead data in the directory
## /home/netlogon (or whatever you desire)

;   comment = Network Logon Service
   path = /home/netlogon
   browsable = no
;   guest ok = yes
    writable = no
;   share modes = no
;   write list = administrator


# Un-comment the following to provide a specific
roving profile share
# the default is to use the user's home directory
[Profiles]
## Store user profiles in this directory
    path = /home/ntprofile
    browsable = no
;    guest ok = yes
;    read only = No
    writable = yes
    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
# Set public = yes to allow user 'guest account' to
print
   guest ok = no
   writable = no
   printable = yes




__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

Other related posts: