Ling Johnny
2003-Dec-18 02:13 UTC
[Samba] help: samba server don't work, log says: PANIC: failed to set gid
hi all, when i try to connnect to my smaba server from a win2000 workstation, it says the using network name is no longer usable. the log is like below: ... [1970/01/01 00:00:39, 10] ../lib/util.c:dump_data(1541) [000] 4D 5C E0 48 6D A0 99 2B CC 9F 15 9C AF E6 74 3B M\.Hm..+ ......t; [1970/01/01 00:00:39, 10] ../lib/util.c:dump_data(1549) [010] CB 61 96 1F 8B ED DD 3B 5C 5C 31 37 32 2E 39 36 .a.....; \\172.96 [1970/01/01 00:00:39, 10] ../lib/util.c:dump_data(1549) [020] 2E 33 33 2E 31 34 37 5C 49 50 43 24 00 3F 3F 3F .33.147\ IPC$.??? [1970/01/01 00:00:39, 10] ../lib/util.c:dump_data(1549) [030] 3F 3F 00 ??. [1970/01/01 00:00:39, 3] ../smbd/process.c:switch_message(685) switch message SMBtconX (pid 97) [1970/01/01 00:00:39, 3] ../smbd/sec_ctx.c:set_sec_ctx(329) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [1970/01/01 00:00:39, 5] ../smbd/uid.c:change_to_root_user(217) change_to_root_user: now uid=(0,0) gid=(0,0) [1970/01/01 00:00:39, 4] ../smbd/reply.c:reply_tcon_and_X(334) Got device type ????? [1970/01/01 00:00:39, 10] ../lib/access.c:check_access(304) check_access: allow = , deny = [1970/01/01 00:00:39, 10] ../lib/username.c:user_in_list(456) user_in_list: checking user in list [1970/01/01 00:00:39, 3] ../smbd/password.c:authorise_login(855) authorise_login: ACCEPTED: guest account and guest ok (nobody) [1970/01/01 00:00:39, 10] ../lib/username.c:user_in_list(456) user_in_list: checking user nobody in list [1970/01/01 00:00:39, 10] ../smbd/service.c:make_connection(356) make_connection: share is set read only. [1970/01/01 00:00:39, 10] ../lib/username.c:user_in_list(456) user_in_list: checking user nobody in list [1970/01/01 00:00:39, 10] ../lib/username.c:user_in_list(456) user_in_list: checking user nobody in list [1970/01/01 00:00:39, 10] ../lib/username.c:user_in_list(456) user_in_list: checking user nobody in list [1970/01/01 00:00:39, 3] ../smbd/service.c:make_connection(487) Connect path is /tmp [1970/01/01 00:00:39, 3] ../smbd/sec_ctx.c:push_sec_ctx(297) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [1970/01/01 00:00:39, 3] ../smbd/uid.c:push_conn_ctx(286) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [1970/01/01 00:00:39, 3] ../smbd/sec_ctx.c:set_sec_ctx(329) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [1970/01/01 00:00:39, 0] ../lib/util_sec.c:assert_gid(114) Failed to set gid privileges to (-1,65534) now set to (0,0) uid=(0,0) [1970/01/01 00:00:39, 0] ../lib/util.c:smb_panic(1094) PANIC: failed to set gid can anybody help me? the version of my samba server is 2.2.8. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com From dede.nurmansyah at internationalsos.com Thu Dec 18 03:17:17 2003 From: dede.nurmansyah at internationalsos.com (Dede NURMANSYAH) Date: Thu Dec 18 02:22:20 2003 Subject: [Samba] Domain account Message-ID: <81D2002D68E4D511881B009027777D03A09924@BALSOS03> Hi Craig Greats..!! It's works now, and I can sleep well tonight...:) Thanks for your bright explanations, it's so helpful to me. Many Thanks, Dede Nurmansyah -----Original Message----- From: Craig White [mailto:craigwhite@azapple.com] Sent: Wednesday, December 17, 2003 11:54 AM To: Dede NURMANSYAH Cc: samba@lists.samba.org Subject: RE: [Samba] Domain account ---- Never works right if you log in to server with one account and then you try to join machine to network using different account - once you have made connection to Samba as another user, you cannot then connect again using root or Administrator. Try logging out of Windows computer - logging back in and then joining machine to domain user: <root> password: <root-password-in-smbpasswd> domain: <domain name> Craig