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

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.

--
[email protected]
https://inverse.ca/sogo/lists

Reply via email to