Problems Listing Users

Ariel Mella ariel at jusbaires.gov.ar
Wed Oct 17 12:58:02 GMT 2001


Jim:

i have a samba PDC too... and i having the same problem.. only the 100 first
user of the smbpasswd are listed when you retrieve the list of users..
i have probed with samba 2.2.1a for redhat 7.1 and 2.2.2

any idea??

----- Original Message -----
From: "Jim Jarvie" <ntl-linux at ntlworld.com>
To: <samba-ntdom at lists.samba.org>
Sent: Wednesday, October 17, 2001 3:55 PM
Subject: Problems Listing Users


I have a samba server with a user list of around 1,300 users, mainly
connected via windows 98 machines (with a few NT).

I'm considering switching on user level access control on the clients -
the windows 98 machines can then be configured with shares accessible
only to particular specified users.

However, I find a problem when I do this and attempt to obtain the list
of users from my Samba 2.2.2 server acting as a PDC (domain logins etc.
Work OK and have done so for some time).

What I find is that on Windows 98 SE the first 100 users from my
smbpasswd file are listed and then no more.  i.e. A total of exactly 100
users of the 1300 are shown.

With NT, the password list appears to work correctly - though I've not
checked every user is shown, there are certainly many more than shown
with W98.

My password file is based on NIS.

Has anyone else experienced this - or have I missed something which is
immediately obvious to the list members ?

Jim


A level 1 debug shows :

[2001/10/17 18:40:00, 1] smbd/service.c:make_connection(610)
  vmware (172.16.6.88) connect to service tas as user jim (uid=65000,
gid=59999)[2001/10/17 18:40:00, 1] smbd/service.c:make_connection(610)
  vmware (172.16.6.88) connect to service office as user jim (uid=65000,
gid=1)
[2001/10/17 18:40:52, 1] smbd/ipc.c:api_fd_reply(293)
  api_fd_reply: INVALID PIPE HANDLE: 0
[2001/10/17 18:40:52, 1] smbd/ipc.c:api_fd_reply(293)
  api_fd_reply: INVALID PIPE HANDLE: 0


And, turning this up to level 3, the relevant portion is :

[2001/10/17 18:46:40, 3] lib/util_seaccess.c:se_access_check(246)
  se_access_check: also S-1-5-21-1651842875-601990308-2174710594-3205
[2001/10/17 18:46:40, 3] lib/util_seaccess.c:se_access_check(246)
  se_access_check: also S-1-5-21-1651842875-601990308-2174710594-3203
[2001/10/17 18:46:40, 3] lib/util_seaccess.c:se_access_check(246)
  se_access_check: also S-1-5-21-1651842875-601990308-2174710594-1121
[2001/10/17 18:46:40, 3] lib/util_seaccess.c:se_access_check(246)
  se_access_check: also S-1-1-0
[2001/10/17 18:46:40, 3] lib/util_seaccess.c:se_access_check(246)
  se_access_check: also S-1-5-2
[2001/10/17 18:46:40, 3] lib/util_seaccess.c:se_access_check(246)
  se_access_check: also S-1-5-11
[2001/10/17 18:46:40, 3] smbd/vfs.c:vfs_init_default(98)
  Initialising default vfs hooks
[2001/10/17 18:46:40, 3] smbd/sec_ctx.c:set_sec_ctx(321)
  setting sec ctx (65000, 1) - sec_ctx_stack_ndx = 0
[2001/10/17 18:46:40, 3] smbd/sec_ctx.c:set_sec_ctx(326)
  16 user groups:
  1 59999 65533 1029 1024 1095 1035 1026 132 30 1097 1096 133 1102 1101
60
[2001/10/17 18:46:40, 3] smbd/vfs.c:vfs_ChDir(658)
  vfs_ChDir to /tmp
[2001/10/17 18:46:40, 3] smbd/service.c:make_connection(610)
  vmware (172.16.6.88) connect to service IPC$ as user jim (uid=65000,
gid=1) (p[2001/10/17 18:46:40, 3] smbd/sec_ctx.c:set_sec_ctx(321)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2001/10/17 18:46:40, 3] smbd/reply.c:reply_tcon_and_X(397)
  tconX service=ipc$ user=jim
[2001/10/17 18:46:40, 3] smbd/process.c:process_smb(860)
  Transaction 8 of length 99
[2001/10/17 18:46:40, 3] smbd/process.c:switch_message(667)
  switch message SMBtrans (pid 1846)
[2001/10/17 18:46:40, 3] smbd/sec_ctx.c:set_sec_ctx(321)
  setting sec ctx (65000, 1) - sec_ctx_stack_ndx = 0
[2001/10/17 18:46:40, 3] smbd/sec_ctx.c:set_sec_ctx(326)
  16 user groups:
  1 59999 65533 1029 1024 1095 1035 1026 132 30 1097 1096 133 1102 1101
60
[2001/10/17 18:46:40, 3] smbd/ipc.c:reply_trans(484)
  trans <\PIPE\LANMAN> data=0 params=19 setup=0
[2001/10/17 18:46:40, 3] smbd/ipc.c:named_pipe(335)
  named pipe command on <LANMAN> name
[2001/10/17 18:46:40, 3] smbd/lanman.c:api_reply(3328)
  Got API command 13 of form <WrLh> <B16BBDz>
(tdscnt=0,tpscnt=19,mdrcnt=66,mprc[2001/10/17 18:46:40, 3]
smbd/lanman.c:api_reply(3332)
  Doing RNetServerGetInfo
[2001/10/17 18:46:40, 3] smbd/process.c:process_smb(860)
  Transaction 9 of length 99
[2001/10/17 18:46:40, 3] smbd/process.c:switch_message(667)
  switch message SMBtrans (pid 1846)
[2001/10/17 18:46:40, 3] smbd/ipc.c:reply_trans(484)
  trans <\PIPE\LANMAN> data=0 params=19 setup=0
[2001/10/17 18:46:40, 3] smbd/ipc.c:named_pipe(335)
  named pipe command on <LANMAN> name
[2001/10/17 18:46:40, 3] smbd/lanman.c:api_reply(3328)
  Got API command 13 of form <WrLh> <B16BBDz>
(tdscnt=0,tpscnt=19,mdrcnt=66,mprc[2001/10/17 18:46:40, 3]
smbd/lanman.c:api_reply(3332)
  Doing RNetServerGetInfo
[2001/10/17 18:46:40, 3] smbd/process.c:process_smb(860)
  Transaction 10 of length 84
[2001/10/17 18:46:40, 3] smbd/process.c:switch_message(667)
  switch message SMBtrans (pid 1846)
[2001/10/17 18:46:40, 3] smbd/ipc.c:reply_trans(484)
  trans <\PIPE\LSARPC> data=0 params=0 setup=2
[2001/10/17 18:46:40, 3] smbd/ipc.c:named_pipe(335)
  named pipe command on <LSARPC> name
[2001/10/17 18:46:40, 1] smbd/ipc.c:api_fd_reply(293)
  api_fd_reply: INVALID PIPE HANDLE: 0










More information about the samba-ntdom mailing list