Displaying 18 results from an estimated 18 matches for "create_token_from_username".
2006 Aug 07
2
Identically named users and groups
...r = prox" set.
Since upgrading from Samba 3.0.21b to Samba 3.0.23a, that share no
longer works. smbclient gives the following error when connecting to
the share:
tree connect failed: NT_STATUS_NO_SUCH_USER
The Samba server logs the following error:
[2006/08/07 09:38:26, 1] auth/auth_util.c:create_token_from_username(1060)
prox is a Domain Group, not a user
So Samba no longer likes having a user and group by the same name. Is
this an intentional change in Samba 3.0.23, or is it a bug? I don't
remember seeing anything about it in the release notes.
Josh Kelley
2013 Sep 11
2
create_local_nt_token_from_info3 not pulling supplementary UNIX groups
...SIDs (S-1-22-2-xxx). I'm not
sure exactly why this is the case; the code is a bit complicated.
Ironically, if the user is explicitly mapped (username map in smb.conf)
then it *does* work. This seems to be because an explicitly-mapped user
will follow a different code path and end up using
create_token_from_username which /does/ pull local UNIX groups.
I don't understand why there is a difference in behavior between
explicit and implicit mapping. (Implicit mapping meaning DOMAIN\name
maps to local user 'name' via idmap_nss, or some other facility). I
would think that either case should ultimate...
2006 Sep 16
4
INTERNAL ERROR: Signal 11 in pid 8928 (3.0.23c)
...9/16 14:19:11, 0] lib/util.c:smb_panic(1592)
PANIC (pid 8928): internal error
[2006/09/16 14:19:11, 0] lib/util.c:log_stack_trace(1699)
BACKTRACE: 16 stack frames:
#0 smbd(log_stack_trace+0x2d) [0x9b39ed]
#1 smbd(smb_panic+0x5d) [0x9b3b1d]
#2 smbd [0x99f49a]
#3 [0x110420]
#4 smbd(create_token_from_username+0x7c4) [0x9fbd54]
#5 smbd(create_local_token+0x91) [0x9fcd61]
#6 smbd [0x9feb55]
#7 smbd [0x88a5b8]
#8 smbd(ntlmssp_update+0x242) [0x888aa2]
#9 smbd(auth_ntlmssp_update+0x4b) [0x9fe7eb]
#10 smbd(reply_sesssetup_and_X+0x1a59) [0x8194a9]
#11 smbd [0x8470d0]
#12 smbd(smbd_proce...
2019 Sep 03
2
flood of (auth in progress) connections from unresponsive windows client crashing samba
Unfortunately I do not have the ability to add the user/group information to AD directly at this time.
Does anyone know exactly what the following error message "means"? It shows up every time these symptoms occur, and if I could understand why the lookup fails, I might be able to prevent the issue.
"lookup_name_smbconf for CLIENTHOSTNAME$ failed"
2008 Jun 09
1
sid_to_uid/public share problem
I've got a public share that any user is supposed to be able to access. But no
matter who I try to connect as, I get the dreaded: "NT_STATUS_NO_SUCH_USER".
Important info: Samba version: 3.0.28a, OS: Kubuntu 8.04
Looking at the logs, I think the problem is here:
auth/auth_util.c:create_token_from_username(1116)
sid_to_uid for pcguest (S-1-5-21-1683542063-625151989-839735972-501) failed
My smb guest account line is: guest account = pcguest
The user does exist in the samba database (pdbedit -Lv pcguest):
Unix username: pcguest
NT username:
Account Flags: [U ]
User SID:...
2007 Nov 11
0
Samba Crash with nobody user account
...f9d3]
Nov 10 17:07:52 svct03 smbd[13627]: #6 smbd(realloc_array+0x46)
[0xc3fae6]
Nov 10 17:07:52 svct03 smbd[13627]: #7 smbd(add_sid_to_array+0xa7)
[0xc37cd7]
Nov 10 17:07:53 svct03 smbd[13627]: #8
smbd(add_sid_to_array_unique+0x65) [0xc37d45]
Nov 10 17:07:53 svct03 smbd[13627]: #9
smbd(create_token_from_username+0x8aa) [0xc86b4a]
Nov 10 17:07:53 svct03 smbd[13627]: #10 smbd [0xad4ed6]
Nov 10 17:07:53 svct03 smbd[13627]: #11 smbd(make_connection+0x194)
[0xad6934]
Nov 10 17:07:53 svct03 smbd[13627]: #12 smbd(reply_tcon_and_X+0x217)
[0xa9a1d7]
Nov 10 17:07:53 svct03 smbd[13627]: #13 smbd [0xad1a90...
2006 Jul 13
0
"... is a domain, not a user" error
Hello,
I'm using SaMBa to share homedirs of a linux server. Since version
3.0.23, when i try to reach the home dir of a user that have the
server's name i have this error:
auth/auth_util.c:create_token_from_username(1059)
[user_name_here] is a Domain, not a user
This happens only with security = SHARE (works fine w/ security = USER)
and only for shares like \\my_servername\my_servername, all other
homedirs (\\my_servername\root, \\my_servername\public, etc.) are OK.
This sounds like a bug to me. My smb.con...
2012 Dec 07
1
Samba Permissions
...d have read/write access to the share, correct? Instead, when I try to access the share, I get prompted for credentials, and then get denied. The following error is displayed in SMB logs:
==> /var/log/samba/__ffff_172.26.103.175.log <==
[2012/12/07 14:57:18.622794, 1] auth/auth_util.c:848(create_token_from_username)
lookup_name_smbconf for DOMAIN\testuser failed
DOMAIN\testuser is a member of DOMAIN\testgroup.
Any help would be greatly appreciated!
Thanks,
Josh
2006 Sep 18
0
Segfault in Samba
...loc.c:119
#8 0x082330ed in _talloc_realloc (context=0x842bfe8, ptr=0xbfffc900,
size=136, name=0x830c1ae "DOM_SID") at lib/talloc.c:617
#9 0x082276f0 in add_sid_to_array (mem_ctx=0x842bfe8, sid=0xbfffc8b0,
sids=0xbfffc89c, num=0xbfffc8a4) at lib/util_sid.c:587
#10 0x0826c9f1 in create_token_from_username (mem_ctx=0x842bfe8,
username=0xbfffe8e0 "DELSOLW2K\\Dale", is_guest=0, uid=0xbfffc9ec,
gid=0xbfffc9f0, found_username=0xbfffc9f4, token=0xbfffc9f8)
at auth/auth_util.c:1230
#11 0x0826cf25 in user_in_group_sid (username=0xbfffe8e0 "DELSOLW2K\\Dale",
group_sid=0...
2007 May 21
1
3.0.25 breaks "username map"?
...Unix User\jhaar => Unix User (domain), jhaar (name)
[2007/05/21 13:18:11, 10] lib/util_pw.c:getpwnam_alloc(76)
Got jhaar from pwnam_cache
[2007/05/21 13:18:11, 5] passdb/lookup_sid.c:sid_to_uid(1401)
winbind failed to find a uid for sid S-1-22-1-500
[2007/05/21 13:18:11, 1] auth/auth_util.c:create_token_from_username(1110)
sid_to_uid for jhaar (S-1-22-1-500) failed
[2007/05/21 13:18:11, 10]
auth/auth_ntlmssp.c:auth_ntlmssp_check_password(131)
create_local_token failed
[2007/05/21 13:18:11, 3] smbd/error.c:error_packet_set(106)
error packet at smbd/sesssetup.c(105) cmd=115 (SMBsesssetupX)
NT_STATUS_LOGON_F...
2008 Apr 14
0
problem with user nobody and net groupmap
...directory mode = 777
force group = admin
guest ok = Yes
guest only = Yes
I get the error in the samba log:
[2008/04/13 22:27:26, 2] passdb/pdb_ldap.c:init_group_from_ldap(2162)
init_group_from_ldap: Entry found for group: 65534
[2008/04/13 22:27:26, 1] auth/auth_util.c:create_token_from_username(1110)
nobody is a Domain Group, not a user
however, if I run net groupmap delete ntgroup="Domain Guests" then I can
connect to the share fine. Why is this? Why can't samba connect as the
user nobody when the nobody group is mapped? nobody is loaded into ldap:
[root@roark samb...
2006 Sep 15
1
Samba 3.0.23c Upgrade Errors
...mbd(smb_panic+0x48) [0x822d0c8]
#2 /usr/sbin/smbd [0x821adec]
#3 [0xffffe420]
#4 /lib/tls/libc.so.6(abort+0x109) [0x401df0c9]
#5 /usr/sbin/smbd [0x823285b]
#6 /usr/sbin/smbd(_talloc_realloc+0x3d) [0x82330ed]
#7 /usr/sbin/smbd(add_sid_to_array+0x40) [0x82276f0]
#8 /usr/sbin/smbd(create_token_from_username+0x571) [0x826c9f1]
#9 /usr/sbin/smbd(user_in_group_sid+0x65) [0x826cf25]
#10 /usr/sbin/smbd(user_in_group+0xf3) [0x826d123]
#11 /usr/sbin/smbd(user_in_list+0xdc) [0x809841c]
#12 /usr/sbin/smbd(map_username+0x3f2) [0x8094002]
#13 /usr/sbin/smbd [0x80bece7]
#14 /usr/sbin/smbd [0x80b...
2008 Jul 09
2
login fails if smbusers is used to map domain admin to root.
...7)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/07/09 12:50:42, 3] smbd/sec_ctx.c:set_sec_ctx(324)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/07/09 12:50:42, 3] smbd/sec_ctx.c:pop_sec_ctx(432)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/07/09 12:50:42, 1] auth/auth_util.c:create_token_from_username(922)
sid_to_gid(S-1-22-513) failed
[2008/07/09 12:50:42, 3] smbd/error.c:error_packet_set(61)
error packet at smbd/sesssetup.c(550) cmd=115 (SMBsesssetupX)
NT_STATUS_LOGON_FAILURE
[2008/07/09 12:50:42, 3] smbd/process.c:smbd_process(2027)
receive_message_or_smb failed: NT_STATUS_END_OF_FILE...
2010 Aug 24
1
Domain admin privileges: a strange bug in Samba?
...6 stack frames:
#0 smbd(log_stack_trace+0x1a) [0x2ae9fd7622c5]
#1 smbd(smb_panic+0x55) [0x2ae9fd7623c9]
#2 smbd [0x2ae9fd753101]
#3 /lib64/libc.so.6 [0x2aea005cf2d0]
#4 smbd(sid_compare+0x22) [0x2ae9fd75db54]
#5 smbd(add_sid_to_array_unique+0x39) [0x2ae9fd75e189]
#6 smbd(create_token_from_username+0xd37) [0x2ae9fd7b1eeb]
#7 smbd(create_local_token+0x4e) [0x2ae9fd7b231e]
#8 smbd [0x2ae9fd7b550d]
#9 smbd [0x2ae9fd5b8097]
#10 smbd(ntlmssp_update+0x270) [0x2ae9fd5b7c86]
#11 smbd(auth_ntlmssp_update+0x17) [0x2ae9fd7b5215]
#12 smbd [0x2ae9fd52be5e]
#13 smbd(reply_sessse...
2007 Dec 15
1
Is 'force user/group' misbehaving?
...ors group!
[2007/12/14 15:55:55, 0] auth/auth_util.c:create_builtin_users(758)
create_builtin_users: Failed to create Users
[2007/12/14 15:55:55, 2] auth/auth_util.c:create_local_nt_token(941)
create_local_nt_token: Failed to create BUILTIN\Users group!
[2007/12/14 15:55:55, 1] auth/auth_util.c:create_token_from_username(1110)
sid_to_uid for to (S-1-5-21-133238273-2997305703-2950841162-3000) failed
------------8<-------------------------------------------
And, well, in case it's usefull, here's what shows up when accessing the
share works (no declaration of force user / group) :
-------------------8&l...
2007 Aug 15
0
panic: Unable to open new log file ... Too many open files
.../15 14:03:29, 0] passdb/pdb_tdb.c:tdbsam_open(818)
tdbsam_open: Failed to open/create TDB passwd [/var/lib/samba/passdb.tdb]
[2007/08/15 14:03:29, 0] passdb/pdb_tdb.c:tdbsam_getsampwnam(1038)
tdbsam_getsampwnam: failed to open /var/lib/samba/passdb.tdb!
[2007/08/15 14:03:29, 1] auth/auth_util.c:create_token_from_username(1154)
getpwuid(65534) for user nobody failed
[2007/08/15 14:03:38, 0] lib/debug.c:reopen_logs(625)
Unable to open new log file /var/log/samba/log.theckne.c601356: Too many open files
[2007/08/15 17:19:30, 0] lib/fault.c:fault_report(41)
========================================================...
2012 Jun 20
8
Winbind Daemon fails to start, group shares no longer functioning
...stack_trace+0x1a) [0x7f6fc31b120a]
#1 winbindd(smb_panic+0x2b) [0x7f6fc31b12db]
#2 winbindd(+0x1940a4) [0x7f6fc31a20a4]
#3 /lib64/libc.so.6(+0x31fbc32900) [0x7f6fc0402900]
#4 winbindd(dom_sid_compare+0x28) [0x7f6fc31dd7c8]
#5 winbindd(add_sid_to_array_unique+0x43) [0x7f6fc31df7a3]
#6 winbindd(create_token_from_username+0x563) [0x7f6fc3134a83]
#7 winbindd(create_local_token+0x55) [0x7f6fc3132285]
#8 winbindd(make_serverinfo_from_username+0x80) [0x7f6fc3132700]
#9 winbindd(init_system_info+0x5e) [0x7f6fc31330de]
#10 winbindd(main+0x5ab) [0x7f6fc30dd48b]
#11 /lib64/libc.so.6(__libc_start_main+0xfd) [0x7f6fc03ee...
2008 Oct 17
2
problem usrmgr Version 3.2.4
hi , i have
a few problems with usmgr on Version 3.2.4
( Version 3.2.4-8.1-1931-SUSE-SL11.0 )
samba pdc ldap
the download version from ms
http://www.microsoft.com/Downloads/details.aspx?FamilyID=c0011ab8-3178-4701-a791-eafba0f42de2&displaylang=en
doesnt work
giving
"device attached to the system is not functioning"
whatever i do
a old version from usermgr works partially
but magic