It's picking up "nobody" because you have "map to guest = Bad User", and
unless you specify "guest account = (something)", the default guest
account is nobody.  That means root is a bad user as far as samba is
concerned.  Let's backtrack... Have you been able to connect to the
shares as root?  Have you used the smbpasswd command to add root to the
smbpasswd file?

~ Daniel

-----Original Message-----
From: Crowley, Glen L [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 11:44 AM
To: [EMAIL PROTECTED]
Subject: Re: smbclient authorization error


Mark

This is the log after making the change suggested.  It looks as user
"nobody" is trying to do the work.  Where might I be picking that up
from.

[2002/12/04 10:37:39, 1] smbd/service.c:make_connection(636)
  linuxi (127.0.0.1) connect to service print$ as user root (uid=0,
gid=0)
(pid 4832)
[2002/12/04 10:37:39, 1] smbd/service.c:close_cnum(677)
  linuxi (127.0.0.1) closed connection to service print$
[2002/12/04 10:37:39, 1] smbd/service.c:make_connection(636)
  linuxi (127.0.0.1) connect to service print$ as user root (uid=0,
gid=0)
(pid 4834)
[2002/12/04 10:37:39, 1] smbd/service.c:close_cnum(677)
  linuxi (127.0.0.1) closed connection to service print$
[2002/12/04 10:37:40, 1] smbd/service.c:make_connection(636)
  linuxi (127.0.0.1) connect to service print$ as user nobody
(uid=65534,
gid=65534) (pid 4836)
[2002/12/04 10:37:40, 1] smbd/service.c:close_cnum(677)
  linuxi (127.0.0.1) closed connection to service print$
[2002/12/04 10:37:40, 1] smbd/service.c:make_connection(636)
  linuxi (127.0.0.1) connect to service print$ as user nobody
(uid=65534,
gid=65534) (pid 4838)
[2002/12/04 10:37:40, 0]
printing/nt_printing.c:move_driver_to_download_area(1475)
  move_driver_to_download_area: Unable to rename [WIN40/ADOBEPS4.DRV] to
[WIN40/0/ADOBEPS4.DRV]
[2002/12/04 10:37:40, 1] smbd/service.c:close_cnum(677)
  linuxi (127.0.0.1) closed connection to service print$

Glen

-----Original Message-----
From: Post, Mark K [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 10:23 AM
To: [EMAIL PROTECTED]
Subject: Re: smbclient authorization error


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.

Reply via email to