Re: [SOGo] Samba backend question

2015-09-24 Thread Ludovic Marcotte

On 24/09/2015 15:11, Rowland Penny wrote:

Ah, well, that would be :

  --surname=SURNAME User's surname
  --given-name=GIVEN_NAME
User's given name 
If someone feels for it, it would be nice to give such examples in 
https://github.com/inverse-inc/sogo/blob/master/Documentation/SOGoNativeOutlookConfigurationGuide.asciidoc


... and then, do a pull request.

Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

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


Re: [SOGo] Samba backend question

2015-09-24 Thread Rowland Penny

On 24/09/15 19:41, Paul van der Vlis wrote:

Op 24-09-15 om 19:13 schreef Rowland Penny:

On 24/09/15 16:57, Paul van der Vlis wrote:

Op 24-09-15 om 08:27 schreef Martin Simovic:


samba-tool has these options, invoke help to list all of them.

I found an option "--mail-address=" for samba-tool what works, but it is
not documented in the man-page or in the help (Samba 4.1.17).

As far as I am aware, setting the mail address has always been there:

root@dc01:~# samba -V
Version 4.1.17-Debian

samba-tool user create --help
   --mail-address=MAIL_ADDRESS
 User's email address

Ah, thanks!


I did not found an option to set the common name in samba-tool. I will
search further, thanks for you help!

--use-username-as-cn  Force use of username as user's CN

I want e.g. "john" as username and "John Doe" as CN. so not the same.


Ah, well, that would be :

  --surname=SURNAME User's surname
  --given-name=GIVEN_NAME
User's given name

Rowland





So far I know the username is "sAMAccountName" in Samba terms.

With regards,
Paul van der Vlis.




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


Re: [SOGo] Samba backend question

2015-09-24 Thread Paul van der Vlis
Op 24-09-15 om 20:41 schreef Paul van der Vlis:
> Op 24-09-15 om 19:13 schreef Rowland Penny:
>> On 24/09/15 16:57, Paul van der Vlis wrote:
>>> Op 24-09-15 om 08:27 schreef Martin Simovic:
>>>
 samba-tool has these options, invoke help to list all of them.
>>> I found an option "--mail-address=" for samba-tool what works, but it is
>>> not documented in the man-page or in the help (Samba 4.1.17).
>>
>> As far as I am aware, setting the mail address has always been there:
>>
>> root@dc01:~# samba -V
>> Version 4.1.17-Debian
>>
>> samba-tool user create --help
>>   --mail-address=MAIL_ADDRESS
>> User's email address
> 
> Ah, thanks!
> 
>> I did not found an option to set the common name in samba-tool. I will
>> search further, thanks for you help!
>>
>> --use-username-as-cn  Force use of username as user's CN
> 
> I want e.g. "john" as username and "John Doe" as CN. so not the same.

Ah, I found it ;-)

samba-tool user create john verysecret --given-name=John --surname=Doe \
  --mail-address=j...@hallo.nl

With regards,
Paul van der Vlis.


-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/

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


Re: [SOGo] Samba backend question

2015-09-24 Thread Paul van der Vlis
Op 24-09-15 om 19:13 schreef Rowland Penny:
> On 24/09/15 16:57, Paul van der Vlis wrote:
>> Op 24-09-15 om 08:27 schreef Martin Simovic:
>>
>>> samba-tool has these options, invoke help to list all of them.
>> I found an option "--mail-address=" for samba-tool what works, but it is
>> not documented in the man-page or in the help (Samba 4.1.17).
> 
> As far as I am aware, setting the mail address has always been there:
> 
> root@dc01:~# samba -V
> Version 4.1.17-Debian
> 
> samba-tool user create --help
>   --mail-address=MAIL_ADDRESS
> User's email address

Ah, thanks!

> I did not found an option to set the common name in samba-tool. I will
> search further, thanks for you help!
> 
> --use-username-as-cn  Force use of username as user's CN

I want e.g. "john" as username and "John Doe" as CN. so not the same.

So far I know the username is "sAMAccountName" in Samba terms.

With regards,
Paul van der Vlis.


-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/

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


Re: [SOGo] Samba backend question

2015-09-24 Thread Rowland Penny

On 24/09/15 16:57, Paul van der Vlis wrote:

Op 24-09-15 om 08:27 schreef Martin Simovic:


samba-tool has these options, invoke help to list all of them.

I found an option "--mail-address=" for samba-tool what works, but it is
not documented in the man-page or in the help (Samba 4.1.17).


As far as I am aware, setting the mail address has always been there:

root@dc01:~# samba -V
Version 4.1.17-Debian

samba-tool user create --help
  --mail-address=MAIL_ADDRESS
User's email address


I did not found an option to set the common name in samba-tool. I will
search further, thanks for you help!

--use-username-as-cn  Force use of username as user's CN


Rowland


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


Re: [SOGo] Samba backend question

2015-09-24 Thread Paul van der Vlis
Op 24-09-15 om 08:27 schreef Martin Simovic:

> samba-tool has these options, invoke help to list all of them. 

I found an option "--mail-address=" for samba-tool what works, but it is
not documented in the man-page or in the help (Samba 4.1.17).

I did not found an option to set the common name in samba-tool. I will
search further, thanks for you help!

With regards,
Paul van der Vlis.




> --
> 
> Martin Šimovič
> 
> NETSON s.r.o.
> Mlynská 2238 
> 934 01 Levice 
> tel: +421 915 393 570 
> mail: mar...@netson.sk
> 
> 
> Dňa 24. 9. 2015, o 1:12, Paul van der Vlis
>  > napísal:
> 
>> Hello,
>>
>> I am trying to use Sogo with Samba backend. I've created a user with
>> samba-tool and it works for authentication.
>>
>> But samba-tool does not have options to set the mail address and the
>> common name. I've changed those settings using ldapmodify, but is this
>> really the good way to do this?
>>
>> With regards,
>> Paul van der Vlis.
>>
>>
>>
>>
>> -- 
>> Paul van der Vlis Linux systeembeheer Groningen
>> https://www.vandervlis.nl/
>>
>> -- 
>> users@sogo.nu
>> 
>> https://inverse.ca/sogo/lists




-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/

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


Re: [SOGo] Samba backend question

2015-09-24 Thread Martin Simovic
Hi

samba-tool has these options, invoke help to list all of them. 

--

Martin Šimovič

NETSON s.r.o.
Mlynská 2238
934 01 Levice
tel: +421 915 393 570
mail: mar...@netson.sk

Dňa 24. 9. 2015, o 1:12, Paul van der Vlis  napísal:

> Hello,
> 
> I am trying to use Sogo with Samba backend. I've created a user with
> samba-tool and it works for authentication.
> 
> But samba-tool does not have options to set the mail address and the
> common name. I've changed those settings using ldapmodify, but is this
> really the good way to do this?
> 
> With regards,
> Paul van der Vlis.
> 
> 
> 
> 
> -- 
> Paul van der Vlis Linux systeembeheer Groningen
> https://www.vandervlis.nl/
> 
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists


smime.p7s
Description: S/MIME cryptographic signature


[SOGo] Samba backend question

2015-09-23 Thread Paul van der Vlis
Hello,

I am trying to use Sogo with Samba backend. I've created a user with
samba-tool and it works for authentication.

But samba-tool does not have options to set the mail address and the
common name. I've changed those settings using ldapmodify, but is this
really the good way to do this?

With regards,
Paul van der Vlis.




-- 
Paul van der Vlis Linux systeembeheer Groningen
https://www.vandervlis.nl/

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