Initgroups errors.on OSX with WinXP

The DJ hartman at mac.com
Fri Mar 1 13:20:15 GMT 2002


>> I don't think they are going to do that just for us. Actually the account
>> nobody is there for posix/linux/unix compatibility I think. Apple itself
>> uses the account 'unknown' for these types of things. It has been this way
>> since Nextstep I believe.
>> 
>> I'll patch my next release to use the account 'unknown' as the default guest
>> account. Maybe samba's local.h can be patched to use unknown on Darwin from
>> now on. 

Hello ?????
Can someone comment, because this is rendering every WinXP login impossible
in OS X. And it isn't the account.


on 28-02-2002 20:51, The DJ at hartman at mac.com wrote:
> Oke, I patched it too use unknown, now the message about the problem with
> the groups disappears, but the initgroups still fails.
> 
> Group unknown has id 31
> User unknown has id 99
> Group admin has id 80
> 
> Here is part of a level 10 debug.
> Of me accessing my guestshare from smbclient.
> Can someone clarify to me what is going on here?
> 
> 
> [2002/02/28 20:40:36, 3] smbd/reply.c:reply_sesssetup_and_X(919)
> Using unix username \unknown
> [2002/02/28 20:40:36, 7] param/loadparm.c:lp_servicenumber(3509)
> lp_servicenumber: couldn't find \unknown
> [2002/02/28 20:40:36, 7] param/loadparm.c:lp_servicenumber(3509)
> lp_servicenumber: couldn't find homes
> [2002/02/28 20:40:36, 7] param/loadparm.c:lp_servicenumber(3509)
> lp_servicenumber: couldn't find homes
> [2002/02/28 20:40:36, 10] smbd/password.c:register_vuid(288)
> register_vuid: (99,99) \unknown unknown  guest=1
> [2002/02/28 20:40:36, 10] smbd/password.c:register_vuid(299)
> register_vuid: allocated vuid = 100
> [2002/02/28 20:40:36, 3] smbd/sec_ctx.c:push_sec_ctx(281)
> push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
> [2002/02/28 20:40:36, 3] smbd/uid.c:push_conn_ctx(284)
> push_conn_ctx(0) : conn_ctx_stack_ndx = 0
> [2002/02/28 20:40:36, 3] smbd/sec_ctx.c:set_sec_ctx(313)
> setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
> [2002/02/28 20:40:36, 10] nsswitch/wb_client.c:winbind_initgroups(299)
> winbind_getgroups: \unknown: result = FAIL
> [2002/02/28 20:40:36, 0] smbd/sec_ctx.c:initialise_groups(229)
> Unable to initgroups. Error was Input/output error
> [2002/02/28 20:40:36, 3] smbd/sec_ctx.c:pop_sec_ctx(420)
> pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
> [2002/02/28 20:40:36, 3] smbd/sec_ctx.c:get_current_groups(162)
> get_current_groups: user is in 3 groups: 0, 0, 80
> [2002/02/28 20:40:36, 10] smbd/uid.c:uid_to_sid(569)
> uid_to_sid: local 99 -> S-1-5-21-1191381323-985346791-2016176972-1198
> [2002/02/28 20:40:36, 10] smbd/uid.c:gid_to_sid(597)
> gid_to_sid: local 99 -> S-1-5-21-1191381323-985346791-2016176972-1199
> [2002/02/28 20:40:36, 10] smbd/uid.c:gid_to_sid(597)
> gid_to_sid: local 0 -> S-1-5-21-1191381323-985346791-2016176972-1001
> [2002/02/28 20:40:36, 10] smbd/uid.c:gid_to_sid(597)
> gid_to_sid: local 0 -> S-1-5-21-1191381323-985346791-2016176972-1001
> [2002/02/28 20:40:36, 10] smbd/uid.c:gid_to_sid(597)
> gid_to_sid: local 80 -> S-1-5-21-1191381323-985346791-2016176972-1161
> [2002/02/28 20:40:36, 5] smbd/password.c:create_nt_token(254)
> user token sid S-1-5-21-1191381323-985346791-2016176972-1198
> [2002/02/28 20:40:36, 5] smbd/password.c:create_nt_token(254)
> user token sid S-1-5-21-1191381323-985346791-2016176972-1199
> [2002/02/28 20:40:36, 5] smbd/password.c:create_nt_token(254)
> user token sid S-1-5-21-1191381323-985346791-2016176972-1001
> [2002/02/28 20:40:36, 5] smbd/password.c:create_nt_token(254)
> user token sid S-1-5-21-1191381323-985346791-2016176972-1001
> [2002/02/28 20:40:36, 5] smbd/password.c:create_nt_token(254)
> user token sid S-1-5-21-1191381323-985346791-2016176972-1161
> [2002/02/28 20:40:36, 5] smbd/password.c:create_nt_token(254)
> user token sid S-1-1-0
> [2002/02/28 20:40:36, 5] smbd/password.c:create_nt_token(254)
> user token sid S-1-5-2
> [2002/02/28 20:40:36, 5] smbd/password.c:create_nt_token(254)
> user token sid S-1-5-32-546
> [2002/02/28 20:40:36, 3] smbd/password.c:register_vuid(328)
> uid 99 registered to name \unknown
> [2002/02/28 20:40:36, 3] smbd/password.c:register_vuid(330)
> Clearing default real name
> [2002/02/28 20:40:36, 3] smbd/password.c:register_vuid(332)
> User name: \unknown    Real name: Unknown User
> [2002/02/28 20:40:36, 6] smbd/reply.c:reply_sesssetup_and_X(1080)
> Client requested max send size of 2920
> [2002/02/28 20:40:36, 3] smbd/process.c:chain_reply(1005)
> Chained message
> [2002/02/28 20:40:36, 5] lib/util.c:show_msg(268)

---------------------------------------------------------------------------
Universiteit Twente
---------------------------------------------------------------------------
Derk-Jan 'The DJ' Hartman
ICQnr: 10111559
Mail:  mailto:hartman at mac.com
WWW:   http://home.student.utwente.nl/d.hartman/
Goto:  http://www.student.utwente.nl/~macsatcampus





More information about the samba-technical mailing list