Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.081 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'subject:Windows': 0.02; 'error:': 0.07; 'importerror:': 0.07; 'git': 0.09; 'skip:/ 10': 0.09; 'worked.': 0.09; 'python': 0.11; 'windows': 0.15; '33,': 0.16; 'clone': 0.16; 'command.': 0.16; 'command:': 0.16; 'subject:member': 0.16; 'fix': 0.17; 'library': 0.18; 'module': 0.19; 'command': 0.22; 'import': 0.22; 'install': 0.23; 'file.': 0.24; '---': 0.24; 'script': 0.25; 'skip:" 30': 0.26; 'downloaded': 0.26; 'primary': 0.26; 'installed': 0.27; 'tried': 0.27; 'correct': 0.29; 'fixed': 0.29; 'words': 0.29; 'bug?': 0.31; 'gcc': 0.31; 'initiated': 0.31; 'up:': 0.31; 'file': 0.32; 'run': 0.32; 'open': 0.33; 'linux': 0.33; 'running': 0.33; '(most': 0.33; 'older': 0.33; 'core': 0.34; 'problem': 0.35; 'tool': 0.35; 'but': 0.35; 'version': 0.36; 'starting': 0.37; 'skip:& 10': 0.38; 'somebody': 0.38; 'to:addr:python-list': 0.38; 'issue': 0.38; 'skip:- 10': 0.38; 'anything': 0.39; 'recent': 0.39; 'to:addr:python.org': 0.39; 'release': 0.40; 'remove': 0.60; 'received:98.137': 0.60; 'skip:2 20': 0.60; 'tell': 0.60; 'free': 0.61; 'till': 0.61; 'viruses': 0.61; 'received:208': 0.61; 'name': 0.63; 'protection': 0.63; 'temporary': 0.65; 'here': 0.66; 'close': 0.67; 'url:png': 0.68; 'antivirus': 0.68; 'received:gq1.yahoo.com': 0.68; 'received:mail.gq1.yahoo.com': 0.68; 'said:': 0.68; 'export': 0.74; './configure': 0.84; '6.5': 0.84; 'me!!': 0.84; 'received:bullet.mail.gq1.yahoo.com': 0.84; 'samba': 0.84; 'skip:/ 30': 0.84; 'subject:Domain': 0.91 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1399303125; bh=rNCO8hzNzn5OifFEWFqRTp7yKrZFaa0QUFSFR5VQsnA=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:From:To:Subject:Date:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:Importance:X-Mailer:X-MimeOLE:X-Antivirus:X-Antivirus-Status; b=ps9yxPdqcIMTt9C2AizMdNQccdkVP4Z+pomYRDFFf79/I6E/unHw5hTPVFCohJNRFBlbc0RDIdffAZzYEALRVK74NigGIclQXR1AWuZUlTFgJbHO7KtektWKK/GPXCvKCqL0mYZe6kHiCxpSaemMMcGPzBlJg5tHmla8tOYXMbQ= X-Yahoo-Newman-Id: 682323.61486.bm@smtp210.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: cP4hhusVM1nelvEtapxsjWo9SRb3Q5VQveZT5yDvwluEeyT EFqi7xHVpJ_LZRZpulrXxSMuwupbmN0aUIZ2Nzg_i7sbEJxt6z35YG36VPBC 2slfrW8JTEV23S2A8_Z4vq64un2kbeO28G3dFDvagYHj7wVtV5QfE99cD4nI fmIsCpP0F21dcytG1xY9_pYWu2tPd0.M6DEbxr5ZFnDPRg2cklTISjOEUe9V eWncbDf8bPcImiKTZRZqKfe1Gv_8H6ncfBqJLCXPoU0Y8FFE_66yffjLGCAB 20rpArRwTbtG1cDo_Z9qnU.9fN58IdpE5joN.GZ_90v84gpFRfSgQg9X0sEh f3QFMdYWhuGuGbHrP.EARxnveaPP2h_t9_ZBL9xOtw2Pcijj8X9iwyZzl36y 3J6c1_jN2U5kd1QsalkqPA_bvAE2E3sW_GcY9zMN38e3un.O994gEi55DzOP ZJobPrqM8DDjvvXSZh1ZxfkjOWXwIcG0w72Wnr5vSdkcI4U_dStW5g5wx0NC ybCuRPhuXDX2Dw9MZf42nvElgDDuCtRVuFEUakOp4X8BdkEeAW2nYYtML7Yy LUzZBICkE.n54L8QCUF5OJYbl35xY357jyQoRGLg24fEElSq5R_.aXjPYxn0 rMV0rIvGkclNjDtyrnh6Q5g-- X-Yahoo-SMTP: Czf1s66swBCDE7rSzFU3M_rXOn7j2qSGJmg- X-Rocket-Received: from BeInformed (christcadet99@199.36.12.17 with plain [98.139.211.125]) by smtp210.mail.gq1.yahoo.com with SMTP; 05 May 2014 08:18:45 -0700 PDT From: "Joshua Knights" To: Subject: Joining centos 6.5 member Domain Controller to an existing Windows Domain Date: Mon, 5 May 2014 11:18:49 -0400 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0003_01CF6853.C99604A0" X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 15.4.3555.308 X-MimeOLE: Produced By Microsoft MimeOLE V15.4.3555.308 X-Antivirus: avast! (VPS 140505-0, 05/05/2014), Outbound message X-Antivirus-Status: Clean X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 255 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399303336 news.xs4all.nl 2970 [2001:888:2000:d::a6]:53061 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:70928 This is a multi-part message in MIME format. ------=_NextPart_000_0003_01CF6853.C99604A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Here is my Issue and I think it may be a python path bug? This is my Error: /root/samba-master/bin/samba-tool domain join AAF.ECPI DC -Uadministrator -= -realm=3DAAF.ECPI I get the following Error: Traceback (most recent call la= st): File "/root/samba-master/bin/samba-tool", line 33, in from samba.netcmd.main import cmd_sambatool ImportError: No module named samba.netcmd.main In my research somebody said: to export the PYTHONPATH and to change it to = the correct path of the netcmd command. Someone said this fixed the problem for them, but it did not fix the proble= m for me!! Below is my Sinereo: I am running a CentosOS Release 6.5 (Final) Kernel Linux 2.632-431.11.2.el6= =2Ex86_64 GNOME 2.28.2 Both my Domain and Relm are AAF.ECPI; My Directory Path for Samba Version= is /root/samba-master/ I did a Yum Update before starting anything Then I did a: yum install glibc glibc-devel gcc python* libacl-devel krb5-workstation krb= 5-libs pam_krb5 and then I removed the older samba packages before starting via the command= : yum remove samba-winbind-client samba-common samba-client Then I installed git core using the command: yum install git-core Then I downloaded Samba with the following command: git clone git://git.samba.org/samba.git samba-master Then I installed the additional openldap-devel Library then I did the ./configure --enable-debug --enable-selftest then initiated the make command Then I successfully did a: kinit administrator and it prompted me for the Administrator Password of the Windows Domain Adm= inistrator. Then I ran klist and it successfully showed me I had a security token from the Windows Prima= ry Domain Controller. Where I am currently Stuck is when I run the: /root/samba-master/bin/samba-tool domain join AAF.ECPI DC -Uadministrator -= -realm=3DAAF.ECPI I get the following Error: Traceback (most recent call la= st): File "/root/samba-master/bin/samba-tool", line 33, in from samba.netcmd.main import cmd_sambatool ImportError: No module named samba.netcmd.main When I do a find / - name samba.netcmd.main It pulls up: NOTHING!! If I pull up : find / -name netcmd I get: /root/samba-master/python/samba/netcmd /root/samba-master/bin/python/samba/netcmd /root/samba-master/bin/default/python/samba/netcmd In my research somebody said: to export the PYTHONPATH and to change it to = the correct path of the netcmd command. if I wanted to fix it permanently then to update my bash.rc file. In other words Tell my samba tool where to look, and this look is only temp= orary till I close my terminal. Placing the command in the bash.rc file wil= l run this script every time I open my terminal. Well, I tried all 3 and no= ne of them worked. --- This email is free from viruses and malware because avast! Antivirus protec= tion is active. http://www.avast.com ------=_NextPart_000_0003_01CF6853.C99604A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Here is my Issue and I think it may be a python path bug?
 
