Netlogon Problem
Islenho de Almeida
971042723 at uepg.br
Mon Apr 23 19:49:54 GMT 2001
Hi all.
I´m using latest samba 2.2.0 on a intel Linux box (kernel 2.2.17) .
What works:
Samba works fine, all machines can browse the shares and access files on
Netlogon and Profiles services.
What doesn´t work:
1) For netlogon service.
Win98 and winMe machines appears don´t execute the config.pol file in
logon process.
I put this file in a netlogon share on the samba server. When i log on my
domain specified on the dialog box on the windows machine, appears the
tradicional box that inform the logon status of workstation, but the
settings on config.pol file don´t apply for any session of any user. The
config.pol file was created with poledit suplied with Win98 package.
2) Profiles:
The problem is the persistence of windows to store the files of profiles
in /home/userxxx/ and not in /www/samba/profiles/userxxx like specified in
smb.conf with logon path = \\%L\profiles\%U directive.
I would really appreciate any help that can be provided.
I´m sorry for my bad english. :/
My smb.conf file
[global]
workgroup = UNIAO
server string = UNIAO - Samba Server
netbios name = vilavelha
netbios aliases = install
hosts allow = 192.168.0. 127.
printcap name = /etc/printcap
load printers = yes
; printing = lprng
guest account = nobody
log file = /var/log/samba/log.%m
max log size = 1024
# for debug only
debug level = 50
security = user
password level = 0
; username level = 8
min password length = 8
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
null passwords = No
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New\sUNIX\spassword:\s %n\n *password:\s %n\n
*successfully\n
; username map = /etc/samba/smbusers
map to guest = never
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
remote announce = 192.168.0.255
local master = yes
os level = 65
domain master = yes
preferred master = yes
domain logons = yes
# run a specific logon batch file per group
logon script = %G.bat
logon path = \\%L\profiles\%U
name resolve order = wins lmhosts bcast
wins support = yes
wins proxy = no
dns proxy = no
dead time = 10
time server = yes
nt acl support = yes
nt pipe support = yes
# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
; 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 = Diretorio pessoal do usuario %U
browseable = no
writable = yes
available = yes
public = no
allow hosts = 192.168.0.
only user = no
invalid users = root
# Un-comment the following and create the netlogon directory for Domain
Logons
[netlogon]
comment = Servicos de Logon da rede
path = /www/samba/netlogon
guest ok = no
writable = no
;share modes = no
browseable = no
;public = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
[profiles]
comment = Perfis de usuarios
path = /www/samba/profiles
create mode = 0600
directory mode = 0700
writable = yes
browseable = no
[ftp]
comment = Arquivos FTP UNIAO
available = yes
browseable = yes
path = /www/ftp/pub
public = yes
guest only = no
writable = no
allow hosts = 192.168.0.
only user = no
admin users = islenho, foltran
write list = islenho, foltran
invalid users = root
[cdrom]
comment = CDROM - Servidor
path = /mnt/cdrom
volume = CDROM
browseable = yes
read only = yes
preserve case = yes
short preserve case = yes
public = yes
root preexec = /bin/mount /mnt/cdrom
root postexec = /bin/umount /mnt/cdrom
[msnet]
comment = Utilitarios para rede Microsoft
path = /www/samba/msnet
browseable = yes
read only = yes
public = yes
[win98]
comment = Windows 98
path = /www/samba/win98
browseable = no
read only = yes
public = yes
----------------
Tks
Islenho
More information about the samba
mailing list