[SLUG] smbstatus -d does not does who is logged in

From: patrick grantham (pwgrant@cssi-fl.com)
Date: Tue Jun 25 2002 - 09:58:54 EDT


Below is output form samba status output. On two other servers the uid's
match the user names of those making the connections. On this machine it
shows th user the samba is running as (root.) How do I change samba such
that the uids matched the usernames making the connection from the win
client (server suse 7.3 Linux)? I am not certain what I have done
differently this time.

pwgrant@server1:~> smbstatus -d
using configfile = /etc/samba/smb.conf (****See end of email for smb.conf
file)
Opened status file

Samba version 2.2.1a
Service uid gid pid machine
----------------------------------------------
shared root administrator 19528 office-back (192.168.1.8) Mon
Jun 24 23:21:12 2002
administra root administrator 19528 office-back (192.168.1.8) Mon
Jun 24 23:21:45 2002
administra root administrator 20936 shannon (192.168.1.100) Tue Jun
25 08:09:54 2002
shared root administrator 20936 shannon (192.168.1.100) Tue Jun
25 08:09:51 2002
procare root administrator 19528 office-back (192.168.1.8) Mon
Jun 24 23:21:42 2002
procare root administrator 19376 frontdesk-right (192.168.1.10)
Mon Jun 24 22:40:15 2002
shared root administrator 19376 frontdesk-right (192.168.1.10)
Mon Jun 24 22:38:58 2002
procare root administrator 20936 shannon (192.168.1.100) Tue Jun
25 08:09:53 2002
administra root administrator 19376 frontdesk-right (192.168.1.10)
Mon Jun 24 22:39:28 2002
shared root administrator 19376 frontdesk-right (192.168.1.10)
Mon Jun 24 23:31:15 2002
administra root administrator 19376 frontdesk-right (192.168.1.10)
Mon Jun 24 22:40:24 2002
shared touchscreen touchscreen 20748 touchscreen (192.168.1.101) Tue
Jun 25 06:34:28 2002
procare root touchscreen 20748 touchscreen (192.168.1.101) Tue
Jun 25 06:34:29 2002

At a different site (here, the uid'd match the user logged in formthe win
client, server is Suse 7.0 Linux)
pwgrant@server1:~ > smbstatus -d
using configfile = /etc/smb.conf
lockdir = /var/lock/samba
Opened status file /var/lock/samba/STATUS..LCK

Samba version 2.0.7
Service uid gid pid machine
----------------------------------------------
shared jancor users 8060 stjoan (172.16.32.110) Tue Jun 25
07:57:43 2002
jancor jancor jancor 8060 stjoan (172.16.32.110) Tue Jun 25
07:57:47 2002
shared ceicad users 8143 childcare2 (172.16.32.123) Tue Jun 25
08:19:32 2002
shared campaign users 5894 andrew (172.16.32.122) Mon Jun 24
16:37:34 2002
ceicad ceicad ceicad 8143 childcare2 (172.16.32.123) Tue Jun 25
08:19:36 2002
shared jeawil users 8144 stpeter (172.16.32.117) Tue Jun 25
08:19:45 2002
jeawil jeawil jeawil 8144 stpeter (172.16.32.117) Tue Jun 25
08:19:48 2002
campaign campaign users 5894 andrew (172.16.32.122) Mon Jun 24
16:37:36 2002
email pegmid users 8150 stjude (172.16.32.8) Tue Jun 25
08:22:44 2002
shared pegmid users 8150 stjude (172.16.32.8) Tue Jun 25
08:20:49 2002
pegmid pegmid pegmid 8150 stjude (172.16.32.8) Tue Jun 25
08:20:49 2002
shared glabal users 8271 reception (172.16.32.103) Tue Jun 25
09:29:08 2002
glabal glabal glabal 8271 reception (172.16.32.103) Tue Jun 25
09:29:10 2002
install lyngai lyngai 8308 lynn (172.16.32.107) Tue Jun 25
09:37:44 2002
shared lyngai users 8308 lynn (172.16.32.107) Tue Jun 25
09:37:44 2002
lyngai lyngai lyngai 8308 lynn (172.16.32.107) Tue Jun 25
09:37:44 2002
email lyngai users 8308 lynn (172.16.32.107) Tue Jun 25
09:43:15 2002

---------------------------
smb.conf file of PC with quirky smbstatus:
 Samba config file created using SWAT
# from 192.168.1.10 (192.168.1.10)
# Date: 2002/06/24 22:38:49

# Global parameters
[global]
        workgroup = KIDSRKIDS
        server string = Samba 2.2.1a powered by suse linux 7.3
        map to guest = Bad User
        socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
        character set = ISO8859-15
        domain logons = Yes
        os level = 2
        lm announce = True
        lm interval = 30
        preferred master = True
        domain master = True
        wins support = Yes
        kernel oplocks = No
        admin users = pwgrant,user1
        printing = lprng

[homes]
        comment = Home Directories
        path = /home
        admin users = pwgrant,user1,administrator
        read only = No
        create mask = 0640
        directory mask = 0750
        browseable = No

[printers]
        comment = All Printers
        path = /var/tmp
        create mask = 0600
        printable = Yes
        browseable = No

[pwgrant]
        path = /home/pwgrant
        write list = pwgrant

[touchscreen]
        comment = touchscreen
        path = /home/touchscreen
        write list = pwgrant,user1

[web_sites]
        comment = Root Web Site Folder
        path = /usr/local/httpd/htdocs
        read list = pwgrant
        write list = pwgrant
        force group = webdev

[shared]
        comment = shared applications
        path = /home/shared
        valid users = administrator,@users
        admin users = pwgrant,user1,user2,administrator
        read list = touchscreen
        write list = pwgrant,user1,user2,@users
        read only = No
        guest ok = Yes

[startnet]
        comment = Network startup files
        path = /home/startnet
        admin users = pwgrant,user1,user2
        guest ok = Yes

[robriv]
        path = /home/user2
        admin users = pwgrant,user1,user2
        read list = pwgrant,user1,user2
        write list = pwgrant,user1,user2

[administrator]
        path = /home/administrator
        valid users = pwgrant,user1,administrator
        admin users = pwgrant,user1,administrator
        write list = pwgrant,user1,administrator
        read only = No

[procare]
        comment = Procare
        path = /home/procare
        admin users = pwgrant,user1,administrator,touchscreen
        read only = No

-------------------------------------------------------



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 13:00:52 EDT