1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-16 09:57:47 +03:00

971 Commits

Author SHA1 Message Date
Andrew Bartlett
5b5e793d16 r831: These functions duplicate the push/pull charcnv interfaces that we use
everywhere else in the Samba code, so remove them for clarity.

(ok, so  also just never liked the names  ;-)

Andrew Bartlett
(This used to be commit 5f5786ad5ff6cc133a143476e8968b00ed057a62)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
a64be8dbdd r830: Use pull_ucs2_talloc() instead of acnv_u2ux() and fix a memory leak.
(This used to be commit ad88561becf59cd38a3e329e68cbe5518a3373d7)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
4a137a7cf1 r829: Implement 'hive' command
(This used to be commit 2a87981bd0a79f0d685441d690e2f810d6ed86d0)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
f371d24542 r828: Some fixes in the core and regshell concerning hives and
unicode
(This used to be commit 25c27b176c9905f3968e955f33a6db41b0102a38)
2007-10-10 12:53:53 -05:00
Andrew Tridgell
f7a7192eff r827: remove a few more unused functions that we are unlikely to use again
(This used to be commit 121dd9ba0038f6e076c464cddad0b788fe6076fa)
2007-10-10 12:53:53 -05:00
Andrew Tridgell
f11cc69df3 r826: removed a pile of old code, in preparation for a new ACL handling system. I'd like to get rid of DOM_SID completely soon
(This used to be commit e306e27cf333e176195a47b19e3de591b4a59650)
2007-10-10 12:53:53 -05:00
Jelmer Vernooij
bf52e242f5 r825: - Introduce support for multiple roots (or 'hives')
- Clean up rpc backend (possible now that multiple hives are supported)
(This used to be commit 8cd1b6bc70510fe576135a66351e9e3ea895c9ff)
2007-10-10 12:53:53 -05:00
Stefan Metzmacher
4e9d01c2a7 r822: use 'Last Change Rev:' instead of 'Revision:' from the svn info output
for setting the SVN_REVISION in version.h

metze
(This used to be commit 081f7970dd16215b13fb3ab0630992189a9187be)
2007-10-10 12:53:52 -05:00
Stefan Metzmacher
2941d3233c r821: prompt user for password if not given by -U user%pass
and not as torture:password in smb.conf

metze
(This used to be commit 9de377a914292be19cdffd1020d613d50df7f4e6)
2007-10-10 12:53:52 -05:00
Jelmer Vernooij
1ca75ec3bb r819: Fix seg fault in rpc backend, found by Andrew Bartlett
(This used to be commit d4cc4b3d682eb828208a621fe6b795f3e77c746a)
2007-10-10 12:53:52 -05:00
Andrew Tridgell
c5e11daa8b r818: added server side SMB signing to Samba4
(This used to be commit 8e5ddf5e8eb74f667897f90baa2d00f02ca5818b)
2007-10-10 12:53:52 -05:00
Andrew Bartlett
93076cb9bc r816: - Make use of tridge's new samdb_result_sid_prefix() helper function.
- Remove legacy sid_to_string (which contained a memleak)

 - Remove some unused parts of lib/util_sid.c

Andrew Bartlett
(This used to be commit 7c69a85984e47c004ddfd9bb5eadcb3191b56f9d)
2007-10-10 12:53:52 -05:00
Andrew Tridgell
8222c13ce9 r815: include our netbios name in the negprot response (this matches win2003)
(This used to be commit b4b67c330174ac0570558bedf50729542ea775da)
2007-10-10 12:53:52 -05:00
Andrew Tridgell
39696f7804 r813: gcc has fixed its huge debug sizes with -g now, so drop the -gstabs,
allowing us to use a more standard debug format.

If you want it even smaller than I recommend the
-feliminate-dwarf2-dups option, if your version of gcc supports it.
(This used to be commit a11340a971af24d9dcab720f92483b0dafa01142)
2007-10-10 12:53:52 -05:00
Andrew Tridgell
32de597981 r812: added a new samdb_replace() call that simplifies the code in the main samr server a bit.
(This used to be commit 255d6e77e705bb7a94e6738c9f48f9d8c625883c)
2007-10-10 12:53:51 -05:00
Andrew Tridgell
054453b584 r811: make the ldb_modify REPLACE semantics better match LDAP (ie. no error
on the attribute not existing and allow an empty replace)
(This used to be commit 1418b667d9041430786089713eafee63dd7b4a28)
2007-10-10 12:53:51 -05:00
Simo Sorce
b047b71b45 r808: fix libtdb build by ifedffing out an smb_panic() and copying over CatchSignal fn from lib/signal changing it's name to TdbCatchSignal
(This used to be commit e1afaa1e9c8de5615030015b1360529b450d2047)
2007-10-10 12:53:51 -05:00
Stefan Metzmacher
3bf29c1113 r807: compile with PICFLAG by default
(ask tridge why this is better than recompiling only the
 files we need for libraries with PICFLAG)

