[Samba] Publish printer into ADS
Adam Lins
adam at bdti.com
Thu Nov 25 01:35:10 GMT 2004
Hi,
I'd like to publish the printer queues on a SAMBA server to a Win2k native
mode ADS. Apparently, the command fails due to NT_STATUS_LOGON_FAILURE--the
output below is when run as root.
# net ads printer publish "tall" -d 2
[2004/11/24 17:28:37, 2] lib/interface.c:add_interface(79)
added interface ip=192.168.1.5 bcast=192.168.1.255 nmask=255.255.255.0
[2004/11/24 17:28:37, 2]
libsmb/cliconnect.c:cli_session_setup_kerberos(538)
Doing kerberos session setup
[2004/11/24 17:28:37, 1] libsmb/cliconnect.c:cli_full_connection(1464)
failed session setup with NT_STATUS_LOGON_FAILURE
Unable to open a connnection to BERTHA to obtain data for tall
[2004/11/24 17:28:37, 2] utils/net.c:main(792)
return code = -1
However, smbclient is able to connect just fine:
# smbclient //192.168.1.5/adam -Uadam
Password:
Domain=[BDTI] OS=[Unix] Server=[Samba 3.0.7-1.3E]
smb: \>
The printer is a valid queue on this server:
# net rap printq
Password:
Print queues at \\127.0.0.1
Name Job # Size Status
----------------------------------------------------------------------------
---
copier Queue 0 jobs *Printer Active*
scratch Queue 0 jobs *Printer Active*
tall Queue 0 jobs *Printer Active*
Any ideas welcome.
Thanks,
-Adam
More information about the samba
mailing list