[Samba] NT_STATUS_NO_SUCH_GROUP when attempting to connect

Jason M. Kusar jkusar at swordofthespirit.org
Fri Aug 3 16:59:18 GMT 2007


Hi,

I'm attempting to get my server set up to share out files using Active 
Directory authentication.  I also have winbind set up for shell logins 
to the server.  That part works fine, but when I attempt to connect to a 
samba share with smbclient, I get rejected with "session setup failed: 
NT_STATUS_LOGON_FAILURE".

I did some searching and found others with similar issues, and I "think" 
it may have something to do with the net groupmap stuff, but I can't 
figure out what the correct thing to do is.  I tried mapping 
BUILTIN\Users to the local users group since that pops up in the log 
files, but the message is still there.

I'm using samba 3.0.25b (x86_64) on Centos 5.  Any help would be greatly 
appreciated.

Thanks!
--Jason

Here's my current config:

[global]
workgroup = SOTS
netbios name = media
server string = Media Server
log file = /var/log/samba/%m.log
log level = 5
max log size = 50
security = ADS
realm = SWORDOFTHESPIRIT.ORG
encrypt passwords = yes
server signing = yes
smb passwd file = /etc/samba/smbpasswd
allow trusted domains = no
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* 
%n\n*passwd:*all*authentication*tokens*updated*successfully*
pam password change = yes
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
dns proxy = no
idmap uid = 10000-1000000
idmap gid = 10000-1000000
idmap backend = rid:SOTS=10000-1000000
winbind use default domain = yes
winbind separator = +
winbind enum users = yes
winbind enum groups = yes
template shell = /bin/bash
template homedir = /home/SOTS/%U

[audio]
        comment = Audio Files
        valid users = @"SOTS+Domain Users"
        path = /tank/media/teachings/Audio
        write list = SOTS+sound,SOTS+jmiller,@"SOTS+Domain 
Admins",@"SOTS+Associate Admins"
        force user = data
        force group = users

And here is the log file:

[2007/08/03 12:55:07, 5] auth/auth_util.c:make_user_info_map(161)
  make_user_info_map: Mapping user [SOTS]\[jmiller] from workstation [MEDIA]
[2007/08/03 12:55:07, 5] auth/auth_util.c:make_user_info(75)
  attempting to make a user_info for jmiller (jmiller)
[2007/08/03 12:55:07, 5] auth/auth_util.c:make_user_info(85)
  making strings for jmiller's user_info struct
[2007/08/03 12:55:07, 5] auth/auth_util.c:make_user_info(117)
  making blobs for jmiller's user_info struct
[2007/08/03 12:55:07, 3] auth/auth.c:check_ntlm_password(221)
  check_ntlm_password:  Checking password for unmapped user 
[SOTS]\[jmiller]@[MEDIA] with the new password interface
[2007/08/03 12:55:07, 3] auth/auth.c:check_ntlm_password(224)
  check_ntlm_password:  mapped user is: [SOTS]\[jmiller]@[MEDIA]
[2007/08/03 12:55:07, 5] lib/util.c:dump_data(2261)
  [000] 14 FC C4 FD 91 F5 B9 5D                           .......]
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/08/03 12:55:07, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/08/03 12:55:07, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2007/08/03 12:55:07, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          0000 ptr_user_info : 001440a0
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0004 low : fc62151e
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0008 high: 01c7d5e6
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              000c low : ffffffff
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0010 high: 7fffffff
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0014 low : ffffffff
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0018 high: 7fffffff
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              001c low : dda707a0
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0020 high: 01c47501
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0024 low : dda707a0
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0028 high: 01c47501
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              002c low : ffffffff
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0030 high: 7fffffff
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              0034 uni_str_len: 000e
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              0036 uni_max_len: 0010
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0038 buffer     : 001441d0
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              003c uni_str_len: 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              003e uni_max_len: 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0040 buffer     : 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              0044 uni_str_len: 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              0046 uni_max_len: 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0048 buffer     : 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              004c uni_str_len: 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              004e uni_max_len: 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0050 buffer     : 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              0054 uni_str_len: 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              0056 uni_max_len: 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0058 buffer     : 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              005c uni_str_len: 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              005e uni_max_len: 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0060 buffer     : 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
          0064 logon_count   : 0703
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
          0066 bad_pw_count  : 0000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          0068 user_rid      : 0000049f
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          006c group_rid     : 00000201
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          0070 num_groups    : 00000005
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          0074 buffer_groups : 0014416c
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          0078 user_flgs     : 00000120
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8s(857)
          007c user_sess_key: 9b 46 7c d1 76 76 e7 f7 be 1c e3 fd bc 22 
