[Samba] SAMBA with PDC

Kleiton L R Soares kleiton at pcs.com.br
Fri Nov 3 15:55:17 GMT 2006


Good evening, I have a problem with SAMBA domain, 

I have many pc's with S.O Windows when I try to put then on a samba domain, 
then don't locate my domain.

The OpenSuse Linux 10 show me any lines on the logfile, i'm put these lines 
below.

I'm have OpenSuse Linux 10 + SAMBA 3 with LDAP authentication.

Below the SMB.CONF + Slices of a LOG file.

Thanks to all !

#################################################################
SMB.CONF -------------

[global]
        netbios name = cpn
        workgroup = cpn
        server string = Servidor Piloto CPN
        hosts allow = 10.1.48.
        printcap name = /etc/printcap
        load printers = yes
        printing = cups
        cups options = raw
        guest account = nobody
        log file = /var/log/samba/%m.log
        log level = all
        debug level = 3
        max log size = 5000
        security = user
        winbind use default domain = yes
        winbind separator = +
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        local master = yes
        os level = 100
        domain master = yes
        preferred master = yes
        domain logons = yes
        time server = yes
        #logon script = netlogon.bat
        logon drive = S:
        unix charset = iso8859-1
        display charset = cp850
        large readwrite = yes
        passdb backend = ldapsam:ldap://127.0.0.1
        ldap admin dn = cn=Manager,dc=cpn
        ldap delete dn = Yes
        ldap user suffix = ou=People
        ldap Group suffix = ou=Group
        ldap idmap suffix = ou=Idmap
        ldap machine suffix = ou=Computers
        ldap passwd sync = Yes
        ldap suffix = dc=cpn
        ldap ssl = no
        idmap backend = ldap:ldap://127.0.0.1
        idmap uid = 15000-20000
        idmap gid = 15000-20000

        add user script = /usr/sbin/smbldap-useradd -m "%u"
        add machine script = /usr/sbin/smbldap-useradd -w "%u"
        add group script = /usr/sbin/smbldap-groupadd -p "%g"
        add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
        delete user script = /usr/sbin/smbldap-userdel "%u"
        delete group script = /usr/sbin/smbldap-groupdel "%g"
        delete user from group script 
= /usr/sbin/smbldap-groupmod -x "%u" "%g"
        set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"

        template shell = /bin/false
        winbind use default domain = no

[homes]
        comment = Pasta Principal
        browseable = no
        writable = yes

[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = no
        guest ok = no
        writable = no
        printable = yes

[tmp]
        comment = Temporary file space
        path = /tmp
        read only = no
        public = yes


#############################################################################
Alguns LOGS --------------------------------------


[2006/11/01 14:42:24, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(353)
  find_domain_master_name_query_fail:
  Unable to find the Domain Master Browser name CPN<1b> for the workgroup CPN.
  Unable to sync browse lists in this workgroup.

-----

[2006/11/01 14:39:53, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
  Error - should be sent to WINS server
[2006/11/01 14:39:53, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
  process_name_refresh_request: unicast name registration request received for 
name CPN-E84<00> from IP 10.1.48.201 on subnet UNICAST_SUBNET
.
[2006/11/01 14:39:53, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
  Error - should be sent to WINS server
[2006/11/01 14:39:53, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(172)
  process_name_refresh_request: unicast name registration request received for 
name 555<00> from IP 10.1.48.201 on subnet UNICAST_SUBNET.
[2006/11/01 14:39:53, 0] 
nmbd/nmbd_incomingrequests.c:process_name_refresh_request(173)
  Error - should be sent to WINS server

------

Nov  1 13:24:27 pilotocpn winbindd[21935]: [2006/11/01 13:24:27, 0] 
nsswitch/winbindd_dual.c:child_read_request(49)
Nov  1 13:24:27 pilotocpn winbindd[21935]:   Got invalid request length: 0

#############################################################################

Thanks.

-- 

---
---------------------------
Kleiton L R Soares (21-2620-0735 | 21-9639-5829)
PCS - Processos Consultoria Soluções
www.pcs.com.br / kleiton at pcs.com.br


More information about the samba mailing list