Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Unable to fetch machine password when printing from AIX to Windows XP

Status
Not open for further replies.
Dec 29, 2001
73
GT
Hi fellows,

I'm using Samba 3.0.4 on an AIX 5.3 box, I have a windows 2000 active directory domain and I'm trying to use smbclient to print in a dot matrix printer shared in a Windows XP computer.

The command I'm using is:

Code:
smbclient //myhost/myshare -P -c "put /tmp/myfile.tmp"

but I get the next message:

ERROR: Unable to fetch machine password

I also tried:

Code:
smbclient mypwd -U mydomainuser //myhost/myshare -P -c "put /tmp/myfile.tmp"

with the same result.

Do I have to join the AIX server to the Active Directory domain? What else I'm I missing?

Thanks a lot,

Mauricio
 
You may try this:
smbclient //myhost/myshare -U mydomainuser%mypwd -N -P -c "put /tmp/myfile.tmp"

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
I also needed "-W mydomain" but that "user%password" sintax was what I was missing.

Thank you very much !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top