Rework the 'guest account get's RID 501' code again...
authorAndrew Bartlett <abartlet@samba.org>
Sat, 17 Aug 2002 04:51:27 +0000 (04:51 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 17 Aug 2002 04:51:27 +0000 (04:51 +0000)
commit8718e5e7b2651edad15f52a4262dc745df7ad70f
treea9daef26345597e95ba9d78938d3a5ea933f9d65
parentcdaa3f55e1fcc38b1d7a63d502a9fea3b92bf193
Rework the 'guest account get's RID 501' code again...

This moves it right into the passdb subsystem, where we can do this in
just one (or 2) places.  Due to the fact that this code can be in a tight loop,
I've had to make 'guest account' a 'const' paramater, where % macros cannot be
used.  In any case, if the 'guest account' varies, we are in for some nasty
cases in the other code, so it's useful anyway.

Andrew Bartlett
docs/docbook/manpages/smb.conf.5.sgml
source/param/loadparm.c
source/passdb/passdb.c
source/passdb/pdb_unix.c