Use sec_initial_uid() in the places where being root doesn't matter,
commit9252df53d95d6ebe43314ffd87a9dda940b1ae10
authorJeremy Allison <jra@samba.org>
Sat, 13 Feb 2010 07:18:53 +0000 (12 23:18 -0800)
committerJeremy Allison <jra@samba.org>
Sat, 13 Feb 2010 07:18:53 +0000 (12 23:18 -0800)
tree3a7034e7e9bfe5c686b4c93716c41854c9eb46f6
parentd46d7717c7bdc1b404ff53d7831ed00d556a940f
Use sec_initial_uid() in the places where being root doesn't matter,
and 0 in the places where it does.

Jeremy
source3/lib/afs_settoken.c
source3/lib/debug.c
source3/lib/fault.c
source3/printing/printing_db.c
source3/smbd/service.c