Oddly enough, testparm does _not_ complain about that. It just ignores it and defaults to security = user. (Which is what I would have recommended anyway.)
One other possibility is that the password being supplied is not validating properly, either because of a typo, or whatever, and the "map to bad user" is taking affect. Try setting your log level to 1 (or higher) and kill -1 all your smbd instances (killall -1 smbd should do it). Then try it again, and see what shows up in your log file. You'll also have to add a "log file = /var/log/samba.%m" parameter to smb.conf. The log file that shows up should be netbiosname.smbd. You should probably also change the netbios name parameter to a proper one with one node only, perhaps just "LINUXI". Mark Post -----Original Message----- From: Daniel Jarboe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 04, 2002 11:08 AM To: [EMAIL PROTECTED] Subject: Re: smbclient authorization error I think your problem is with your security = none line. Does testparm say this is okay? man smb.conf lists 4 valid settings: share, user, server, domain. I just checked swat, and it has a drop-down box with only those 4 settings. I'd start with security = user , and if that is too restrictive then drop to security = share. HTH ~ Daniel ---- From: Crowley, Glen L Sent: Wednesday, December 04, 2002 10:28 AM Subject: Re: smbclient authorization error Here is a copy of my smb.conf file. # Samba config file created using SWAT # from lrd1ssl2.abcbs.net (192.168.5.53) # Date: 2002/11/19 14:19:51 # Global parameters [global] workgroup = ABCBSNET netbios name = LINUXI.ABCBS.NET security = none map to guest = Bad User keepalive = 30 os level = 2 wins server = 192.168.1.12 kernel oplocks = No template shell = /bin/bash printcap name = cups printing = cups load printers = yes [homes] comment = home-directory read only = No create mask = 0750 browseable = No [printers] comment = All Printers path = /var/spool/samba printer admin = root guest ok = Yes printable = Yes browseable = No public = yes writeable = no [print$] path = /etc/samba/drivers browseable = yes guest ok = Yes read only = yes write list = root [linuxi_tmp] path = /tmp guest ok = Yes [im_hp4] path = /tmp printable = Yes [im_clj4500] path = /tmp printable = Yes Glen ----------------------------------------------------------------------- This message is the property of Time Inc. or its affiliates. It may be legally privileged and/or confidential and is intended only for the use of the addressee(s). No addressee should forward, print, copy, or otherwise reproduce this message in any manner that would allow it to be viewed by any individual not originally listed as a recipient. If the reader of this message is not the intended recipient, you are hereby notified that any unauthorized disclosure, dissemination, distribution, copying or the taking of any action in reliance on the information herein is strictly prohibited. If you have received this communication in error, please immediately notify the sender and delete this message. Thank you.
