Hi all,
root@terra:/var/log/samba# nmblookup -S PDC
querying PDC on 10.0.0.255
10.0.0.4 PDC<00>
Looking up status of 10.0.0.4
PDC <00> - H <ACTIVE>
root@terra:/var/log/samba# nmblookup -S testefinal
querying testefinal on 10.0.0.255
10.0.0.100 testefinal<00>
Looking up status of 10.0.0.100
TESTEFINAL <00> - B <ACTIVE>
But it don't found in master-browser.
root@terra:/var/log/samba# nmblookup -M testefinal
querying testefinal on 10.0.0.255
querying testefinal on 127.255.255.255
name_query failed to find name testefinal#1d
root@terra:/var/log/samba# nmblookup
It don't found into wins.dat
root@terra:/var/log/samba# tail -f /usr/local/samba/var/locks/wins.dat
VERSION 1 0
"PDC#00" 1097349014 10.0.0.4 66R
"PDC#03" 1097349014 10.0.0.4 66R
"PDC#20" 1097349014 10.0.0.4 66R
"DOMAINNAME#00" 1097349014 255.255.255.255 e4R
"DOMAINNAME#1b" 1097349014 10.0.0.4 64R
"DOMAINNAME#1c" 1097349014 10.0.0.4 e4R
"DOMAINNAME#1e" 1097349014 255.255.255.255 e4R
root@terra:/var/log/samba# ifconfig
eth0 Link encap:Ethernet HWaddr 00:90:27:70:E7:A5
inet addr:10.0.0.4 Bcast:10.0.0.255 Mask:255.255.255.0
10.0.0.100 is my windows workstation.
My smb.conf
[global]
workgroup = DOMAINMANE
netbios name = PDC
server string = PDC
security = user
encrypt passwords = yes
load printers = yes
log file = /var/log/samba/%m.log
max log size = 50
os level = 33
local master = yes
domain master = yes
preferred master = yes
domain logons = yes
admin users = fernando.ribeiro, wesley.lago
logon script = %U.bat
logon path = \\%L\profiles\%U
wins support = yes
name resolve order = wins lmhosts hosts bcast
dns proxy = no
# smb ports = 137 138 139 445
interfaces = 127.0.0.1 eth0
bind interfaces only = Yes
ldap passwd sync = yes
ldap delete dn = Yes
ldap port = 636
ldap ssl = yes
passdb backend = ldapsam:ldaps://ldap.domain.com.br/
ldap admin dn = cn=suporte,dc=domain,dc=com,dc=br
ldap suffix = dc=domain,dc=com,dc=br
ldap group suffix = ou=Grupos
ldap user suffix = ou=Usuarios
ldap machine suffix = ou=Computadores
idmap uid = 10000-15000
idmap gid = 10000-15000
nt acl support = yes
create mask = 600
directory mask = 0700
force directory mode = 0700
passwd chat = *New*password* %n\n *Retype*new*password*
%n\n*passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add user script = /usr/local/sbin/smbldap-useradd -m "%u"
delete user script = /usr/local/sbin/smbldap-userdel "%u"
add machine script = /usr/local/sbin/smbldap-useradd -w "%u"
add group script = /usr/local/sbin/smbldap-groupadd -p "%g"
delete group script = /usr/local/sbin/smbldap-groupdel "%g"
add user to group script = /usr/local/sbin/smbldap-groupmod -m "%u"
"%g"
delete user from group script = /usr/local/sbin/smbldap-groupmod -x
"%u" "%g"
set primary group script = /usr/local/sbin/smbldap-usermod -g "%g"
"%u"
dos charset = UTF-8
unix charset = UTF-8
cups server = 10.0.0.11
[homes]
comment = Diretorio Home
browseable = no
writable = yes
force user = %U
[profiles]
path = /home/profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No
guest ok = Yes
profile acls = Yes
csc policy = disable
force user = %U
valid users = %U @"Domain Admins"
[netlogon]
path = /home/netlogon
browseable = No
read only = yes
[printers]
comment = Impressoras
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
Anyone know why?
--
Fernando Ribeiro - GPG-KEY: 0x8D7255F4
Linux Counter: #273768 - ICQ: 175630330
Linux Professional Institute - LPIC-1
Death the graph! Death the mouse!
Death patents! Death closed standards!
http://www.nerdgroup.org
http://musb.nerdgroup.org
--------------------------------------
"Grandes mentes discutem id?ias;
Mentes medianas discutem eventos;
Mentes pequenas discutem pessoas."