[Samba] givenname and email address with smbldap-tools

Robert Schetterer robert at schetterer.org
Wed Apr 6 12:22:50 GMT 2005

Jonathan Salomon schrieb:

> Hi Robert,
>> youre right i found this too.
>> The problem is that you have include the misc schema in ldap.
>> As i tested the script to include the mail options at useradd time 
>> this failed too.
>> It seems the attribute wasnt published at populate time, so the samba 
>> profile wasnt published not ,too ( invoking by usrmgr)
>> I managed it with a small per script to add mail attributes at 
>> useradd create time
>> like this i.e
> Thanks for your extensive answer, but I don't really see how you add 
> the mail attribute after adding the misc.schema. If I do the 
> smbldap-usermod -M command then I get: failed to modify entry: 
> attribute 'mail' not allowed at /usr/local/sbin/smbldap-usermod line 
> 469, <DATA> line 283.
> Thanks,
> Jonathan

this may be perl related, there are some advice at idealx faqs about perl

More information about the samba mailing list