metze
(This used to be commit ee32d29044a52d7098e242ed48c309871e711bd9)
2007-10-10 12:53:51 -05:00
Tim Potter
ac5393fa25 r806: Checkin of workarea - tridge gave me some good ideas today for a better
way to do this.
(This used to be commit c63cb50ca56cb69f7ef39f9828afa61f324f2832)
2007-10-10 12:53:51 -05:00
Andrew Tridgell
95c52e11a1 r796: fixed samr_OemChangePasswordUser2() to replace attributes, not add
(This used to be commit 24bbf9f1bcfddb5131769439bd139faef2c022e2)
2007-10-10 12:53:51 -05:00
Andrew Tridgell
acda755f54 r793: - don't make templates members of any class that would make them show
up in searches like "objectclass=user"

 - auto-add the computer objectclass for computer accounts on create

 - added two types of password change call in samr server

 - reset last_fault_code before each dcerpc call
(This used to be commit c1a65f83f6a4c51e60efd204dab89c20cda65d2b)
2007-10-10 12:53:51 -05:00
Andrew Tridgell
f0a8f718ff r792: - changed the ldb ldif_* functions to be in the ldb_ namespace
- added better error reporting in ldbdel

 - fixed a bug in handling packing of records which contain elements
   with no values (it caused db corruption)

 - allow search with "dn" as target attribute
