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
Gerald Carter
6dd8c06ce9
Should be faliing on False and not True. Bad check on return value
...
(This used to be commit 5be97aacf4
)
2001-05-10 20:05:06 +00:00
Jeremy Allison
6e41b74e6d
Fixed nasty little bug found by Gerald where we were corrupting the mode
...
bits before checking if we should change them on non-acl systems.
Jeremy.
(This used to be commit aba243ca08
)
2001-05-10 19:27:00 +00:00
Jeremy Allison
47cd09ee57
Don't check for passwd program if using pam change password.
...
Original patch from Andrew Bartlett.
Jeremy.
(This used to be commit aae779d0a3
)
2001-05-10 06:53:19 +00:00
Tim Potter
7a906cd02b
make proto
...
(This used to be commit dd0c7a8a02
)
2001-05-10 05:20:12 +00:00
Tim Potter
a17c702a70
Use sid_peek_rid() instead of sid_split_rid().
...
(This used to be commit 0e03209af6
)
2001-05-10 05:19:47 +00:00
Jeremy Allison
f5243954fa
Made "security XXX" masks apply to ACL set. By default they have no effect.
...
Removed "restrict acl with mask" - redundent.
Jeremy.
(This used to be commit 0db8a61d71
)
2001-05-10 01:03:44 +00:00
Tim Potter
469bddf537
Replaced a whole bunch of lookup_name() requests in
...
construct_default_printer_sdb() with checks of the owner rid instead. This
should be much faster, work on non-English systems and systems with renamed
user or group names.
(This used to be commit 8b435b0a2a
)
2001-05-10 01:01:30 +00:00
Tim Potter
281629ac06
Added sid_peek_rid() function to return the rid of a sid. Saves mucking
...
around with copying a sid to a temporary variable and using sid_split_rid().
(This used to be commit 9ee43d61be
)
2001-05-10 00:48:06 +00:00
Tim Potter
9051f1e2c7
Bumped up debug level on set socket options from 3 to 5.
...
(This used to be commit f0b8ff4eeb
)
2001-05-10 00:35:24 +00:00
Tim Potter
f179319cee
Reverted samr_io_userinfo_ctr() patch because it broke too much other
...
stuff. (-:
(This used to be commit 5bbd946d59
)
2001-05-10 00:03:36 +00:00
Jeremy Allison
5db15a0d68
Fixed up the oldpw prompts. Made the matching case insensitive.
...
Jeremy.
(This used to be commit 70bdf8e761
)
2001-05-09 21:14:41 +00:00
Gerald Carter
f874646136
check for valid pointer before calling memset() in samr_clear_sam_passwd
...
(This used to be commit a6a4a17f6a
)
2001-05-09 17:57:08 +00:00
Jean-François Micouleau
90fbea8cb5
very nasty bug !
...
J.F.
(This used to be commit c29dfdc46a
)
2001-05-09 15:48:30 +00:00
Tim Potter
bc77683283
Fixes from nsswitch testsuite. Lots of stuff works much better now. (-:
...
(This used to be commit 014859b62b
)
2001-05-09 05:06:35 +00:00