[Samba] Segmentation Fault when trying to set root samba password, IPA as a backend

Rowland penny rpenny at samba.org
Mon Feb 29 15:02:38 UTC 2016


On 29/02/16 14:57, Martin Juhl wrote:
> Hi
>
> Please notice that i'm not using ldapsam, but ipasam... from freeipa server... So I think I need those things in my configuration file....

Never heard of ipasam (not that means anything) so I will bow to your 
superior knowledge.

>
> I'm having trouble finding documentation on the ipasam extension....

You will probably have to ask on the ipa mailing list (if there is one) 
about ipa docs.

>
> Seems as though our problems are similiar

Very probably, I am going to file a bug report anyway.

Rowland

>
>
> ----- Original meddelelse -----
> Fra: "Rowland penny" <rpenny at samba.org>
> Til: "samba" <samba at lists.samba.org>
> Sendt: mandag, 29. februar 2016 15:16:13
> Emne: Re: [Samba] Segmentation Fault when trying to set root samba password, IPA as a backend
>
> On 29/02/16 13:44, Martin Juhl wrote:
>> Hi
>>
>>
>>>> First thing is, you shouldn't have a user called 'root' in your domain,
>> I know, was just saying that the error message changed when I added the user....
>>
>>>> use a usermap to map 'Administrator' to 'root'
>> I have now tried adding:
>>
>> username map = /var/lib/samba/usermap.txt
>>
>> to my [global]
>>
>> and /var/lib/samba/usermap.txt:
>>
>> mj = Adminstrator
>>
>>
>>>> Can you try and create a new user with smbpasswd ?
>> [root at bart samba]# smbpasswd -a test
>> No builtin backend found, trying to load plugin
>> Module 'ipasam' loaded
>> smbldap_open_connection: connection opened
>> ldap_connect_system: successful connection to the LDAP server
>> pdb_init_ipasam: support for pdb_enum_upn_suffixes enabled for domain bolls.lan
>> New SMB password:
>> Retype new SMB password:
>> Could not find user test and no add script defined
>> Failed to add entry for user test.
>>
>>
>>>> I think you may be hitting the same problem that I have, smbpasswd will
>>>> create the user, but then segfaults when trying to add the password.
>>




More information about the samba mailing list