Jelmer Vernooij
f09109c7bc
Last sync with HEAD
...
(This used to be commit 1175b62337
)
2002-11-09 17:08:58 +00:00
Jelmer Vernooij
dc5297f413
Sync with HEAD
...
(This used to be commit 1a25dc776d
)
2002-11-09 16:57:45 +00:00
Jeremy Allison
641dd258ad
Ensure we register the 1c name on the unicast subnet.
...
Jeremy.
(This used to be commit e1ea20d2d1
)
2002-10-08 18:26:12 +00:00
Jeremy Allison
a287517c7e
Merging tridge's wins fixes. Tridge - we're supposed to be keeping 3.0 up
...
to date :-).
Jeremy.
(This used to be commit 5959f35db6
)
2002-10-03 17:30:57 +00:00
Gerald Carter
a834a73e34
sync'ing up for 3.0alpha20 release
...
(This used to be commit 65e7b5273b
)
2002-09-25 15:19:00 +00:00
Jelmer Vernooij
b2edf254ed
sync 3.0 branch with head
...
(This used to be commit 3928578b52
)
2002-08-17 17:00:51 +00:00
Andrew Tridgell
e90b652848
updated the 3.0 branch from the head branch - ready for alpha18
...
(This used to be commit 03ac082dcb
)
2002-07-15 10:35:28 +00:00
Jean-François Micouleau
3e0c6ded65
nmbd handle shutdown message.
...
J.F.
(This used to be commit c33459f701
)
2002-03-29 13:58:32 +00:00
Jeremy Allison
63cbe1be9a
Fix to stop PERMANENT_NAMES being added when nmbd starts up and WINS
...
server is down. Keep adding refreshible names instead.
Jeremy.
(This used to be commit f25fcd99fa
)
2002-03-29 00:57:35 +00:00
Jeremy Allison
67d21b5a4b
Make winbindd_idmap tdb endian independent. This is very important for
...
sharing between machines with rsync.
Finally removed tdb_store_int/tdb_fetch_int.
Now only tdb_store_int32/tdb_fetch_int32 which are endian independent
are allowed.
Jeremy.
(This used to be commit 1c4a00dcc1
)
2002-03-21 23:39:17 +00:00
Martin Pool
75722fa183
Add assertions that kill() is never accidentally passed a non-positive
...
pid. This follows a bug in rsync where it would accidentally
kill(-1), removing all the user's processes. I can't see any way this
would directly happen in Samba, but having the assertions seems
beneficial.
http://cvs.samba.org/cgi-bin/cvsweb/rsync/util.c.diff?r1=1.108&r2=1.109&f=h
(This used to be commit 098905bea2
)
2002-03-20 06:57:03 +00:00
Tim Potter
db4dd16d8d
Removed unused static function.
...
(This used to be commit 472acd89b2
)
2002-03-05 00:46:41 +00:00
Jeremy Allison
a93740935f
Cause nmbd to take signal processing in-band, rather than in
...
signal handlers. THIS NEEDS TESTING !
Jeremy.
(This used to be commit 166d2a6144
)
2002-03-01 02:57:52 +00:00
Jeremy Allison
69adbb0ce3
Fix from Michael Steffens <michael_steffens@hp.com> to make signal
...
processing work correctly in winbindd. This is a really good patch
that gives full select semantics to the Samba modified select.
Jeremy.
(This used to be commit 3af16ade17
)
2002-01-31 23:26:12 +00:00
Tim Potter
cd68afe312
Removed version number from file header.
...
Changed "SMB/Netbios" to "SMB/CIFS" in file header.
(This used to be commit 6a58c9bd06
)
2002-01-30 06:08:46 +00:00
Jean-François Micouleau
558e4cf0b8
rewrote nmbd's wins backend to use a tdb instead of a flat text file.
...
Changed the way the wins record are handled in memory. Now they are living
much longer with the different states: active, released and tombstone.
Also added a version ID, some wins flags and the wins owner ip address to
the namrec->data struct, and a function to process messages sent by the
wins replication daemon.
the initiate_wins_processing() function is not correct, I'll fix it later.
J.F.
(This used to be commit b902e087d0
)
2002-01-25 22:50:15 +00:00
Jean-François Micouleau
a2cff140cf
remove unused variable
...
J.F.
(This used to be commit ca7665c6b3
)
2002-01-25 17:03:36 +00:00
Jeremy Allison
efdb29d0e0
Ensure (C) message is output on startup.
...
Jeremy.
(This used to be commit 7d05175494
)
2002-01-18 03:26:53 +00:00
Jeremy Allison
9d05373a76
Tidyup & code refactoring from Martin.Sheppard@csiro.au.
...
Jeremy.
(This used to be commit 85da18e46e
)
2002-01-18 02:30:37 +00:00
Jeremy Allison
24bdb14564
Fix name register bug with non-existent wins server.
...
Jeremy.
(This used to be commit 4e41780c21
)
2002-01-16 19:23:05 +00:00
Jeremy Allison
d6823366b8
Same fix as went into 2.2 (I'm waiting for jerry to finish some code).
...
Jeremy.
(This used to be commit 01ff6ce496
)
2002-01-11 19:10:25 +00:00
Jeremy Allison
bb81e23e17
When running interactive we want to set our own process group for
...
signal management.
Jeremy.
(This used to be commit fffae94dd5
)
2001-12-30 01:46:38 +00:00
Jeremy Allison
0d6a1c0998
Fixup -i interactive modes.
...
Jeremy.
(This used to be commit 9343b613d3
)
2001-12-29 21:13:53 +00:00
Martin Pool
bf65820af2
Add an output parameter to message_send_all that says how many
...
messages were sent, so you know how many replies to expect.
Const and doc religion.
(This used to be commit 22e510ea0d
)
2001-12-21 00:37:49 +00:00
Jeremy Allison
9ed10f83d7
Removed global debugf. Replaced with lp_set_logfile(name).
...
Fixed winbindd to finally stop leaving log. file droppings :-).
Jeremy.
(This used to be commit 0bea6cf79a
)
2001-12-20 22:27:05 +00:00
Andrew Tridgell
a3e74d16d0
added -i option to nmbd, giving interactive mode (like winbindd)
...
(This used to be commit 1a30efdc2c
)
2001-11-27 03:40:06 +00:00
Tim Potter
585d0efbc6
Got medieval on another pointless extern. Removed extern struct ipzero
...
and replaced with two functions:
void zero_ip(struct in_adder *ip);
BOOL is_zero_ip(struct in_addr ip);
(This used to be commit 778f5f77a6
)
2001-11-26 03:11:44 +00:00
Tim Potter
79b34d1b11
Removed TimeInit() call from every client program (except for one place
...
in smbd/process.c where the timezone is reinitialised. Was replaced with
check for a static is_initialised boolean.
(This used to be commit 8fc772c9e5
)
2001-11-23 00:52:29 +00:00
Martin Pool
8654a161c8
LMHOSTSFILE is now dynamically configured too.
...
(This used to be commit a779710fff
)
2001-11-19 03:12:10 +00:00
Martin Pool
f741f65673
Store some path names in global variables initialized to configure
...
default, rather than in preprocessor macros.
(This used to be commit 79ec88f0da
)
2001-11-19 02:49:53 +00:00
Jeremy Allison
f5a5acec33
Fixed WINS re-registration bug. Don't ask..... :-(. It was in my code :-).
...
Jeremy.
(This used to be commit 129c640810
)
2001-10-08 19:39:07 +00:00
Tim Potter
dc1fc3ee8e
Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.
...
(This used to be commit 2d0922b0ea
)
2001-10-02 04:29:50 +00:00
Volker Lendecke
f7fb26f675
How often did I read the CVS commit message
...
"Always compile before commit" :-((
Volker
(This used to be commit 69a3277fc5
)
2001-09-27 16:28:50 +00:00
Volker Lendecke
29d3318437
From 2.2.
...
Volker
(This used to be commit 50ea73426f
)
2001-09-26 16:47:02 +00:00
Simo Sorce
1f312492ec
move to SAFE_FREE()
...
(This used to be commit 1446a1562b
)
2001-09-17 04:35:51 +00:00
Andrew Tridgell
4d65bc0949
convert more code to use XFILE
...
(This used to be commit fd24265c06
)
2001-09-10 13:09:54 +00:00
Andrew Tridgell
79139fe8d8
convert more code to use XFILE
...
(This used to be commit fe6679dffb
)
2001-09-10 12:46:42 +00:00
Andrew Tridgell
b12a4dd9b6
declare dbf in one spot
...
(This used to be commit f41c3bb80f
)
2001-09-10 12:14:18 +00:00
Andrew Tridgell
b30e75692d
replaced stdio in many parts of samba with a XFILE. XFILE is a cut-down
...
replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor
limit that we hit with nasty consequences on some systems
I would eventually prefer us to have a configure test to see if we need
to replace stdio, but for now this code needs to be tested widely so
I'm enabling it by default.
(This used to be commit 1af8bf34f1
)
2001-09-10 11:08:57 +00:00
Andrew Tridgell
9a9ac2739b
got rid of USE_TDB_MMAP_FLAG as its not needed any more
...
(This used to be commit c26e0d3f27
)
2001-09-06 22:08:19 +00:00
Herb Lewis
7528728071
merge profile data changes from 2.2
...
(This used to be commit c105859304
)
2001-09-05 18:43:55 +00:00
Tim Potter
259d59084d
Send a MSG_SMB_SAM_REPL when a UAS/SAM change netlogon message is
...
received.
(This used to be commit b7cf14bf84
)
2001-08-28 06:08:31 +00:00
Christopher R. Hertel
7c09aa553d
Same as nmbd.c. These now test wins_srv_count() instead of lp_wins_server
...
to determine whether the 'wins server' parameter is set.
(This used to be commit 5b975d3a9c
)
2001-08-26 06:43:39 +00:00
Christopher R. Hertel
7fed75b4cb
Instead of checking lp_wins_server() to see if a WINS server was specified,
...
nmbd now calls wins_srv_count(). This returns the number of WINS servers
specified in the 'wins server' parameter. The return value will be zero if
'wins server' is not specified.
Quick change to make room for WINS failover.
(This used to be commit 0777ebc04b
)
2001-08-26 06:24:03 +00:00
Tim Potter
c1f0d99013
Process the SAM/UAS change notification message.
...
(This used to be commit efcbcfaa48
)
2001-08-24 19:28:08 +00:00
Tim Potter
2236c671a0
Only register the #1b name if we are ROLE_DOMAIN_PDC rather than
...
lp_domain_master()
(This used to be commit b8fe147430
)
2001-08-24 19:21:40 +00:00
Jeremy Allison
6597e1bd26
Fixes for varargs problems with std c.
...
Fix from Rick Lake <rwlake@anp.nl> for QNX.
Jeremy.
(This used to be commit c13b77eb35
)
2001-07-30 17:52:26 +00:00
Jeremy Allison
c6b51500af
Fixes from Jens-Uwe.Walther@force.de to make the -l option behave
...
consistently.
Jeremy.
(This used to be commit f591ca9f25
)
2001-07-17 20:42:59 +00:00
Christopher R. Hertel
bb8c1be67c
Andrew B and I were commiting the same fix at the same time in different
...
trees. This change simply brings HEAD and 2.2 in line with one another.
Otherwise the code would be differnt but the meaning would be the same,
which is awkward.
Chris 'fifty-seven commits per line changed' Hertel -)-----
(This used to be commit bbf14e2d4e
)
2001-07-10 18:05:29 +00:00
Andrew Bartlett
f8f1d9d5c3
Fix tree breakage, the last change was entirly non-portable, and we already
...
have this nice variable to do exactly this...
(This used to be commit cad6f53433
)
2001-07-10 17:14:52 +00:00