Environment: AIX 7200-05-03-2136
Problem:
The old machine run with samba client version 3.6.25 and Oracle app could print to Windows without passing username, password.
$ smbclient //R12-AM/epson -c print /tmp/printtest.txt'
The new machine run on AIX 7.2 TL5 SP3, upgraded Oracle and samba client version 4.16.5.
The print job could be printed only when passing username/password for authentication.
---------------------------------------------
<<fail>> $ smbclient //R12-AM/epson -c print /tmp/printtest.txt'
<<success>> $ smbclient //R12-AM/epson -A /tmp/user.txt -c print /tmp/printtest.txt'
---------------------------------------------
File /tmp/user.txt
username = <username>
password = <password>
---------------------------------------------
- smb.conf on old machine Samba version 3.6.25
####################################
[global]
workgroup = DOMAIN
server string = ahsw03r11 Samba Server
printcap name = /etc/printcap
load printers = yes
log file = /var/log/samba/log.%m
max log size = 50
security = server
password server = srithai05
encrypt passwords = no
smb passwd file = /etc/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
name resolve order = host lmhosts wins bcast
wins support = yes
dns proxy = no
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
####################################
smb.conf on new machine Samba version 4.16.5
---------------------------------------------
# Global parameters
[global]
guest account = srithai
log file = /var/log/samba/log.%m
max log size = 50
security = USER
server string = Samba Server Version %v
idmap config * : backend = tdb
cups options = raw
[homes]
browseable = No
comment = Home Directories
read only = No
[printers]
browseable = No
comment = All Printers
guest ok = Yes
path = /var/spool/samba
printable = Yes
####################################
There are a lot of users to send print jobs and it's difficult to change the smbclient command option for all users to send an authentication.
Customer would like to submit print job as previously with command below.
$ smbclient //R12-AM/epson -c print /tmp/printtest.txt
How to set samba client version 4.16.5 to print without passing username/password for authentication?
Thanks so much for your help.
------------------------------
Premvadee K.
------------------------------