HELP!!! Problem with long userlist with Windows 9x

Emmanuel DESVIGNE emmanuel at desvigne.org
Sun Jul 8 14:29:50 GMT 2001


----- Original Message -----
> From: "Jim McDonough" <jmcd at us.ibm.com>
> To: "Jeremy Allison" <jeremy at valinux.com>
> Cc: <samba-technical at samba.org>; <emmanuel at desvigne.org>
> Sent: Friday, July 06, 2001 3:43 PM
> Subject: Re: HELP!!! Problem with long userlist with Windows 9x
>
> > Jeremy Allison wrote:
> > >Ok, I've checked in patches to 2.2 and HEAD, and can
> > >return userslists with more than 500 entries to W2KSP2
> > >and Win9x with the nexus tools installed.
> > >
> > >Please CVS checkout and let me know if this works
> > >for you.
> > Yup!  Works for me, but I didn't rebuild everything.  I'm in
> > the process of moving and need to break down my office now, so
> > hopefully Emmanuel can fully test it.
> >
> > Thanks,
> > Jim
>
> Hello,
>
> Of course, I'm going to download these new corrections during
> this week-end, and I will test them :-)
>
> Thank you for your help, sincerely,
>
> Emmanuel

Hello,

Sorry, I've got some bad news. I make a test, and under Windows 95,
when I try to share a folder, I've got a message (in french version):
"visualisation de la liste des utilisateurs impossible. Veuillez
essayer plus tard". In English, I suppose it can be translated by
something like "Unable to display the userlist. Try again later",
or something like that...

Now, a brief summary of my test. Because I don't want to release the
test under my production environment at work, I release a model
at home. The PDC: a linux "Redhat 7.1" with a Kernel 2.4.4, called
"MUSHU", IP=192.168.1.3. I download the CVS version of samba with:
    cvs -z5 -d :pserver:cvs at pserver.samba.org:/cvsroot co -r SAMBA_2_2 samba
    cvs update -d -P

I suppose after that, I've got the lastest version of samba (2.2.1
with your correction). I compile and install this new version (I've
got no problem to do that).

I configure samba with the same smb.conf I'm using at work (only
machine names and workgroup name are changing). This "smb.conf"
file is at the end of this message.

The client : a windows 95 computer called "FOZZI", IP=192.168.1.2.
On the PDC, I create a machine account "FOZZI$", and an account for
a user called "FOZZI". I configure the client to be member of the
domain "MAISON", witch is the name of the domain controled by the
PDC. After the reboot, I authenticate the user "FOZZI", and all
works fine. From the client, I try to access to the folder
"test-fozzi" on the PDC, and it works very well... The problem is
when I try to share a folder on my windows 95 client: I right
click on the folder, and when I try to get the userlist, I've the
message I'd wrote above ("Unable to display the userlist. Try
again later").

As well, I discover one or 2 strange things with this new version.
For example, swat does not work anymore !!! When I try to use the
new version of swat (from 2.2.1 CVS), I can't authenticate any
user. I've got an error :
    401 Bad Authorization
    username or password incorrect
Of course, I try with the root login/password, but it's the same
with other accounts login/password.

And I discover too that these options does not work now (in the
global section of smb.conf) :
    domain groups = ...
    domain admin group = ...
    domain admin users = ...
How can I define the "domain admin users" now ???

