diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-05-15 00:53:15 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-05-15 00:53:15 +0000 |
commit | 8410ef028a5eefb257346b6023a0e96c3cca1012 (patch) | |
tree | c3385a66d02bc391654e3a63f6f8321a2671924c /source3/passdb/pampass.c | |
parent | bc51512aadc705cbe5c4d666b7d45271e60d3f00 (diff) | |
download | samba-8410ef028a5eefb257346b6023a0e96c3cca1012.tar.gz samba-8410ef028a5eefb257346b6023a0e96c3cca1012.tar.bz2 samba-8410ef028a5eefb257346b6023a0e96c3cca1012.zip |
make the max_connections code less horrendously inefficient
- it didn't honour the clear flag
- it locked the database (not necessary)
the previous code would do 10^6 kill() operations for 1000 people
logging in - and all with the database locked. Not very scalable.
Still haven't added the counter, that would make it really efficient
(This used to be commit 6bdbeb4a32e52fb05328dcf38dbb90780e1761ef)
Diffstat (limited to 'source3/passdb/pampass.c')
0 files changed, 0 insertions, 0 deletions