LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-14-2008, 09:21 PM   #16
rdnewman
Member
 
Registered: Jul 2005
Location: Meridian, ID
Distribution: FC6
Posts: 30

Original Poster
Rep: Reputation: 15

Ok, thanks for the elaboration. I'll research the nobody owner further, esp for Fedora, so I'm more clear on why it works for us in the office but not at home.

So to run without the username map means to just comment out that line in the smb.conf file, restart smb, and see what happens? I assume then that if I observe no difference, then we look elsewhere; however if things start work without further complication, where do you see that path going? In the meantime, I'll try what I just said and assume that I've understood your instruction correctly.

On your last question, yes, the user in question is known to have 501/501 set. On Fedora, users start at 500, so 501 is my second user. I can login directly on the target system ("momma") without difficulty for this user and access the files. So on the face of it, the basic user settings seem fine.

Richard
 
Old 01-15-2008, 11:19 AM   #17
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Yeah, just remove the reference to the username map file, give Samba a restart, and see what happens.

If commenting out the username map works, then check that file and make sure the username doesn't map to something invalid. You might even post that file up here if commenting out that line works.

So, you're assigning each user a unique username and groupname? Is that how I'm reading this?
 
Old 01-15-2008, 11:43 PM   #18
rdnewman
Member
 
Registered: Jul 2005
Location: Meridian, ID
Distribution: FC6
Posts: 30

Original Poster
Rep: Reputation: 15
Ok, I tried it and restarted SMB. No change. Below is the output from /var/log/messages:

