Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6824965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:57:53+00:00 2026-05-26T21:57:53+00:00

i am running on fedora 15 ( python 2.7 ) i’ve tried the imapcket.smb

  • 0

i am running on fedora 15 ( python 2.7 )

i’ve tried the imapcket.smb against windows 2000 sp4 (frensh) , windows xp sp2 (frensh) , windows xp sp3 (frensh) and it worked perfectly , but when i use it against windows 7 (frensh) x64 it didn’t work .

from my python :

>>> import impacket.smb as smb
>>> session = smb.SMB ( '*SMBSERVER' , '192.168.56.103' )

and i always get the following line :

>>> NetBIOSError ( 'Cannot request session', 240, 130 )

i can’t understand why this is happening

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:57:53+00:00Added an answer on May 26, 2026 at 9:57 pm

    *SMBSERVER is a NetBios alias that would allow to establish a SMB over NetBIOS (port 139) connection against a target Windows machine without knowing the real NetBIOS server name of the target. Since Vista on, that alias has been deprecated.

    So you have two choices:

    1. session = smb.SMB ( '<TARGET NETBIOS NAME>' , '192.168.56.103' ). You will need to know in advance the target’s NetBIOS name
    2. session = smb.SMB ( '192.168.56.103' , '192.168.56.103', sess_port = 445 ). This will connect to target port 445 where you don’t need to know the target’s NetBIOS server name.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working in Windows and running fedora through VMware. By default, the kernel
Im running mysql, pyodbc, python 2.7 loaded on Fedora 14 x64. Odbcinst.ini is: #
I have a VPS that is running Fedora Core 6, with yum somehow removed
Greets. So, I'm running Fedora Core 8 on an Amazon EC2. I installed httpd,
I'm running a Fedora 8 Core server. SSH is enabled and I can login
I'm running fedora core 9 with php 5.2.6. I want to send a simple
I am building a Fedora server (on VirtualBox right now). It is running Fedora
Configuration: I'm running stock Fedora 12 with the ant that Fedora ships: ant-1.7.1-12.fc12 java-1.6.0-openjdk-1.6.0.0-33.b16.fc12
I use a fedora operating system and I am running a recursive function which
Fedora Core 9 includes Python 2.5.1. I can use YUM to get latest and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.