Sorry, Should have used plain text to begin with and better wrapping:
Hi People,
Trying to be as informative as possible: I'm trying to add printers drivers to cups-owned, samba shared printer. Called "PDF-Creator"
But when I issue the command "cupsaddsmb -U root -v PDF-Creator" I get a
"NT_STATUS_LOGON_FAILURE"
Weird thing is: I was able to do this a few months ago. But I noticed
the drivers where missing when I wanted to add this printer to one of my
windows workstations. So I thought: Well let's just run the good-ol
cupsaddsmb and where fine... No go evidently...
Only thing changed since then is a newer version of Samba (3.0.4) and a newer version of Cups that came with it (Debian Distro, Sarge)
Here's what I have: # pdbedit -L root -v Unix username: root NT username: Account Flags: [U ] User SID: S-1-5-21-2607698634-1356104974-381704672-1000 Primary Group SID: S-1-5-21-2607698634-1356104974-381704672-513 Full Name: Home Directory: HomeDir Drive: Logon Script: Profile Path: Domain: ENTERPRISE Account desc: Workstations: Munged dial: Logon time: 0 Logoff time: Fri, 13 Dec 1901 21:45:51 GMT Kickoff time: 0 Password last set: Fri, 25 Jun 2004 19:15:25 GMT Password can change: Mon, 28 Jun 2004 19:15:25 GMT Password must change: Thu, 23 Sep 2004 19:15:25 GMT Last bad password : Fri, 25 Jun 2004 19:16:08 GMT Bad password count : 1
# cupsaddsmb -U root -v PDF-Creator Password for root required to access localhost via SAMBA: tree connect failed: NT_STATUS_LOGON_FAILURE
Password for root required to access localhost via SAMBA:
Anonymous login successful
NT_STATUS_NETWORK_ACCESS_DENIED making remote directory \W32X86
NT_STATUS_ACCESS_DENIED opening remote file \W32X86/PDF-Creator.ppd
NT_STATUS_ACCESS_DENIED opening remote file \W32X86/cupsdrv5.dll
NT_STATUS_ACCESS_DENIED opening remote file \W32X86/cupsui5.dll
NT_STATUS_ACCESS_DENIED opening remote file \W32X86/cups5.hlp
Running command: smbclient //localhost/print\$ -N -U'root%keepitsimple'
-c 'mkdir W32X86;put /var/spool/cups/tmp/40dc5e1025de6
W32X86/PDF-Creator.ppd;put /usr/share/cups/drivers/cupsdrv5.dll
W32X86/cupsdrv5.dll;put /usr/share/cups/drivers/cupsui5.dll
W32X86/cupsui5.dll;put /usr/share/cups/drivers/cups5.hlp W32X86/cups5.hlp'
Running command: smbclient //localhost/print\$ -N -U'root%' -c 'mkdir W32X86;put /var/spool/cups/tmp/40dc5e1025de6 W32X86/PDF-Creator.ppd;put /usr/share/cups/drivers/cupsdrv5.dll W32X86/cupsdrv5.dll;put /usr/share/cups/drivers/cupsui5.dll W32X86/cupsui5.dll;put /usr/share/cups/drivers/cups5.hlp W32X86/cups5.hlp'
Samba log says: [2004/06/25 19:17:07, 0] smbd/service.c:make_connection_snum(541) Can't become connected user! [2004/06/25 19:17:09, 1] smbd/service.c:make_connection_snum(619) menem (127.0.0.1) connect to service print$ initially as user nobody (uid=65534, gid=65534) (pid 8880) [2004/06/25 19:17:09, 1] smbd/service.c:close_cnum(801) menem (127.0.0.1) closed connection to service print$
So what does "Can't become connected user!" mean? Googling it does not reveal anything?
Thanks for any help!
Mark
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
-- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
