[Samba] Samba setup with Winbind connecting to NT4 PDC - Login is
now Slow...
Eric Murray
e.murray at accesscomm.ca
Wed Oct 13 22:19:46 GMT 2004
Hi Guys,
I've reverted back to a image and tried this multiple time and I cannot
figure out what I'm doing wrong.
I installed Samba right now i'm using ver 3.07 but 3.04 did the same
thing for me...
This is what I basically do...
- Install samba
- Install winbind
- Turn both on at boot
- configure my smb.conf file and test :
wbinfo -g
wbinfo -u
getent passwd
etc all work great
- Reboot the machine and it is SLOW... takes about 2 min before the KDE
login box comes up, once that happens everything goes through and it's
back to normal.
Thoughts?
Here is my files that I work with...
-----------------------
SMB.CONF
------------------------
# version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE
# Date: 2004-09-16
[global]
workgroup = MYDOMAIN
printing = cups
printcap name = cups
printcap cache time = 750
cups options = raw
printer admin = @ntadmin, root, administrator
username map = /etc/samba/smbusers
map to guest = Bad User
### include = /etc/samba/dhcp.conf
# logon path = \\%L\profiles\.msprofile
# logon home = \\%L\%U\.9xprofile
# logon drive = P:
# My additions...
security = DOMAIN
encrypt passwords = yes
password server = PDC BDC
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins server = PWS BWS
dns proxy = no
netbios name = MACHINE
log level = 1
winbind separator = +
winbind uid = 10000-20000
winbind gid = 10000-20000
winbind cache time = 15
winbind enum users = yes
winbind enum groups = yes
template homedir = /home/%U
template shell = /bin/bash
winbind use default domain = yes
name resolve order = wins lmhosts host bcast
[pdf]
comment = PDF creator
path = /var/tmp
printable = Yes
print command = /usr/bin/smbprngenpdf -J '%J' -c %c -s %s -u '%u' -z %z
create mask = 0600
[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
[Public]
comment = Public Folder
path = /data/Public
writable = yes
[NetworkAccess]
writable = yes
path = /data/NetworkAccess
write list = @domain+TestLinuxGroup
force group = ntadmin
force user = root
comment = Network Share for Writability...
create mode = 0660
directory mode = 0770
[tmp]
comment = Temporary File Space
path = /data/tmp
read only = no
public = yes
---------------------------------
NSSSWITCH.CONV
---------------------------------
#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
# compat Use compatibility setup
# nisplus Use NIS+ (NIS version 3)
# nis Use NIS (NIS version 2), also called YP
# dns Use DNS (Domain Name Service)
# files Use the local files
# db Use the /var/db databases
# [NOTFOUND=return] Stop searching if not found so far
#
# For more information, please read the nsswitch.conf.5 manual page.
#
# passwd: files nis
# shadow: files nis
# group: files nis
passwd: compat winbind
group: compat winbind
hosts: files dns
networks: files dns
services: files
protocols: files
rpc: files
ethers: files
netmasks: files
netgroup: files
publickey: files
bootparams: files
automount: files nis
aliases: files
More information about the samba
mailing list