This is my Error:
/root/samba-master/bin/samba-tool domain join AAF.ECPI DC -Uadministra= tor --realm=3DAAF.ECPI I get the following Error: Traceback (most recent call last):
File "/root/samba-master/bin/samba-tool", line 33, in <module>
from samba.netcmd.main import cmd_sambatool
ImportError: No module named samba.netcmd.main
 
In my research somebody said: to export the PYTHONPATH and to change i= t to the correct path of the netcmd command.  
 
Someone said this fixed the problem for them, but it did not fix the problem for me!!
 
Below is my Sinereo:
 
I am running a CentosOS Release 6.5 (Final) Kernel Linux 2.632-431.11.2.el6.x86_64 GNOME 2.28.2
 
Both my Domain and Relm are AAF.ECPI;   My Directory Path fo= r Samba Version is /root/samba-master/
 
I did a Yum Update before starting anything
 
Then I did a: 
 
yum install glibc glibc-devel gcc python* libacl-devel krb5-workstatio= n krb5-libs pam_krb5
 
and then I removed the older samba packages before starting via the command:
 
yum remove samba-winbind-client samba-common samba-client
 
Then I installed git core using the command:
 
yum install git-core
 
Then I downloaded Samba with the following command:
 
git clone git://git.samba.org/samba.git samba-master
 
Then I installed the additional openldap-devel Library
 
then I did the ./configure --enable-debug --enable-selftest
 
then initiated the make command
 
Then I successfully did a:
 
kinit administrator
 
and it prompted me for the Administrator Password of the Windows Domai= n Administrator.
 
Then I ran
 
klist
 
and it successfully showed me I had a security token from the Windows = Primary Domain Controller.
 
Where I am currently Stuck is when I run the:
 
/root/samba-master/bin/samba-tool domain join AAF.ECPI DC -Uadministra= tor --realm=3DAAF.ECPI I get the following Error: Traceback (most recent call last):
File "/root/samba-master/bin/samba-tool", line 33, in <module>
from samba.netcmd.main import cmd_sambatool
ImportError: No module named samba.netcmd.main
 
 
When I do a find / - name samba.netcmd.main
 
It pulls up: NOTHING!!
 
If I pull up : find / -name netcmd
 
I get:
 
/root/samba-master/python/samba/netcmd
/root/samba-master/bin/python/samba/netcmd
/root/samba-master/bin/default/python/samba/netcmd
 
In my research somebody said: to export the PYTHONPATH and to change i= t to the correct path of the netcmd command.
 
if I wanted to fix it permanently then to update my bash.rc file.
 
In other words Tell my samba tool where to look, and this look is only= temporary till I close my terminal. Placing the command in the bash.rc file= will run this script every time I open my terminal. Well, I tried all 3 and none= of them worked.
 
 



This email is free from viruses and malware because avast! Antivirus protection is active.


------=_NextPart_000_0003_01CF6853.C99604A0--