c0 bb
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              008c uni_str_len: 0010
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              008e uni_max_len: 0012
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0090 buffer     : 001441e0
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              0094 uni_str_len: 0008
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint16(681)
              0096 uni_max_len: 000a
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0098 buffer     : 001441f2
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          009c buffer_dom_id : 001441b8
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8s(857)
          00a0 lm_sess_key: 5e 44 0f d5 fd 11 88 b6
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00a8 acct_flags : 00000210
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00ac unkown: 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00b0 unkown: 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00b4 unkown: 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00b8 unkown: 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00bc unkown: 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00c0 unkown: 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00c4 unkown: 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00c8 num_other_sids: 00000001
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00cc buffer_other_sids: 00144194
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              00d0 uni_max_len: 00000008
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              00d4 offset     : 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              00d8 uni_str_len: 00000007
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:dbg_rw_punival(942)
              00dc buffer     : j.m.i.l.l.e.r.
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          00ec num_groups2   : 00000005
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              00f0 g_rid: 00001013
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              00f4 attr : 00000007
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              00f8 g_rid: 00000452
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              00fc attr : 00000007
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0100 g_rid: 00000a2a
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0104 attr : 00000007
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0108 g_rid: 00000455
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              010c attr : 00000007
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0110 g_rid: 00000201
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0114 attr : 00000007
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0118 uni_max_len: 00000009
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              011c offset     : 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0120 uni_str_len: 00000008
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:dbg_rw_punival(942)
              0124 buffer     : C.A.L.V.A.R.Y.4.
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0134 uni_max_len: 00000005
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0138 offset     : 00000000
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              013c uni_str_len: 00000004
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:dbg_rw_punival(942)
              0140 buffer     : S.O.T.S.
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0148 num_auths: 00000004
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                  014c sid_rev_num: 01
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                  014d num_auths  : 04
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                  014e id_auth[0] : 00
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                  014f id_auth[1] : 00
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                  0150 id_auth[2] : 00
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                  0151 id_auth[3] : 00
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                  0152 id_auth[4] : 00
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                  0153 id_auth[5] : 05
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32s(997)
                  0154 sub_auths : 00000015 735fc311 307cfd67 47af2515
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
          0164 num_other_sids: 00000001
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              0168 sid_ptr: 00000001
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
              016c attribute: 00000007
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32(710)
                  0170 num_auths: 00000005
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      0174 sid_rev_num: 01
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      0175 num_auths  : 05
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      0176 id_auth[0] : 00
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      0177 id_auth[1] : 00
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      0178 id_auth[2] : 00
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      0179 id_auth[3] : 00
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      017a id_auth[4] : 00
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint8(616)
                      017b id_auth[5] : 05
[2007/08/03 12:55:07, 5] rpc_parse/parse_prs.c:prs_uint32s(997)
                      017c sub_auths : 00000015 735fc311 307cfd67 
47af2515 00001209
[2007/08/03 12:55:07, 5] lib/username.c:Get_Pwnam_alloc(131)
  Finding user SOTS+jmiller
[2007/08/03 12:55:07, 5] lib/username.c:Get_Pwnam_internals(75)
  Trying _Get_Pwnam(), username as lowercase is sots+jmiller
[2007/08/03 12:55:07, 5] lib/username.c:Get_Pwnam_internals(108)
  Get_Pwnam_internals did find user [SOTS+jmiller]!
[2007/08/03 12:55:07, 5] auth/auth_util.c:fill_sam_account(1681)
  fill_sam_account: located username was [SOTS+jmiller]
[2007/08/03 12:55:07, 4] lib/substitute.c:automount_server(407)
  Home server: media
[2007/08/03 12:55:07, 4] lib/substitute.c:automount_server(407)
  Home server: media
[2007/08/03 12:55:07, 3] passdb/lookup_sid.c:store_gid_sid_cache(1133)
  store_gid_sid_cache: gid 10513 in cache -> 
