Re: samba user uid failure?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 5, 2010 at 2:10 AM, Tom H <tomh0665@xxxxxxxxx> wrote:
On Sat, Dec 4, 2010 at 11:18 PM, Gregory Woodbury <redwolfe@xxxxxxxxx> wrote:
>
> samba has begun acting strangely.  I'm using it to share a filesystem to an
> XP client and the logs are showing:
>
> [2010/12/04 22:55:05.112604,  1] smbd/service.c:1070(make_connection_snum)
> tembo (::ffff:10.11.12.2) connect to service karaoke  initially as user
> ggw (uid=0, gid=501) (pid 19445)
>
> The problem is that ggw should not be set to uid=0
>
> I've tried to smbpasswd add the ggw user, but /etc/samba/smbuser isn't being
> updated.
>
> Installed version of samba is:
> Name        : samba
> Arch        : x86_64
> Version     : 3.5.6
> Release     : 71.fc14
> Size        : 17 M
> Repo        : installed
> From repo   : updates-testing

What's the output of
id ggw
pdbedit -Lv -u ggw
pdbedit -Lw -u ggw
testparm -s --parameter-name 'passdb backend'


[root@wolves samba]# id ggw
uid=501(ggw) gid=501(ggw) groups=501(ggw),10(wheel)

[root@wolves samba]# pdbedit -Lv -u ggw
Unix username:        ggw
NT username:         
Account Flags:        [U          ]
User SID:             S-1-5-21-2964259807-1119642270-1169463996-1001
Primary Group SID:    S-1-5-21-2964259807-1119642270-1169463996-513
Full Name:            ggw
Home Directory:       \\wolves\ggw
HomeDir Drive:       
Logon Script:        
Profile Path:         \\wolves\ggw\profile
Domain:               WOLVES
Account desc:        
Workstations:        
Munged dial:         
Logon time:           0
Logoff time:          9223372036854775807 seconds since the Epoch
Kickoff time:         9223372036854775807 seconds since the Epoch
Password last set:    Sat, 04 Dec 2010 22:48:16 EST
Password can change:  Sat, 04 Dec 2010 22:48:16 EST
Password must change: never
Last bad password   : 0
Bad password count  : 0
Logon hours         : FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

[root@wolves samba]# pdbedit -Lw -u ggw
ggw:501:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX:A50412B12D95B8CC4EE8955487B11500:[U          ]:LCT-4CFB0B80:

[root@wolves samba]#  testparm -s --parameter-name 'passdb backend'
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[karaoke]"
Loaded services file OK.
tdbsam

 
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux