Samba problem, ONLY the netlogon isn't working.
My netlogon isn't working.
smb.conf
Code:
[global]
log level = 2
workgroup = workgroup
netbios name = SERVER
passdb backend = tdbsam
security = user
hosts allow = 192.168.1., 127.0.0.1
admin users = root
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u
add machine script = \ /usr/sbin/useradd -s /bin/false -d /dev/null \ -g machines %u
# The following specifies the default logon script
# Per user logon scripts can be specified in the user
# account using pdbedit
# This sets the default profile path.
# Set per user paths with pdbedit
logon path = \\%L\Profiles\%U
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
idmap uid = 15000-20000
idmap gid = 15000-20000
server string = Samba Server
username map = /etc/samba/smbusers
; encrypt passwords = yes
; guest ok = no
; guest account = nobody
[homes]
comment = Home Directory
valid users = %S
create mask = 0700
directory mask = 0700
read only = No
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
admin users = dell
valid users = %U
read only = yes
guest ok = yes
share modes = no
browseable = no
available = yes
[profiles]
comment = Roaming Profile Share
path = /home/samba/profile
read only = No
browseable = No
guest ok = Yes
profile acls = Yes
smbclient -L localhost -U%
Code:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.33-3.7.el5]
Sharename Type Comment
--------- ---- -------
shared Disk Shared Directory
accounts Disk Accounts Directory
IPC$ IPC IPC Service (Samba Server)
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.33-3.7.el5]
Server Comment
--------- -------
PC
SERVER Samba Server
Workgroup Master
--------- -------
WORKGROUP SERVER
I go into windows business and enter the domain but it returns an error.
smbclient -L localhost
Password:
[code]
session setup failed: NT_STATUS_LOGON_FAILURE[/cpde]
Password IS correctly entered.