i have a maintenance smb account (not guest) logon every hour to check
and report various things.  this causes a log in utmp for every machine
i have, my utmp is getting rather large soley on the maintenance logons.

what i would like to do, is deny logging of an smb connection if the
username is equal to the maintenance user.

my first thought was smbd/session.c but im not sure on the struct or if
there is a better way.

something like :

        if (vuser->user.unix_name == 'muser0') {
                return True;
        }

thoughts?

--
Jason Kawaja
http://www.ietf.org/rfc/rfc1855.txt
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to