1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
Commit Graph

5464 Commits

Author SHA1 Message Date
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 cf4e439a1e)
2001-05-17 11:45:58 +00:00
Andrew Tridgell
8d9aadc2bc ran make proto
(This used to be commit 2e605e1275)
2001-05-17 11:29:54 +00:00
Richard Sharpe
43680ebeae Ran a make proto to fix the problems ...
(This used to be commit 7b275b4588)
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 4c2b915ed1)
2001-05-17 07:02:08 +00:00
Tim Potter
2d27d8c720 Fixes to get pam_auth() functionality working again.
(This used to be commit 083b74c743)
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 672242a52e)
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 d1e5d5d62f)
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 26eda1f2b0)
2001-05-17 02:52:42 +00:00
Richard Sharpe
2378ba1c21 Further recasts to sockaddr * rather than sockaddr_in *
(This used to be commit b0ba25e22d)
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 950821d69c)
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 87025c223d)
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 122e2753d5)
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 ded776af28)
2001-05-16 02:32:34 +00:00
Jeremy Allison
5df33ed012 Update from Toomas Soome <tsoome@ut.ee>.
Jeremy.
(This used to be commit 97dfc0097e)
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 0609cd3162)
2001-05-16 02:12:37 +00:00
Jeremy Allison
109851ae5c Zero-fill struct hostent.
Jeremy.
(This used to be commit 86557d6336)
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 c38a465bef)
2001-05-15 21:53:19 +00:00
John Terpstra
218f514d27 Added notes about NetBIOS Scopes.
(This used to be commit 78e413eec4)
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 c6cd42a679)
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 b94cfb6843)
2001-05-15 14:53:06 +00:00
Tim Potter
ad87e77237 Removed reference to obsolete listproc address.
(This used to be commit bab3906ead)
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 22b760e246)
2001-05-15 05:02:29 +00:00
Tim Potter
af5a6bb85e Removed extraneous semicolons from some lp_ parameter definitions.
(This used to be commit 34d5272400)
2001-05-15 02:00:15 +00:00
Tim Potter
b343f082e4 Memory leak fixes from insure.
(This used to be commit 03b1cab9a8)
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 b208d74e05)
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 d090ae63ae)
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 0bf2797b18)
2001-05-15 01:45:54 +00:00
Andrew Tridgell
98da4768df remember to close tdb after use
(This used to be commit 8f8d7202cf)
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 6bdbeb4a32)
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 ef687a2f6b)
2001-05-14 22:37:01 +00:00
Jeremy Allison
62b0275880 Stupidity by me..... 777 != 0777
ARGGGHHHHHHHHHH.
(Sorry).
Jeremy.
(This used to be commit 4306eff6f7)
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 6565b8c978)
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 bf69d30b07)
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 0852465053)
2001-05-14 06:15:46 +00:00
Tim Potter
13dd825d57 Cosmetic changes in make proto output.
(This used to be commit 858290d63b)
2001-05-14 04:11:39 +00:00
Tim Potter
e522cebeb9 make proto
(This used to be commit 607db8d57d)
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 29f9a6c571)
2001-05-14 04:08:42 +00:00
Tim Potter
5bcd434e6e Compile fixes for dynamic samr_query_userinfo() stuff.
(This used to be commit a92a0d061b)
2001-05-14 03:58:49 +00:00
Tim Potter
c24bf6d8ab Added arg to querygroupinfo.
(This used to be commit ab58fdf77a)
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 e8ab89fbc0)
2001-05-12 20:15:39 +00:00
Andrew Tridgell
9c54ddc7f9 statcache initialisation fix
pointed out by Elrond
(This used to be commit 572a37534b)
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 be7e1d0f2c)
2001-05-12 00:31:59 +00:00
Tim Potter
324cd98913 Use talloc_strdup() instead of strdup().
(This used to be commit 3b4b5b3c61)
2001-05-11 07:13:13 +00:00
Tim Potter
862fe3b7ed Memory leak fixes plus general cleanup.
(This used to be commit 48688c4592)
2001-05-11 07:04:47 +00:00
Tim Potter
c61e75e3e5 Added talloc_strdup() funcion.
(This used to be commit eea43a5a91)
2001-05-11 07:03:13 +00:00
Jeremy Allison
91febc38e3 Needs to be >=, not just >.
Jeremy.
(This used to be commit fa6a5bf94a)
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 df2e306171)
2001-05-10 23:17:46 +00:00
Jeremy Allison
3e125823cf Got rid of iSERVICE/pSERVICE (Hungarian inspired obfuscation). Now use
ServicePtrs[i] when we're indirecting so we can see what's going on.
ZERO_STRUCTP(ServicePtrs[i]) on free_service.
Jeremy.
(This used to be commit 95dfc4a60a)
2001-05-10 22:10:31 +00:00
Jeremy Allison
89798ef71c free_service() was never setting the valid field to False. This is a bug
that's been here since 2.0.x and before.... This would cause a memleak.
Jeremy.
(This used to be commit 3412950dbd)
2001-05-10 20:58:38 +00:00
Gerald Carter
fcc23d40dc update from Simo
(This used to be commit 9e4a6c227f)
2001-05-10 20:52:20 +00:00