(This used to be commit 36575396234e3d35dbd442c8f1ff54a17ae64e64)
2007-10-10 12:53:50 -05:00
Andrew Tridgell
0a083d1e08 r791: added ldb man page build to ldb makefile
(This used to be commit ec38392888d20991abe18dd3e6ca226a62c7d4ae)
2007-10-10 12:53:50 -05:00
Andrew Tridgell
4219ec1dec r790: started working on some documentation (manual pages) for ldb
(This used to be commit dcb9d1a897f7186824e997064902f3d50bad1887)
2007-10-10 12:53:50 -05:00
Simo Sorce
6ebd4a9d64 r789: we return wrong number of entries
(This used to be commit c0c1596dbdb1769c3f10c8299f61807497b1d38a)
2007-10-10 12:53:50 -05:00
Andrew Tridgell
47a3f0cc38 r782: added torture test for level 6 logon level in netr_LogonSamLogon
(This used to be commit 770322bfdfad7d7d33de0c5bc95bb0f51f7409c7)
2007-10-10 12:53:50 -05:00
Andrew Tridgell
6d2559f354 r781: added level6 for logon level in SamLogon netlogon.idl
(This used to be commit 446808ae4dbdcd0c64387c54b7d49649971e36d0)
2007-10-10 12:53:50 -05:00
Stefan Metzmacher
a25fdd97ee r771: don't know why but the SMB_INCLUDE_M4() didn't work correct
metze
(This used to be commit 2bb9f4adc049c82f390facc78bf32824ea1b88d9)
2007-10-10 12:53:50 -05:00
Stefan Metzmacher
7feea7c91b r770: remove unused pam_smbpass/ dir from samba4
metze
(This used to be commit 25084445e714706e8c277a723a0ab6782f44990e)
2007-10-10 12:53:50 -05:00
Stefan Metzmacher
2fb0bdfee7 r769: remove unused locking/ dir
metze
(This used to be commit 1f8aae548a3650215bde527782f206f17f49a803)
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
0835e34c9e r768: remove unused msdfs directory
(in 3.X it's also gone)

metze
(This used to be commit 467f1e8e96238401cc9220ade6f76c10dd15e082)
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
6fdba3084b r767: add a $flags argument to the std_CC make rule generater
we may need this for compiling with -fPIC

metze
(This used to be commit e65b38b7cade96e577a5065d08679ba70b074151)
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
cfc2f3c5ab r766: convert ntvfs/* to a config.mk file
metze
(This used to be commit 62d456c144e76b0d14225c2eed5b35bdf9650057)
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
25b69856ec r765: add SMB_INCLUDE_M4() macro as wrapper arround sinclude()
metze
(This used to be commit afbe692b47f4aa6ebe2155927be00197fafe13f3)
2007-10-10 12:53:49 -05:00
Tim Potter
c650534613 r759: Fix some perl warnings.
(This used to be commit 1517ef3a986ec213d33b624fbbe8071600cc5b61)
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
c2fcb0737d r758: just move the util file to the additional object file list
metze
(This used to be commit 4bfecf337bab08e97bc9acfa5fb12273387f2a42)
2007-10-10 12:53:49 -05:00
Tim Potter
38e8feb413 r757: Handle empty union arms (ala rid only entries in netlogon).
(This used to be commit f7b23156681f12805f0c7f242f0c436d102023f4)
2007-10-10 12:53:49 -05:00
Tim Potter
67638baabb r756: Handle default element in union.
(This used to be commit 1ece224c9a25731a8c392cf378968273c0072ecf)
2007-10-10 12:53:49 -05:00
Stefan Metzmacher
b340a61cb9 r755: - disallow process_model _thread when we don't have pwread/pwrite
and have to use the nonthreadsafe wrapper
- add pread/pwrite wrapper to ntvfs_simple
- fix const warning in ntvfs_simple

metze
(This used to be commit f0b2e42978a28204f497cccb07e407f409e3bf50)
2007-10-10 12:53:48 -05:00
Andrew Bartlett
92dd542aa0 r754: Implement the SetPassword operation on the netlogon pipe.
This involves allowing the password set code in samdb to take an
already hashed password, and some fixes to our torture code.

Andrew Bartlett
(This used to be commit f9f581b5804a20785df06cde157b23c952edc2ce)
2007-10-10 12:53:48 -05:00
Tim Potter
8b84f643bd r753: Big reorganisation of everything - also fixes handling of dissectors
for structures.

Instead of trying to parse everything to produce output in the right
order, generate parser in two steps: 1) gather information and register
names, fields, types etc.  2) generate output using data from step 1.
(This used to be commit 03863a2ca88c374e168d579e7e4f78877160215c)
2007-10-10 12:53:48 -05:00
Andrew Bartlett
6703be3ef0 r752: Remove debugging hack (make sure the cleanup test account after we
leave) and test that the password change actually worked.

Andrew Bartlett
(This used to be commit a93c70154ac7126a7d6e638dcfdeef49d2966308)
2007-10-10 12:53:48 -05:00
Andrew Bartlett
582ef8ea88 r751: Fix debug message to print the right variable.
Andrew Bartlett
(This used to be commit aa4b56a8736fb16134fae48165fe608912725895)
2007-10-10 12:53:48 -05:00
Tim Potter
d4fc084c81 r750: Rename global $name -> $module.
Start working on parsing structs.
(This used to be commit d162dcb52f96b1adfac7123201d31c07ee5c90d6)
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
0f3b182ba9 r749: move the basic type checks
be more restrict if we don't have 'long long' or it's size is less than 8 bytes

(maybe only for a while, but if the build farm like it we may let it in forever
since the smb protocol really need 64 bit variables!)

metze
(This used to be commit 4a13cc22b464dfc4cbecfa6922b14c60d95876bd)
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
a22c38d70a r748: get some more info about what the compilers in the build farm support
what we need is a test if the compiler does ANSI c99

metze
(This used to be commit e8a11e441b074f9dc1c7c24c9048f8927dac8e59)
2007-10-10 12:53:48 -05:00
Stefan Metzmacher
78aa17221b r747: report an failure in mkproto.pl via mkproto.sh to make
to fail directly...

metze
(This used to be commit bff8e39d3f302bb7fd6710d5e438188ad4747065)
2007-10-10 12:53:48 -05:00
Tim Potter
dc0228df6b r746: Add entry in proto tree when we don't handle an IDL type.
Start parsing for parsing unions, structs and enums.

Don't display field type in display name.
(This used to be commit e170d9c3dc5d7abcdba9af98f61f36bb118a96fd)
2007-10-10 12:53:47 -05:00
Andrew Bartlett
82306753e2 r745: Move netr_ServerPasswordSet up with the other secure channel
management functions, and make sure to include the fault until this is
no longer a stub.

Andrew Bartlett
(This used to be commit b886cb65f8d7b8b9f587d8a22d830938d4c6eb3e)
2007-10-10 12:53:46 -05:00
Tim Potter
0fae321bc0 r744: A bunch of minor fixes. The ethereal pidl parser now dissects simple
samr calls - only the ones that take policy handles and uint32s.
(This used to be commit d6e30faeec097822c9cdcc9e4270d0adc139cea8)
2007-10-10 12:53:46 -05:00