rpcclient <hostname> -P work / smbclient -L <hostname> -P don't

Franz Pförtsch franz.pfoertsch at brose.net
Mon Nov 29 17:24:00 GMT 2004


Gerald (Jerry) Carter wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Franz Pförtsch wrote:
> | Hallo,
> |
> | I work with cupsaddsmb and try to implement a version without
> | any user and password issues.
> 
> You do understand the security implications of this right ?
I hope so!

> | So I used the rpcclient <hostname> -P and it worked.
> |
> | But when I use the same switches with smbclient it didn't worked.
> 
> Use -N with smbclient for anonymous connections.

So I have to mix the commands smbclient with -N and rpcclient -N -P and it
should work.

I want to bild a webgui to cupsaddsmb via the cups-webinterface.

regards and thanks for help
Franz
 

> 
> 
> 
> 
> cheers, jerry
> - ---------------------------------------------------------------------
> Alleviating the pain of Windows(tm)      ------- http://www.samba.org
> GnuPG Key                ----- http://www.plainjoe.org/gpg_public.asc
> "If we're adding to the noise, turn off this song"--Switchfoot (2003)
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFBqy9VIR7qMdg1EfYRApntAKDrM/JySRPP4qv6UePDAYhAly/OMgCgkKic
> ftP38rDy9aeuPoH0F/aWLug=
> =2URr
> -----END PGP SIGNATURE-----




More information about the samba-technical mailing list