Bug 1362 - pdbedit problem when using -w -L swhitches.
pdbedit problem when using -w -L swhitches.
Status: CLOSED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: User/Group Accounts
3.0.2
All Linux
: P3 normal
: none
Assigned To: Samba Bugzilla Account
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-05-18 08:28 UTC by Mauro Hernán Dionisi Minotto
Modified: 2005-08-24 10:17 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mauro Hernán Dionisi Minotto 2004-05-18 08:28:42 UTC
I am using webmin 1.140 to admin users from both Linux and Samba on Samba
3.0.2-7FC1 on Fedora Core 1

When webmin shows listed users, one of them is an hexa number and another one is
missing.

After looking at /etc/samba/smbpasswd I founded the one that was missing. Next,
I take a look on webmins perl code, /usr/libexec/webmin/samba/samba-lib.pl and
found the list_users() that calls pdbedit to get user info.

This is part of the code, line 494:

open(PASS, "$config{'pdbedit'} -L -w -s $config{'smb_conf'} |");

After call pdbedit with the same parameters from a shell I founded that
pdbedit's output was incorrect. It seems like there is a buffer problem when
diplaying user info with the "-w" switch.

After listing 36 users, it starts to display "sbmpasswd like" info, and without
completing this output, continues displaying more lines without "smbpasswd
format"... But this doesn't here, after printing another 36 users, it starts to
merge info with and without "smbpasswd format".

This behavour confueses webmin, because in one of that "merges", it put lines
without "smbpasswd format" just betwen one of the ids of the "smbpasswd form"
line. It doesn't use CR+LF.
The first of these merges, is near the end of the ID, so webmin parser shows the
 user name, but, the second one, is near the begining of the users ID... just
the one is missing on webmin's screen.

After this, we deleted every user appearing after the "cuted" one, including
this, and we added each one of this users again. We need to made some changes
on who will have a samba account, so we have the same problem, but... this
time, no "hexa names" appeared, but we lost one of them. 
On this ouptput, you can see that there are 95 users on samba's DB.
At username output number 39 "llopez" pdbedit's output "merges" different
formats, it starts printing in "smbpasswd format".... but.....
Look carefully at the last line of "smbpasswd format":

llopez:554:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE93pdb_getsampwent

As you can see, llopez's line is imcomplete, pdbedits continued in "non
smbpasswd format" before finish printing full llopez info, and start printing
cyaquinez's info, user number 40 on this output.

It continued printing from user number 40 to 78. Now look the line after
ecabezas's info.... it continued printing the line interrupted for llopez's in
"smbpasswd format".

Now it continued with "smbpasswd format" for cyaquinez (user number 40) until
efanulli (user number 77)... Almost this seems like.... but....
Take a look carefully to the next line after efanulli's "smbpasswd format"
info:

ecapdb_getsampwent

it started to print ecabezas "smbpasswd format" info, but this output was
interrupted
and continued to print vspanpinatto's info (user number 79) in "non smbpasswd
format".

After end of file was reached, it continued printing  "smbpasswd format" info
of the cuted line for ecabezas's info, but.... look this line after nroger's
(user number 95, the last one) info :

bezas:535:22D3B69D51786748AAD3B435B51404EE:5A453CCECA03C4B907B328D01CC6DB8E:[U 
        ]:LCT-40A96FE5:

if you see this line, out of this context, you probably will think that is an
user in samba's DB which username is "bezas"... but... this is not true, 
this is the rest of the line started after efanulli's info in "non smbpasswd
format", and the output finishes printing "smbpasswd format" info till the
last user, the number 95, nroger.

It seems like there is a buffer problem when pdbedit prints info with -w
switch.

After looking at wbmin's code, I detected that it could use or not pdbedit, so
I renamed it the way it could not be found anymore.

I made some test with pdbedit for the user ecabezas, and it seems like the
samba DB is consistent. My problem is with -w switch, that is used by webmin
if it finds pdbedit.