To help you, my "smb.conf" is :
===================================================================
================================BEGIN==============================
===================================================================
# Global parameters
[global]
 workgroup = MAISON
 netbios name = MUSHU
 server string = PDC - Samba 2.2.1
 interfaces = 192.168.1.3/24 127.0.0.1/8
 encrypt passwords = Yes
 allow trusted domains = No
 min passwd length = 0
 map to guest = Bad Password
 null passwords = Yes
 root directory = /
 passwd program = /usr/bin/passwd
 username map = /home3/samba2.2/private/user.map
 password level = 10
 username level = 10
 unix password sync = Yes
 log level = 2
 log file = /var/log/samba/log.%m
 max log size = 500
 debug pid = No
 debug uid = No
 max mux = 50
 time server = Yes
 deadtime = 15
 read size = 16384
 stat cache size = 50
 ### I put these 3 lines in comments: they does not work anymore.
 # domain groups = @ntdomain @servinfo @ntdomadm
 # domain admin group = @servinfo @ntdomadm @root
 # domain admin users = root Administrateur manu
 add user script = /usr/sbin/adduser -n -g machines -c NTMachines -d
/dev/null -s /bin/false %m$
 logon script = scripts\%U.bat
 logon path =
 logon home = D:\DATA_USERS\%U
 domain logons = Yes
 os level = 10
 preferred master = True
 domain master = True
 wins proxy = Yes
 # wins server = 172.18.1.5
 guest account = pcguest
 hosts allow = 192.168.1. 172.18. 127.0.

[netlogon]
 path = /home3/samba2.2/netlogon
 write list = @root @ntdomain @servinfo @ntdomadm
 read only = No
 browseable = No

[homes]
 comment = Home Directories
 read only = No
 browseable = No

[printers]
 comment = All Printers
 path = /var/spool/samba
 printable = Yes
 browseable = No

[test-fozzi]
 path = /home/fozzi
 username = FOZZI
 force user = FOZZI
 write list = FOZZI
 read list = FOZZI
 read only = No
 only user = Yes
 browseable = Yes
===================================================================
=============================END===================================
===================================================================


Of course, all the groups used in this file are existing in UNIX
world (root, ntdomain, servinfo, ntdomadm), and all UNIX user
too (manu, MUSHU$, FOZZI$, FOZZI, Administrateur, manu, ...).

And I read nothing strange in my log files :

1) The /var/log/messages:
=========================
[...]
jui  8 15:19:03 mushu smb: smbd startup succeeded
jui  8 15:19:04 mushu smb: nmbd startup succeeded
Jul  8 15:19:04 mushu nmbd[646]: [2001/07/08 15:19:04, 0]
nmbd/nmbd_logonnames.c:add_logon_names(158)
Jul  8 15:19:04 mushu nmbd[646]:   add_domain_logon_names:
Jul  8 15:19:04 mushu nmbd[646]:   Attempting to become logon server for
workgroup MAISON on subnet 192.168.1.3
Jul  8 15:19:04 mushu nmbd[646]: [2001/07/08 15:19:04, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(293)
Jul  8 15:19:04 mushu nmbd[646]:   become_domain_master_browser_bcast:
Jul  8 15:19:04 mushu nmbd[646]:   Attempting to become domain master
browser on workgroup MAISON on subnet 192.168.1.3
Jul  8 15:19:04 mushu nmbd[646]: [2001/07/08 15:19:04, 0]
nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(306)
Jul  8 15:19:04 mushu nmbd[646]:   become_domain_master_browser_bcast:
querying subnet 192.168.1.3 for domain master browser on workgroup MAISON
[..]


2) The "log.smbd" file:
=======================
[...]
[2001/07/08 14:28:57, 2, pid=999, effective(0, 0), real(0, 0)]
smbd/server.c:main(788)
  Changed root to /
[2001/07/08 14:28:57, 2, pid=999, effective(0, 0), real(0, 0)]
lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 14:28:57, 2, pid=999, effective(0, 0), real(0, 0)]
smbd/reply.c:reply_special(92)
  netbios connect: name1=MUSHU            name2=FOZZI
[2001/07/08 14:28:57, 2, pid=999, effective(0, 0), real(0, 0)]
smbd/reply.c:reply_special(111)
  netbios connect: local=mushu remote=fozzi
[2001/07/08 14:31:53, 2, pid=1006, effective(0, 0), real(0, 0)]
smbd/server.c:main(788)
  Changed root to /
