[Samba] unwanted change to uid 0

David Morel david.morel at amakuru.net
Mon Feb 10 15:50:11 GMT 2003


Hi all

I have samba 2.2.7a compiled on a very-home-made linux (2.4.19+many patches, 
gcc2.95.4,glibc2.2.5).

Knowing that I don't have any admin user or groups defined in smb.conf, what 
could cause smbd to keep root privileges when a normal user connects ? it's 
starting to get really annoying.

I get numerous lines like this one in the logs:
[2003/02/10 16:08:19, 5] smbd/uid.c:change_to_root_user(217)
  change_to_root_user: now uid=(0,0) gid=(0,0)

my configure options :

./configure \
--prefix=/usr \
--sysconfdir=/etc/samba \
--localstatedir=/var/samba \
--with-privatedir=/etc/samba/private \
--with-logfilebase=/var/log/samba \
--with-configdir=/etc/samba \
--with-lockdir=/var/lock/samba \
--with-piddir=/var/run/samba \
--with-codepagedir=/usr/share/samba/codepages \
--with-smbmount \
--without-pam \
--with-quotas \
--with-acl-support \
--with-winbind \
--with-sendfile-support \
--with-netatalk

Thanks a million.

D.Morel


More information about the samba mailing list