Right now, I do not have pdbedit available any more. Will this affect another tasks?

I hope this info could help to find whats wrong on pdbedits output. I
downloaded samba's source via CVS, taked a look at pdbedit.c but I could not
find anything that could help me.

regards
Mauro Hernan Dionisi Minotto
Mendoza - Argentina


Here are some output that could help to understand this situation:

----------------------------------------------------------------------------------------------------------

# pdbedit -w -L -s /etc/samba/smb.conf

Trying to load: smbpasswd
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend 'ldapsam_compat'
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to register passdb backend guest
Successfully added passdb backend 'guest'
Attempting to find an passdb backend to match smbpasswd (smbpasswd)
Found pdb backend smbpasswd
pdb backend smbpasswd has a valid init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
Trying to load: smbpasswd
Attempting to find an passdb backend to match smbpasswd (smbpasswd)
Found pdb backend smbpasswd
pdb backend smbpasswd has a valid init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user carlosr, uid 500
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user flavios, uid 501
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user corinad, uid 502
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user jairog, uid 503
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user marianag, uid 504
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user claudiam, uid 505
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user diegoc, uid 506
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user diegoma, uid 507
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user marcelos, uid 508
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user fabiand, uid 510
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user diegom, uid 511
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user arielc, uid 512
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user gonzaloc, uid 513
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user jhond, uid 514
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user ramiror, uid 517
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user nfsnobody, uid 65534
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user alejandros, uid 518
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user gabriel, uid 519
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user hernanl, uid 520
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user cintias, uid 521
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user marcelac, uid 522
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user anandac, uid 523
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user root, uid 0
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user EXP006$, uid 525
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user SIS006$, uid 524
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user ricardom, uid 596
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user carlosp, uid 515
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user adriang, uid 516
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mvillalva, uid 509
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user vsantini, uid 526
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user rfarina, uid 527
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user gyamin, uid 528
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user maristiaran, uid 529
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user bjuarez, uid 530
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user vfusello, uid 531
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user eperez, uid 532
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user ncorvalan, uid 533
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user arojas, uid 534
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user llopez, uid 554
getsampwent (smbpasswd): done
carlosr:500:44E8C7DE204E2F21AAD3B435B51404EE:9EF83B571D928568183A00D33B31DF59:[U
         ]:LCT-40A971B8:
flavios:501:4E399869F8B197FBAAD3B435B51404EE:68C6755021EDB702D38A15EFD285DCF4:[U
         ]:LCT-409CD4A4:
corinad:502:C4F6AE9AD19EDF75AAD3B435B51404EE:255DF3F10B08836088FBC13551E49C95:[U
         ]:LCT-409CD4E8:
jairog:503:0B45B0888B830FB3AAD3B435B51404EE:F7F77729977512EA217C84143B7F09E7:[U
         ]:LCT-40A149D7:
marianag:504:E715F09998B0DA3BAAD3B435B51404EE:F85B832564B96F33EC8737003A9FB23E:[U
         ]:LCT-409CD55A:
claudiam:505:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-409CD585:
diegoc:506:2550B275603C75C6AAD3B435B51404EE:05A42707B9C785E4B85B84C6D97C0038:[U
         ]:LCT-409CD5A7:
diegoma:507:C3BE7B416A87BF9BAAD3B435B51404EE:74AD21C4DA52C105C8896A7D408C0BBB:[U
         ]:LCT-409CD5D9:
marcelos:508:8C1001350D53DB52AAD3B435B51404EE:712AC922C5C94C245C06D9B9B9B8F79B:[U
         ]:LCT-409CD603:
fabiand:510:E4722ED9F0FAE2A9AAD3B435B51404EE:8E2F460F89AB041D2CFC41EC6DB933BC:[U
         ]:LCT-409CD6ED:
diegom:511:C3BE7B416A87BF9BAAD3B435B51404EE:74AD21C4DA52C105C8896A7D408C0BBB:[U
         ]:LCT-409CD71B:
arielc:512:474133103B95F527AAD3B435B51404EE:688A1E118896F10E71444721983D39CE:[U
         ]:LCT-409CD74B:
gonzaloc:513:883142A011DF1874AAD3B435B51404EE:37263E322B50B7990F2B87E7E2044B50:[U
         ]:LCT-409CD776:
jhond:514:F877B617BA4C2FECAAD3B435B51404EE:1904D2C4DC855A6E91805D669E97AF45:[U 
        ]:LCT-409CD7AD:
ramiror:517:C9A53A87F4214BCEAAD3B435B51404EE:A1590C427B9F1959C4EA8D8E80CD6B72:[U
         ]:LCT-409CD8AC:
nfsnobody:65534:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A0D676:
alejandros:518:785A8B2AEDDC8C71AAD3B435B51404EE:B41EBEBE697DB148DEC09AD867CB9B05:[U
         ]:LCT-40A0D6D8:
gabriel:519:A7D80430B8342B73AAD3B435B51404EE:BA7F2409F17D08A550D8259F7DBC3AAE:[U
         ]:LCT-40A10C91:
hernanl:520:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A22938:
cintias:521:6591BB5472A3AD4AAAD3B435B51404EE:CE34B7750831685C5BA0E102818B78FB:[U
         ]:LCT-40A2296D:
marcelac:522:144C77B47EF6CAF5AAD3B435B51404EE:8D72188F9BB41639AB3FA4CFD2B1445B:[U
         ]:LCT-40A229B6:
anandac:523:474133103B95F527AAD3B435B51404EE:688A1E118896F10E71444721983D39CE:[U
         ]:LCT-40A229F7:
root:0:CB1DB368DBAA9090AAD3B435B51404EE:55D71059BE9C64D15D8FD419D2F5147F:[U    
     ]:LCT-40A235FD:
EXP006$:525:A64CACAE97202181458DCE487C56789A:F590BA04905EE756F9A1FCA16B1BA127:[W
         ]:LCT-40A25126:
SIS006$:524:8DCCBB290EB900B7AAD3B435B51404EE:14B0DD141808284518A391C5827080D2:[W
         ]:LCT-40A25E38:
ricardom:596:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A91192:
carlosp:515:B7F72E83DA8ED8C9AAD3B435B51404EE:35E9B3358F223352FB819DF60B426434:[U
         ]:LCT-40A9F76A:
adriang:516:58E55C0D10E0330BAAD3B435B51404EE:6E7B09E9DEF9B45B21993CE6FA805876:[U
         ]:LCT-40A9F79B:
mvillalva:509:E9EE96BB57468F82AAD3B435B51404EE:0F879CF058175CD751F6FDE45F07F7A6:[U
         ]:LCT-40A970E6:
vsantini:526:E1240FA00553C745AAD3B435B51404EE:9484A9327B2B4B4DD32CCF3486EAB60A:[U
         ]:LCT-40A96D4C:
rfarina:527:D6C4663996CD2D6BAAD3B435B51404EE:2CE403B6D457D171576F5D18F3ADE095:[U
         ]:LCT-40A970D7:
gyamin:528:B3B81F4A1DF57A02AAD3B435B51404EE:2F05455C79BC24631C8C211D80589D26:[U
         ]:LCT-40A96E8D:
maristiaran:529:467A148C7BF7858BAAD3B435B51404EE:33DE8211F08FC5AE634D6AB534BF24E9:[U
         ]:LCT-40A96E99:
bjuarez:530:55B22E93556606D5AAD3B435B51404EE:23134ACD8CF3B275166A26E240ADD96F:[U
         ]:LCT-40A96EAA:
vfusello:531:49F0C30320F2D746AAD3B435B51404EE:F2D69742310E4B5809592602BF4992D6:[U
         ]:LCT-40A96EB7:
eperez:532:31EBF481C107A3BAAAD3B435B51404EE:50F6CBE5C9BC053A21174866655A3D86:[U
         ]:LCT-40A970CF:
ncorvalan:533:55BAD70244EC669DAAD3B435B51404EE:FA0E139FCC3CCA656EC908784936E607:[U
         ]:LCT-40A96ED9:
arojas:534:5E57FC0295493699AAD3B435B51404EE:279E53209DFFA0D5E1AE2AC45E250C51:[U
         ]:LCT-40A96EE4:
llopez:554:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE93pdb_getsampwent
getsmbfilepwent: returning passwd entry for user cyaquinez, uid 555
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user afracaro, uid 556
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user vzarife, uid 557
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mmarangoni, uid 558
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user sgarcia, uid 559
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user fcolombini, uid 560
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user vgatica, uid 561
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user gfloramo, uid 562
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user pmanagua, uid 563
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mcoria, uid 564
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user t0810, uid 565
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user efernandez, uid 566
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user dcortez, uid 567
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user rsantos, uid 568
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user iguatelli, uid 569
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user jfrias, uid 570
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user dlegrand, uid 571
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user abecerra, uid 572
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user jesper, uid 573
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user dfernandez, uid 574
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user fcapel, uid 575
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user czuniga, uid 576
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mrubio, uid 577
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user ozagaglia, uid 578
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user masis, uid 579
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user oyudice, uid 580
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user cdiaz, uid 581
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mmandarella, uid 582
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user dfonsalida, uid 583
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user agarro, uid 584
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mgil, uid 585
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mcontino, uid 586
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user rortiz, uid 587
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mgrassetto, uid 588
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mgomez, uid 589
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user rcastro, uid 590
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user rperalta, uid 591
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user efanulli, uid 592
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user ecabezas, uid 535
getsampwent (smbpasswd): done
1B73C59D7E0C089C0:[U          ]:LCT-40A9376F:
cyaquinez:555:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9376F:
afracaro:556:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A937CF:
vzarife:557:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A937CF:
mmarangoni:558:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93B42:
sgarcia:559:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93B42:
fcolombini:560:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93B42:
vgatica:561:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93B42:
gfloramo:562:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93B42:
pmanagua:563:DF604CF4E7DEBBD2AAD3B435B51404EE:804DD78456E6BE065177B39ADE32B944:[U
         ]:LCT-40A9F83C:
mcoria:564:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93B43:
t0810:565:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U 
        ]:LCT-40A93B43:
efernandez:566:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93C26:
dcortez:567:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93C26:
rsantos:568:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93C26:
iguatelli:569:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93C26:
jfrias:570:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93C26:
dlegrand:571:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93D33:
abecerra:572:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93D34:
jesper:573:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93D34:
dfernandez:574:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93D34:
fcapel:575:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93D34:
czuniga:576:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93D34:
mrubio:577:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93D34:
ozagaglia:578:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93DF1:
masis:579:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U 
        ]:LCT-40A93DF1:
oyudice:580:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A93DF1:
cdiaz:581:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U 
        ]:LCT-40A93DF1:
mmandarella:582:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9401C:
dfonsalida:583:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9401C:
agarro:584:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9401C:
mgil:585:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U  
       ]:LCT-40A9401C:
mcontino:586:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9401C:
rortiz:587:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9401C:
mgrassetto:588:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9401C:
mgomez:589:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9401D:
rcastro:590:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9401D:
rperalta:591:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9401D:
efanulli:592:E9C6870289B3CEE8AAD3B435B51404EE:35DA248004B8363B6D87C79086C61809:[U
         ]:LCT-40A970B5:
ecapdb_getsampwent
getsmbfilepwent: returning passwd entry for user vspanpinatto, uid 536
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mjuan, uid 537
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user adapassano, uid 538
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user nferrari, uid 539
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user mdujanoff, uid 540
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user jdujanoff, uid 541
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user tpravata, uid 542
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user auxiliar, uid 544
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user jrojas, uid 543
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user srojo, uid 545
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user cmarin, uid 546
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user dfavero, uid 547
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user jloncharich, uid 548
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user dnavajas, uid 549
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user ssotomayor, uid 550
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user fzamarian, uid 551
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: returning passwd entry for user nroger, uid 552
getsampwent (smbpasswd): done
pdb_getsampwent
getsmbfilepwent: end of file reached.
bezas:535:22D3B69D51786748AAD3B435B51404EE:5A453CCECA03C4B907B328D01CC6DB8E:[U 
        ]:LCT-40A96FE5:
vspanpinatto:536:AAD3B435B51404EEAAD3B435B51404EE:31D6CFE0D16AE931B73C59D7E0C089C0:[U
         ]:LCT-40A9700C:
mjuan:537:35F62E761241A31BAAD3B435B51404EE:27122C3F532CF2703D95D50C23961549:[U 
        ]:LCT-40A97058:
adapassano:538:9C749B84168D712DAAD3B435B51404EE:B59B3579E8B7C5B3D00E3AB57DAEA311:[U
         ]:LCT-40A9708B:
nferrari:539:B2494BA5249C5F73AAD3B435B51404EE:87831AE7F990435886855E9F676345C5:[U
         ]:LCT-40A97109:
mdujanoff:540:1C54F9A96C651D73AAD3B435B51404EE:DCE3337B6E026D349B8570C16FB16201:[U
         ]:LCT-40A97197:
jdujanoff:541:F877B617BA4C2FECAAD3B435B51404EE:1904D2C4DC855A6E91805D669E97AF45:[U
         ]:LCT-40A971A2:
tpravata:542:0966FDFC55A16D3AAAD3B435B51404EE:8E98570C3A7511785726A13FFED5F8D5:[U
         ]:LCT-40A971AB:
auxiliar:544:4A369E0C4A71D368AAD3B435B51404EE:DB94D97D585954889C79072C410DBBAC:[U
         ]:LCT-40A9721A:
jrojas:543:FD1A9CF740CEA685AAD3B435B51404EE:B7BF26F618724A02F3DAA52979219579:[U
         ]:LCT-40A97236:
srojo:545:38FBC2B5721BB221AAD3B435B51404EE:E04510B24625644AA70837A2B98BBE81:[U 
        ]:LCT-40A9727A:
cmarin:546:11D7B54E128A85A2AAD3B435B51404EE:E65AA4E39077696BC251F42DC1A898D7:[U
         ]:LCT-40A97283:
dfavero:547:BE27B48D3217285BAAD3B435B51404EE:B4CB714B004E30E5167895101FA69AA3:[U
         ]:LCT-40A9728F:
jloncharich:548:B08800A0168405B8AAD3B435B51404EE:F1F25356ED5D3E89D72DD5335B5C4051:[U
         ]:LCT-40A9730B:
dnavajas:549:1D32E4E2F505C975AAD3B435B51404EE:168E7C999ACF1809C430B667FBC479CA:[U
         ]:LCT-40A97316:
ssotomayor:550:26F8092A33DAAF05AAD3B435B51404EE:4F9099EA6FFAD7906207DBC841EF13D4:[U
         ]:LCT-40A9731F:
fzamarian:551:A677C48A5D8B4B1DAAD3B435B51404EE:1DF6E0C6E4CBA9C2E4EC2FBB6A10CB5E:[U
         ]:LCT-40A9732E:
nroger:552:C1D7466ED70D481BAAD3B435B51404EE:13EF1C2897457A2FC2D4B7E2F1E74073:[U
         ]:LCT-40A9733A:

---------------------------------------------------------------------------------------------------------------

Here are more output resulting from tests with pdbedit to confirm samba's DB
consistency:

# pdbedit -w -u ecabezas