[2001/07/08 14:31:53, 2, pid=1006, effective(0, 0), real(0, 0)]
lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 14:31:53, 2, pid=1006, effective(0, 0), real(0, 0)]
smbd/reply.c:reply_special(92)
  netbios connect: name1=MUSHU            name2=FOZZI
[2001/07/08 14:31:53, 2, pid=1006, effective(0, 0), real(0, 0)]
smbd/reply.c:reply_special(111)
  netbios connect: local=mushu remote=fozzi
[2001/07/08 14:32:36, 2, pid=943, effective(0, 0), real(0, 0)]
smbd/server.c:exit_server(448)
  Closing connections
[2001/07/08 14:32:37, 2, pid=1036, effective(0, 0), real(0, 0)]
lib/interface.c:add_interface(85)
  added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
[2001/07/08 14:32:37, 2, pid=1036, effective(0, 0), real(0, 0)]
lib/interface.c:add_interface(85)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2001/07/08 14:32:37, 2, pid=1037, effective(0, 0), real(0, 0)]
smbd/server.c:open_sockets(194)
  waiting for a connection
[2001/07/08 14:34:41, 2, pid=1037, effective(0, 0), real(0, 0)]
smbd/server.c:exit_server(448)
  Closing connections
[2001/07/08 14:34:42, 2, pid=1082, effective(0, 0), real(0, 0)]
lib/interface.c:add_interface(85)
  added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
[2001/07/08 14:34:42, 2, pid=1082, effective(0, 0), real(0, 0)]
lib/interface.c:add_interface(85)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2001/07/08 14:34:42, 2, pid=1083, effective(0, 0), real(0, 0)]
smbd/server.c:open_sockets(194)
  waiting for a connection
[2001/07/08 14:34:54, 2, pid=1091, effective(0, 0), real(0, 0)]
smbd/server.c:main(788)
  Changed root to /
[2001/07/08 14:34:54, 2, pid=1091, effective(0, 0), real(0, 0)]
lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 14:34:54, 2, pid=1091, effective(0, 0), real(0, 0)]
smbd/reply.c:reply_special(92)
  netbios connect: name1=MUSHU            name2=FOZZI
[2001/07/08 14:34:54, 2, pid=1091, effective(0, 0), real(0, 0)]
smbd/reply.c:reply_special(111)
  netbios connect: local=mushu remote=fozzi
[2001/07/08 14:46:04, 2, pid=1083, effective(0, 0), real(0, 0)]
smbd/server.c:exit_server(448)
  Closing connections
[2001/07/08 14:46:05, 2] lib/interface.c:add_interface(85)
  added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
[2001/07/08 14:46:05, 2] lib/interface.c:add_interface(85)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2001/07/08 14:46:05, 2] smbd/server.c:open_sockets(194)
  waiting for a connection
[2001/07/08 14:49:24, 2] smbd/server.c:exit_server(448)
  Closing connections
[2001/07/08 15:19:03, 2] lib/interface.c:add_interface(85)
  added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
[2001/07/08 15:19:03, 2] lib/interface.c:add_interface(85)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2001/07/08 15:19:03, 2] smbd/server.c:open_sockets(194)
  waiting for a connection
[2001/07/08 15:23:11, 2] smbd/server.c:main(788)
  Changed root to /
