[Samba] Winbind and Samba/LDAP PDC

clancyian at cel.ie clancyian at cel.ie
Tue Apr 19 23:28:51 GMT 2005


Hi Samba Users,

I am currently in the process of migrating from an NT4 Domain to a
Samba/LDAP Domain.
I am already running a number of samba servers which are domain member
servers in the existing domain. They retrieve their account information
from the NT4 PDC using winbind.
So far i have completed the NT4 to Samba/LDAP migration as described in
chapter 9 of Samba by Example up to the point where i have powered off the
NT4 PDC and made the Samba/LDAP Domain Master.

However at this point the Samba Domain Member servers begin to lose all
the window's users. i.e getent passwd no longer returns the windows users.
I then restart winbind in debug mode to discover what is happening:
-----------------START-------------------
ian at viao:/etc/samba$ wbinfo -t
checking the trust secret via RPC calls succeeded

ian at viao:/var/log/samba$ sudo winbindd -i -d 3
winbindd version 3.0.10-Ubuntu started.
Copyright The Samba Team 2000-2004
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
Processing section "[homes]"
Processing section "[printers]"
Processing section "[print$]"
adding IPC service
adding IPC service
added interface ip=192.0.2.200 bcast=192.0.2.255 nmask=255.255.255.0
added interface ip=192.0.2.200 bcast=192.0.2.255 nmask=255.255.255.0
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
add_trusted_domain: CEL is an NT4  domain
Added domain CEL  S-0-0
rpc_dc_name: Returning DC CELDC (192.0.2.14) for domain CEL
IPC$ connections done anonymously
Connecting to host=CELDC
Connecting to 192.0.2.14 at port 445
rpc: trusted_domains
rpc_dc_name: Returning DC CELDC (192.0.2.14) for domain CEL
IPC$ connections done anonymously
Connecting to host=CELDC
Connecting to 192.0.2.14 at port 445
add_trusted_domain: BUILTIN is an NT4  domain
Added domain BUILTIN  S-1-5-32
add_trusted_domain: VIAO is an NT4  domain
Added domain VIAO  S-1-5-21-3663827152-527292038-502765230
rpc: trusted_domains
[14640]: request interface version
[14640]: request location of privileged pipe
[14640]: setpwent
[14640]: getpwent
rpc_dc_name: Returning DC CELDC (192.0.2.14) for domain CEL
IPC$ connections done anonymously
Connecting to host=CELDC
Connecting to 192.0.2.14 at port 445
prs_mem_get: reading data of size 5898370 would overrun buffer.
[14640]: endpwent
----------------------END------------------------

Everthing appears normal up until prs_mem_get. Does anybody know what this
means ?.

I am using samba 3.14a on RHEL4 (binaries from www.enterprisesamba.com) as
my SAMBA PDC and samba 3.10 FC2 and Ubuntu on the domain member servers.

The New Samba domain appears to work correctly (login script etc..)appart
from the Samba Domain Member server (Where all my files are !!)
In the the medium to long term i plan to access LDAP Directly and not use
winbind at all. I still need winbind though until i have successfully
completed the migration.

Thanks in advance for any help, comments or feedback.

-- 
Ian Clancy
IT Systems Engineer
Connaught Electronics Ltd.
Dunmore Rd,
Tuam,
Co. Galway,
Ireland.

E : mailto:clancyian at cel.ie
W : http://www.cel-europe.com




More information about the samba mailing list