Jeremy Allison
c912d04389
Fix the W2KSP2 joining a Samba domain problem.
...
Jeremy.
(This used to be commit 6bbcab5e48f91a80d4ebcbd2bee38f2e0a8bff78)
2001-05-18 01:30:21 +00:00
Gerald Carter
013b454d1a
merge from 2.2 DeletePrinterDriver() server side stud coming
...
in separate commit after I get it working in 2.2.
(This used to be commit 09506ac0e64b84d73e3b8fdd4942fa52dba6060f)
2001-05-17 18:57:25 +00:00
Andrew Tridgell
8910320b85
added utmp.o to NECESSARY_BECAUSE_SAMBA_DEPENDENCIES_ARE_SO_BROKEN_OBJ
...
(This used to be commit f2bb3c50f3481689521607f79ba2bfd696330380)
2001-05-17 13:51:07 +00:00
Andrew Tridgell
ed585b91eb
- added ability for swat to run under CGI. This needs
...
to be setup very carefully for it not to be a security hole
- reran configure
(This used to be commit cf4e439a1e0f3fadbe08c474e5b201827866d7f5)
2001-05-17 11:45:58 +00:00
Andrew Tridgell
8d9aadc2bc
ran make proto
...
(This used to be commit 2e605e1275b4cd59ba776101962218efaa87fe37)
2001-05-17 11:29:54 +00:00
Richard Sharpe
43680ebeae
Ran a make proto to fix the problems ...
...
(This used to be commit 7b275b458835a1e34c9014eb3eee6cdae240bd97)
2001-05-17 11:20:45 +00:00
Tim Potter
8a50f4ded9
Test login using pam_winbind.so and group membership.
...
(This used to be commit 4c2b915ed12584037731d8ccd246ad54986a7564)
2001-05-17 07:02:08 +00:00
Tim Potter
2d27d8c720
Fixes to get pam_auth() functionality working again.
...
(This used to be commit 083b74c743f0026693fa0fbe665ed08a3ac706b8)
2001-05-17 06:08:49 +00:00
Richard Sharpe
89de0c46ad
Fix a small warning about char * vs unsigned char * that gets some compilers
...
in a twitch.
(This used to be commit 672242a52eafde35cba4657bce248fef0df9e46b)
2001-05-17 04:09:08 +00:00
Tim Potter
dd0cca5c21
Broke out change trust account password routines into separate file
...
since they're only used in one place anyway (timeout_processing() in
process.c)
(This used to be commit d1e5d5d62fcb5da30e3f2619721c5146db753f3c)
2001-05-17 02:52:45 +00:00
Richard Sharpe
94f68abb7c
Ohh boy, I should be working on lots of other things, but I am pissed off, so
...
I needed to get down and dirty and do some coding etc ...
Change -fpic to -fPIC ... Many people suggest that this is better ...
(This used to be commit 26eda1f2b065482d0b547f3068c78ae442ba18d9)
2001-05-17 02:52:42 +00:00
Richard Sharpe
2378ba1c21
Further recasts to sockaddr * rather than sockaddr_in *
...
(This used to be commit b0ba25e22d101acbe4079bc81759a4e0c8a7e6d8)
2001-05-17 02:44:10 +00:00
Richard Sharpe
49177b07c8
Adding an examples directory for libsmbclient to the head branch along with
...
a simple Makefile and a small README ...
(This used to be commit 950821d69cb6dcc723f8610584718c6217136d55)
2001-05-17 02:29:00 +00:00
Jeremy Allison
8c4d6548a9
groupdb/mapping.c: Fix gcc compiler warning.
...
smbd/connection.c: Sync up with code in 2.2
Jeremy.
(This used to be commit 87025c223dd33f2e02060c2a5cd45502946c87c6)
2001-05-17 00:24:34 +00:00
Richard Sharpe
e307e9d814
Fix a stupid typo in Makefile.in that prevented the libsmbclient code
...
from being compiled with -fpic ... Larger changes coming ... I want to move
to -fPIC etc.
(This used to be commit 122e2753d518fc599e06e1533378815eebb18d4f)
2001-05-16 15:33:07 +00:00
Tim Potter
84913375cc
Added winbind programs to build for supported systems (i.e linux and
...
solaris) so the autobuilder can have a crack at it.
Cosmetic fix for large file support ./configure output.
(This used to be commit ded776af285baa65af151710fe7440b6c52fc409)
2001-05-16 02:32:34 +00:00
Jeremy Allison
5df33ed012
Update from Toomas Soome <tsoome@ut.ee>.
...
Jeremy.
(This used to be commit 97dfc0097e488dd48dfed8429b4690f9cd82c52c)
2001-05-16 02:25:26 +00:00
Jeremy Allison
0c9a2cee9f
Added example vfs block example from Ronald Kuetemeier <ronald@kuetemeier.com>.
...
Jeremy.
(This used to be commit 0609cd3162173575d22fbd12c48e777a5b15553e)
2001-05-16 02:12:37 +00:00
Jeremy Allison
109851ae5c
Zero-fill struct hostent.
...
Jeremy.
(This used to be commit 86557d633648f279e6ceda4da38801889ca4ed95)
2001-05-15 22:01:48 +00:00
Jeremy Allison
199bb03916
Fixed glibc crash problems with libnss_wins.so
...
Jeremy.
(This used to be commit c38a465bef91bc54cd3f3ce81e5a9c818f429801)
2001-05-15 21:53:19 +00:00
John Terpstra
218f514d27
Added notes about NetBIOS Scopes.
...
(This used to be commit 78e413eec4a7f1ddba67c6f2e2354e50330ae427)
2001-05-15 20:02:06 +00:00
Jeremy Allison
10211f53f9
Check sizes of data entries in connections.tdb before deciding they're crecs...
...
We will need this when we use finer grained locking for max connections.
Jeremy.
(This used to be commit c6cd42a6791e26174eb795fd08ddbbd797e5a9cf)
2001-05-15 18:12:02 +00:00
Andrew Tridgell
e863446e79
make sure that when a tdb expands we fill the expanded area, otherwise ENOSPC could be very bad
...
(This used to be commit b94cfb6843dc7fc985917395d3e0d953501b9197)
2001-05-15 14:53:06 +00:00
Tim Potter
ad87e77237
Removed reference to obsolete listproc address.
...
(This used to be commit bab3906ead1308da6468b9c31080d573fc764111)
2001-05-15 05:44:12 +00:00
Tim Potter
baff5a6569
Fixed up SAM_USERINFO_CTR dynamic stuff in cmd_samr_query_user()
...
(This used to be commit 22b760e246f8fcf79daf24542cc35bdf41d1fea7)
2001-05-15 05:02:29 +00:00
Tim Potter
af5a6bb85e
Removed extraneous semicolons from some lp_ parameter definitions.
...
(This used to be commit 34d527240086b135a24c7329d45bff715ae50485)
2001-05-15 02:00:15 +00:00
Tim Potter
b343f082e4
Memory leak fixes from insure.
...
(This used to be commit 03b1cab9a80264f0c940c45d0557ef7efe685095)
2001-05-15 01:55:29 +00:00
Tim Potter
b10ae68700
Fixed lookup of entire /etc/{passwd,group} file line.
...
(This used to be commit b208d74e0524514fdb48f80c76192df12238a64e)
2001-05-15 01:54:22 +00:00
Richard Sharpe
5d72464a56
Updated the inplace documentation to reflect change from EUCLEAN to EINVAL.
...
(This used to be commit d090ae63aebbbbb4e1d2dbe438005742ed216e31)
2001-05-15 01:47:22 +00:00
Richard Sharpe
eb40ad72ba
Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVAL
...
is a better return code anyway (I knew that :-)
(This used to be commit 0bf2797b183b4d709a401ebdb2d5f3d5b1c907af)
2001-05-15 01:45:54 +00:00
Andrew Tridgell
98da4768df
remember to close tdb after use
...
(This used to be commit 8f8d7202cf6e12cdb2f4445ddcac83a7ac9e33a2)
2001-05-15 01:28:34 +00:00
Andrew Tridgell
8410ef028a
make the max_connections code less horrendously inefficient
...
- it didn't honour the clear flag
- it locked the database (not necessary)
the previous code would do 10^6 kill() operations for 1000 people
logging in - and all with the database locked. Not very scalable.
Still haven't added the counter, that would make it really efficient
(This used to be commit 6bdbeb4a32e52fb05328dcf38dbb90780e1761ef)
2001-05-15 00:53:15 +00:00
Jeremy Allison
bc51512aad
Fix crash in smbcontrol Gerald pointed out when no parameter given to debug.
...
Jeremy.
(This used to be commit ef687a2f6ba8143dcc041b2b629542c3ea9e3966)
2001-05-14 22:37:01 +00:00
Jeremy Allison
62b0275880
Stupidity by me..... 777 != 0777
...
ARGGGHHHHHHHHHH.
(Sorry).
Jeremy.
(This used to be commit 4306eff6f77b95eeaaa4f8375356a81ad3497c67)
2001-05-14 20:06:28 +00:00
Jeremy Allison
de6b5d8fb2
tdb_traverse returns number of records, not zero, on success.
...
Now tested max connections and it works again. Hurrah !
Jeremy.
(This used to be commit 6565b8c9781f571735068aba5044a913b5fe31fe)
2001-05-14 18:43:49 +00:00
Richard Sharpe
1b1aaa9dbe
Make libsmbclient.so by default now.
...
Once we are happy with this in head, we will migrate it to 2.2.x.
(This used to be commit bf69d30b0741210dcdf61f493f6bf872a8931701)
2001-05-14 16:10:48 +00:00
Jeremy Allison
363e378dee
Implemented max connections in a similar way to 2.0.x (scan of connection db).
...
This needs testing !
Tidied up tabs in tdb.c.
Jeremy.
(This used to be commit 0852465053d0c1a23b6cfe6097267291b0595ef8)
2001-05-14 06:15:46 +00:00
Tim Potter
13dd825d57
Cosmetic changes in make proto output.
...
(This used to be commit 858290d63b8e4300f2a1a334675566beb6881993)
2001-05-14 04:11:39 +00:00
Tim Potter
e522cebeb9
make proto
...
(This used to be commit 607db8d57db0e7bf9e99570bc87e7a1401a18eaa)
2001-05-14 04:11:31 +00:00
Tim Potter
1b739fdcb7
So I promised Andrew that a winbindd_proto.h file wouldn't be necessary.
...
Unfortunately it is for the moment. )-:
(This used to be commit 29f9a6c571a6e5571a860b84f9bbc04f668c607e)
2001-05-14 04:08:42 +00:00
Tim Potter
5bcd434e6e
Compile fixes for dynamic samr_query_userinfo() stuff.
...
(This used to be commit a92a0d061bd322b9d3a1fe13c6ce2d2e1f070ef7)
2001-05-14 03:58:49 +00:00
Tim Potter
c24bf6d8ab
Added arg to querygroupinfo.
...
(This used to be commit ab58fdf77a12d101f5ac6b6702cd8ed9dc2c7d55)
2001-05-14 03:51:39 +00:00
Jeremy Allison
495aa4c28a
string_hash() should be static. hash_clear() should be void.
...
Jeremy.
(This used to be commit e8ab89fbc0b6cec9f3e80fe4327992b2ec7a4a40)
2001-05-12 20:15:39 +00:00
Andrew Tridgell
9c54ddc7f9
statcache initialisation fix
...
pointed out by Elrond
(This used to be commit 572a37534b7ee010aafd7e8bcb9da52957306f97)
2001-05-12 13:04:15 +00:00
Jeremy Allison
8efe942751
Now we're doing the substituion in the lp_string code remove the erroneous
...
debug 0 warning.
Jeremy.
(This used to be commit be7e1d0f2c078bd07c7087e1e36636dcd6d0a5d8)
2001-05-12 00:31:59 +00:00
Tim Potter
324cd98913
Use talloc_strdup() instead of strdup().
...
(This used to be commit 3b4b5b3c61bb1fe1db15306219f24036bf342e2d)
2001-05-11 07:13:13 +00:00
Tim Potter
862fe3b7ed
Memory leak fixes plus general cleanup.
...
(This used to be commit 48688c4592d03d6404631a7d57701f0af38cfb2d)
2001-05-11 07:04:47 +00:00
Tim Potter
c61e75e3e5
Added talloc_strdup() funcion.
...
(This used to be commit eea43a5a916eb7f4bef6817ce0aa8051f9145b18)
2001-05-11 07:03:13 +00:00
Jeremy Allison
91febc38e3
Needs to be >=, not just >.
...
Jeremy.
(This used to be commit fa6a5bf94a3716c0554e2bcbe0eb4b0912f15604)
2001-05-10 23:55:33 +00:00
Jeremy Allison
e0f5d84e9d
Fix for problem with "" string in trim_string(). Pointed out by Ben Winslow <rain@bluecherry.net>.
...
Jeremy.
(This used to be commit df2e306171f0a71af77dbaafc7ccbf78e27befb8)
2001-05-10 23:17:46 +00:00