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
Before I file a bugzilla, is anyone else seeing a similar problem.
--
Greg Woodbury
aka rdwolfe in FAS
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
12-05-2010, 06:10 AM
Tom H
samba user uid failure?
On Sat, Dec 4, 2010 at 11:18 PM, Gregory Woodbury <redwolfe@gmail.com> 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'
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
12-05-2010, 08:17 AM
Gregory Woodbury
samba user uid failure?
On Sun, Dec 5, 2010 at 2:10 AM, Tom H <tomh0665@gmail.com> wrote:
On Sat, Dec 4, 2010 at 11:18 PM, Gregory Woodbury <redwolfe@gmail.com> wrote:
>
> samba has begun acting strangely.* I'm using it to share a filesystem to an
[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:****** wolvesggw
HomeDir Drive:*******
Logon Script:********
Profile Path:******** wolvesggwprofile
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
*
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
12-05-2010, 10:47 AM
Tom H
samba user uid failure?
On Sun, Dec 5, 2010 at 4:17 AM, Gregory Woodbury <redwolfe@gmail.com> wrote:
> On Sun, Dec 5, 2010 at 2:10 AM, Tom H <tomh0665@gmail.com> wrote:
>>
>> On Sat, Dec 4, 2010 at 11:18 PM, Gregory Woodbury <redwolfe@gmail.com>
>> 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
>
> [root@wolves samba]# pdbedit -Lw -u ggw
> ggw:501
>
> [root@wolves samba]#* testparm -s --parameter-name 'passdb backend'
> tdbsam
>From the last, it's clear why "/etc/samba/smbuser" isn't updated. With
tdbsam, the user file is passdb.tdb and it's in either
"/var/lib/samba" or "/var/lib/samba/private" (I've forgotten which).
>From the first two, ggw looks OK.
Do you have a "username map" stanza in the global section or a "force
user" or "admin users" stanza in the share section?
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
12-05-2010, 12:44 PM
Gregory Woodbury
samba user uid failure?
On Sun, Dec 5, 2010 at 6:47 AM, Tom H <tomh0665@gmail.com> wrote:
>From the last, it's clear why "/etc/samba/smbuser" isn't updated. With
tdbsam, the user file is passdb.tdb and it's in either
"/var/lib/samba" or "/var/lib/samba/private" (I've forgotten which).
>From the first two, ggw looks OK.
Do you have a "username map" stanza in the global section or a "force
user" or "admin users" stanza in the share section?
Yes, should it be removed?
Yes! Removing it from the smb.conf fixes the problem.
--
Greg Woodbury
aka redwolfe in FAS/IRC
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
12-06-2010, 02:06 AM
Tom H
samba user uid failure?
On Sun, Dec 5, 2010 at 8:44 AM, Gregory Woodbury <redwolfe@gmail.com> wrote:
> On Sun, Dec 5, 2010 at 6:47 AM, Tom H <tomh0665@gmail.com> wrote:
>>
>> >
>> > [root@wolves samba]# pdbedit -Lw -u ggw
>> > ggw:501
>> >
>> > [root@wolves samba]#* testparm -s --parameter-name 'passdb backend'
>> > tdbsam
>>
>> >From the last, it's clear why "/etc/samba/smbuser" isn't updated. With
>> tdbsam, the user file is passdb.tdb and it's in either
>> "/var/lib/samba" or "/var/lib/samba/private" (I've forgotten which).
>>
>> >From the first two, ggw looks OK.
>>
>> Do you have a "username map" stanza in the global section or a "force
>> user" or "admin users" stanza in the share section?
>
> Yes, should it be removed?
>
> [karaoke]
> *** path = /karaoke
> *** admin users = ggw
> *** read only = No
> *** guest ok = Yes
> *** use sendfile = Yes
> *** case sensitive = Yes
> *** hide dot files = No
I've never used "admin users" in a share definition so I couldn't tell
you whether yo need it or not. Sorry.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
12-06-2010, 02:17 AM
Tom H
samba user uid failure?
On Sun, Dec 5, 2010 at 2:15 PM, Gregory Woodbury <redwolfe@gmail.com> wrote:
> On Sun, Dec 5, 2010 at 8:44 AM, Gregory Woodbury <redwolfe@gmail.com> wrote:
>> On Sun, Dec 5, 2010 at 6:47 AM, Tom H <tomh0665@gmail.com> wrote:
>>> >
>>> > [root@wolves samba]# pdbedit -Lw -u ggw
>>> > ggw:501
>>> >
>>> > [root@wolves samba]#* testparm -s --parameter-name 'passdb backend'
>>> > tdbsam
>>>
>>> >From the last, it's clear why "/etc/samba/smbuser" isn't updated. With
>>> tdbsam, the user file is passdb.tdb and it's in either
>>> "/var/lib/samba" or "/var/lib/samba/private" (I've forgotten which).
>>>
>>> >From the first two, ggw looks OK.
>>>
>>> Do you have a "username map" stanza in the global section or a "force
>>> user" or "admin users" stanza in the share section?
>>
>> Yes, should it be removed?
>
> Yes! Removing it from the smb.conf fixes the problem.
Good to know, thanks.
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines