GithubHelp home page GithubHelp logo

hjchanna / samba-poke Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 2.0 959 KB

A command-line test tool for samba connections

License: Apache License 2.0

Java 85.25% Shell 14.75%
samba samba-poke smb samba-domain samba-test jcifs

samba-poke's Introduction

Samba-Poke

CircleCI Releases

Samba poke is used to test samba connections (smb://) with Java. It will connect to a samba host which has passed as runtime arguments by using samba domain and credentials which are passed through same runtime arguments. Basic useage of samba-poke as follows.

# download samba-poke
wget https://github.com/hjchanna/samba-poke/raw/master/release/samba-poke.jar

# run samba-poke
java -jar samba-poke.jar smb://whatever/your/path/ <domain> <username> <password> 
- or - 
java -jar samba-poke.jar smb://whatever/your/path/ <domain> <username> 

Runtime Arguments

  • [1] samba host (Ex: smb://whatever/your/path/)
  • [2] samba domain
  • [3] username
  • [4] password (optional, it would prompt password if not passed as runtime arg)

Runtime Dependencies

  • Java Runtime (Tested with JRE 1.8)

Getting Started (Developer Section)

Java is the primary programming language of samba-poke. Apache Maven is used as the dependancy managment and build tool. The samba-poke uses jcifs library to connect samba protocol.

Prerequisites

  • JDK 1.8
  • Apache Maven (Build)

Installing

Build Command and the build process.

mvn clean package

Above build command will compile and generate the jar file in target directory similar to general maven projects. The build command also generate the relase package (jar) in release/ folder in the project root.

Release

Samba-poke will be destributed through github with in the same repository in the release/ directory. As mentioned above the build command will be automatically generate the release package in the release/ directory of project root. Refer following release link to the samba-poke.

https://github.com/hjchanna/samba-poke/raw/master/release/samba-poke.jar

Authors

  • Channa Jayamuni

samba-poke's People

Contributors

hjchanna avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.