[2001/07/08 15:23:11, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:23:11, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=MUSHU            name2=FOZZI
[2001/07/08 15:23:11, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=mushu remote=fozzi
[2001/07/08 15:28:25, 2] smbd/server.c:exit_server(448)
  Closing connections
[2001/07/08 15:28:25, 2] lib/interface.c:add_interface(85)
  added interface ip=192.168.1.3 bcast=192.168.1.255 nmask=255.255.255.0
[2001/07/08 15:28:25, 2] lib/interface.c:add_interface(85)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2001/07/08 15:28:25, 2] smbd/server.c:open_sockets(194)
  waiting for a connection
[2001/07/08 15:28:48, 2] smbd/server.c:main(788)
  Changed root to /
[2001/07/08 15:28:48, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:28:48, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=MUSHU            name2=FOZZI
[2001/07/08 15:28:48, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=mushu remote=fozzi
[2001/07/08 15:28:50, 2] smbd/server.c:main(788)
  Changed root to /
[2001/07/08 15:28:50, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:28:50, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=MUSHU            name2=FOZZI
[2001/07/08 15:28:50, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=mushu remote=fozzi
[2001/07/08 15:28:53, 2] smbd/server.c:main(788)
  Changed root to /
[2001/07/08 15:28:53, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:28:53, 2] smbd/reply.c:reply_special(92)
  netbios connect: name1=MUSHU            name2=FOZZI
[2001/07/08 15:28:53, 2] smbd/reply.c:reply_special(111)
  netbios connect: local=mushu remote=fozzi


3) And finally, my "log.fozzi":
===============================
[...]
[2001/07/08 15:28:48, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:28:48, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:28:48, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:28:48, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:28:49, 2] smbd/server.c:exit_server(448)
  Closing connections
[2001/07/08 15:28:50, 2] smbd/reply.c:reply_sesssetup_and_X(990)
  Defaulting to Lanman password for FOZZI
[2001/07/08 15:28:50, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:28:52, 2] smbd/server.c:exit_server(448)
  Closing connections
[2001/07/08 15:28:53, 2] smbd/reply.c:reply_sesssetup_and_X(990)
  Defaulting to Lanman password for FOZZI
[2001/07/08 15:28:53, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:28:53, 1] smbd/service.c:make_connection(606)
  fozzi (192.168.1.2) connect to service test-fozzi as user FOZZI (uid=506,
gid=506) (pid 1123)
[2001/07/08 15:29:17, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:29:21, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:29:21, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:29:21, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:29:21, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [FOZZI]
[2001/07/08 15:29:21, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:30:02, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:30:26, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:30:58, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:30:58, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:30:58, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:30:59, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [FOZZI]
[2001/07/08 15:30:59, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:31:01, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:31:01, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:31:01, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:31:01, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [FOZZI]
[2001/07/08 15:31:01, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:31:03, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:31:23, 2] smbd/open.c:open_file(213)
  FOZZI opened file err.gif read=No write=Yes (numopen=1)
[2001/07/08 15:31:23, 2] smbd/close.c:close_normal_file(203)
  FOZZI closed file err.gif (numopen=0)
[2001/07/08 15:34:06, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:34:06, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:34:06, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:34:06, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [FOZZI]
[2001/07/08 15:34:06, 2] smbd/password.c:pass_check_smb(586)
  pass_check_smb failed - invalid password for user [pcguest]
[2001/07/08 15:34:16, 2] smbd/open.c:open_file(213)
  FOZZI opened file err401.txt read=No write=Yes (numopen=1)
[2001/07/08 15:34:16, 2] smbd/close.c:close_normal_file(203)
  FOZZI closed file err401.txt (numopen=0)
[2001/07/08 15:34:16, 2] lib/access.c:check_access(316)
  Allowed connection from  (192.168.1.2)
[2001/07/08 15:34:16, 2] smbd/open.c:open_file(213)
  FOZZI opened file err401.txt read=Yes write=Yes (numopen=1)
[2001/07/08 15:34:16, 2] smbd/close.c:close_normal_file(203)
  FOZZI closed file err401.txt (numopen=0)
[2001/07/08 15:35:13, 1] smbd/service.c:close_cnum(644)
  fozzi (192.168.1.2) closed connection to service test-fozzi
[2001/07/08 15:35:13, 2] smbd/server.c:exit_server(448)
  Closing connections


Thank you for your help, sincerely,

Emmanuel







More information about the samba-technical mailing list