1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-25 06:04:04 +03:00

10795 Commits

Author SHA1 Message Date
Andrew Bartlett
512e65a6a6 Match Samba 2.2 by chosing the correct desired access, and getting cupsaddsmb
back working again.

Andrew Bartlett
-
Andrew Tridgell
f4f1f84a6b 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 -
Andrew Bartlett
9deb14a2e6 Prevent NULL-pointer induced segfaults.
Is tdb_pack in appliance_head different for some reason?

Andrew Bartlett
-
Jeremy Allison
5cdc957ea6 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.
-
Andrew Tridgell
6186c10ceb setup the %U substitution in winbindd for the homedir template -
Andrew Tridgell
bceac9cdde add a note about relative opens with blank paths - its a re-open!
(not implemented yet)
-
Andrew Tridgell
8a8cca78ad add a note about a better method for finding netbios name of workgroup
(not implemented yet)
-
Andrew Tridgell
3cf539421f pull_ucs2_talloc() should pull to a char**, not a void** -
Andrew Tridgell
2ef72f9500 removed a duplicate copy of smb_io_sid_array() -
Andrew Tridgell
aa2abacaf4 added server stubs for lsa_enum_acct_with_right -
Andrew Bartlett
7836b9a58d Patch from Anthony Liguori <aliguor@us.ibm.com> to remove scandir() portability
madness.

Andrew Bartlett
-
Jim McDonough
fa4961b1fc remove trailing 'a' from VFS_MODULES targets...fix build -
Jeremy Allison
b031e81f4f Fixup delete on close torture.
Jeremy.
-
Jeremy Allison
c98ebb3031 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.
-
Shirish Kalele
9307942a89 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]
-
Gerald Carter
1585385729 autogen - cope with autoconf-2.53/2.13 systems (like RH 7.3)
findsmb - use @PERL@
-
Richard Sharpe
cf167e9249 Fix a mistake spotted by Metze -
Andrew Bartlett
6789e237d7 Clean up our NTLMv2 code by moving the grunt work into a helper function.
Andrew Bartlett
-
Andrew Tridgell
3ddb5fb0dd added the 'lsaenumacctwithright' command to rpcclient. This allows you
to lookup what SIDs have a particular privilege (that is how
privileges are stored).
-
Andrew Bartlett
f364921864 As metze mentioned, this is the proper way to find perl...
Andrew Bartlett
-
Andrew Bartlett
b8a07da680 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
-
Andrew Bartlett
333d313c9d Use safe_strcpy() instead of pstrcpy() for malloced strings.
Andrew Bartlett
-
Andrew Bartlett
79650e08c9 Failure to find a CUPS printer, when auto-adding printers is not a level 0 error.
Andrew Bartlett
-
Andrew Bartlett
162477bb08 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
-
Andrew Bartlett
85e9c060ea (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
-
Jeremy Allison
9cd29f2bac Ensure we return NOSPACE if we can't fast allocate a print job.
Jeremy.
-
Andrew Bartlett
7e56014b28 One more fix for the difference between FILE and X_FILE. -
Andrew Bartlett
6a028507f0 Ensure we don't get problems between FILE and X_FILE buffers - always use the
x_ varient of the command.

Andrew Bartlett
-
Jeremy Allison
45d4e58ca5 Samba janitors: applying mbp's redundant umask fix.
Jeremy.
-
Jeremy Allison
babbbd9c65 Samba janitor: adding mbp's umask patch :-).
Jeremy.
-
Gerald Carter
786d91d75c check pointer before dereferencing it -
Volker Lendecke
e8f751fe84 Revert Flag testing upon abartlet's request ;-)
Volker
-
John Terpstra
d2fe7e38b2 Added extended audit module that logs to smbd log as well as syslog. -
Andrew Tridgell
b4c210ccb0 make sure we don't run over the end of 'name' in unix_convert()
Thanks to Andrew Bartlett for spotting this.
-
Volker Lendecke
597c505509 Make account flags editable with pdbedit.
Volker
-
Andrew Tridgell
830423abd8 ignore config.h.in in cvs as generated by autoheader -
Andrew Tridgell
0a5ed634d8 ignore configure in cvs -
Andrew Bartlett
15bba73dea 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
-
Andrew Tridgell
64ac6c2bcb added the LSA privileges server backend stubs. Right now they just log
what was requested.
-
Jeremy Allison
203959f1c2 Collapse duplicate messages before sending.
Jeremy.
-
Jeremy Allison
ae635bb6ec Fixed type.
Jeremy.
-
Jeremy Allison
dfb596b012 Check for too many processes *before* the fork.
Jeremy.
-
Gerald Carter
364a4de6df CUPS patch to log client name -
Jeremy Allison
0b5a0fec82 Hold the lock for a much shorter time when allocating a new jobid.
Jeremy.
-
Jeremy Allison
4e33e3f37f Mem alloc failure checks.
Jeremy.
-
Jeremy Allison
5f13d6b4a0 Up the hash table size for printing tdb.c
Jeremy.
-
Jeremy Allison
3497330ff5 Ensure we overwrite a tdb if the hash size changes.
Jeremy.
-
Andrew Bartlett
9e8e352e10 Add autogen.sh from distcc via mbp.
This to allow us to remove configure from CVS.
-
Andrew Bartlett
49640635b1 Actually checking both the account and password tests would be a good idea...
Andrew Bartlett
-
Andrew Bartlett
3dfdaa0208 Patch from Edmund Lam <epl@unimelb.edu.au> to fix braindead Tru64 behaviour:
Apparently acl_type is #defined to acl_common.entry_type in their acl.h....

Andrew Bartlett
-