S-1-5-21-1935655697-813497703-1202660629-513
[2007/08/03 12:55:07, 3] auth/auth.c:check_ntlm_password(270)
  check_ntlm_password: winbind authentication for user [jmiller] succeeded
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/08/03 12:55:07, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/08/03 12:55:07, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2007/08/03 12:55:07, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_start(458)
  smb_pam_start: PAM: Init user: SOTS+jmiller
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_start(475)
  smb_pam_start: PAM: setting rhost to: 127.0.0.1
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_start(484)
  smb_pam_start: PAM: setting tty
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_start(492)
  smb_pam_start: PAM: Init passed for user: SOTS+jmiller
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_account(550)
  smb_pam_account: PAM: Account Management for User: SOTS+jmiller
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_account(569)
  smb_pam_account: PAM: Account OK for User: SOTS+jmiller
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_end(439)
  smb_pam_end: PAM: PAM_END OK.
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/08/03 12:55:07, 5] auth/auth.c:check_ntlm_password(296)
  check_ntlm_password:  PAM Account for user [SOTS+jmiller] succeeded
[2007/08/03 12:55:07, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  authentication for user [jmiller] -> [jmiller] 
-> [SOTS+jmiller] succeeded
[2007/08/03 12:55:07, 5] auth/auth_util.c:free_user_info(2045)
  attempting to free (and zero) a user_info structure
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/08/03 12:55:07, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/08/03 12:55:07, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2007/08/03 12:55:07, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2007/08/03 12:55:07, 3] groupdb/mapping.c:pdb_create_builtin_alias(722)
  pdb_create_builtin_alias: Could not get a gid out of winbind
[2007/08/03 12:55:07, 0] auth/auth_util.c:create_builtin_administrators(792)
  create_builtin_administrators: Failed to create Administrators
[2007/08/03 12:55:07, 2] auth/auth_util.c:create_local_nt_token(914)
  create_local_nt_token: Failed to create BUILTIN\Administrators group!
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2007/08/03 12:55:07, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2007/08/03 12:55:07, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2007/08/03 12:55:07, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2007/08/03 12:55:07, 3] groupdb/mapping.c:pdb_create_builtin_alias(722)
  pdb_create_builtin_alias: Could not get a gid out of winbind
[2007/08/03 12:55:07, 0] auth/auth_util.c:create_builtin_users(758)
  create_builtin_users: Failed to create Users
