Rowland Penny <[email protected]> írta:
> 

> 
On 10/01/12 10:07, Szombathelyi Gy|rgy wrote:
>Hi, Samba4 in its current (alpha) state has both smbd (from Samba3) and 
>samba(the new daemon). For SOGo you only need "samba". Br,György
>
>""Daniel Müller"" <[email protected]> írta:

>>I think samba4 does not have testparm anymore.
>>you are using testparm from samba3 package.
>>
>>
>>-------- Original-Nachricht --------
>>> Datum: Mon, 09 Jan 2012 22:41:04 +0000
>>> Von: Rowland Penny <[email protected]>
>>> An: [email protected]
>>> Betreff: Re: [SOGo] samba4 package in nightly?
>>
>>> On 09/01/12 18:40, Jean Raby wrote:
>>> > On 12-01-09 10:39 AM, Denis  Medvedev wrote:
>>> >> Hello, dear developers, There is NO such package in Sogo repo for
>>> CENTOS
>>> >> 6 x86_64 nightly. You can see it yourself by visiting
>>> >> http://www.sogo.nu/files/downloads/SOGo/RHEL6/x86_64/RPMS/ Looks like
>>> >> it&#39;s a misconfig. For who can do it - please fix it.
>>> >
>>> > Hi,
>>> >
>>> > please use the nightly repo, not the release repo:
>>> > http://www.sogo.nu/files/downloads/SOGo/RHEL6/nightly/x86_64/RPMS/
>>> >
>>> >
>>> Slight problem with that :-)
>>> 
>>> I have installed samba4 from the nightly repo:
>>> yum list installed | grep &#39;samba&#39;
>>> samba4.x86_64        4.0.0-1.alpha17.centos6.5
>>> 
>>> but &#39;testparm&#39; gives:
>>> 
>>> Load smb config files from /etc/samba4/smb.conf
>>> rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
>>> Unknown parameter encountered: "server role"
>>> Ignoring unknown parameter "server role"
>>> Processing section "[netlogon]"
>>> Processing section "[sysvol]"
>>> Loaded services file OK.
>>> Server role: ROLE_STANDALONE
>>> Press enter to see a dump of your service definitions
>>> 
>>> [global]
>>>      workgroup = HOME
>>>      realm = HOME.LAN
>>>      passdb backend = samba4
>>>      idmap config * : backend = tdb
>>> 
>>> [netlogon]
>>>      path = /var/lib/samba4/sysvol/home.lan/scripts
>>>      read only = No
>>> 
>>> [sysvol]
>>>      path = /var/lib/samba4/sysvol
>>>      read only = No
>>> 
>>> and in /var/log/messages
>>> smbd[28463]: [2012/01/09 21:56:13.034696,  0] 
>>> ../source3/param/loadparm.c:7340(lp_do_parameter)
>>> smbd[28463]:   Ignoring unknown parameter "server role"
>>> smbd[28463]: [2012/01/09 21:56:13.037257,  0] 
>>> ../source3/smbd/server.c:1077(main)
>>> smbd[28463]:   standard input is not a socket, assuming -D option
>>> named[28338]: error (network unreachable) resolving 
>>> &#39;_kerberos._udp.HOME/SRV/IN&#39;: 2001:7fd::1#53
>>> named[28338]: error (network unreachable) resolving 
>>> &#39;_kerberos._tcp.HOME/SRV/IN&#39;: 2001:dc3::35#53
>>> 
>>> It would seem that SOGo&#39;s samba4 rpm thinks it is actually samba3 (or 
>>> at 
>>> least partially)
>>> 
>>> Any chance this can be fixed?
>>> 
>>> Thanks
>>> 
>>> -- 
>>> This message has been scanned for viruses and
>>> dangerous content by MailScanner, and is
>>> believed to be clean.
>>> 
>>> -- 
>>> [email protected]
>>> https://inverse.ca/sogo/lists
>>
>>-- 
>>Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
>>belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
>>-- 
>>[email protected]
>>https://inverse.ca/sogo/lists

>
>--
>This message has been scanned for viruses and
>dangerous content by MailScanner, and is
>believed to be clean.
Well ok, but there is something going wrong, I only have samba4 from the 
nightly repo installed:

yum list installed | grep &#39;samba&#39;
samba4.x86_64        4.0.0-1.alpha17.centos6.5

Checking for samba in /etc/init.d gives:

ls /etc/init.d/samba*
/etc/init.d/samba4

and &#39;service samba4 restart&#39; puts this into /var/log/messages

smbd[906]: [2012/01/10 11:06:46.538026,  0] 
../source3/param/loadparm.c:7340(lp_do_parameter)
smbd[906]:   Ignoring unknown parameter "server role"
smbd[906]: [2012/01/10 11:06:46.542348,  0] ../source3/smbd/server.c:1077(main)
smbd[906]:   standard input is not a socket, assuming -D option

evidently the wrong smbd is getting started but the only samba binary is  
/usr/sbin/smbd and  the pidfile is /var/run/samba4/smbd.pid

&#39;/usr/sbin/smbd -V&#39; gives:
Version 4.0.0alpha17-1.alpha17.centos6.5

If I download and compile samba (GIT18) I get a binary called samba4 (I tried 
previously, before reinstalling SL6.1) but this is not compatible with SOGo & 
Openchange yet.

So, am I doing something wrong and if so what?


I only have one smb.conf and this is in /etc/samba4/ and was set up when I 
provisioned samba4.    There&#39;s no init script for samba4, start manually 
with samba -M single (or you can write your own init script). Read the SOGo 
Outlook integration docs, it&#39;s very well written!-- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to