Hi ,

Any replies ?

Thanks & Regards,
Devinder Singh Birdi

On 10/2/2012 6:09 PM, Devinder Singh wrote:
Thanks Christian,

Queries :
1. Is Authentication via SAMBA necessary for Outlook Compatibility ?
_Christian_:  Yes, Openchange uses SAMBA for the authentication with Outlook 
exclusively.

_Query_  : But does this mean that Sogo .GNUstepDefaults need to be setup for 
samba as well or Mysql authentication can work? I have manually added the user 
in Samba4 setup exactly with same details as in mysql.

2.  Is SAMBA really listening on Port 389?
Reply: Yes I find samba listening port 389. Also ldap as a child service for samba. please check below output.

[root@linux~]# netstat -npl | grep 389
tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN 27345/samba tcp 0 0 :::389 :::* LISTEN 27345/samba udp 0 0 192.168.1.185:389 0.0.0.0:* 27346/samba udp 0 0 0.0.0.0:389 0.0.0.0:* 27346/samba udp 0 0 fe80::e269:95ff:fe9:389 :::* 27346/samba udp 0 0 :::389 :::* 27346/samba unix 2 [ ACC ] STREAM LISTENING 13891 2942/Xorg /tmp/.X11-unix/X0 unix 2 [ ACC ] STREAM LISTENING 20189 3891/gnome-power-ma /tmp/orbit-kalyani/linc-f33-0-efd6f364bf19 unix 2 [ ACC ] STREAM LISTENING 13890 2942/Xorg @/tmp/.X11-unix/X0

[root@linux~]# netstat -npl | grep ldap
unix 2 [ ACC ] STREAM LISTENING 839085 27345/samba /var/lib/samba4/private/ldap_priv/ldapi unix 2 [ ACC ] STREAM LISTENING 839082 27345/samba /var/lib/samba4/private/ldapi

[root@newpuneltsp ~]# cat /etc/services | grep 389
ldap            389/tcp
ldap            389/udp

Kindly guide.
Thanks & Regards,
Devinder Singh Birdi
On 10/2/2012 5:53 PM, Christian Mack wrote:
Hello Devinder Singh


On 2012-10-02 12:00, Devinder Singh wrote:
On 10/2/2012 3:20 PM, Christian Mack wrote:
On 2012-10-02 11:01,sebastien.b...@adil71.org  wrote:
Is that user authentication with MySQL and LDAP/SAMBA can coexist?

Yes, you can create different SOGoUserSources.
Each one specifies if it uses LDAP/AD or database as authentication
source for SOGo.

Openchange+SAMBA can be used with both too, but they need their own
credentials, which you have to keep in synch by yourself.
AFAIK that is so, because SAMBA4 does currently not support shared trust
with an AD.

I have similar query for myself too.

Before Outlook Native Compatibility Setup,  Authentication was done by
Mysql.

For the Outlook Setup,   I added the below command in the bottom.  After
this authentication do not work. I have configured same username and
password in Samba as in Mysql.

Queries :
1. Is Authentication via SAMBA necessary for Outlook Compatibility ?
Yes, Openchange uses SAMBA for the authentication with Outlook exclusively.


2. Is LDAP also necessary for Outlook along with Samba as per the
statement in help document.  "Samba 4's directory can be queried over
LDAP just like Microsoft Active Directory".

No, LDAP is not neccessary.

This statement from the help document only means, that you can use SAMBA
instead of an LDAP/AD for authentication with SOGo too.


defaults write sogod SOGoUserSources '(
{
CNFieldName = displayName;
IDFieldName = cn;
UIDFieldName = sAMAccountName;
baseDN = "cn=Users,dc=example,dc=com";
bindDN = "cn=Administrator,cn=Users,dc=example,dc=com";
bindFields = (
sAMAccountName
);
bindPassword = "%1OpenChange";
canAuthenticate = YES;
displayName = "Shared Addresses";
hostname = "127.0.0.1";
id = samba;
isAddressBook = YES;
port = 389;
}
)'

Is SAMBA really listening on Port 389?


Kind regards,
Christian Mack



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

Reply via email to