Hi Jean,

Below is the output of  " rpm -qa | grep samba "

samba-client-3.5.10-125.el6.i686
samba4-libs-4.0.0-23.alpha11.el6.i686
samba-common-3.5.10-125.el6.i686
samba-winbind-clients-3.5.10-125.el6.i686
samba4-4.0.0beta5-3.el6.1.i686



Thanks & Regards,
Devinder Singh Birdi

On 9/24/2012 6:58 PM, Jean Raby wrote:
On 12-09-24 8:24 AM, Devinder Singh wrote:
Thanks Sebastien,

Provision script is available in /usr/sbin/ and thats where I ran the
command.

I did not find the Provision script in /usr/share/samba/setup.

However, I copied provision script from /usr/sbin/ to
/usr/share/samba/setup and ran the command.

Yet got the same error

[root@linux sbin]# cd /usr/share/samba/setup/
[root@linux setup]# ./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File "./provision", line 33, in <module>
import samba
ImportError: No module named samba

On which distribution do you see this error?
Depending on the distro in use, can you show the output of 'dpkg -l | grep samba' or 'rpm -qa | grep samba' ?

Thanks.

Kindly guide.


Thanks&  Regards,
Devinder Singh Birdi

On 9/21/2012 8:29 PM, Sébastien Blin wrote:

Le 21/09/2012 16:41, Devinder Singh a écrit :
Hi All,

I am facing the below issue when I run the command as per the
instructions given in the "SOGo Native Microsoft Outlook
Configuration 2.0".

provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'
Traceback (most recent call last):
File "/usr/sbin/provision", line 33, in <module>
import samba
*ImportError: No module named samba*

In SOGo instruction, it's write this :

"The provision script might be located in /usr/share/samba/setup"

Test it :

cd /usr/share/samba/setup

./provision --realm=example.com --domain=OPENCHANGE
--adminpass='%1OpenChange' --server-role='domain controller'



Below command returns nothing. Is their any problem in Samba
installation ?

[root@linux opt]# /etc/init.d/samba4 start
[root@linux opt]#


Samba4 is installed as per the guidelines provided. Installed the
samba using rpm --replacefiles command since their was conflict with
older versions of the libs.

Kindly guide.




--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to