samba4 - can't open 'main.mk' at build/smb_build/config_mk.pm

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

samba4 - can't open 'main.mk' at build/smb_build/config_mk.pm

chinni
Hi,

             I want to install samba4-alpha5 through source compilation. when I run configure , I am getting this error.

./build/smb_build/main.pl: can't open 'main.mk' at build/smb_build/config_mk.pm line 174

Please help me in installing samba4-alpha5 or else suggest me which alpha version can I use so that I can do or test delegation by using samba4.
Reply | Threaded
Open this post in threaded view
|

Re: samba4 - can't open 'main.mk' at build/smb_build/config_mk.pm

tms3
\

>
>
> Hi,
>
>                          I want to install samba4-alpha5 through
> source compilation.
> when I run configure , I am getting this error.
>
> ./build/smb_build/main.pl: can't open 'main.mk' at
> build/smb_build/config_mk.pm line 174
>
> Please help me in installing samba4-alpha5 or else suggest me which
> alpha
> version can I use so that I can do or test delegation by using samba4.

http://wiki.samba.org/index.php/Samba4/HOWTO
>
>
>
> --
> View this message in context:
> http://samba.2283325.n4.nabble.com/samba4-can-t-open-main-mk-at-build-smb-build-config-mk-pm-tp3345195p3345195.html
> Sent from the Samba - samba-technical mailing list archive at
> Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: samba4 - can't open 'main.mk' at build/smb_build/config_mk.pm

Andrew Bartlett
In reply to this post by chinni
On Wed, 2011-03-09 at 21:00 -0800, chinni wrote:

> Hi,
>
>              I want to install samba4-alpha5 through source compilation.
> when I run configure , I am getting this error.
>
> ./build/smb_build/main.pl: can't open 'main.mk' at
> build/smb_build/config_mk.pm line 174
>
> Please help me in installing samba4-alpha5 or else suggest me which alpha
> version can I use so that I can do or test delegation by using samba4.

Samba4 alpha5 is very, very old.  Why are you trying such an old
version?  Try the current alpha14 from
http://samba.org/samba/ftp/samba4/ or the current git tree.

Andrew Bartlett

--
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Cisco Inc.

Reply | Threaded
Open this post in threaded view
|

Re: samba4 - can't open 'main.mk' at build/smb_build/config_mk.pm

chinni
Hi,

       I installed alpha version. Compilation and installation done successfully. But when I run ./samba -i -M single I ended up with the following error. But when I used samba-tool join , my machine joined to the domain with out any fail. please tell me how to over come from this error.

#./samba -i -M single
 samba: using 'single' process model
Failed to listen on 0.0.0.0:445 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
task_server_terminate: [Failed to startup smb server task]
Failed to listen on 0.0.0.0:135 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
service_setup_stream_socket(address=0.0.0.0,port=135) failed - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
task_server_terminate: [Failed to startup dcerpc server task]
task_server_terminate: [ldap_server: no LDAP server required in member server configuration]
task_server_terminate: [cldap_server: no CLDAP server required in member server configuration]
task_server_terminate: [kdc: no KDC required in member server configuration]
task_server_terminate: [dreplsrv: no DSDB replication required in domain member configuration]
task_server_terminate: [kccsrv: no KCC required in domain member configuration]
Failed to listen on 0.0.0.0:901 - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
task_server_terminate: [websrv_task_init: failed to startup web server task]

Please help.

Thanks



Reply | Threaded
Open this post in threaded view
|

Re: samba4 - can't open 'main.mk' at build/smb_build/config_mk.pm

chinni
Even I kill samba process, the ./samba -i -M single hangs , here is my smb.conf for samba4

   server role = member server
    workgroup = <DOMAIN>
    realm = <DOMAIN.COM>
    password server = <FQDN>
    server signing = auto
    encrypt passwords = yes
    client use spnego = yes
    registry:hkey_users = hku.ldb
    registry:hkey_local_machine = hklm.ldb
    ntvfs handler = unixuid
    host allow = 127. 172.17.
    winbind enum users = yes
    winbind enum groups = yes
    winbind separator = \
    interfaces = eth8 lo
    bind interfaces only = yes