summaryrefslogtreecommitdiffstats
path: root/docs/htmldocs/using_samba/ch09_02.html
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2001-03-26 18:18:19 +0000
committerGerald Carter <jerry@samba.org>2001-03-26 18:18:19 +0000
commitbdfdfe524748e9cc8d779fd57f1279f811b5e7db (patch)
tree8a2a231bade6d41d7191f2e11f4d4a3633101faa /docs/htmldocs/using_samba/ch09_02.html
parent5c5d029111fda1f9c4b704c3f72ca8eee1636ff8 (diff)
downloadsamba-bdfdfe524748e9cc8d779fd57f1279f811b5e7db.tar.gz
samba-bdfdfe524748e9cc8d779fd57f1279f811b5e7db.tar.xz
samba-bdfdfe524748e9cc8d779fd57f1279f811b5e7db.zip
band aid fix for calling getpwnam() for every entry in smbpasswd
as we iterate over the list of account searching for a single line. The bug was that if a user existed in smbpasswd but not /etc/passwd the search would be abandoned and no user's below the problem line in smbpasswd would be examined. the iterate_getsam21pwrid or pwuid functions in passdb.c have not been touched 'cause we need to do a getpwnam() call to get the necessary information. Fixing the iterate_getsam21pwnam() function though does speed up domain logons (the only case where the bug was currently showing up) tremendously for large smbpasswd files (test against ~4,500 line smbpasswd). --jerry
Diffstat (limited to 'docs/htmldocs/using_samba/ch09_02.html')
0 files changed, 0 insertions, 0 deletions