Trying to load: smbpasswd
Attempting to register passdb backend ldapsam
Successfully added passdb backend 'ldapsam'
Attempting to register passdb backend ldapsam_compat
Successfully added passdb backend 'ldapsam_compat'
Attempting to register passdb backend smbpasswd
Successfully added passdb backend 'smbpasswd'
Attempting to register passdb backend tdbsam
Successfully added passdb backend 'tdbsam'
Attempting to register passdb backend guest
Successfully added passdb backend 'guest'
Attempting to find an passdb backend to match smbpasswd (smbpasswd)
Found pdb backend smbpasswd
pdb backend smbpasswd has a valid init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
Trying to load: smbpasswd
Attempting to find an passdb backend to match smbpasswd (smbpasswd)
Found pdb backend smbpasswd
pdb backend smbpasswd has a valid init
Attempting to find an passdb backend to match guest (guest)
Found pdb backend guest
pdb backend guest has a valid init
getsmbfilepwent: returning passwd entry for user carlosr, uid 500
getsmbfilepwent: returning passwd entry for user flavios, uid 501
getsmbfilepwent: returning passwd entry for user corinad, uid 502
getsmbfilepwent: returning passwd entry for user jairog, uid 503
getsmbfilepwent: returning passwd entry for user marianag, uid 504
getsmbfilepwent: returning passwd entry for user claudiam, uid 505
getsmbfilepwent: returning passwd entry for user diegoc, uid 506
getsmbfilepwent: returning passwd entry for user diegoma, uid 507
getsmbfilepwent: returning passwd entry for user marcelos, uid 508
getsmbfilepwent: returning passwd entry for user fabiand, uid 510
getsmbfilepwent: returning passwd entry for user diegom, uid 511
getsmbfilepwent: returning passwd entry for user arielc, uid 512
getsmbfilepwent: returning passwd entry for user gonzaloc, uid 513
getsmbfilepwent: returning passwd entry for user jhond, uid 514
getsmbfilepwent: returning passwd entry for user ramiror, uid 517
getsmbfilepwent: returning passwd entry for user nfsnobody, uid 65534
getsmbfilepwent: returning passwd entry for user alejandros, uid 518
getsmbfilepwent: returning passwd entry for user gabriel, uid 519
getsmbfilepwent: returning passwd entry for user hernanl, uid 520
getsmbfilepwent: returning passwd entry for user cintias, uid 521
getsmbfilepwent: returning passwd entry for user marcelac, uid 522
getsmbfilepwent: returning passwd entry for user anandac, uid 523
getsmbfilepwent: returning passwd entry for user root, uid 0
getsmbfilepwent: returning passwd entry for user EXP006$, uid 525
getsmbfilepwent: returning passwd entry for user SIS006$, uid 524
getsmbfilepwent: returning passwd entry for user ricardom, uid 596
getsmbfilepwent: returning passwd entry for user carlosp, uid 515
getsmbfilepwent: returning passwd entry for user adriang, uid 516
getsmbfilepwent: returning passwd entry for user mvillalva, uid 509
getsmbfilepwent: returning passwd entry for user vsantini, uid 526
getsmbfilepwent: returning passwd entry for user rfarina, uid 527
getsmbfilepwent: returning passwd entry for user gyamin, uid 528
getsmbfilepwent: returning passwd entry for user maristiaran, uid 529
getsmbfilepwent: returning passwd entry for user bjuarez, uid 530
getsmbfilepwent: returning passwd entry for user vfusello, uid 531
getsmbfilepwent: returning passwd entry for user eperez, uid 532
getsmbfilepwent: returning passwd entry for user ncorvalan, uid 533
getsmbfilepwent: returning passwd entry for user arojas, uid 534
getsmbfilepwent: returning passwd entry for user llopez, uid 554
getsmbfilepwent: returning passwd entry for user cyaquinez, uid 555
getsmbfilepwent: returning passwd entry for user afracaro, uid 556
getsmbfilepwent: returning passwd entry for user vzarife, uid 557
getsmbfilepwent: returning passwd entry for user mmarangoni, uid 558
getsmbfilepwent: returning passwd entry for user sgarcia, uid 559
getsmbfilepwent: returning passwd entry for user fcolombini, uid 560
getsmbfilepwent: returning passwd entry for user vgatica, uid 561
getsmbfilepwent: returning passwd entry for user gfloramo, uid 562
getsmbfilepwent: returning passwd entry for user pmanagua, uid 563
getsmbfilepwent: returning passwd entry for user mcoria, uid 564
getsmbfilepwent: returning passwd entry for user t0810, uid 565
getsmbfilepwent: returning passwd entry for user efernandez, uid 566
getsmbfilepwent: returning passwd entry for user dcortez, uid 567
getsmbfilepwent: returning passwd entry for user rsantos, uid 568
getsmbfilepwent: returning passwd entry for user iguatelli, uid 569
getsmbfilepwent: returning passwd entry for user jfrias, uid 570
getsmbfilepwent: returning passwd entry for user dlegrand, uid 571
getsmbfilepwent: returning passwd entry for user abecerra, uid 572
getsmbfilepwent: returning passwd entry for user jesper, uid 573
getsmbfilepwent: returning passwd entry for user dfernandez, uid 574
getsmbfilepwent: returning passwd entry for user fcapel, uid 575
getsmbfilepwent: returning passwd entry for user czuniga, uid 576
getsmbfilepwent: returning passwd entry for user mrubio, uid 577
getsmbfilepwent: returning passwd entry for user ozagaglia, uid 578
getsmbfilepwent: returning passwd entry for user masis, uid 579
getsmbfilepwent: returning passwd entry for user oyudice, uid 580
getsmbfilepwent: returning passwd entry for user cdiaz, uid 581
getsmbfilepwent: returning passwd entry for user mmandarella, uid 582
getsmbfilepwent: returning passwd entry for user dfonsalida, uid 583
getsmbfilepwent: returning passwd entry for user agarro, uid 584
getsmbfilepwent: returning passwd entry for user mgil, uid 585
getsmbfilepwent: returning passwd entry for user mcontino, uid 586
getsmbfilepwent: returning passwd entry for user rortiz, uid 587
getsmbfilepwent: returning passwd entry for user mgrassetto, uid 588
getsmbfilepwent: returning passwd entry for user mgomez, uid 589
getsmbfilepwent: returning passwd entry for user rcastro, uid 590
getsmbfilepwent: returning passwd entry for user rperalta, uid 591
getsmbfilepwent: returning passwd entry for user efanulli, uid 592
getsmbfilepwent: returning passwd entry for user ecabezas, uid 535
Unix username:        ecabezas
NT username:          
Account Flags:        [U          ]
User SID:             S-1-5-21-2132218119-3176024000-1011226388-2070
Primary Group SID:    S-1-5-21-2132218119-3176024000-1011226388-132069
Full Name:            Eugenia Caboezas
Home Directory:       \\andesmar1\ecabezas
HomeDir Drive:        L:
Logon Script:         
Profile Path:         \\andesmar1\profiles\ecabezas.pds
Domain:               ANDESMARUX
Account desc:         
Workstations:         
Munged dial:          
Logon time:           0
Logoff time:          Tue, 19 Jan 2038 00:14:07 GMT
Kickoff time:         Tue, 19 Jan 2038 00:14:07 GMT
Password last set:    Mon, 17 May 2004 23:07:33 GMT
Password can change:  Mon, 17 May 2004 23:07:33 GMT
Password must change: Tue, 19 Jan 2038 00:14:07 GMT

-----------------------------------------------------------------------------------------------------------
Comment 1 Gerald (Jerry) Carter 2005-02-11 07:21:06 UTC
is this still a problem in 3.0.11 ?   I cannot reproduce any problems locally.
Comment 2 Gerald (Jerry) Carter 2005-08-24 10:17:31 UTC
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.