diff options
author | Günther Deschner <gd@samba.org> | 2007-06-26 09:15:37 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:35 -0500 |
commit | 47bd42ab1c0c5de62e0692f152c01df80abecdeb (patch) | |
tree | 14d2573e6f3d35c5b0be6d60dc4077add38e09e5 /source3/include | |
parent | 97746f8db0ee80b94378567350f7b2b5f4b3e467 (diff) | |
download | samba-47bd42ab1c0c5de62e0692f152c01df80abecdeb.tar.gz samba-47bd42ab1c0c5de62e0692f152c01df80abecdeb.tar.bz2 samba-47bd42ab1c0c5de62e0692f152c01df80abecdeb.zip |
r23607: Add legacy support for Services for Unix (SFU) 2.0.
Guenther
(This used to be commit 11b390309b9677805e5b68f3a1b780658ae85137)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/ads.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/source3/include/ads.h b/source3/include/ads.h index 8b1536f83f..52ef27347e 100644 --- a/source3/include/ads.h +++ b/source3/include/ads.h @@ -10,8 +10,9 @@ enum wb_posix_mapping { WB_POSIX_MAP_UNKNOWN = -1, WB_POSIX_MAP_TEMPLATE = 0, WB_POSIX_MAP_SFU = 1, - WB_POSIX_MAP_RFC2307 = 2, - WB_POSIX_MAP_UNIXINFO = 3 + WB_POSIX_MAP_SFU20 = 2, + WB_POSIX_MAP_RFC2307 = 3, + WB_POSIX_MAP_UNIXINFO = 4 }; typedef struct { @@ -121,15 +122,22 @@ typedef void **ADS_MODLIST; #define ADS_PERMIT_MODIFY_OID "1.2.840.113556.1.4.1413" #define ADS_ASQ_OID "1.2.840.113556.1.4.1504" #define ADS_EXTENDED_DN_OID "1.2.840.113556.1.4.529" -#define ADS_SD_FLAGS_OID "1.2.840.113556.1.4.801" +#define ADS_SD_FLAGS_OID "1.2.840.113556.1.4.801" -/* ldap attribute oids (Services for Unix) */ +/* ldap attribute oids (Services for Unix 3.0, 3.5) */ #define ADS_ATTR_SFU_UIDNUMBER_OID "1.2.840.113556.1.6.18.1.310" #define ADS_ATTR_SFU_GIDNUMBER_OID "1.2.840.113556.1.6.18.1.311" #define ADS_ATTR_SFU_HOMEDIR_OID "1.2.840.113556.1.6.18.1.344" #define ADS_ATTR_SFU_SHELL_OID "1.2.840.113556.1.6.18.1.312" #define ADS_ATTR_SFU_GECOS_OID "1.2.840.113556.1.6.18.1.337" +/* ldap attribute oids (Services for Unix 2.0) */ +#define ADS_ATTR_SFU20_UIDNUMBER_OID "1.2.840.113556.1.4.7000.187.70" +#define ADS_ATTR_SFU20_GIDNUMBER_OID "1.2.840.113556.1.4.7000.187.71" +#define ADS_ATTR_SFU20_HOMEDIR_OID "1.2.840.113556.1.4.7000.187.106" +#define ADS_ATTR_SFU20_SHELL_OID "1.2.840.113556.1.4.7000.187.72" +#define ADS_ATTR_SFU20_GECOS_OID "1.2.840.113556.1.4.7000.187.97" + /* ldap attribute oids (RFC2307) */ #define ADS_ATTR_RFC2307_UIDNUMBER_OID "1.3.6.1.1.1.1.0" #define ADS_ATTR_RFC2307_GIDNUMBER_OID "1.3.6.1.1.1.1.1" |