Wednesday, January 19, 2011

How to set up an automated login using smbclient ?

Ex:-
celsius@gmladmin:~$ smbclient -A samba_credentials //192.168.0.102/scans
Domain=[GIS5] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \>


here samba_credentials is a file which contains the user account information.

celsius@gmladmin:~$ cat samba_credentials
username = ************
password = ************

No comments:

Post a Comment