source: branches/samba-3.0/packaging/Debian/debian-sarge/patches/fhs.patch@ 286

Last change on this file since 286 was 286, checked in by Herwig Bauernfeind, 16 years ago

Update 3.0 to 3.0.35

File size: 21.7 KB
  • source/Makefile.in

    diff -uNr samba-3.0.10.orig/source/Makefile.in samba-3.0.10/source/Makefile.in
    old new  
    9090# the directory where lock files go
    9191LOCKDIR = @lockdir@
    9292
     93
     94
     95
     96
     97
     98
     99
    93100# the directory where pid files go
    94101PIDDIR = @piddir@
    95102# man pages language(s)
     
    114121PATH_FLAGS4 = $(PATH_FLAGS3) -DSWATDIR=\"$(SWATDIR)\"  -DLOCKDIR=\"$(LOCKDIR)\" -DPIDDIR=\"$(PIDDIR)\"
    115122PATH_FLAGS5 = $(PATH_FLAGS4) -DLIBDIR=\"$(LIBDIR)\" \
    116123              -DLOGFILEBASE=\"$(LOGFILEBASE)\" -DSHLIBEXT=\"@SHLIBEXT@\"
    117 PATH_FLAGS6 = $(PATH_FLAGS5) -DCONFIGDIR=\"$(CONFIGDIR)\"
     124PATH_FLAGS6 = $(PATH_FLAGS5) -DCONFIGDIR=\"$(CONFIGDIR)\"
    118125PATH_FLAGS = $(PATH_FLAGS6) $(PASSWD_FLAGS)
    119126
    120127# Note that all executable programs now provide for an optional executable suffix.
     
    13191326        @$(SHELL) $(srcdir)/script/installscripts.sh $(INSTALLPERMS) $(DESTDIR)$(BINDIR) $(SCRIPTS)
    13201327
    13211328installdat: installdirs
    1322         @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(LIBDIR) $(srcdir)
     1329        @$(SHELL) $(srcdir)/script/installdat.sh $(DESTDIR) $(DIR) $(srcdir)
    13231330
    13241331installmsg: installdirs
    13251332        @$(SHELL) $(srcdir)/script/installmsg.sh $(DESTDIR) $(LIBDIR) $(srcdir)
  • source/configure.in

    diff -uNr samba-3.0.10.orig/source/configure.in samba-3.0.10/source/configure.in
    old new  
    3535[  --with-fhs              Use FHS-compliant paths (default=no)],
    3636[ case "$withval" in
    3737  yes)
    38     lockdir="\${VARDIR}/lib/samba"
     38    lockdir="\${VARDIR}//samba"
    3939    piddir="\${VARDIR}/run"
    4040    mandir="\${prefix}/share/man"
    4141    logfilebase="\${VARDIR}/log/samba"
     
    4343    libdir="\${prefix}/lib/samba"
    4444    configdir="${sysconfdir}/samba"
    4545    swatdir="\${DATADIR}/samba/swat"
     46
     47
     48
     49
    4650    ;;
    4751  esac])
    4852
     
    201205AC_SUBST(sbindir)
    202206AC_SUBST(rootsbindir)
    203207AC_SUBST(pammodulesdir)
     208
     209
     210
    204211
    205212dnl Unique-to-Samba variables we'll be playing with.
    206213AC_SUBST(SHELL)
  • source/dynconfig.c

    diff -uNr samba-3.0.10.orig/source/dynconfig.c samba-3.0.10/source/dynconfig.c
    old new  
    5353pstring dyn_LMHOSTSFILE = LMHOSTSFILE;
    5454
    5555/**
     56
     57
     58
     59
     60
     61
     62
    5663 * @brief Samba library directory.
    5764 *
    5865 * @sa lib_path() to get the path to a file inside the LIBDIR.
     
    7077
    7178pstring dyn_SMB_PASSWD_FILE = SMB_PASSWD_FILE;
    7279pstring dyn_PRIVATE_DIR = PRIVATE_DIR;
     80
     81
     82
     83
     84
     85
     86
     87
     88
     89
     90
     91
     92
     93
     94
     95
     96
     97
     98
     99
     100
     101
     102
     103
  • source/include/dynconfig.h

    diff -uNr samba-3.0.10.orig/source/include/dynconfig.h samba-3.0.10/source/include/dynconfig.h
    old new  
    3131extern pstring dyn_CONFIGFILE;
    3232extern pstring dyn_LOGFILEBASE, dyn_LMHOSTSFILE;
    3333extern pstring dyn_LIBDIR;
     34
    3435extern fstring dyn_SHLIBEXT;
    3536extern pstring dyn_LOCKDIR;
    3637extern pstring dyn_PIDDIR;
    3738extern pstring dyn_SMB_PASSWD_FILE;
    3839extern pstring dyn_PRIVATE_DIR;
     40
     41
     42
  • source/intl/lang_tdb.c

    diff -uNr samba-3.0.10.orig/source/intl/lang_tdb.c samba-3.0.10/source/intl/lang_tdb.c
    old new  
    128128        if (!lang)
    129129                return True;
    130130
    131         asprintf(&msg_path, "%s.msg", lib_path((const char *)lang));
     131        asprintf(&msg_path, "%s.msg", _path((const char *)lang));
    132132        if (stat(msg_path, &st) != 0) {
    133133                /* the msg file isn't available */
    134134                DEBUG(10, ("lang_tdb_init: %s: %s\n", msg_path,
  • source/lib/util.c

    diff -uNr samba-3.0.10.orig/source/lib/util.c samba-3.0.10/source/lib/util.c
    old new  
    23622362}
    23632363
    23642364/**
     2365
     2366
     2367
     2368
     2369
     2370
     2371
     2372
     2373
     2374
     2375
     2376
     2377
     2378
     2379
     2380
     2381
     2382
     2383
     2384
     2385
     2386
     2387
     2388
     2389
     2390
     2391
     2392
     2393
     2394
     2395
     2396
     2397
     2398
     2399
     2400
     2401
     2402
     2403
     2404
     2405
     2406
     2407
     2408
     2409
     2410
     2411
     2412
     2413
     2414
     2415
     2416
     2417
     2418
     2419
    23652420 * @brief Returns the platform specific shared library extension.
    23662421 *
    23672422 * @retval Pointer to a static #fstring containing the extension.
  • source/libsmb/samlogon_cache.c

    diff -uNr samba-3.0.10.orig/source/libsmb/samlogon_cache.c samba-3.0.10/source/libsmb/samlogon_cache.c
    old new  
    3434BOOL netsamlogon_cache_init(void)
    3535{
    3636        if (!netsamlogon_tdb) {
    37                 netsamlogon_tdb = tdb_open_log(lock_path(NETSAMLOGON_TDB), 0,
     37                netsamlogon_tdb = tdb_open_log(_path(NETSAMLOGON_TDB), 0,
    3838                                                   TDB_DEFAULT, O_RDWR | O_CREAT, 0600);
    3939        }
    4040
  • source/nmbd/nmbd_serverlistdb.c

    diff -uNr samba-3.0.10.orig/source/nmbd/nmbd_serverlistdb.c samba-3.0.10/source/nmbd/nmbd_serverlistdb.c
    old new  
    327327
    328328        updatecount++;
    329329   
    330         pstrcpy(fname,lp_lockdir());
     330        pstrcpy(fname,());
    331331        trim_char(fname,'\0' ,'/');
    332332        pstrcat(fname,"/");
    333333        pstrcat(fname,SERVER_LIST);
  • source/nmbd/nmbd_winsserver.c

    diff -uNr samba-3.0.10.orig/source/nmbd/nmbd_winsserver.c samba-3.0.10/source/nmbd/nmbd_winsserver.c
    old new  
    234234
    235235        add_samba_names_to_subnet(wins_server_subnet);
    236236
    237         if((fp = x_fopen(lock_path(WINS_LIST),O_RDONLY,0)) == NULL) {
     237        if((fp = x_fopen(_path(WINS_LIST),O_RDONLY,0)) == NULL) {
    238238                DEBUG(2,("initialise_wins: Can't open wins database file %s. Error was %s\n",
    239239                        WINS_LIST, strerror(errno) ));
    240240                return True;
     
    18101810                }
    18111811        }
    18121812
    1813         slprintf(fname,sizeof(fname)-1,"%s/%s", lp_lockdir(), WINS_LIST);
     1813        slprintf(fname,sizeof(fname)-1,"%s/%s", (), WINS_LIST);
    18141814        all_string_sub(fname,"//", "/", 0);
    18151815        slprintf(fnamenew,sizeof(fnamenew)-1,"%s.%u", fname, (unsigned int)sys_getpid());
    18161816
  • source/nsswitch/winbindd_cache.c

    diff -uNr samba-3.0.23.orig/source/nsswitch/winbindd_cache.c samba-3.0.23/source/nsswitch/winbindd_cache.c
    old new  
    5757                return True;
    5858
    5959        /* when working offline we must not clear the cache on restart */
    60         wcache->tdb = tdb_open_log(lock_path("winbindd_cache.tdb"),
     60        wcache->tdb = tdb_open_log(_path("winbindd_cache.tdb"),
    6161                                WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE,
    6262                                TDB_DEFAULT /*TDB_CLEAR_IF_FIRST*/, O_RDWR|O_CREAT, 0600);
    6363
     
    22232223                tdb_close(wcache->tdb);
    22242224                wcache->tdb = NULL;
    22252225
    2226                 if (unlink(lock_path("winbindd_cache.tdb")) == -1) {
     2226                if (unlink(_path("winbindd_cache.tdb")) == -1) {
    22272227                        DEBUG(0,("initialize_winbindd_cache: unlink %s failed %s ",
    2228                                 lock_path("winbindd_cache.tdb"),
     2228                                _path("winbindd_cache.tdb"),
    22292229                                strerror(errno) ));
    22302230                        return False;
    22312231                }
     
    24872487                return;
    24882488
    24892489        /* when working offline we must not clear the cache on restart */
    2490         wcache->tdb = tdb_open_log(lock_path("winbindd_cache.tdb"),
     2490        wcache->tdb = tdb_open_log(_path("winbindd_cache.tdb"),
    24912491                                WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE,
    24922492                                lp_winbind_offline_logon() ? TDB_DEFAULT : (TDB_DEFAULT | TDB_CLEAR_IF_FIRST),
    24932493                                O_RDWR|O_CREAT, 0600);
  • source/param/loadparm.c

    diff -uNr samba-3.0.10.orig/source/param/loadparm.c samba-3.0.10/source/param/loadparm.c
    old new  
    104104        char *szAddPrinterCommand;
    105105        char *szDeletePrinterCommand;
    106106        char *szOs2DriverMap;
     107
     108
     109
    107110        char *szLockDir;
    108111        char *szPidDir;
    109112        char *szRootdir;
     
    11051108        {"config file", P_STRING, P_GLOBAL, &Globals.szConfigFile, NULL, NULL, FLAG_HIDE},
    11061109        {"preload", P_STRING, P_GLOBAL, &Globals.szAutoServices, NULL, NULL, FLAG_ADVANCED},
    11071110        {"auto services", P_STRING, P_GLOBAL, &Globals.szAutoServices, NULL, NULL, FLAG_ADVANCED},
     1111
     1112
     1113
     1114
    11081115        {"lock directory", P_STRING, P_GLOBAL, &Globals.szLockDir, NULL, NULL, FLAG_ADVANCED},
    11091116        {"lock dir", P_STRING, P_GLOBAL, &Globals.szLockDir, NULL, NULL, FLAG_HIDE},
     1117
    11101118        {"pid directory", P_STRING, P_GLOBAL, &Globals.szPidDir, NULL, NULL, FLAG_ADVANCED},
    11111119#ifdef WITH_UTMP
    11121120        {"utmp directory", P_STRING, P_GLOBAL, &Globals.szUtmpDir, NULL, NULL, FLAG_ADVANCED},
  • source/passdb/pdb_tdb.c

    diff -uNr samba-3.0.23.orig/source/passdb/pdb_tdb.c samba-3.0.23/source/passdb/pdb_tdb.c
    old new  
    15981598        /* save the path for later */
    15991599                           
    16001600        if ( !location ) {
    1601                 pstr_sprintf( tdbfile, "%s/%s", lp_private_dir(), PASSDB_FILE_NAME );
     1601                pstr_sprintf( tdbfile, "%s );
    16021602                pfile = tdbfile;
    16031603        }
    16041604        pstrcpy( tdbsam_filename, pfile );
  • source/passdb/secrets.c

    diff -uNr samba-3.0.10.orig/source/passdb/secrets.c samba-3.0.10/source/passdb/secrets.c
    old new  
    5555        if (tdb)
    5656                return True;
    5757
    58         pstrcpy(fname, lp_private_dir());
    59         pstrcat(fname,"/secrets.tdb");
     58        pstrcpy(fname, state_path("secrets.tdb"));
    6059
    6160        tdb = tdb_open_log(fname, 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
    6261
  • source/printing/nt_printing.c

    diff -uNr samba-3.0.10.orig/source/printing/nt_printing.c samba-3.0.10/source/printing/nt_printing.c
    old new  
    298298 
    299299        if (tdb_drivers)
    300300                tdb_close(tdb_drivers);
    301         tdb_drivers = tdb_open_log(lock_path("ntdrivers.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
     301        tdb_drivers = tdb_open_log(_path("ntdrivers.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
    302302        if (!tdb_drivers) {
    303303                DEBUG(0,("nt_printing_init: Failed to open nt drivers database %s (%s)\n",
    304                         lock_path("ntdrivers.tdb"), strerror(errno) ));
     304                        _path("ntdrivers.tdb"), strerror(errno) ));
    305305                return False;
    306306        }
    307307 
    308308        if (tdb_printers)
    309309                tdb_close(tdb_printers);
    310         tdb_printers = tdb_open_log(lock_path("ntprinters.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
     310        tdb_printers = tdb_open_log(_path("ntprinters.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
    311311        if (!tdb_printers) {
    312312                DEBUG(0,("nt_printing_init: Failed to open nt printers database %s (%s)\n",
    313                         lock_path("ntprinters.tdb"), strerror(errno) ));
     313                        _path("ntprinters.tdb"), strerror(errno) ));
    314314                return False;
    315315        }
    316316 
    317317        if (tdb_forms)
    318318                tdb_close(tdb_forms);
    319         tdb_forms = tdb_open_log(lock_path("ntforms.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
     319        tdb_forms = tdb_open_log(_path("ntforms.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
    320320        if (!tdb_forms) {
    321321                DEBUG(0,("nt_printing_init: Failed to open nt forms database %s (%s)\n",
    322                         lock_path("ntforms.tdb"), strerror(errno) ));
     322                        _path("ntforms.tdb"), strerror(errno) ));
    323323                return False;
    324324        }
    325325 
  • source/printing/printing.c

    diff -uNr samba-3.0.10.orig/source/printing/printing.c samba-3.0.10/source/printing/printing.c
    old new  
    177177        int services = lp_numservices();
    178178        int snum;
    179179
    180         unlink(lock_path("printing.tdb"));
    181         pstrcpy(printing_path,lock_path("printing"));
     180        unlink(_path("printing.tdb"));
     181        pstrcpy(printing_path,_path("printing"));
    182182        mkdir(printing_path,0755);
    183183
    184184        /* handle a Samba upgrade */
  • source/printing/printing_db.c

    diff -uNr samba-3.0.10.orig/source/printing/printing_db.c samba-3.0.10/source/printing/printing_db.c
    old new  
    8989                DLIST_ADD(print_db_head, p);
    9090        }
    9191
    92         pstrcpy(printdb_path, lock_path("printing/"));
     92        pstrcpy(printdb_path, _path("printing/"));
    9393        pstrcat(printdb_path, printername);
    9494        pstrcat(printdb_path, ".tdb");
    9595
  • source/registry/reg_db.c

    diff -uNr samba-3.0.21.orig/source/registry/reg_db.c samba-3.0.21/source/registry/reg_db.c
    old new  
    205205        if ( tdb_reg )
    206206                return True;
    207207
    208         if ( !(tdb_reg = tdb_open_log(lock_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600)) )
     208        if ( !(tdb_reg = tdb_open_log(_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600)) )
    209209        {
    210                 tdb_reg = tdb_open_log(lock_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
     210                tdb_reg = tdb_open_log(_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
    211211                if ( !tdb_reg ) {
    212212                        DEBUG(0,("regdb_init: Failed to open registry %s (%s)\n",
    213                                 lock_path("registry.tdb"), strerror(errno) ));
     213                                _path("registry.tdb"), strerror(errno) ));
    214214                        return False;
    215215                }
    216216               
     
    252252       
    253253        become_root();
    254254
    255         tdb_reg = tdb_open_log(lock_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600);
     255        tdb_reg = tdb_open_log(_path("registry.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600);
    256256        if ( !tdb_reg ) {
    257257                result = ntstatus_to_werror( map_nt_error_from_unix( errno ) );
    258258                DEBUG(0,("regdb_open: Failed to open %s! (%s)\n",
    259                         lock_path("registry.tdb"), strerror(errno) ));
     259                        _path("registry.tdb"), strerror(errno) ));
    260260        }
    261261
    262262        unbecome_root();
  • source/lib/sharesec.c

    diff -uNr samba-3.0.23.orig/source/lib/sharesec.c samba-3.0.23/source/lib/sharesec.c
    old new  
    4747                return True;
    4848        }
    4949
    50         share_tdb = tdb_open_log(lock_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
     50        share_tdb = tdb_open_log(_path("share_info.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
    5151        if (!share_tdb) {
    5252                DEBUG(0,("Failed to open share info database %s (%s)\n",
    53                         lock_path("share_info.tdb"), strerror(errno) ));
     53                        _path("share_info.tdb"), strerror(errno) ));
    5454                return False;
    5555        }
    5656 
  • source/smbd/lanman.c

    diff -uNr samba-3.0.23.orig/source/smbd/lanman.c samba-3.0.23/source/smbd/lanman.c
    old new  
    10521052        BOOL local_list_only;
    10531053        int i;
    10541054
    1055         lines = file_lines_load(lock_path(SERVER_LIST), NULL, 0);
     1055        lines = file_lines_load(_path(SERVER_LIST), NULL, 0);
    10561056        if (!lines) {
    1057                 DEBUG(4,("Can't open %s - %s\n",lock_path(SERVER_LIST),strerror(errno)));
     1057                DEBUG(4,("Can't open %s - %s\n",_path(SERVER_LIST),strerror(errno)));
    10581058                return 0;
    10591059        }
    10601060
  • source/printing/nt_printing.c

    diff -uNr samba-3.0.11.orig/source/printing/nt_printing.c samba-3.0.11/source/printing/nt_printing.c
    old new  
    20652065        close_all_print_db();
    20662066
    20672067        if (geteuid() == 0) {
    2068                 pstrcpy(printdb_path, lock_path("printing/"));
     2068                pstrcpy(printdb_path, _path("printing/"));
    20692069                pstrcat(printdb_path, sharename);
    20702070                pstrcat(printdb_path, ".tdb");
    20712071
  • source/groupdb/mapping_tdb.c

    diff -uPr samba-3.0.25a.orig/source/groupdb/mapping_tdb.c samba-3.0.25a/source/groupdb/mapping_tdb.c
    old new  
    3939        if (tdb)
    4040                return True;
    4141               
    42         tdb = tdb_open_log(lock_path("group_mapping.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
     42        tdb = tdb_open_log(_path("group_mapping.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
    4343        if (!tdb) {
    4444                DEBUG(0,("Failed to open group mapping database\n"));
    4545                return False;
  • source/lib/account_pol.c

    diff -uPr samba-3.0.25a.orig/source/lib/account_pol.c samba-3.0.25a/source/lib/account_pol.c
    old new  
    213213                return True;
    214214        }
    215215
    216         tdb = tdb_open_log(lock_path("account_policy.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600);
     216        tdb = tdb_open_log(_path("account_policy.tdb"), 0, TDB_DEFAULT, O_RDWR, 0600);
    217217        if (!tdb) { /* the account policies files does not exist or open failed, try to create a new one */
    218                 tdb = tdb_open_log(lock_path("account_policy.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
     218                tdb = tdb_open_log(_path("account_policy.tdb"), 0, TDB_DEFAULT, O_RDWR|O_CREAT, 0600);
    219219                if (!tdb) {
    220220                        DEBUG(0,("Failed to open account policy database\n"));
    221221                        return False;
  • source/lib/util_unistr.c

    diff -uPr samba-3.0.25a.orig/source/lib/util_unistr.c samba-3.0.25a/source/lib/util_unistr.c
    old new  
    8888        }
    8989        initialised = 1;
    9090
    91         upcase_table = (smb_ucs2_t *)map_file(lib_path("upcase.dat"),
     91        upcase_table = (smb_ucs2_t *)map_file(_path("upcase.dat"),
    9292                                              0x20000);
    9393        upcase_table_use_unmap = ( upcase_table != NULL );
    9494
    95         lowcase_table = (smb_ucs2_t *)map_file(lib_path("lowcase.dat"),
     95        lowcase_table = (smb_ucs2_t *)map_file(_path("lowcase.dat"),
    9696                                               0x20000);
    9797        lowcase_table_use_unmap = ( lowcase_table != NULL );
    9898
     
    230230                return;
    231231        }
    232232
    233         valid_file = (uint8 *)map_file(lib_path("valid.dat"), 0x10000);
     233        valid_file = (uint8 *)map_file(_path("valid.dat"), 0x10000);
    234234        if (valid_file) {
    235235                valid_table = valid_file;
    236236                mapped_file = 1;
  • source/libsmb/samlogon_cache.c

    diff -uPr samba-3.0.25a.orig/source/libsmb/samlogon_cache.c samba-3.0.25a/source/libsmb/samlogon_cache.c
    old new  
    6767           winbindd_cache.tdb open.  Open the tdb if a NULL is passed. */
    6868
    6969        if (!tdb) {
    70                 tdb = tdb_open_log(lock_path("winbindd_cache.tdb"),
     70                tdb = tdb_open_log(_path("winbindd_cache.tdb"),
    7171                                   WINBINDD_CACHE_TDB_DEFAULT_HASH_SIZE,
    7272                                   TDB_DEFAULT, O_RDWR, 0600);
    7373                if (!tdb) {
  • source/nsswitch/idmap_tdb.c

    diff -uPr samba-3.0.25a.orig/source/nsswitch/idmap_tdb.c samba-3.0.25a/source/nsswitch/idmap_tdb.c
    old new  
    247247        }
    248248
    249249        /* use the old database if present */
    250         tdbfile = talloc_strdup(ctx, lock_path("winbindd_idmap.tdb"));
     250        tdbfile = talloc_strdup(ctx, _path("winbindd_idmap.tdb"));
    251251        if (!tdbfile) {
    252252                DEBUG(0, ("Out of memory!\n"));
    253253                ret = NT_STATUS_NO_MEMORY;
  • source/passdb/pdb_tdb.c

    diff -uPr samba-3.0.25a.orig/source/passdb/pdb_tdb.c samba-3.0.25a/source/passdb/pdb_tdb.c
    old new  
    15591559        uint32 rid;
    15601560        BOOL ret = False;
    15611561
    1562         tdb = tdb_open_log(lock_path("winbindd_idmap.tdb"), 0,
     1562        tdb = tdb_open_log(_path("winbindd_idmap.tdb"), 0,
    15631563                           TDB_DEFAULT, O_RDWR | O_CREAT, 0644);
    15641564
    15651565        if (tdb == NULL) {
Note: See TracBrowser for help on using the repository browser.