LDAP: profilePath and smbHome macro expansion
Ignacio Coupeau
icoupeau at unav.es
Mon Oct 29 03:28:01 GMT 2001
Code CVS (SAMBA_2_2 20011027 12:47 GMT+2)
I think that in the
passdb/pdb_ldap.c
|
pdb_getsampw*()
|
init_sam_from_ldap()
a call to the
lib/substitute.c
|
standard_sub_basic()
should be necessary for "%N" or "%L" macro expansion as in the
passdb/pdb_tdb.c or in the passdb/pdb_smbpasswd.c.
I think after ldap get_single_attribute no macro expansion is performed:
get_single_attribute(ldap_struct, entry, "profilePath",profile_path);
DEBUG(5,("profilePath is set to %s\n",profile_path));
if (!*profile_path) {
pstrcpy(profile_path, lp_logon_path());
DEBUG(5,("profilePath fell back to %s\n",profile_path));
}
+ standard_sub_basic(profile_path);
Ignacio
--
____________________________________________________
Ignacio Coupeau, Ph.D. e-mail: icoupeau at unav.es
CTI, Director fax: 948 425619
University of Navarra voice: 948 425600
Pamplona, SPAIN http://www.unav.es/cti/
More information about the samba-technical
mailing list