Enviado em 07/06/2013 - 15:10h
ola amigos gostaria de ajuda de vcs tenho o ubuntu server com o samba PDC consegui add a maquina de no dominio mais na hora da fazer logon na estação ele da o sguite erro:
[global]
workgroup = engeform
netbios name = ENGEFORM
server string = Servidor
domain master = yes
domain logons = yes
logon script = netlogon.bat
#logon home = \\%L\%U\.profiles
#logon path = \\engeform\profiles\%U
security = user
encrypt passwords = yes
enable privileges = yes
passdb backend = tdbsam
preferred master = yes
local master = yes
os level = 90
wins support = yes
#log level = 3
#Level0 oplocks = no
ntlm auth = YES
lanman auth = YES
client ntlmv2 auth = YES
username map = /etc/samba/smbusers
guest ok = no
guest account = nobody
[netlogon]
path = /usr/local/netlogon
read only = yes
browseable = no
[homes]
valid users = %S
create mask = 0700
directory mask = 0700
browseable = no
#[profiles]
# path = /usr/local/profile
# writeable = yes
# browseable = no
# creat mask = 0700
# directory mask = 0700
# --------------------------- Logging Options -----------------------------
# logs split per machine
log file = /var/log/samba/%m.log
# max 50KB per log file, then rotate
max log size = 50
# ----------------------- Domain Members Options ------------------------
security = domain
passdb backend = tdbsam
realm = MY_REALM
password server = <NT-Server-Name>
# ----------------------- Domain Controller Options ------------------------
security = user
passdb backend = tdbsam
domain master = yes
domain logons = yes
# the login script name depends on the machine name
logon script = %m.bat
# the login script name depends on the unix user used
logon script = %u.bat
# the login script name depends on the unix user used
logon script = %u.bat
# logon path = \\%L\Profile\%u
# disables profiles support by specifing an empty path
# logon path =
add user script = /usr/sbin/useradd "%u" -n -g users
add group script = /usr/sbin/groupadd "%g"
add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
delete user script = /usr/sbin/userdel "%u"
delete user from group script = /usr/sbin/userdel "%u" "%g"
delete group script = /usr/sbin/groupdel "%g"
# ----------------------- Browser Control Options ----------------------------
local master = no
os level = 33
preferred master = yes
#----------------------------- Name Resolution -------------------------------
#wins support = yes
wins server = w.x.y.z
wins proxy = yes
dns proxy = yes
# --------------------------- Printing Options -----------------
load printers = yes
cups options = raw
printcap name = /etc/printcap
#obtain list of printers automatically on SystemV
printcap name = lpstat
printing = cups
# --------------------------- Filesystem Options ---------------
map archive = no
map hidden = no
map read only = no
map system = no
store dos attributes = yes
#============================ Share Definitions
[homes]
comment = Home Directories
browseable = no
writable = yes
valid users = %S
valid users = MYDOMAIN\%S
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
[netlogon]
comment = Network Logon Service
path = /usr/local/netlogon
guest ok = yes
writable = no
share modes = no
[Profiles]
path = /usr/local/profile
browseable = no
guest ok = yes