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
-----Original Message-----
From: Post, Mark K [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 9:16 AM
To: [EMAIL PROTECTED]
Subject: Re: smbclient authorization error
Glen,
What does your smb.conf file say about who has write access to that
resource? Any access request has to pass both UNIX permissions and Samba
permissions testing.
Mark Post
-----Original Message-----
From: Crowley, Glen L [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 04, 2002 9:45 AM
To: [EMAIL PROTECTED]
Subject: smbclient authorization error
I am running cups 1.1.15 and samba 2.2.7 on SuSE 7 for s390. Trying to run
cupsaddsmb to copy drivers files. I get an error creating the directory to
copy the drivers to. I am running as root. Root has been added to the
smbpasswd file. I put this on the samba listserv with no response. If
anybody has been here or has a suggestion, please respond.
linuxi:/ # cupsaddsmb -v -U root im_hp4
Password for root required to access localhost via SAMBA:
Running command: smbclient //localhost/print\$ -N -U'root%linux' -c 'mkdir
W32X86;put /var/spool/cups/tmp/3dee0e300f548 W32X86/im_hp4.PPD;put
/usr/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put
/usr/share/cups/drivers/ADOBEPSU.DLL W32X86/ADOBEPSU.DLL;put
/usr/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP'
added interface ip=172.16.14.101 bcast=172.16.14.255 nmask=255.255.255.0
Domain=[ABCBSNET] OS=[Unix] Server=[Samba 2.2.7]
ERRSRV - ERRaccess (The requester does not have the necessary access
rights within the specified context for the requested function. The
context is defined by the TID or the UID.) making remote directory \W32X86
ERRDOS - ERRnoaccess (Access denied.) opening remote file \W32X86/im_hp4.PPD
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\W32X86/ADOBEPS5.DLL
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\W32X86/ADOBEPSU.DLL
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\W32X86/ADOBEPSU.HLP
Running command: smbclient //localhost/print\$ -N -U'root%linux' -c 'mkdir
WIN40;put /var/spool/cups/tmp/3dee0e300f548 WIN40/im_hp4.PPD;put
/usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put
/usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put
/usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put
/usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put
/usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put
/usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;'
added interface ip=172.16.14.101 bcast=172.16.14.255 nmask=255.255.255.0
Domain=[ABCBSNET] OS=[Unix] Server=[Samba 2.2.7]
ERRSRV - ERRaccess (The requester does not have the necessary access
rights within the specified context for the requested function. The
context is defined by the TID or the UID.) making remote directory \WIN40
ERRDOS - ERRnoaccess (Access denied.) opening remote file \WIN40/im_hp4.PPD
ERRDOS - ERRnoaccess (Access denied.) opening remote file \WIN40/ADFONTS.MFM
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\WIN40/ADOBEPS4.DRV
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\WIN40/ADOBEPS4.HLP
ERRDOS - ERRnoaccess (Access denied.) opening remote file
\WIN40/DEFPRTR2.PPD
ERRDOS - ERRnoaccess (Access denied.) opening remote file \WIN40/ICONLIB.DLL
ERRDOS - ERRnoaccess (Access denied.) opening remote file \WIN40/PSMON.DLL
Running command: rpcclient localhost -N -U'root%linux' -c 'adddriver
"Windows NT x86"
"im_hp4:ADOBEPS5.DLL:im_hp4.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
session setup ok
Domain=[ABCBSNET] OS=[Unix] Server=[Samba 2.2.7]
result was NT_STATUS_ACCESS_VIOLATION
Running command: rpcclient localhost -N -U'root%linux' -c 'adddriver
"Windows 4.0"
"im_hp4:ADOBEPS4.DRV:im_hp4.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,
DEFPRTR2.PPD,ICONLIB.DLL"'
session setup ok
Domain=[ABCBSNET] OS=[Unix] Server=[Samba 2.2.7]
result was NT_STATUS_INVALID_INFO_CLASS
Running command: rpcclient localhost -N -U'root%linux' -c 'setdriver im_hp4
im_hp4'
session setup ok
Domain=[ABCBSNET] OS=[Unix] Server=[Samba 2.2.7]
SetPrinter call failed!
result was NT_STATUS_ACCESS_VIOLATION
Thanks
Glen Crowley
Lead Systems Programmer
Arkansas Blue Cross Blue Shield
[EMAIL PROTECTED]