[samba] uid not being set
Daniel Wilson
daniel.wilson at sunderland.ac.uk
Wed Nov 3 16:17:40 GMT 2004
Hi,
Does anybody know what causes this to happen? (not setting uid)
[2004/11/03 15:54:30, 1] smbd/service.c:make_connection_snum(648)
d-conway-lap (157.228.35.236) connect to service profiles initially as
user ws0dwi (uid=186712, gid=513) (pid 6500)
[2004/11/03 15:54:30, 0] lib/util_sec.c:assert_uid(95)
Failed to set uid privileges to (-1,186712) now set to (0,0)
[2004/11/03 15:54:30, 0] lib/util.c:smb_panic2(1381)
PANIC: failed to set uid
[2004/11/03 15:54:30, 0] lib/util.c:smb_panic2(1389)
BACKTRACE: 22 stack frames:
#0 /usr/local/sbin/smbd(smb_panic2+0x18c) [0x8193e16]
#1 /usr/local/sbin/smbd(smb_panic+0x10) [0x8193c88]
#2 /usr/local/sbin/smbd [0x819806d]
#3 /usr/local/sbin/smbd(set_effective_uid+0x1e) [0x81981bc]
#4 /usr/local/sbin/smbd [0x80b58a8]
#5 /usr/local/sbin/smbd [0x80b5952]
#6 /usr/local/sbin/smbd(pop_sec_ctx+0xf1) [0x80b61a7]
#7 /usr/local/sbin/smbd(unbecome_root+0xb) [0x80aecdf]
#8 /usr/local/sbin/smbd(local_uid_to_sid+0xfa) [0x816a56c]
#9 /usr/local/sbin/smbd(uid_to_sid+0x122) [0x8171209]
#10 /usr/local/sbin/smbd [0x80ba4e7]
#11 /usr/local/sbin/smbd(get_nt_acl+0x291) [0x80bdcc2]
#12 /usr/local/sbin/smbd(vfswrap_fget_nt_acl+0x14) [0x80b89c9]
#13 /usr/local/sbin/smbd [0x809516e]
#14 /usr/local/sbin/smbd(reply_nttrans+0x94a) [0x809674f]
#15 /usr/local/sbin/smbd [0x80c0b45]
#16 /usr/local/sbin/smbd [0x80c0bd7]
#17 /usr/local/sbin/smbd(process_smb+0x1c6) [0x80c0ee6]
#18 /usr/local/sbin/smbd(smbd_process+0x157) [0x80c1a0e]
#19 /usr/local/sbin/smbd(main+0x716) [0x81eb561]
#20 /lib/libc.so.6(__libc_start_main+0xce) [0x400d28ae]
#21 /usr/local/sbin/smbd(strcpy+0x35) [0x8076a91]
[2004/11/03 15:55:42, 1] smbd/service.c:make_connection_snum(648)
d-conway-lap (157.228.35.236) connect to service netlogon initially as
user ws0dwi (uid=186712, gid=513) (pid 6502)
i have read that if your nobody account has a uid of -1 and gid -2 you
get this error, however i created a new user and set "guest account =
<new-user>" in smb.conf and this still doesnt fix.
I think this could be th answer to my groups not working.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniel Wilson
Systems Administrator
IT & Communications Service
University of Sunderland
Unit1 Technology Park
Chester Road
Sunderland
SR2 7PT
Tel: 0191 515 2695
This e-mail contains information which is confidential and may be privileged and is for the exclusive use of the recipient.
It is the responsibility of the recipient to ensure that this message and its attachments are virus free.
Any views or opinions presented are solely those of the author and do not necessarily represent those of the University, unless otherwise specifically
stated.
More information about the samba
mailing list