[2007/08/03 12:55:07, 2] auth/auth_util.c:create_local_nt_token(941)
  create_local_nt_token: Failed to create BUILTIN\Users group!
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/08/03 12:55:07, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID 
[S-1-5-21-1935655697-813497703-1202660629-1183]
[2007/08/03 12:55:07, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID 
[S-1-5-21-1935655697-813497703-1202660629-4115]
[2007/08/03 12:55:07, 5] lib/privileges.c:get_privileges_for_sids(460)
  get_privileges_for_sids: sid = S-1-1-0
  Privilege set:
  SE_PRIV  0x0 0x0 0x0 0x0
[2007/08/03 12:55:07, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2007/08/03 12:55:07, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2007/08/03 12:55:07, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID 
[S-1-5-21-1935655697-813497703-1202660629-1106]
[2007/08/03 12:55:07, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID 
[S-1-5-21-1935655697-813497703-1202660629-2602]
[2007/08/03 12:55:07, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID 
[S-1-5-21-1935655697-813497703-1202660629-1109]
[2007/08/03 12:55:07, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID 
[S-1-5-21-1935655697-813497703-1202660629-513]
[2007/08/03 12:55:07, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID 
[S-1-5-21-1935655697-813497703-1202660629-4617]
[2007/08/03 12:55:07, 3] passdb/lookup_sid.c:store_gid_sid_cache(1133)
  store_gid_sid_cache: gid 14115 in cache -> 
S-1-5-21-1935655697-813497703-1202660629-4115
[2007/08/03 12:55:07, 3] passdb/lookup_sid.c:store_gid_sid_cache(1133)
  store_gid_sid_cache: gid 11106 in cache -> 
S-1-5-21-1935655697-813497703-1202660629-1106
[2007/08/03 12:55:07, 3] passdb/lookup_sid.c:store_gid_sid_cache(1133)
  store_gid_sid_cache: gid 12602 in cache -> 
S-1-5-21-1935655697-813497703-1202660629-2602
[2007/08/03 12:55:07, 3] passdb/lookup_sid.c:store_gid_sid_cache(1133)
  store_gid_sid_cache: gid 11109 in cache -> 
S-1-5-21-1935655697-813497703-1202660629-1109
[2007/08/03 12:55:07, 3] passdb/lookup_sid.c:fetch_gid_from_cache(1089)
  fetch gid from cache 10513 -> S-1-5-21-1935655697-813497703-1202660629-513
[2007/08/03 12:55:07, 3] passdb/lookup_sid.c:store_gid_sid_cache(1133)
  store_gid_sid_cache: gid 14617 in cache -> 
S-1-5-21-1935655697-813497703-1202660629-4617
[2007/08/03 12:55:07, 3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(338)
  NTLMSSP Sign/Seal - Initialising with flags:
[2007/08/03 12:55:07, 3] libsmb/ntlmssp.c:debug_ntlmssp_flags(63)
  Got NTLMSSP neg_flags=0x60088215
    NTLMSSP_NEGOTIATE_UNICODE
    NTLMSSP_REQUEST_TARGET
    NTLMSSP_NEGOTIATE_SIGN
    NTLMSSP_NEGOTIATE_NTLM
    NTLMSSP_NEGOTIATE_ALWAYS_SIGN
    NTLMSSP_NEGOTIATE_NTLM2
    NTLMSSP_NEGOTIATE_128
    NTLMSSP_NEGOTIATE_KEY_EXCH
[2007/08/03 12:55:07, 3] smbd/password.c:register_vuid(280)
  User name: SOTS+jmiller    Real name:
[2007/08/03 12:55:07, 3] smbd/password.c:register_vuid(301)
  UNIX uid 11183 is UNIX user SOTS+jmiller, and will be vuid 101
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_start(458)
  smb_pam_start: PAM: Init user: SOTS+jmiller
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_start(475)
  smb_pam_start: PAM: setting rhost to: 127.0.0.1
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_start(484)
  smb_pam_start: PAM: setting tty
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_start(492)
  smb_pam_start: PAM: Init passed for user: SOTS+jmiller
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_internal_pam_session(629)
  smb_internal_pam_session: PAM: tty set to: smb/6509/101
[2007/08/03 12:55:07, 0] auth/pampass.c:smb_pam_error_handler(73)
  smb_pam_error_handler: PAM: session setup failed : Cannot make/remove 
an entry for the specified session
[2007/08/03 12:55:07, 4] auth/pampass.c:smb_pam_end(439)
  smb_pam_end: PAM: PAM_END OK.
[2007/08/03 12:55:07, 1] smbd/session.c:session_claim(143)
  pam_session rejected the session for SOTS+jmiller [smb/6509/101]
[2007/08/03 12:55:07, 1] smbd/password.c:register_vuid(310)
  Failed to claim session for vuid=101
[2007/08/03 12:55:07, 3] smbd/error.c:error_packet_set(106)
  error packet at smbd/sesssetup.c(105) cmd=115 (SMBsesssetupX) 
NT_STATUS_LOGON_FAILURE
[2007/08/03 12:55:07, 5] lib/util.c:show_msg(484)
[2007/08/03 12:55:07, 5] lib/util.c:show_msg(494)
  size=35
  smb_com=0x73
  smb_rcls=109
  smb_reh=0
  smb_err=49152
  smb_flg=136
  smb_flg2=51201
  smb_tid=0
  smb_pid=6508
  smb_uid=100
  smb_mid=3
  smt_wct=0
  smb_bcc=0
[2007/08/03 12:55:07, 3] smbd/process.c:timeout_processing(1328)
  timeout_processing: End of file from client (client has disconnected).
[2007/08/03 12:55:07, 5] lib/gencache.c:gencache_shutdown(94)
  Closing cache file
[2007/08/03 12:55:07, 5] libsmb/namecache.c:namecache_shutdown(79)
  namecache_shutdown: netbios namecache closed successfully.
[2007/08/03 12:55:07, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2007/08/03 12:55:07, 5] auth/auth_util.c:debug_nt_user_token(448)
  NT user token: (NULL)
[2007/08/03 12:55:07, 5] auth/auth_util.c:debug_unix_user_token(474)
  UNIX token of user 0
  Primary group is 0 and contains 0 supplementary groups
[2007/08/03 12:55:07, 5] smbd/uid.c:change_to_root_user(288)
  change_to_root_user: now uid=(0,0) gid=(0,0)
[2007/08/03 12:55:07, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to
[2007/08/03 12:55:07, 3] smbd/server.c:exit_server_common(768)
  Server exit (normal exit)



More information about the samba mailing list