1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-16 20:23:50 +03:00
Commit Graph

22 Commits

Author SHA1 Message Date
Volker Lendecke
4f4781c6d1 Fix CLEAR_IF_FIRST handling of messages.tdb
We now open messages.tdb even before we do the become_daemon. become_daemon()
involves a fork and an immediate exit of the parent, thus the
parent_is_longlived argument must be set to false in this case. The parent is
not really long lived :-)
2008-04-23 22:18:26 +02:00
Stefan Metzmacher
2e1b913063 winbindd: create the messaging conntext earlier
metze
2008-04-18 15:00:20 +02:00
Stefan Metzmacher
64450cc1e4 dbwrap: wait for tdb2 change notifies in smbd, nmbd and winbindd
metze
2008-04-12 09:14:10 +02:00
Michael Adam
641b5e3fec winbindd: only call winbindd_validate_cache when not in offline logon mode.
originally, the cache was cleared before calling validate, but
this way, we skipt the validation of the database when not in
offline logon mode.

This is put into a new wrapper function winbindd_cache_validate_and_initialize()
which is now called in winbindd.c instead calling validate and
initialize functions separately.

Michael
2008-04-10 13:23:30 +02:00
Volker Lendecke
38683a7301 Fix typo 2008-03-25 21:35:41 +01:00
Günther Deschner
54ad97bd83 Add winbind_msg_dump_domain_list to winbindd.
Guenther
2008-01-24 16:22:04 +01:00
Michael Adam
62d6d4fff2 Fix a comment.
Michael
2008-01-07 11:19:27 +01:00
Michael Adam
dba24ceae7 Make wcache_invalidate_cache() return bool, not int.
Michael
2008-01-07 10:59:14 +01:00
Andreas Schneider
d0c0f91fb9 Prevent winbindd from segfaulting due to corrupted cache tdb.
If we try to flush the caches and due to a corrupted tdb we and have no tdb
context close the tdb and validate it. Initialize the cache afterwards again.
2008-01-07 10:24:34 +01:00
Andreas Schneider
aabe9b33fc Don't restart winbind if a corrupted tdb is found during initialization.
The tdb is validated before it gets initialized. Since then sighandlers changed
a restart isn't needed anymore.
2007-12-12 13:51:13 +01:00
Stefan Metzmacher
ce7fe8acf4 winbindd: remove unused WINBINDD_DUMP_MAPS support
Also the design of this function was really bad,
instead do the dump into a file, the client should get
back the list of mappings.

metze
2007-12-12 10:07:05 +01:00
Jeremy Allison
52dc5eaef2 Remove the char[1024] strings from dynconfig. Replace
them with malloc'ing accessor functions. Should save a
lot of static space :-).
Jeremy.
2007-12-10 11:30:37 -08:00
Jeremy Allison
4c32a22ac5 Don't build rpctorture anymore - not maintained. Just remove.
Remove all vestiges of pstring (except for smbctool as noted
in previous commit).
Jeremy
2007-12-07 12:26:32 -08:00
Jeremy Allison
15074de938 More pstring elimination.
Jeremy.
2007-11-20 17:18:16 -08:00
Jeremy Allison
1ea3ac8014 More pstring removal. This one was tricky. I had to add
one horror (pstring_clean_name()) which will have to
remain until I've removed all pstrings from the client code.
Jeremy.
2007-11-15 14:19:52 -08:00
Stefan Metzmacher
95f76ae7a5 start smbd, nmbd and winbindd with the same startup message
at debug level 0.

metze
2007-10-30 15:44:27 +01:00
Jeremy Allison
793a9d24a1 Fix the popt / bool issues. Some places we used BOOL
where we meant int. Fix this. Thanks to metze for
pointing this out.
Jeremy.
2007-10-19 11:38:36 -07:00
Günther Deschner
36578b22f1 Merge Tridge's fix for the winbind 32/64bit padding.
Guenther
2007-10-19 13:03:49 +02:00
Stefan Metzmacher
9cb1937fe8 fix startup of smbd, nmbd, winbindd
jra: POPT_ARG_VAL arguments need int values.
     I assume there're more places like this
     in the cmdline tools.

     Please fix this properly, as my commit is just
     a hack to get make test working again.

in samba4 we have a workaround for this see
smbd/server.c

metze
2007-10-19 10:34:06 +02:00
Jeremy Allison
f35a266b3c RIP BOOL. Convert BOOL -> bool. I found a few interesting
bugs in various places whilst doing this (places that assumed
BOOL == int). I also need to fix the Samba4 pidl generation
(next checkin).
Jeremy.
2007-10-18 17:40:25 -07:00
Gerald (Jerry) Carter
5c6c8e1fe9 [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch. 2007-10-10 15:34:30 -05:00
Stefan Metzmacher
3ac7566ae1 r25154: move winbindd code into winbindd/
metze
2007-10-10 12:30:46 -05:00