[Samba] Samba 4 , ful list of LDAP-style attributes

Adam Tauno Williams awilliam at whitemice.org
Wed Apr 8 05:18:17 MDT 2015


On Wed, 2015-04-08 at 12:04 +0200, Sven Schwedas wrote:
> On 2015-04-08 11:57, Mario Pio Russo wrote:
> > sorry guys , I think I didn't explain well.
> > 
> > basically I have a samba 4 domain (created by upgrading+migrating a samba 3
> > PDC). For every new user that we add to this domain I need to save some
> > additional info which are very specific for our company/department, but the
> > problem is that I cannot create custom attributes into the Samba4 ldap
> > back-end. For this reason I was thinking to use some "less used" attributes
> > of AD. Unfortunately the attribute "Description" is already being used, so
> > I was wondering if there are other attributes I can use to store short
> > alphanumeric string (e.g. the internal Employee number etc).
> 
> You can add custom attributes (and classes) via Microsoft's ADSI editor
> like on any AD-based domain just fine. I'm not sure whether there's a
> "samba native" method for this that actually works.
> 
> I wouldn't abuse any existing attributes, because you won't know which
> software will expect it to work as documented (and might even overwrite
> your data).

+1  *NO* do not re-purpose attributes.

see:
  <https://wiki.samba.org/index.php/Samba_AD_Schema_Extenstions>
<http://david-latham.blogspot.com/2012/12/extending-ad-schema-on-samba4-part-2.html>

-- 
Adam Tauno Williams <mailto:awilliam at whitemice.org> GPG D95ED383
Systems Administrator, Python Developer, LPI / NCLA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba/attachments/20150408/12b8435f/attachment.pgp>


More information about the samba mailing list