[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] Authentication with Samba




Hi everyone.

This one has me stumped.

I'm attempting to use smbclient and smbmount to connect a linux box to a NT 
domain and share.

Samba mainly deals with serving shares to clients, rather than connecting to 
shares from a *nix box, so there doesn't appear to be as much info on this 
side of things.

I'm trying to use the following command to mount a share at login:

smbmount //server/users $HOME/smb/users/ -o workgroup=ND password

if password is not present the system, the user is prompted.

The rest of the Samba system seems to try any password on the command line, 
*nix password, then asks the user.

Is there anyway that I can substitute in a password onto the command line 
(probably not a nice way of doing it) or use another method to authenticate 
these requests?

Cheers.

Baz.

-- 
Barrie J. Bremner		OpenPGP public key ID: 5164F553
baz [at] barriebremner.com	http://barriebremner.com/


___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.