Laurent Hubert
2003-Apr-24 00:58 UTC
[Samba] intermittant problem with samdump and vampire
Hello I am running a net work with a NT4PDC a NT4 BDC and attent to add samba BDC. I am following the brief section 28 of the Samba-Howto collection for samba head/3.0. * Adding the samba server as a BDC from NT server manager seems OK * Getting, recording domain sid is ok (see below)> rpcclient NT4PDC -U Administratorpassword:> lsaquerydomain IMAGERIE has sid blablabla> net rpc getsid -S NT4PDC -w DOMNAME -U Administratorpassword: Storing SID blablabla for Domain IMAGERIE in secrets.tdb> net getlocalsidSID for domain PELICAN is: blablalba where blablabla has the expected format and has the same value obtains by other means. * Joining the domain is also working * Samdump gave a few times Dumping database 0 Domain name: IMAGERIE Group 'Domain Admins' desc='Designated administrators of the domain', rid=512 Group 'Domain Users' desc='All domain users', rid=513 Group 'Domain Guests' desc='All domain guests', rid=514 ... etc... Aministrator:500:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UX ]:LCT-0 Guest:501:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[DUX ]:LCT-0 vero:1005:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UX ]:LCT-0 jcadoret:1009:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UX ]:LCT-0 SABLE$:1039:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[W ]:LCT-0 ...etc... *Now it gives> net rpc samdump -S turbo -U administrator%passwdDumping database 0 [2003/04/23 20:52:54, 0] rpc_parse/parse_prs.c:prs_mem_get(528) prs_mem_get: reading data of size 3170032 would overrun buffer. [2003/04/23 20:52:54, 0] rpc_parse/parse_net.c:net_io_r_sam_sync(2826) hmm, failed on i=55 Unknown delta record type 32092 Unknown delta record type 23316 Unknown delta record type 62608 Unknown delta record type 0 Unknown delta record type 62600 Unknown delta record type 21300 Erreur de segmentation * Finally with vampire there noting usefull to get.> net rpc vampire -S turbo -U Administrator%passwdFetching database 0 [2003/04/23 20:54:27, 0] rpc_parse/parse_prs.c:prs_mem_get(528) prs_mem_get: reading data of size 3170032 would overrun buffer. [2003/04/23 20:54:27, 0] rpc_parse/parse_net.c:net_io_r_sam_sync(2826) hmm, failed on i=55 Fetching database 1 Do somebody has any hint of what appends ? Tanks? Laurent -- Laurent Hubert, PhD Courriel : laurent.hubert at chus.qc.ca
John H Terpstra
2003-Apr-24 02:17 UTC
[Samba] intermittant problem with samdump and vampire
On Thu, 23 Apr 2003, Laurent Hubert wrote: The net command has been recently modified to reduce the number of steps required during migration from NT4 to Samba-3. I will update the documentation when these changes stabilize. As of today, the migration should work for tdbsam only. The step" net getlocalsid is no longer needed. You will now need to create all your Unix groups before migration. All groups need to be added and tied to Unix groups BEFORE migration. The new tool to manage groups is: net groupmap Additionally, net rpc vampire should now automatically migrate the domain SID as well as all user and group accounts. I have NOT yet tested any of this so be warned - things are changing every half hour or so at the moment. - John T.> Hello > > I am running a net work with a NT4PDC a NT4 BDC and attent to add samba > BDC. > > I am following the brief section 28 of the Samba-Howto collection for > samba head/3.0. > > * Adding the samba server as a BDC from NT server manager seems OK > * Getting, recording domain sid is ok (see below) > > > rpcclient NT4PDC -U Administrator > password: > > lsaquery > domain IMAGERIE has sid blablabla > > > net rpc getsid -S NT4PDC -w DOMNAME -U Administrator > password: > > Storing SID blablabla for Domain IMAGERIE in secrets.tdb > > > net getlocalsid > SID for domain PELICAN is: blablalba > > where blablabla has the expected format and has the same value obtains > by other means. > > > * Joining the domain is also working > > * Samdump gave a few times > > Dumping database 0 > Domain name: IMAGERIE > Group 'Domain Admins' desc='Designated administrators of the domain', > rid=512 > Group 'Domain Users' desc='All domain users', rid=513 > Group 'Domain Guests' desc='All domain guests', rid=514 > ... etc... > > Aministrator:500:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UX ]:LCT-0 > Guest:501:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[DUX ]:LCT-0 > vero:1005:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UX ]:LCT-0 > jcadoret:1009:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[UX ]:LCT-0 > SABLE$:1039:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:[W ]:LCT-0 > ...etc... > > *Now it gives > > > net rpc samdump -S turbo -U administrator%passwd > > Dumping database 0 > [2003/04/23 20:52:54, 0] rpc_parse/parse_prs.c:prs_mem_get(528) > prs_mem_get: reading data of size 3170032 would overrun buffer. > [2003/04/23 20:52:54, 0] rpc_parse/parse_net.c:net_io_r_sam_sync(2826) > hmm, failed on i=55 > Unknown delta record type 32092 > Unknown delta record type 23316 > Unknown delta record type 62608 > Unknown delta record type 0 > Unknown delta record type 62600 > Unknown delta record type 21300 > Erreur de segmentation > > > * Finally with vampire there noting usefull to get. > > > net rpc vampire -S turbo -U Administrator%passwd > Fetching database 0 > [2003/04/23 20:54:27, 0] rpc_parse/parse_prs.c:prs_mem_get(528) > prs_mem_get: reading data of size 3170032 would overrun buffer. > [2003/04/23 20:54:27, 0] rpc_parse/parse_net.c:net_io_r_sam_sync(2826) > hmm, failed on i=55 > Fetching database 1 > > > > Do somebody has any hint of what appends ? > > Tanks? > > Laurent > > >-- John H Terpstra Email: jht@samba.org