alright...how bout we just ignore everything that has happened in the past. (even though it did work for about 10 minutes and mysteriously stopped)
When Jennifer is the name of the computer
192.168.1.98 is LAN ip of the computer
and Retrolin is the account name i'm using to login
When I use
/usr/bin/smblient -L 192.168.1.98 -U Retrolin
this is what I get
added interface ip=192.168.1.99 bcast=192.168.1.255 nmask=255.255.255.0
session request to 192.168.1.98 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:
Domain=[IDONNO] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
IPC$ IPC Remote IPC
print$ Disk Printer Drivers
C Disk
CanonS52 Printer Canon S520
ADMIN$ Disk Remote Admin
C$ Disk Default share
Server Comment
--------- -------
JENNIFER
Workgroup Master
--------- -------
IDONNO JENNIFER
When I use
/usr/bin/smbclient -L Jennifer -U Retrolin
this happens
added interface ip=192.168.1.99 bcast=192.168.1.255 nmask=255.255.255.0
Password:
session setup failed: NT_STATUS_LOGON_FAILURE
NOW...when I type in /usr/sbin/lpadmin -p CanonS52 -v smb://Retrolin:password@Jennifer/CanonS52 -P /root/canonS500.ppd
this is the output (wwhere it says Password for retrolin on localhost? I just hit enter, if I put in anything else, it just asks the question again
Password for retrolin on localhost?
lpadmin: add-printer (set device) failed: client-error-not-authorized
When I type in /usr/sbin/lpadmin -p CanonS52 -v smb://Retrolin:password@192.168.1.98/CanonS52 -P /root/canonS500.ppd
this is the output
Password for retrolin on localhost?
lpadmin: add-printer (set device) failed: client-error-not-authorized
If I use /usr/sbin/lpadmin -p CanonS52 -h 192.168.1.98 -i smb://Retrolin:password@Jennifer/CanonS52 -P /root/CanonS500.ppd
I get
lpadmin: Unable to connect to server: Connection refused
If I use /usr/sbin/lpadmin -p CanonS52 -h 192.168.1.98 -i smb://Retrolin:password@192.168.1.98/CanonS52 -P /root/CanonS500.ppd
it says
lpadmin: Unable to connect to server: Connection refused
I know I have the right user name and password because I use the same ones to connect to it from this exact same computer while I'm running in windows XP (both times using IP address 192.168.1.99
and the firwall thing in windows is unchecked, I turned off the firewall in linux completly while trying to get it to connect, and I have ports 137,138, 139 and 631 forwarded to both IP addresses on the router (even though I don't think that'll do anything for me while working inside the network.
Please help
___________________
Nolug mailing list
nolug@nolug.org
Received on 07/16/03
This archive was generated by hypermail 2.2.0 : 12/19/08 EST