Jeremy Allison
87025c223d
groupdb/mapping.c: Fix gcc compiler warning.
...
smbd/connection.c: Sync up with code in 2.2
Jeremy.
-
Richard Sharpe
122e2753d5
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.
-
Tim Potter
ded776af28
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.
-
Jeremy Allison
97dfc0097e
Update from Toomas Soome <tsoome@ut.ee>.
...
Jeremy.
-
Jeremy Allison
0609cd3162
Added example vfs block example from Ronald Kuetemeier <ronald@kuetemeier.com>.
...
Jeremy.
-
Jeremy Allison
86557d6336
Zero-fill struct hostent.
...
Jeremy.
-
Jeremy Allison
c38a465bef
Fixed glibc crash problems with libnss_wins.so
...
Jeremy.
-
John Terpstra
78e413eec4
Added notes about NetBIOS Scopes.
-
Jeremy Allison
c6cd42a679
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.
-
Andrew Tridgell
b94cfb6843
make sure that when a tdb expands we fill the expanded area, otherwise ENOSPC could be very bad
-
Tim Potter
bab3906ead
Removed reference to obsolete listproc address.
-
Tim Potter
22b760e246
Fixed up SAM_USERINFO_CTR dynamic stuff in cmd_samr_query_user()
-
Tim Potter
34d5272400
Removed extraneous semicolons from some lp_ parameter definitions.
-
Tim Potter
03b1cab9a8
Memory leak fixes from insure.
-
Tim Potter
b208d74e05
Fixed lookup of entire /etc/{passwd,group} file line.
-
Richard Sharpe
d090ae63ae
Updated the inplace documentation to reflect change from EUCLEAN to EINVAL.
-
Richard Sharpe
0bf2797b18
Change EUCLEAN to EINVAL, as some systems do not have EUCLEAN, and EINVAL
...
is a better return code anyway (I knew that :-)
-
Andrew Tridgell
8f8d7202cf
remember to close tdb after use
-
Andrew Tridgell
6bdbeb4a32
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
-
Jeremy Allison
ef687a2f6b
Fix crash in smbcontrol Gerald pointed out when no parameter given to debug.
...
Jeremy.
-
Jeremy Allison
4306eff6f7
Stupidity by me..... 777 != 0777
...
ARGGGHHHHHHHHHH.
(Sorry).
Jeremy.
-
Jeremy Allison
6565b8c978
tdb_traverse returns number of records, not zero, on success.
...
Now tested max connections and it works again. Hurrah !
Jeremy.
-
Richard Sharpe
bf69d30b07
Make libsmbclient.so by default now.
...
Once we are happy with this in head, we will migrate it to 2.2.x.
-
Jeremy Allison
0852465053
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.
-
Tim Potter
858290d63b
Cosmetic changes in make proto output.
-
Tim Potter
607db8d57d
make proto
-
Tim Potter
29f9a6c571
So I promised Andrew that a winbindd_proto.h file wouldn't be necessary.
...
Unfortunately it is for the moment. )-:
-
Tim Potter
a92a0d061b
Compile fixes for dynamic samr_query_userinfo() stuff.
-
Tim Potter
ab58fdf77a
Added arg to querygroupinfo.
-
Jeremy Allison
e8ab89fbc0
string_hash() should be static. hash_clear() should be void.
...
Jeremy.
-
Andrew Tridgell
572a37534b
statcache initialisation fix
...
pointed out by Elrond
-
Jeremy Allison
be7e1d0f2c
Now we're doing the substituion in the lp_string code remove the erroneous
...
debug 0 warning.
Jeremy.
-
Tim Potter
3b4b5b3c61
Use talloc_strdup() instead of strdup().
-
Tim Potter
48688c4592
Memory leak fixes plus general cleanup.
-
Tim Potter
eea43a5a91
Added talloc_strdup() funcion.
-
Jeremy Allison
fa6a5bf94a
Needs to be >=, not just >.
...
Jeremy.
-
Jeremy Allison
df2e306171
Fix for problem with "" string in trim_string(). Pointed out by Ben Winslow <rain@bluecherry.net>.
...
Jeremy.
-
Jeremy Allison
95dfc4a60a
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.
-
Jeremy Allison
3412950dbd
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.
-
Gerald Carter
9e4a6c227f
update from Simo
-
Gerald Carter
5be97aacf4
Should be faliing on False and not True. Bad check on return value
-
Jeremy Allison
aba243ca08
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.
-
Jeremy Allison
aae779d0a3
Don't check for passwd program if using pam change password.
...
Original patch from Andrew Bartlett.
Jeremy.
-
Tim Potter
dd0c7a8a02
make proto
-
Tim Potter
0e03209af6
Use sid_peek_rid() instead of sid_split_rid().
-
Jeremy Allison
0db8a61d71
Made "security XXX" masks apply to ACL set. By default they have no effect.
...
Removed "restrict acl with mask" - redundent.
Jeremy.
-
Tim Potter
8b435b0a2a
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.
-
Tim Potter
9ee43d61be
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().
-
Tim Potter
f0b8ff4eeb
Bumped up debug level on set socket options from 3 to 5.
-
Tim Potter
5bbd946d59
Reverted samr_io_userinfo_ctr() patch because it broke too much other
...
stuff. (-:
-