[Samba] need advise to find what is the problem

Bruno Gimenes Pereti pereti at ump.edu.br
Fri Feb 24 15:32:13 GMT 2006


Hi all,

I'm trying to substitute my samba server machine for a new one. The users
here are very limited, so it must be completely transparent.

My PDC is a very old RedHat 7.1 with samba 3.0.9, openldap-client 2.0.27,
and cups 1.1.14. And the LDAP server is running on another computer with
openldap 2.2.23.
This is the option I used to compile it:

# ./configure --with-smbmount --with-pam --with-ldapsam --with-ldap
--with-quota --with-utmp --with-acl-support --enable-cups

I installed and configure a new debian machine with samba 3.0.21a, cups
1.1.23 and openldap server 2.2.23 (the replication with the máster is
working).

Options used to compile:

# ./configure --with-smbmount --with-quotas --with-acl-support

This new server I configured as BDC. Copied the smb.conf from de PDC and
changed:

local master = no
os level = 33
domain máster = no
wins support =no
wins server = <ip from PDC>

imported the sid with "net rpc getsid"
joined the domain with "net rpc join -U Administrator"

I copied the netlogon from the PDC to the BDC.

Ok, when I start it, it runs ok for a while (from a cople of hours to a
couple of days) until the users start complaning that they can't print, the
police is not loaded and the logon script don't run. This what I noted
because when the problem start I stop samba in the BDC and the problem is
gone.

One think I notice in the PDC is smbd listening on localhost random udp
ports like this:

# netstat -atupn
[...]
tcp    0    0 192.168.0.2:445    192.168.0.61:1025  ESTABLISHED   22400/smbd
udp    0    0 127.0.0.1:57989    0.0.0.0:*                        22915/smbd
udp    0    0 127.0.0.1:57735    0.0.0.0:*                        22280/smbd
udp    0    0 127.0.0.1:57864    0.0.0.0:*                        22546/smbd
udp    0    0 192.168.0.2:137    0.0.0.0:*                        14222/nmbd
udp    0    0 0.0.0.0:137        0.0.0.0:*                        14222/nmbd
udp    0    0 192.168.0.2:138    0.0.0.0:*                        14222/nmbd
udp    0    0 0.0.0.0:138        0.0.0.0:*                        14222/nmbd
udp    0    0 127.0.0.1:57750    0.0.0.0:*                        22301/smbd
udp    0    0 127.0.0.1:57752    0.0.0.0:*                        22308/smbd
udp    0    0 127.0.0.1:57885    0.0.0.0:*                        22622/smbd
[...]

What must I do to find what is the problem and how to solve it? Any clue? If
any body want to help but need more information, please tell me what.

Please any help will be very appreciated.


Thanks.
Bruno Gimenes Pereti.



More information about the samba mailing list