patch for pdb_ldap.c (1.1.2.36)

Markus Schabel markus.schabel at chello.at
Thu Jul 4 23:36:03 GMT 2002


Hi!

When compiling the actual cvs-tree with --with-ldapsam, there are some compile
errors (not enough parameters for standard_sub_advance), the following cvs -diff
pdb_ldap.c is a patch which correts this. At least I hope that it works so (it
compliles, but I've not tested if it runs....) - please correct me if I'm
wrong....

greetz
Markus Schabel
-------------------------------------------
TGM - Die Schule der Technik
IT-Service
A-1200 Wien, Wexstr. 19-23
Tel. +43(1)33126/316 Fax: +43(1)33126/154
E-Mail: markus.schabel at tgm.ac.at
-------------------------------------------

Index: pdb_ldap.c
===================================================================
RCS file: /cvsroot/samba/source/passdb/pdb_ldap.c,v
retrieving revision 1.1.2.36
diff -r1.1.2.36 pdb_ldap.c
544c544
<               standard_sub_advanced(-1, username, "", gid, dir_drive);
---
>               standard_sub_advanced(-1, username, "", gid, dir_drive, 0);
553c553
<               standard_sub_advanced(-1, username, "", gid, homedir);
---
>               standard_sub_advanced(-1, username, "", gid, homedir, 0);
562c562
<               standard_sub_advanced(-1, username, "", gid, logon_script);
---
>               standard_sub_advanced(-1, username, "", gid, logon_script, 0);
571c571
<               standard_sub_advanced(-1, username, "", gid, profile_path);
---
>               standard_sub_advanced(-1, username, "", gid, profile_path, 0);
857c857
<               standard_sub_advanced(-1, sname, "", -1, filter);
---
>               standard_sub_advanced(-1, sname, "", -1, filter, 0);






More information about the samba-technical mailing list