Quote:
Jan 15 22:30:35 momma nmbd[12108]: [2008/01/15 22:30:35, 0] nmbd/nmbd.c:terminate(58)
Jan 15 22:30:35 momma nmbd[12108]: Got SIGTERM: going down...
Jan 15 22:30:38 momma nmbd[8101]: [2008/01/15 22:30:38, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(290)
Jan 15 22:30:38 momma nmbd[8101]: become_domain_master_browser_bcast:
Jan 15 22:30:38 momma nmbd[8101]: Attempting to become domain master browser on workgroup WORKGROUP on subnet 192.168.212.112
Jan 15 22:30:38 momma nmbd[8101]: [2008/01/15 22:30:38, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(303)
Jan 15 22:30:38 momma nmbd[8101]: become_domain_master_browser_bcast: querying subnet 192.168.212.112 for domain master browser on workgroup WORKGROUP
Jan 15 22:30:46 momma nmbd[8101]: [2008/01/15 22:30:46, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
Jan 15 22:30:46 momma nmbd[8101]: *****
Jan 15 22:30:46 momma nmbd[8101]:
Jan 15 22:30:46 momma nmbd[8101]: Samba server MOMMA is now a domain master browser for workgroup WORKGROUP on subnet 192.168.212.112
Jan 15 22:30:46 momma nmbd[8101]:
Jan 15 22:30:46 momma nmbd[8101]: *****
Jan 15 22:31:01 momma nmbd[8101]: [2008/01/15 22:31:01, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
Jan 15 22:31:01 momma nmbd[8101]: *****
Jan 15 22:31:01 momma nmbd[8101]:
Jan 15 22:31:01 momma nmbd[8101]: Samba name server MOMMA is now a local master browser for workgroup WORKGROUP on subnet 192.168.212.112
Jan 15 22:31:01 momma nmbd[8101]:
Jan 15 22:31:01 momma nmbd[8101]: *****
Jan 15 22:33:03 momma smbd[8123]: [2008/01/15 22:33:03, 0] lib/util_sec.c:assert_uid(101)
Jan 15 22:33:03 momma smbd[8123]: Failed to set uid privileges to (-1,501) now set to (0,0)
Jan 15 22:33:03 momma smbd[8123]: [2008/01/15 22:33:03, 0] lib/util.c:smb_panic(1621)
Jan 15 22:33:03 momma smbd[8123]: PANIC (pid 8123): failed to set uid
Jan 15 22:33:03 momma smbd[8123]:
Jan 15 22:33:03 momma smbd[8123]: [2008/01/15 22:33:03, 0] lib/util.c:log_stack_trace(1728)
Jan 15 22:33:03 momma smbd[8123]: BACKTRACE: 22 stack frames:
Jan 15 22:33:03 momma smbd[8123]: #0 smbd(log_stack_trace+0x2d) [0x8022578d]
Jan 15 22:33:03 momma smbd[8123]: #1 smbd(smb_panic+0x5d) [0x802258bd]
Jan 15 22:33:03 momma smbd[8123]: #2 smbd [0x8022b9ce]
Jan 15 22:33:03 momma smbd[8123]: #3 smbd [0x800a6bac]
Jan 15 22:33:03 momma smbd[8123]: #4 smbd(pop_sec_ctx+0xa2) [0x800a6d42]
Jan 15 22:33:03 momma smbd[8123]: #5 smbd(unbecome_root+0x17) [0x8009bfc7]
Jan 15 22:33:03 momma smbd[8123]: #6 smbd(gid_to_sid+0x10e) [0x801e008e]
Jan 15 22:33:03 momma smbd[8123]: #7 smbd [0x800af41c]
Jan 15 22:33:03 momma smbd[8123]: #8 smbd(get_nt_acl+0x4c0) [0x800b56c0]
Jan 15 22:33:03 momma smbd[8123]: #9 smbd(vfswrap_fget_nt_acl+0x2b) [0x800aa6ab]
Jan 15 22:33:03 momma smbd[8123]: #10 smbd(is_visible_file+0x2ca) [0x8005910a]
Jan 15 22:33:03 momma smbd[8123]: #11 smbd [0x8005966d]
Jan 15 22:33:03 momma smbd[8123]: #12 smbd(dptr_ReadDirName+0x51) [0x800596d1]
Jan 15 22:33:03 momma smbd[8123]: #13 smbd [0x800917bd]
Jan 15 22:33:03 momma smbd[8123]: #14 smbd [0x80094b41]
Jan 15 22:33:03 momma smbd[8123]: #15 smbd(handle_trans2+0x24b) [0x8009545b]
Jan 15 22:33:03 momma smbd[8123]: #16 smbd(reply_trans2+0x6ca) [0x8009b80a]
Jan 15 22:33:03 momma smbd[8123]: #17 smbd [0x800b81c0]
Jan 15 22:33:03 momma smbd[8123]: #18 smbd(smbd_process+0x7ab) [0x800b92eb]
Jan 15 22:33:03 momma smbd[8123]: #19 smbd(main+0xbd0) [0x802d4490]
Jan 15 22:33:03 momma smbd[8123]: #20 /lib/libc.so.6(__libc_start_main+0xdc) [0x368dec]
Jan 15 22:33:03 momma smbd[8123]: #21 smbd [0x80043051]
Jan 15 22:33:03 momma smbd[8123]: [2008/01/15 22:33:03, 0] lib/fault.c:dump_core(173)
Jan 15 22:33:03 momma smbd[8123]: dumping core in /var/log/samba/cores/smbd
Jan 15 22:33:03 momma smbd[8123]:
Jan 15 22:33:03 momma smbd[8168]: [2008/01/15 22:33:03, 0] lib/util_sec.c:assert_uid(101)
Jan 15 22:33:03 momma smbd[8168]: Failed to set uid privileges to (-1,501) now set to (0,0)
Jan 15 22:33:03 momma smbd[8168]: [2008/01/15 22:33:03, 0] lib/util.c:smb_panic(1621)
Jan 15 22:33:03 momma smbd[8168]: PANIC (pid 8168): failed to set uid
Jan 15 22:33:03 momma smbd[8168]:

... [snip] ...

Jan 15 22:33:47 momma smbd[8196]: [2008/01/15 22:33:47, 0] lib/util_sec.c:assert_uid(101)
Jan 15 22:33:47 momma smbd[8196]: Failed to set uid privileges to (-1,501) now set to (0,0)
Jan 15 22:33:47 momma smbd[8196]: [2008/01/15 22:33:47, 0] lib/util.c:smb_panic(1621)
Jan 15 22:33:47 momma smbd[8196]: PANIC (pid 8196): failed to set uid
Jan 15 22:33:47 momma smbd[8196]:
Jan 15 22:33:47 momma smbd[8196]: [2008/01/15 22:33:47, 0] lib/util.c:log_stack_trace(1728)
Jan 15 22:33:47 momma smbd[8196]: BACKTRACE: 22 stack frames:
Jan 15 22:33:47 momma smbd[8196]: #0 smbd(log_stack_trace+0x2d) [0x8022578d]
Jan 15 22:33:47 momma smbd[8196]: #1 smbd(smb_panic+0x5d) [0x802258bd]
Jan 15 22:33:47 momma smbd[8196]: #2 smbd [0x8022b9ce]
Jan 15 22:33:47 momma smbd[8196]: #3 smbd [0x800a6bac]
Jan 15 22:33:47 momma smbd[8196]: #4 smbd(pop_sec_ctx+0xa2) [0x800a6d42]
Jan 15 22:33:47 momma smbd[8196]: #5 smbd(unbecome_root+0x17) [0x8009bfc7]
Jan 15 22:33:47 momma smbd[8196]: #6 smbd(gid_to_sid+0x10e) [0x801e008e]
Jan 15 22:33:48 momma smbd[8196]: #7 smbd [0x800af41c]
Jan 15 22:33:48 momma smbd[8196]: #8 smbd(get_nt_acl+0x4c0) [0x800b56c0]
Jan 15 22:33:48 momma smbd[8196]: #9 smbd(vfswrap_fget_nt_acl+0x2b) [0x800aa6ab]
Jan 15 22:33:48 momma smbd[8196]: #10 smbd(is_visible_file+0x2ca) [0x8005910a]
Jan 15 22:33:48 momma smbd[8196]: #11 smbd [0x8005966d]
Jan 15 22:33:48 momma smbd[8196]: #12 smbd(dptr_ReadDirName+0x51) [0x800596d1]
Jan 15 22:33:48 momma smbd[8196]: #13 smbd [0x800917bd]
Jan 15 22:33:48 momma smbd[8196]: #14 smbd [0x80094b41]
Jan 15 22:33:48 momma smbd[8196]: #15 smbd(handle_trans2+0x24b) [0x8009545b]
Jan 15 22:33:48 momma smbd[8196]: #16 smbd(reply_trans2+0x6ca) [0x8009b80a]
Jan 15 22:33:48 momma smbd[8196]: #17 smbd [0x800b81c0]
Jan 15 22:33:48 momma smbd[8196]: #18 smbd(smbd_process+0x7ab) [0x800b92eb]
Jan 15 22:33:48 momma smbd[8196]: #19 smbd(main+0xbd0) [0x802d4490]
Jan 15 22:33:48 momma smbd[8196]: #20 /lib/libc.so.6(__libc_start_main+0xdc) [0x368dec]
Jan 15 22:33:48 momma smbd[8196]: #21 smbd [0x80043051]
Jan 15 22:33:48 momma smbd[8196]: [2008/01/15 22:33:48, 0] lib/fault.c:dump_core(173)
Jan 15 22:33:48 momma smbd[8196]: dumping core in /var/log/samba/cores/smbd
Jan 15 22:33:48 momma smbd[8196]:
Jan 15 22:33:57 momma smbd[8199]: [2008/01/15 22:33:57, 0] lib/util_sec.c:assert_uid(101)
Jan 15 22:33:57 momma smbd[8199]: Failed to set uid privileges to (-1,501) now set to (0,0)
Jan 15 22:33:57 momma smbd[8199]: [2008/01/15 22:33:57, 0] lib/util.c:smb_panic(1621)
Jan 15 22:33:57 momma smbd[8199]: PANIC (pid 8199): failed to set uid
Jan 15 22:33:57 momma smbd[8199]:
Jan 15 22:33:57 momma smbd[8199]: [2008/01/15 22:33:57, 0] lib/util.c:log_stack_trace(1728)
Jan 15 22:33:57 momma smbd[8199]: BACKTRACE: 22 stack frames:
Jan 15 22:33:57 momma smbd[8199]: #0 smbd(log_stack_trace+0x2d) [0x8022578d]
Jan 15 22:33:57 momma smbd[8199]: #1 smbd(smb_panic+0x5d) [0x802258bd]
Jan 15 22:33:57 momma smbd[8199]: #2 smbd [0x8022b9ce]
Jan 15 22:33:57 momma smbd[8199]: #3 smbd [0x800a6bac]
Jan 15 22:33:57 momma smbd[8199]: #4 smbd(pop_sec_ctx+0xa2) [0x800a6d42]
Jan 15 22:33:57 momma smbd[8199]: #5 smbd(unbecome_root+0x17) [0x8009bfc7]
Jan 15 22:33:57 momma smbd[8199]: #6 smbd(gid_to_sid+0x10e) [0x801e008e]
Jan 15 22:33:57 momma smbd[8199]: #7 smbd [0x800af41c]
Jan 15 22:33:57 momma smbd[8199]: #8 smbd(get_nt_acl+0x4c0) [0x800b56c0]
Jan 15 22:33:57 momma smbd[8199]: #9 smbd(vfswrap_fget_nt_acl+0x2b) [0x800aa6ab]
Jan 15 22:33:57 momma smbd[8199]: #10 smbd(is_visible_file+0x2ca) [0x8005910a]
Jan 15 22:33:57 momma smbd[8199]: #11 smbd [0x8005966d]
Jan 15 22:33:57 momma smbd[8199]: #12 smbd(dptr_ReadDirName+0x51) [0x800596d1]
Jan 15 22:33:57 momma smbd[8199]: #13 smbd [0x800917bd]
Jan 15 22:33:57 momma smbd[8199]: #14 smbd [0x80094b41]
Jan 15 22:33:57 momma smbd[8199]: #15 smbd(handle_trans2+0x24b) [0x8009545b]
Jan 15 22:33:58 momma smbd[8199]: #16 smbd(reply_trans2+0x6ca) [0x8009b80a]
Jan 15 22:33:58 momma smbd[8199]: #17 smbd [0x800b81c0]
Jan 15 22:33:58 momma smbd[8199]: #18 smbd(smbd_process+0x7ab) [0x800b92eb]
Jan 15 22:33:58 momma smbd[8199]: #19 smbd(main+0xbd0) [0x802d4490]
Jan 15 22:33:58 momma smbd[8199]: #20 /lib/libc.so.6(__libc_start_main+0xdc) [0x368dec]
Jan 15 22:33:58 momma smbd[8199]: #21 smbd [0x80043051]
Jan 15 22:33:58 momma smbd[8199]: [2008/01/15 22:33:58, 0] lib/fault.c:dump_core(173)
Jan 15 22:33:58 momma smbd[8199]: dumping core in /var/log/samba/cores/smbd
Jan 15 22:33:58 momma smbd[8199]:
#
Yes, by default Fedora assigns each user a separate group with the same GID. This is common and is not often changed on the systems I've ever worked on. Here are some excerpted lines from my /etc/passwd file:

Quote:
nobody:x:99:99:Nobody:/:/sbin/nologin
ri:x:500:500:Rian:/home/ri:/bin/bash
jo:x:501:501:Joan:/home/jo:/bin/bash

Richard
 
Old 01-16-2008, 07:47 AM   #19
ARC1450
Member
 
Registered: Jun 2005
Location: Odenton, MD
Distribution: Gentoo
Posts: 290

Rep: Reputation: 30
Hrm. . .my only thought now is to delete the user and re-create them, and don't assign the same UID/GID to them. Hopefully since it's just this one user, that might fix things.

I'm just curious, though. . .have you tried making the user owner of the files they are trying to access to see if that works?
 
Old 01-30-2008, 05:56 PM   #20
bradhorrocks
LQ Newbie
 
Registered: Jan 2008
Posts: 1

Rep: Reputation: 0
Same problem on 6 servers

I manage a group of clients each with a FC6 samba server.. I have been trying (without success) to resolve the issue with panics for almost 9 months...
I've tried complete tear down and rebuilds using different database (TDB) and a small amount of work on Network resolution..

These PANICS are a major problem to me and any help would be greatly appreciated

Cheers
Brad
 
  


Reply

Tags
fc6, samba, winxp



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Force DHCP To Refuse Clients A DHCP Lease Depending On Client MAC Address blackfish Linux - Server 3 08-17-2007 12:54 AM
DHCP from clients veeruk101 Linux - Networking 1 11-20-2006 02:38 AM
View DHCP clients? Avatar Linux - Networking 3 06-30-2004 12:55 PM
dhcp clients alaios Linux - Networking 5 12-12-2003 07:19 AM
Switching DHCP clients GhostOfYoda Linux - Security 1 08-01-2003 12:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration