Hello everyone. I think Samba is wonderful.  I have a full domain running here
using ldap servers as the back end.  The PDC connects to the master LDAP server
while the BDC's do localhost lookups as they are slave LDAP servers. The
following are snippets of logs that are appearing on my syslog host. Error is on
top explanation below.  Could anyone point me in the right direction?
I am running samba 3.0.1pre3-1  Samba is built from SRPM with --acl-support
added. I understand this is a lot of info, nevertheless I have a successful
installation running and am having great fun removing Novell from the
corporation and replacing it with open-source software.
[2003/12/08 12:34:36, 0] smbd/connection.c:register_message_flags(220)  
  register_message_flags: tdb_fetch failed  
I have no idea what this message means... That comes from one of my BDC's
[2003/12/08 12:34:42, 0] lib/util_str.c:safe_strcat_fn(629)  
  ERROR: string overflow by 1 in safe_strcat [/]
This comes when i am running the vfs object = recycle and deleting a file.
[2003/12/08 12:38:41, 0] passdb/pdb_ldap.c:ldapsam_update_sam_account(1366)  
  ldapsam_update_sam_account: failed to modify user with uid = nortel$, error:
modify: add values failed (Success)
This comes from another BDC.
[2003/12/08 12:51:14, 0] lib/smbldap.c:smbldap_open(800)  
   smbldap_open: cannot access LDAP when not root..  
[2003/12/08 12:51:14, 0] passdb/pdb_ldap.c:ldapsam_search_one_group(1639)  
   ldapsam_search_one_group: Problem during the LDAP search: LDAP error: 
(Insufficient access)
This comes from a BDC
[2003/12/08 13:25:33, 0] modules/vfs_recycle.c:recycle_do_touch(316)  
   recycle: touching .recycle/aoreno/SBA/EVERYONE/Angela/Excel/Copy #1 of sba
rec 3rd q 2003.xls~RFf42f79.TMP failed, reason = Operation not permitted
Another recycle problem.
[2003/12/08 10:13:43, 0] lib/util_sock.c:read_socket_data(342)  
   read_socket_data: recv failure for 4. Error = No route to host
This comes from my PDC
[2003/12/08 13:34:25, 0] lib/util_sock.c:get_socket_addr(919)  
   getpeername failed. Error was Transport endpoint is not connected  
[2003/12/08 13:34:26, 0] lib/util_sock.c:write_socket_data(388)  
   write_socket_data: write failure. Error = Connection reset by peer  
[2003/12/08 13:34:26, 0] lib/util_sock.c:write_socket(413)  
   write_socket: Error writing 4 bytes to socket 16: ERRNO = Connection reset by
peer
[2003/12/08 13:34:26, 0] lib/util_sock.c:send_smb(585)  
   Error writing 4 bytes to client. -1. (Connection reset by peer)
And finally output from a BDC
The PDC's testparm output is the following
[global]
        workgroup = SAMBA
        server string = AIB File Server
        passdb backend = ldapsam:ldap://ip of masterldap server:389
        username map = /etc/samba/smbusers
        log file = /var/log/samba/log.%m
        max log size = 500
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        add user script = /usr/local/sbin/smbldap-useradd.pl -m '%u'
        delete user script = /usr/local/sbin/smbldap-userdel.pl '%u'
        add group script = /usr/local/sbin/smbldap-groupadd.pl -p '%g'
        delete group script = /usr/local/sbin/smbldap-groupdel.pl '%g'
        add user to group script = /usr/local/sbin/smbldap-groupmod.pl -m
'%u' '%g'
        delete user from group script = /usr/local/sbin/smbldap-groupmod.pl -x
'%u' '%g'
        set primary group script = /usr/local/sbin/smbldap-usermod.pl -g
'%g' '%u'
        add machine script = /usr/local/sbin/smbldap-useradd.pl -w -d /dev/null
-g computer -C 'Machine Account' -s /bin/false %u
        logon path = \\bluestar\profiles\%U
        domain logons = Yes
        os level = 33
        preferred master = No
        local master = No
        domain master = Yes
        wins support = Yes
        ldap suffix = dc=aib,dc=com
        ldap machine suffix = ou=Computers,dc=aib,dc=com
        ldap user suffix = ou=People,dc=aib,dc=com
        ldap group suffix = ou=Groups,dc=aib,dc=com
        ldap idmap suffix = dc=aib,dc=com,dc=aib,dc=com
        ldap admin dn = cn=Manager,dc=aib,dc=com
        ldap ssl = no
        ldap passwd sync = Yes
        printing = cups
It is pointing to the master LDAP server, and my 2 BDC's look like this
[global]
        workgroup = SAMBA
        server string = AIF Server
        passdb backend = ldapsam:ldap://127.0.0.1:389
        username map = /etc/samba/smbusers
        log file = /var/log/samba/log.%m
        max log size = 50
        time server = Yes
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        add user script = /usr/local/sbin/smbldap-useradd.pl -m '%u'
        delete user script = /usr/local/sbin/smbldap-userdel.pl '%u'
        add group script = /usr/local/sbin/smbldap-groupadd.pl -p '%g'
        delete group script = /usr/local/sbin/smbldap-groupdel.pl '%g'
        add user to group script = /usr/local/sbin/smbldap-groupmod.pl -m
'%u' '%g'
        delete user from group script = /usr/local/sbin/smbldap-groupmod.pl -x
'%u' '%g'
        set primary group script = /usr/local/sbin/smbldap-usermod.pl -g
'%g' '%u'
        add machine script = /usr/local/sbin/smbldap-useradd.pl -w -d /dev/null
-g computer -C 'Machine Account' -s /bin/false %u
        logon path = \\bluestar\Profiles\%U
        domain logons = Yes
        os level = 32
        preferred master = No
        local master = No
        domain master = No
        wins server = BDC ADDRESS
        ldap suffix = dc=aib,dc=com
        ldap machine suffix = ou=Computers,dc=aib,dc=com
        ldap user suffix = ou=People,dc=aib,dc=com
        ldap group suffix = ou=Groups,dc=aib,dc=com
        ldap idmap suffix = dc=aib,dc=com
        ldap admin dn = cn=Manager,dc=aib,dc=com
        ldap ssl = no
        ldap passwd sync = Yes
        printing = cups