Andrew Bartlett
cc0202884b
This patch fixes one of my longest-standing pet hates with Samba :-).
...
When we look see if a user is in a list, and we try to 'expand' an @group, we
should lookup the user's own list of groups, rather than looking for all the
members of a group.
I'm sure this will fix some nasty performance issues, particularly on large
domains etc. In particular, this avoids contacting winbind at all, if the
group is not a winbind group.
(This caused a deadlock on my winbind-on-PDC setup).
The groups list always includes the user's primary group, as per the
getgrouplist manpage, and my recent changes to our implementation.
Andrew Bartlett
(This used to be commit 9be21976f7
)
2003-02-17 12:27:34 +00:00
Andrew Bartlett
af249535bd
Don't leak a session_key worth of memory at the end of the NTLMSSP auth.
...
(This used to be commit ae9765b84d
)
2003-02-17 12:20:20 +00:00
Andrew Bartlett
e33551bc0c
Set the length back to zero when we free the data_blob.
...
(This used to be commit 4560594a67
)
2003-02-17 12:19:12 +00:00
Andrew Bartlett
55da3690b7
Try to make our getgrouplist replacement better match the 'real' implemenations.
...
In particular, make sure we include the primary gid in the list.
Andrew Bartlett
(This used to be commit 0cd4b339b7
)
2003-02-17 12:04:09 +00:00
Martin Pool
f203f1643c
Typo: /mized/mixed/
...
(This used to be commit ada36d2fe3
)
2003-02-17 06:54:43 +00:00
Martin Pool
645d68a45a
Don't pstrcpy into an fstring. (Harmless in this case since it comes
...
from an environment variable.)
(This used to be commit 9f9077346b
)
2003-02-17 06:28:58 +00:00
Martin Pool
541ed81a63
Start reworking rpcclient to use popt rather than next_token to parse
...
command lines. This makes the code much simpler and also stops
trivial syntax errors from causing a crash.
Also fix support for semicolon-separated commands in -c, which is
promised by the manual but apparently never working due to an
off-by-one error.
(This used to be commit d85a25e733
)
2003-02-17 05:42:36 +00:00
Tim Potter
d9b33602a2
Added SRVSVC pipe support. I've started implementing NetServerGetInfo()
...
(This used to be commit 8e0d781995
)
2003-02-17 04:43:09 +00:00
Tim Potter
96d19c3876
Add KRBCLIENT_OBJ to PYTHON_OBJ list.
...
(This used to be commit 651be759b3
)
2003-02-17 04:41:08 +00:00
Tim Potter
e486396267
Return a WERROR instead of a NTSTATUS like the rest of the srvsvc
...
rpc calls.
(This used to be commit 619af61644
)
2003-02-17 04:35:32 +00:00
Andrew Bartlett
ffacf609a6
If we didn't make the server_info correctly, then don't segfault trying to
...
set the 'guest' bit.
Andrew Bartlett
(This used to be commit 960c53bf95
)
2003-02-17 00:58:47 +00:00
Andrew Bartlett
585d50c667
People were being tripped up by the fact that we havn't updated acconfig.h
...
as we don't need it for autoconf 2.53. Remove it from CVS, and assert the
newer autotools in configure.in
Andrew Bartlett
(This used to be commit c51065e607
)
2003-02-17 00:10:37 +00:00
Andrew Bartlett
b2a253bd47
People were being tripped up by the fact that we havn't updated acconfig.h
...
as we don't need it for autoconf 2.53. Remove it from CVS, and assert the
newer autotools in configure.in
Andrew Bartlett
(This used to be commit 14b38c004f
)
2003-02-17 00:07:38 +00:00
Andrew Bartlett
7f204e07ae
Merge from HEAD - allow "" as a domain in the NLTMv2 hash calculations. Fixes
...
interop with clients not in our domain.
Andrew Bartlett
(This used to be commit 6aa3aba3db
)
2003-02-16 22:23:33 +00:00
Andrew Bartlett
b786858241
Add the 'session key' output of the NTLMSSP exchange to the cli struct, so
...
it can be used for 'net rpc join'.
Also fix a bug in our server-side NTLMSSP code - a client without any domain
trust links to us may calculate the NTLMv2 response with "" as the domain.
Andrew Bartlett
(This used to be commit ddaa42423b
)
2003-02-16 22:10:48 +00:00
Richard Sharpe
12074e7979
Recover much of my changes to editreg.c. Add some const and start coding
...
the regedit file parser etc.
(This used to be commit 5040b49867
)
2003-02-16 17:16:06 +00:00
Gerald Carter
a703d55cd7
* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
...
* never save a pointer to an automatic variable (they go away)
implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
messages being sent that have junk for strings;
fix in response to changes for CR 1504
(This used to be commit 043b9dff22
)
2003-02-15 23:36:18 +00:00
Gerald Carter
940fcdf095
* set PRINTER_ATTRIBUTE_RAW_ONLY; CR 1736
...
* never save a pointer to an automatic variable (they go away)
implement a deep copy for SPOOLSS_NOTIFY_MSG to correct
messages being sent that have junk for strings;
fix in response to changes for CR 1504
(This used to be commit ffda9e2480
)
2003-02-15 23:33:30 +00:00
Alexander Bokovoy
019df92bdf
Merge from head CFLAGS/CPPFLAGS and LIBS/LDFLAGS sanitizing
...
(This used to be commit bf1c82a48f
)
2003-02-15 23:07:59 +00:00
Alexander Bokovoy
22c875943d
Third-party configuration scripts may produce undesirable additions to CFLAGS/CPPFLAGS
...
and LIBS/LDFALGS. In particular, they often don't check where the appropriate libraries
were installed and pass -I/usr/include and -L/usr/lib as part of CFLAGS/LDFLAGS.
While the latter isn't dangerous, passing system include directory through -I lead
to change of its status in CPP from system to user-defined in many cases.
This patch cleans up CFLAGS/CPPFLAGS from errorenous -I/usr/include and LIBS/LDFLAGS
from -L/usr/lib. This is done as two m4 macros which are called before AC_OUTPUT.
(This used to be commit 643172ac1a
)
2003-02-15 22:51:15 +00:00
Andrew Bartlett
88a4d79e7b
Don't return NULL pointers for now.
...
We should look into how to deal with NULL v "" strings, and the NTLMSSP code
underneath properly at some stage.
Andrew Bartlett
(This used to be commit dc934412b0
)
2003-02-15 21:41:01 +00:00
Simo Sorce
07886ac856
fix dumb perror used without errno beeing set.
...
thanks to RedHat developers for the report
(This used to be commit e257141c9b
)
2003-02-15 21:37:15 +00:00
Simo Sorce
584206dccf
fix dumb perror used without errno beeing set.
...
thanks to RedHat developers for the report
(This used to be commit 4a3c6c62d9
)
2003-02-15 21:36:28 +00:00
Alexander Bokovoy
79613f6146
Merger krb5-config and libtinfo to SAMBA_3_0
...
(This used to be commit 864809707b
)
2003-02-15 19:13:53 +00:00
Alexander Bokovoy
9e99ad57ea
When checking for tgetent, include libtinfo from recent Ncurses as well
...
(This used to be commit c88a5b1aba
)
2003-02-15 15:50:24 +00:00
Alexander Bokovoy
7f6fdf49cb
Add support for krb5-config from recent MIT and Heimdal. And fallback to traditional guessing only if krb5-config was not found.
...
(This used to be commit ca27334ba0
)
2003-02-15 15:47:32 +00:00
Andrew Bartlett
4aabc4cdfd
Move our NTLMSSP client code into ntlmssp.c. The intention is to provide a
...
relitivly useful external lib from this code, and to remove the dupicate
NTLMSSP code elsewhere in samba (RPC pipes, LDAP client).
The code I've replaced this with in cliconnect.c is relitivly ugly, and
I hope to replace it with a more general SPENGO layer at some later date.
Andrew Bartlett
(This used to be commit b2b66909ac
)
2003-02-15 12:20:22 +00:00
Jelmer Vernooij
660d9ad986
Use more portable @SHLIBEXT@ instead of .so
...
(This used to be commit bddc54818e
)
2003-02-15 02:05:45 +00:00
Jelmer Vernooij
ab1035aa1b
Use more portable @SHLIBEXT@ instead of .so
...
(This used to be commit ba25db83f2
)
2003-02-15 02:04:41 +00:00
Jelmer Vernooij
9770ba3f4c
Remove obsolete file lib/netatalk.c - We now have a vfs module
...
(This used to be commit fcc7a197b1
)
2003-02-15 02:03:55 +00:00
Jelmer Vernooij
1cf9b9be79
Remove obsolete file lib/netatalk.c - We have a VFS module now
...
(This used to be commit 28653989cf
)
2003-02-15 02:02:51 +00:00
Jeremy Allison
798b526c1c
Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
...
all cm_get_XX calls and their subsequent requests in a retry loop in case
we've temporarily lost connection to the DC. Makes winbindd more reliable.
Jeremy.
(This used to be commit 20798ac739
)
2003-02-15 01:34:37 +00:00
Jeremy Allison
3b257cf500
Patch based on work by Michael Steffens <michael_steffens@hp.com> to wrap
...
all cm_get_XX calls and their subsequent requests in a retry loop in case
we've temporarily lost connection to the DC. Makes winbindd more reliable.
Jeremy.
(This used to be commit 81f358b632
)
2003-02-15 01:34:34 +00:00
Andrew Bartlett
e4202a9fe7
Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enable
...
users w/o full administrative access on computer accounts to join a
computer into AD domain.
The patch and detailed changelog is available at:
http://www.itcollege.ee/~aandreim/samba
This is a list of changes in general:
1. When creating machine account do not fail if SD cannot be changed.
setting SD is not mandatory and join will work perfectly without it.
2. Implement KPASSWD CHANGEPW protocol for changing trust password so
machine account does not need to have reset password right for itself.
3. Command line utilities no longer interfere with user's existing
kerberos ticket cache.
4. Command line utilities can do kerberos authentication even if
username is specified (-U). Initial TGT will be requested in this case.
I've modified the patch to share the kinit code, rather than copying it,
and updated it to current CVS. The other change included in the original patch
(local realms) has been left out for now.
Andrew Bartlett
(This used to be commit ce52f1c2ed
)
2003-02-15 00:29:21 +00:00
Andrew Bartlett
3b2693f1ae
Move our NTLMSSP code into easily seperated peices, not relying on the whole
...
of libsmb.
Andrew Bartlett
(This used to be commit b5ec7efa80
)
2003-02-15 00:10:09 +00:00
Andrew Bartlett
a2781ba60d
Oops, forgot the header file changes.
...
(This used to be commit 5492fc1144
)
2003-02-14 23:34:32 +00:00
Andrew Bartlett
3ca3e92376
NTLMSSP parinoia - we really don't want to run over the end of our blob,
...
and make sure we can never get an 'authenticate' packet without a challenge.
Andrew Bartlett
(This used to be commit 4d94f8e691
)
2003-02-14 23:13:05 +00:00
Jeremy Allison
4cd6e31bd3
Ensure that only parse_prs.c access internal members of the prs_struct.
...
Needed to move to disk based i/o later.
Jeremy.
(This used to be commit 4c3ee228fc
)
2003-02-14 23:04:03 +00:00
Jeremy Allison
8fc1f1aead
Ensure that only parse_prs.c access internal members of the prs_struct.
...
Needed to move to disk based i/o later.
Jeremy.
(This used to be commit a823fee5b4
)
2003-02-14 22:55:46 +00:00
Gerald Carter
89d480a933
off by one bug in string length; CR 1159
...
(This used to be commit aaefa889ad
)
2003-02-14 22:25:12 +00:00
Gerald Carter
4f6c2ab895
off by one bug in string length; CR 1159
...
(This used to be commit 4b5b0bcd90
)
2003-02-14 22:24:49 +00:00
Jim McDonough
a38e300830
Put dynrpc modules as part of make all, when specified in configure.
...
(This used to be commit d5b5a8e1f1
)
2003-02-14 20:19:50 +00:00
Jim McDonough
bfdf6c9053
Put dynrpc modules as part of make all, when specified in configure.
...
(This used to be commit b44be1c7c4
)
2003-02-14 20:10:43 +00:00
Jim McDonough
4226279bb7
Bring in line with HEAD version...mostly formatting changes to clean up diffs.
...
(This used to be commit ef43dff0bf
)
2003-02-14 19:42:54 +00:00
Andrew Bartlett
938fd5652d
Further extract our NTLMv2 code into smbencrypt.c, prior to merge into our
...
NTLMSSP client code.
Andrew Bartlett
(This used to be commit eaa8e7d1f8
)
2003-02-14 10:47:07 +00:00
Martin Pool
dc75b89bfc
Doc
...
(This used to be commit 11c1e712d4
)
2003-02-14 06:34:59 +00:00
Tim Potter
3b23695db6
Simplify some return values in gencache functions:
...
- return ret == 0 ? True : False;
+ return ret == 0;
and
- return tdb_close(cache) ? False : True;
+ return tdb_close(cache) != -1;
(This used to be commit 026b988b13
)
2003-02-14 05:07:05 +00:00
Jim McDonough
49d3f7bc81
merge from HEAD - enable dynamic RPC modules
...
(This used to be commit d9c485b010
)
2003-02-14 00:48:28 +00:00
Tim Potter
3807a1dadf
Mop and bucket for trusted domain enumeration fix.
...
(This used to be commit 5cfb30551a
)
2003-02-14 00:31:30 +00:00
Tim Potter
afb9105c3d
Fix for trusted domains scan not working inspired by Ken Cross.
...
(Sorry - I should have checked this in yesterday but forgot)
(This used to be commit 7420ddcda8
)
2003-02-14 00:23:31 +00:00
Rafal Szczesniak
ce306f8b08
A few typo fixes Andrew eventually let off to me.
...
Rafal
(This used to be commit 16a66cf17a
)
2003-02-13 21:40:35 +00:00
Jeremy Allison
02da4c7944
Removed unused variable.
...
Jeremy.
(This used to be commit a29f1aa85f
)
2003-02-13 19:49:28 +00:00
Jeremy Allison
db937d3965
Removed unused variable.
...
Jeremy.
(This used to be commit c9654c8ec7
)
2003-02-13 19:42:50 +00:00
Alexander Bokovoy
ff1db7b4f7
Fix typo in WIFSIGNALED (as per Waider's report)
...
(This used to be commit 4463ffeed9
)
2003-02-13 16:29:12 +00:00
Jeremy Allison
f4092b90bf
Merge JohnR's patch.
...
Removed extra copy of server name in the printername field (it was
mangling the the name to be \\server\\\server\printer ... yes, there
were 3 backslashes) reported by get & enum jobs level 2.
Jeremy.
(This used to be commit d079edf732
)
2003-02-13 06:52:45 +00:00
Jeremy Allison
0ab1705cbc
Merge JohnR's patch.
...
Removed extra copy of server name in the printername field (it was
mangling the the name to be \\server\\\server\printer ... yes, there
were 3 backslashes) reported by get & enum jobs level 2.
Jeremy.
(This used to be commit 2d63f3a13d
)
2003-02-13 06:51:51 +00:00
Martin Pool
1f2a901d78
Add FIXME about checking exit code for popen'd commands.
...
Fix typo.
(This used to be commit 2b5664823e
)
2003-02-13 04:46:55 +00:00
Martin Pool
404a3f34c8
waitstatus audit: Correctly handle case where smbmnt is killed by a
...
signal. Previously this was incorrectly treated as success.
(This used to be commit fe5582c1b2
)
2003-02-13 04:45:40 +00:00
Martin Pool
c8659d04a9
Merge from HEAD to allow automatic Doxygen generation.
...
(This used to be commit ff8674d13b
)
2003-02-13 01:47:03 +00:00
Martin Pool
11f07557bf
Doc
...
Set HTML output directory
(This used to be commit 38b5a219ee
)
2003-02-13 01:05:56 +00:00
Martin Pool
e93038c88b
Update towards automatic building on dp.samba.org:
...
Remove features not supported by Doxygen 1.2.14 on RH7.3.
Remove dependence on dot tool, which is apparently not in Redhat, and
doesn't produce very interesting results for C code anyhow.
Make Doxygen --quiet to support running from cron.
Remove references to files which are gone from Samba
(CodingSuggestions).
Put HTML output in the right directory.
(This used to be commit 5904260f48
)
2003-02-13 00:37:35 +00:00
Jeremy Allison
33eb26ba5e
Added code based on Michael Steffens <michael.steffens@hp.com> uid/gid
...
caching code. Reduces load on winbindd. Probably should be moved to
use gencache at some future date.
Jeremy.
(This used to be commit f2674d1ac9
)
2003-02-12 23:51:08 +00:00
Jeremy Allison
bf6dfb26e9
Added code based on Michael Steffens <michael.steffens@hp.com> uid/gid
...
caching code. Reduces load on winbindd. Probably should be moved to
use gencache at some future date.
Jeremy.
(This used to be commit 19f577e23b
)
2003-02-12 23:51:05 +00:00
Jeremy Allison
7fe6742d04
Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
...
Jeremy.
(This used to be commit e9b4fb8b9a
)
2003-02-12 20:40:29 +00:00
Jeremy Allison
fbdda574d8
Fixes for HPUX only having limited POSIX lock range from Michael Steffens <michael.steffens@hp.com>
...
Jeremy.
(This used to be commit ba0f47f78d
)
2003-02-12 20:38:02 +00:00
Gerald Carter
3bfd440620
adding more descriptions for nt status codes
...
(This used to be commit 2fa33fcaee
)
2003-02-12 16:44:13 +00:00
Gerald Carter
8e5585a20f
adding more descriptions for nt status codes
...
(This used to be commit dfceb0aab5
)
2003-02-12 16:43:47 +00:00
Andrew Bartlett
497470214d
merge desired_access for open_printer_ex from HEAD, allowing cupsaddsmb to
...
work again!
Andrew Bartlett
(This used to be commit 94976a4128
)
2003-02-12 11:23:24 +00:00
Andrew Bartlett
749d90dfc7
Match Samba 2.2 by chosing the correct desired access, and getting cupsaddsmb
...
back working again.
Andrew Bartlett
(This used to be commit 512e65a6a6
)
2003-02-12 11:17:35 +00:00
Andrew Bartlett
7ceed4213a
Merge from HEAD: Fix NULL pointer de-reference in arguments to tdb_pack.
...
Andrew Bartlet
(This used to be commit 0809670d0f
)
2003-02-12 10:57:39 +00:00
Andrew Tridgell
faf30e69ae
initial server side privileges implementation, using a tdb. This needs to be hooked into pdb, and we need some access control on changing privileges. That's next
...
(This used to be commit f4f1f84a6b
)
2003-02-12 09:14:35 +00:00
Andrew Bartlett
ce7db9bdcc
Prevent NULL-pointer induced segfaults.
...
Is tdb_pack in appliance_head different for some reason?
Andrew Bartlett
(This used to be commit 9deb14a2e6
)
2003-02-12 06:38:18 +00:00
Tim Potter
e63fc878d9
Merge of smbcontrol debuglevel fixes from HEAD.
...
(This used to be commit 77ae3360e3
)
2003-02-12 01:22:33 +00:00
Tim Potter
a68de8f42c
Merge of nicer error message for gencache open error from HEAD.
...
(This used to be commit 23ca540005
)
2003-02-12 01:20:56 +00:00
Tim Potter
0f2d66a141
Sync with HEAD version.
...
(This used to be commit 3a912bee74
)
2003-02-12 01:19:34 +00:00
Jeremy Allison
7d4eef34e3
Correctly return access denied on share mode deny when we can't open the
...
file. This is a regression that was damaged by other code.
Jeremy.
(This used to be commit 7844a53df7
)
2003-02-12 01:13:35 +00:00
Jeremy Allison
b792454963
Correctly return access denied on share mode deny when we can't open the
...
file. This is a regression that was damaged by other code.
Jeremy.
(This used to be commit 5cdc957ea6
)
2003-02-12 01:12:33 +00:00
Jeremy Allison
cba08587d3
Merge from HEAD - pull_ucs2_talloc() should pull to a char**, not a void**
...
Jeremy.
(This used to be commit 81437e2ad0
)
2003-02-12 01:09:35 +00:00
Jeremy Allison
4403a1655c
Merge from HEAD...setup the %U substitution in winbindd for the homedir template
...
Jeremy.
(This used to be commit efc4b738ae
)
2003-02-12 01:08:40 +00:00
Jeremy Allison
abbbaa2f6f
Merging from HEAD - add a note about a better method for finding netbios name of workgroup
...
(not implemented yet)
Jeremy.
(This used to be commit c0eab99753
)
2003-02-12 01:07:48 +00:00
Jeremy Allison
dc1f0fd79a
Ensure we are not forgetting our janitorial duties...
...
Jeremy.
(This used to be commit 7812370cab
)
2003-02-12 01:06:52 +00:00
Andrew Tridgell
0e42cf2460
setup the %U substitution in winbindd for the homedir template
...
(This used to be commit 6186c10ceb
)
2003-02-12 00:56:14 +00:00
Andrew Tridgell
8c60a408e1
add a note about relative opens with blank paths - its a re-open!
...
(not implemented yet)
(This used to be commit bceac9cdde
)
2003-02-12 00:41:35 +00:00
Andrew Tridgell
3b562efcbd
add a note about a better method for finding netbios name of workgroup
...
(not implemented yet)
(This used to be commit 8a8cca78ad
)
2003-02-12 00:40:41 +00:00
Andrew Tridgell
c713b6aaf5
pull_ucs2_talloc() should pull to a char**, not a void**
...
(This used to be commit 3cf539421f
)
2003-02-12 00:39:36 +00:00
Andrew Tridgell
5b70946744
removed a duplicate copy of smb_io_sid_array()
...
(This used to be commit 2ef72f9500
)
2003-02-11 22:53:57 +00:00
Andrew Bartlett
ef6be9db1e
Merge from HEAD: Patch by Anthony Liguori <aliguor@us.ibm.com> to replace scandir() with portable readdir() calls.
...
Andrew Bartlett
(This used to be commit b9ca0b9ef3
)
2003-02-11 21:56:38 +00:00
Andrew Tridgell
8ddccd47c7
added server stubs for lsa_enum_acct_with_right
...
(This used to be commit aa2abacaf4
)
2003-02-11 21:55:48 +00:00
Andrew Bartlett
2d220ef00d
Patch from Anthony Liguori <aliguor@us.ibm.com> to remove scandir() portability
...
madness.
Andrew Bartlett
(This used to be commit 7836b9a58d
)
2003-02-11 21:54:36 +00:00
Jim McDonough
270631338d
remove trailing 'a' from VFS_MODULES targets...fix build
...
(This used to be commit fa4961b1fc
)
2003-02-11 19:57:17 +00:00
Jeremy Allison
4689a33497
Fixup delete on close torture.
...
Jeremy.
(This used to be commit b031e81f4f
)
2003-02-11 02:29:04 +00:00
Jeremy Allison
e6ac820d81
Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).
...
Thanks to Nir Livni <nirl@cyber-ark.com> for giving me the test case to
track it down.
Jeremy.
(This used to be commit 41894489e8
)
2003-02-11 02:24:51 +00:00
Jeremy Allison
cc99ea0ef0
Fix delete on close semantics to match W2K. I (think:-) I understand it now :-).
...
Thanks to Nir Livni <nirl@cyber-ark.com> for giving me the test case to
track it down.
Jeremy.
(This used to be commit c98ebb3031
)
2003-02-11 02:24:45 +00:00
Shirish Kalele
70f1fcb87b
Fix the msdfs proxy handling code in dfsenum to return the cumulative number of
...
dfs links encountered. Previously the number was being mistakenly reset to 1.
Thanks to Guenther Deschner <gd@suse.de> for pointing this out and a fix.
[Check into SAMBA_3_0]
(This used to be commit 041a1dd543
)
2003-02-11 01:45:48 +00:00
Shirish Kalele
f687e95377
Fix the msdfs proxy handling code in dfsenum to return the cumulative number of
...
dfs links encountered. Previously the number was being mistakenly reset to 1.
Thanks to Guenther Deschner <gd@suse.de> for pointing this out and a fix.
[Check into HEAD]
(This used to be commit 9307942a89
)
2003-02-11 01:45:15 +00:00
Gerald Carter
89393d93b0
autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
...
findsmb - use @PERL@
(This used to be commit f869db787b
)
2003-02-10 17:31:25 +00:00
Gerald Carter
a9f1ec0d6b
autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
...
findsmb - use @PERL@
(This used to be commit 1585385729
)
2003-02-10 17:30:20 +00:00
Richard Sharpe
0ad56b68a2
Fix a mistake spotted by Metze
...
(This used to be commit cf167e9249
)
2003-02-10 16:42:24 +00:00
Andrew Bartlett
bb9c664622
Clean up our NTLMv2 code by moving the grunt work into a helper function.
...
Andrew Bartlett
(This used to be commit 6789e237d7
)
2003-02-10 12:22:57 +00:00
Andrew Bartlett
8a20407442
Cleanups: (merge from HEAD)
...
- use safe_strcpy() instead of pstrcpy() for malloc()ed strings
- CUPS: a failure in an attempt to automaticly add a printer is not level 0 stuff.
- Fix up a possible Realloc() failure segfault
Andrew Bartlett
(This used to be commit c1cfc296c2
)
2003-02-10 11:47:21 +00:00
Andrew Tridgell
6c66e42d2c
added the 'lsaenumacctwithright' command to rpcclient. This allows you
...
to lookup what SIDs have a particular privilege (that is how
privileges are stored).
(This used to be commit 3ddb5fb0dd
)
2003-02-10 11:31:23 +00:00
Andrew Bartlett
baff308f16
As metze mentioned, this is the proper way to find perl...
...
Andrew Bartlett
(This used to be commit f364921864
)
2003-02-10 10:36:09 +00:00
Andrew Bartlett
6fa61ac2a8
perl might not be in /usr/bin/perl, so try and find it in the path.
...
Perhaps this generated file should be autobuilt on samba.org for the
build farm and the tarballs.
Andrew Bartlett
(This used to be commit b8a07da680
)
2003-02-10 09:23:30 +00:00
Andrew Bartlett
c46f8a0249
Use safe_strcpy() instead of pstrcpy() for malloced strings.
...
Andrew Bartlett
(This used to be commit 333d313c9d
)
2003-02-10 09:20:09 +00:00
Andrew Bartlett
a9d598d6bb
Failure to find a CUPS printer, when auto-adding printers is not a level 0 error.
...
Andrew Bartlett
(This used to be commit 79650e08c9
)
2003-02-10 09:18:04 +00:00
Andrew Bartlett
ec7a1994b0
Some cleanups:
...
- Don't use pstrcpy into an allocated string - use safe_strcpy() directly
instead.
- Keep a copy of the 'server_info' attached to the vuid. In future use this
for things like the session key, homedir and full name instead of current
copies.
- Try to avoid memory leak/segfault on Realloc failure
- clear up #endif comments
Andrew Bartlett
(This used to be commit 162477bb08
)
2003-02-10 09:16:05 +00:00
Andrew Bartlett
868d169a40
(only for HEAD at the moment).
...
Add NTLMv2 support to our client, used when so configured ('client use NTLMv2 =
yes') and only when 'client use spengo = no'. (A new option to allow the
client and server ends to chose spnego seperatly).
NTLMv2 signing doesn't yet work, and NTLMv2 is not done for NTLMSSP yet.
Also some parinoia checks in our input parsing.
Andrew Bartlett
(This used to be commit 85e9c060ea
)
2003-02-09 12:26:58 +00:00
Jeremy Allison
4703248a8e
Ensure we return NOSPACE if we can't fast allocate a print job.
...
Jeremy.
(This used to be commit 82cf8aa747
)
2003-02-08 01:04:43 +00:00
Jeremy Allison
d05322efce
Ensure we return NOSPACE if we can't fast allocate a print job.
...
Jeremy.
(This used to be commit 9cd29f2bac
)
2003-02-08 01:04:26 +00:00
Andrew Bartlett
8f166a9725
merge from HEAD - x_fileno, not fileno on an XFILE
...
(This used to be commit e3468d8edc
)
2003-02-08 01:01:49 +00:00
Andrew Bartlett
99f9caebe4
One more fix for the difference between FILE and X_FILE.
...
(This used to be commit 7e56014b28
)
2003-02-08 01:00:55 +00:00
Andrew Bartlett
b36a53b0cb
Merge from HEAD - don't mix FILE and X_FILE - fixes debian bug
...
http://bugs.debian.org/178219 where the first 4096 bytes where being chewed
into the FILE buffer, and never available to X_FILE's read.
Andrew Bartlett
(This used to be commit 8af72c1384
)
2003-02-08 00:08:23 +00:00
Andrew Bartlett
315e4f513b
Ensure we don't get problems between FILE and X_FILE buffers - always use the
...
x_ varient of the command.
Andrew Bartlett
(This used to be commit 6a028507f0
)
2003-02-07 23:39:47 +00:00
Jeremy Allison
5bc835c188
Samba janitors: applying mbp's redundant umask fix.
...
Jeremy.
(This used to be commit 45d4e58ca5
)
2003-02-07 22:52:35 +00:00
Jeremy Allison
9e8fc1ee4e
Samba janitors: applying mbp's redundant umask fix.
...
Jeremy.
(This used to be commit b54f6bf06c
)
2003-02-07 22:52:19 +00:00
Jeremy Allison
a90def7e8a
Samba janitor: adding mbp's umask patch :-).
...
Jeremy.
(This used to be commit d4d8d27bf1
)
2003-02-07 21:59:51 +00:00
Jeremy Allison
5bff9ad142
Samba janitor: adding mbp's umask patch :-).
...
Jeremy.
(This used to be commit babbbd9c65
)
2003-02-07 21:59:42 +00:00
Gerald Carter
36657d41ce
check pointer before dereferencing it
...
(This used to be commit 786d91d75c
)
2003-02-07 16:20:58 +00:00
Gerald Carter
67acaa0026
check pointer before dereferencing it
...
(This used to be commit 8712bd1f8e
)
2003-02-07 16:20:42 +00:00
Volker Lendecke
13f65125ac
Invert flag testing
...
(This used to be commit 05397c526d
)
2003-02-07 08:03:37 +00:00
Volker Lendecke
6b703fc40a
Revert Flag testing upon abartlet's request ;-)
...
Volker
(This used to be commit e8f751fe84
)
2003-02-07 08:02:18 +00:00
John Terpstra
51bf3e0b76
Added my name to copyright.
...
(This used to be commit 143df82aeb
)
2003-02-07 05:01:06 +00:00
John Terpstra
5eac9f60cc
Added extended audit module that logs to smbd log as well as syslog.
...
(This used to be commit d2fe7e38b2
)
2003-02-07 05:00:34 +00:00
John Terpstra
fb0cb8894a
Added extended audit module.
...
(This used to be commit f158bfa233
)
2003-02-07 04:56:37 +00:00
John Terpstra
e0a9628bd4
Added audit module that logs info to smbd log file as well as syslog.
...
(This used to be commit 0ce5f23bdb
)
2003-02-07 04:53:15 +00:00
Andrew Tridgell
50edc1a831
merge from head
...
(This used to be commit fd3216dbcb
)
2003-02-07 04:11:36 +00:00
Andrew Tridgell
4dc434c804
make sure we don't run over the end of 'name' in unix_convert()
...
Thanks to Andrew Bartlett for spotting this.
(This used to be commit b4c210ccb0
)
2003-02-07 04:01:36 +00:00
Volker Lendecke
21ee739b83
merge from HEAD
...
(This used to be commit 4ef6de20cb
)
2003-02-06 17:10:38 +00:00
Volker Lendecke
0326e054c3
Make account flags editable with pdbedit.
...
Volker
(This used to be commit 597c505509
)
2003-02-06 16:53:58 +00:00
Andrew Bartlett
0f5ac791db
.cvsignore for configure and config.h.in
...
(This used to be commit 7d48ad967c
)
2003-02-06 10:40:51 +00:00
Andrew Tridgell
81356b6269
ignore config.h.in in cvs as generated by autoheader
...
(This used to be commit 830423abd8
)
2003-02-06 09:55:21 +00:00
Andrew Tridgell
a74bdcbee0
ignore configure in cvs
...
(This used to be commit 0a5ed634d8
)
2003-02-06 09:54:51 +00:00
Andrew Bartlett
82bad04844
(merge from HEAD)
...
Move configure and include/config.h.in out of CVS.
Andrew Bartlett
(This used to be commit 482465bbaf
)
2003-02-06 09:22:22 +00:00
Andrew Bartlett
d13a3ce9f0
Remove configure and config.h.in from CVS.
...
configure and config.h.in is now regenerated by the 'autogen.sh' script.
However, samba.org will run autoconf and autoheader to keep the anonyomous
rsync 'unpacked' areas intact (helping the build farm), and released will ship
with the genereated files.
Andrew Bartlett
(This used to be commit 15bba73dea
)
2003-02-06 09:20:32 +00:00
Andrew Tridgell
b4776d89ea
added the LSA privileges server backend stubs. Right now they just log
...
what was requested.
(This used to be commit 64ac6c2bcb
)
2003-02-06 05:42:19 +00:00
Jeremy Allison
0edff28a63
Collapse duplicate messages before sending.
...
Jeremy.
(This used to be commit 105d37474d
)
2003-02-05 23:03:58 +00:00
Jeremy Allison
68fdf96637
Collapse duplicate messages before sending.
...
Jeremy.
(This used to be commit 203959f1c2
)
2003-02-05 23:03:47 +00:00
Jeremy Allison
56060dcf9e
Fixed type.
...
Jeremy.
(This used to be commit ae635bb6ec
)
2003-02-05 22:09:32 +00:00
Jeremy Allison
7d854ebcc6
Fixed type.
...
Jeremy.
(This used to be commit 76c3ccf6ed
)
2003-02-05 22:09:06 +00:00
Jeremy Allison
15fda89ab6
Check for too many processes *before* the fork.
...
Jeremy.
(This used to be commit dfb596b012
)
2003-02-05 21:17:12 +00:00
Jeremy Allison
35a8dceb20
Check for too many processes *before* the fork.
...
Jeremy.
(This used to be commit be54b1b831
)
2003-02-05 21:16:55 +00:00
Gerald Carter
9a42f660fb
CUPS patch to log client name
...
(This used to be commit 364a4de6df
)
2003-02-05 06:37:54 +00:00
Gerald Carter
0adfd3d418
CUPS patch to log client name
...
(This used to be commit d4168c327b
)
2003-02-05 06:37:27 +00:00
Jeremy Allison
42edbfe918
Hold the lock for a much shorter time when allocating a new jobid.
...
Jeremy.
(This used to be commit 62e274abbb
)
2003-02-04 23:52:49 +00:00
Jeremy Allison
d62f32ceeb
Hold the lock for a much shorter time when allocating a new jobid.
...
Jeremy.
(This used to be commit 0b5a0fec82
)
2003-02-04 23:52:46 +00:00
Jeremy Allison
eccae5d23a
Mem alloc checks.
...
Jeremy.
(This used to be commit 46ea028169
)
2003-02-04 23:44:28 +00:00
Jeremy Allison
0701e642f2
Mem alloc failure checks.
...
Jeremy.
(This used to be commit 4e33e3f37f
)
2003-02-04 23:44:05 +00:00
Jeremy Allison
bfcdd6eed3
Up the hash table size for printing tdb.c
...
Jeremy.
(This used to be commit 5f13d6b4a0
)
2003-02-04 23:43:21 +00:00
Jeremy Allison
41b680fce5
Up the hash table size for printing tdb.c
...
Jeremy.
(This used to be commit 97848f40ee
)
2003-02-04 23:43:03 +00:00
Jeremy Allison
2e45eda386
Ensure we overwrite a tdb if the hash size changes.
...
Jeremy.
(This used to be commit b300696cb5
)
2003-02-04 23:40:43 +00:00