Hi
I'm setting up a small samba PDC. smb.conf follows
later on in the text.
I've created the computer name with the dollar sign
in both passwd & smbpasswd.
The root password is in smbpasswd, but still i
cannot login to the domain, it
gives me errenous password (from a win2k
machine).
thanks in advance. (ye i looked all over google but
i couldn't find anything)
[global]
# server string is the equivalent of the NT
Description field
server string = Master load printers = no # You may wish to override the location of the
printcap file
; printcap name = /etc/printcap # 'printing = cups' works nicely
; printing = bsd # guest account =
nobody
invalid users = root # This tells Samba to use a separate log file for
each machine that connects
log file = /var/log/samba/log.%m # Put a capping on the size of the log files (in
Kb).
max log size = 1000 # Please note that logging through syslog in Samba
is still experimental.
; syslog _only_ = no # We want Samba to log a minimum amount of
information to syslog. Everything
# should go to /var/log/samba/log.{smb,nmb} instead. If you want to log # through syslog you should set the following parameter to something higher. syslog = 0 # Using the following line enables you to customise your configuration # on a per machine basis. The %m gets replaced with the netbios name # of the machine that is connecting ; include = /home/samba/etc/smb.conf.%m # --- End of Browser Control Options ---
# 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 # This will prevent nmbd to search for NetBIOS names through
DNS.
dns proxy = no name resolve order = lmhosts host wins bcast
# Name mangling options
; preserve case = yes ; short preserve case = yes # This boolean parameter controlls whether Samba attempts to
sync.
unix password sync = false # For Unix password sync. to work on a Debian GNU/Linux system, the
following
# parameters must be set (thanks to Augustin Luton <aluton@hybrigenics.fr> for # sending the correct chat script for the passwd program in Debian Potato). passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n . # This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in # 'passwd program'. The default is 'no'. ; pam password change = no # The following parameter is useful only if you have the linpopup
package
# installed. The samba maintainer and the linpopup maintainer are # working to ease installation and configuration of linpopup and samba. ; message command = /bin/sh -c '/usr/bin/linpopup obey pam restrictions = yes
# Some defaults for winbind (make sure you're not using the ranges
# for something else.) ; winbind uid = 10000-20000 ; winbind gid = 10000-20000 ; template shell = /bin/bash domain logons = yes
domain master = yes local master = yes
preferred master = yes encrypt passwords = yes guest account = smbguest log level = 2 log file = /var/log/samba.log logon drive = l: logon home = \\serv\%U logon path = \\%N\profiles\%u logon script = logon.cmd netbios name = serv os level = 64 preferred master = yes security = user socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192 wins support = yes workgroup = lunix add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M
%u
#======================= Share Definitions =======================
[homes]
comment = Home Directories browseable = no # By default, the home directories are exported read-only.
# writable = no create mask = 0600
directory mask = 0700 read _only_ = no [netlogon]
path = /home/samba/netlogon read _only_ = yes write list = ntadmin ; guest ok = yes ; writable = no ; share modes = no [profiles]
path = /home/samba/profiles read _only_ = no create mask = 0600 directory mask = 0700 [printers] comment = All Printers browseable = no path = /tmp printable = yes public = no writable = no create mode = 0700 # A sample share for sharing your CD-ROM with
others.
[cdrom] comment = Samba server's test writable = no locking = no path = /opt public = yes # The next two parameters show how to auto-mount a CD-ROM when
the
# cdrom share is accesed. For this to work /etc/fstab must contain # an entry like this: # # /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0 # # The CD-ROM gets unmounted automatically after the connection to the # # If you don't want to use auto-mounting/unmounting make sure the CD # is mounted on /cdrom # ; preexec = /bin/mount /cdrom ; postexec = /bin/umount /cdrom |