1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

6692 Commits

Author SHA1 Message Date
Tim Potter
31b91bfe4e Removed unused variable.
(This used to be commit c8c7da237dc17d9b785bc15b9b569caeeb6d283e)
2001-11-14 01:38:01 +00:00
Tim Potter
dc6688ab95 Reformatted to 75 columns.
Converted from DOS CRLF format (hmm).

Added suggestion about C vs C++ comments.
(This used to be commit 104899391cf75017ef8d14416e4558e81723d702)
2001-11-14 01:34:34 +00:00
Martin Pool
6bf5caff8b Add basic "make check" and "make installcheck" targets, using the
Satyr framework from the buildfarm.  This will eventually be copied
into the Samba source tree, but it is not yet.   See
cvs://samba.org:/data/cvs/satyr

Add "make showlayout" target to show where installation will put
things.
(This used to be commit 7b5b5693f4e374522a333e609b319b9c75bb4501)
2001-11-14 01:23:59 +00:00
Martin Pool
6654c29138 Cosmetic fix for libpopt-checking test.
(This used to be commit 87d27265a501da2aab04f655a6a086f2eead000d)
2001-11-14 01:18:41 +00:00
Jeremy Allison
35da7fae5e Look for DOMAIN\group in group lists and ask winbind.
Jeremy.
(This used to be commit 763fd1c78757ea640dd50ac72caf5ebbb465b3b9)
2001-11-13 22:49:50 +00:00
Jeremy Allison
c51f7bd4d0 Fix winbind client code so that winbind calls are not made if the
requested name does not have a winbind separator character. This
makes the intent explicit. Tim, contact me if this is not what
you indended.
Jeremy.
(This used to be commit 86b7cf7f85840316052ff29115bf55c04dc17486)
2001-11-13 21:28:31 +00:00
Steve French
0675d01a11 List of coding suggestions for submitters
(This used to be commit 98b9ff2dd89d2a12178b08f86f846b0875c7c150)
2001-11-13 19:23:29 +00:00
Gerald Carter
8061f8ae53 verified two new win2k rpc's EnumPrinterDataEx() and DeletePrinterdataEx()
(This used to be commit 253c5eadc21cdf2ea5a4c237d3b48e9df04c66a2)
2001-11-13 18:22:36 +00:00
Martin Pool
ec08b265de Fix typo.
(This used to be commit 33904decbcf858a5cf799429c17330b0fafd1da4)
2001-11-13 05:32:48 +00:00
Gerald Carter
59daf552d9 new Win2k spoolss rpc opnum (unknown right now).
(This used to be commit d636e73295343e5f3e44cbf61a63edaff8a243d1)
2001-11-13 04:10:40 +00:00
Jeremy Allison
b00b04ebc6 Formatting fixes only.
Jeremy.
(This used to be commit 27081355a97550b26c870907a471352a11921ffc)
2001-11-13 01:35:20 +00:00
Steve French
3ea2fd3a96 Minor fixes to help display, and domain enumeration , and also preparation for new command option
(This used to be commit 3623fbb4f0182b201d62491fa0680c29a4fd68e3)
2001-11-12 22:50:48 +00:00
Tim Potter
e5bd418963 Spelling fixes.
(This used to be commit 5c486bd28a5d4194b7cd50fd0fe3430d0d2eaa9b)
2001-11-12 20:14:18 +00:00
Jeremy Allison
a32754589a Don't check space on every extend if strict allocate not set.
Jeremy
(This used to be commit 9391efb38ef1847ed2c3b2734c1177830d64a247)
2001-11-12 02:03:44 +00:00
Simo Sorce
25f51f49b1 messed up with patches, this should be the right one,
sorry
(This used to be commit 023514a0b6170b1907696a2147ee44dc3aa4589d)
2001-11-12 01:31:43 +00:00
Jeremy Allison
22afba62c9 Fixed allocation bug in database prog. Some format fixes.
Jeremy.
(This used to be commit 9ff6b0c20cc88ef0bcd62a596fcb96f898b5b29d)
2001-11-12 01:00:54 +00:00
Simo Sorce
8424424471 some bugfix and new functions,
modified mangle.c to use mosltly acnv_????() functions.
this should make also build farm happy
(This used to be commit 8bb5cb27c2012b8967482255d48a1b48d3acd9db)
2001-11-12 00:53:34 +00:00
Andrew Bartlett
5abe3932cc Code duplication is bad. So add an add_signiture() function and just refernce
that.
(This used to be commit a82c8638576b2c2164eaf046aa529e233ffb71d6)
2001-11-12 00:08:30 +00:00
Andrew Bartlett
3d6154599a Kill off 'restrict anonymous' becouse it is useless in its current form.
To be replaced with a real restriction in consultation with jra.  (Hence why
I've not touched loadparm.c).

Andrew Bartlett
(This used to be commit 95901449158a4ef7f95f75b22f63f6f8d43a01fe)
2001-11-11 12:42:39 +00:00
Andrew Bartlett
989e0409ba Fix up some DEBUG()s
Add and fix comments

Add 'const' to some more input paramaters.
(This used to be commit 0c7eefcb5c5db63294d0584029e0d32cd1523e80)
2001-11-11 11:34:46 +00:00
Andrew Bartlett
5edc597786 Add back the not null checks in a better place.
Check the pdb_init_sam() for failure.
(This used to be commit 1808cd5210258bddc349f13a7bcf20a3f46aa672)
2001-11-11 11:18:45 +00:00
Andrew Bartlett
63a8a2ebe8 make sam_account_ok static.
remove rudundent  not null checks

fix indenting
(This used to be commit 3eada888fddb1f0cb7c0ed7037eb1c60e7988ad9)
2001-11-11 11:15:28 +00:00
Andrew Bartlett
2d07327a95 This extra check isn't needed, we can only get here if secuirty=domain
(This used to be commit 600d83e43f61eb138115731ce089ba42d63e0924)
2001-11-11 11:11:56 +00:00
Andrew Bartlett
e903a34b2e Minor updates. A small dose of const.
(This used to be commit 80667cb0dd1a2cdef17711c8580af9f524971cea)
2001-11-11 11:00:38 +00:00
Andrew Bartlett
e1cd195160 autoconf
(This used to be commit 1a60305f7a368bce16c9d6d989942670186dec72)
2001-11-11 10:42:41 +00:00
Andrew Bartlett
7de42a4faf Remove built-in support for clear-text kerberos authentication.
This should remove some confusion from the ./configure, but does not affect the
'real' kerberos support currently residing in smbd/sesssetup.c.

This code is vunerable to a spoofed KDC, and is best replaced by --with-pam and
the pam_krb5 module.  This module includes measures to prevent such spoofing.

Andrew Bartlett
(This used to be commit 3235880b41ee5dd5ef171195489fb9254f5d89b0)
2001-11-11 10:42:07 +00:00
Simo Sorce
5d152d24a3 fixed, moved and added some functions
note the useful acnv_uxu2 and acnv_u2ux functions in charcnv.c
(This used to be commit 64dde3b64fc091cda95fc4ed145595b5d79b2e01)
2001-11-10 15:21:54 +00:00
Jeremy Allison
461641d0de Use defined constants not integers.
Jeremy.
(This used to be commit d20949fe509c1496bc434f0fbf403f0b69ab9954)
2001-11-10 01:49:50 +00:00
Volker Lendecke
89c6eed93b As pdb_ldap.c does not compile in HEAD anyway, a not-compiled merge
from 2_2.

Volker
(This used to be commit 7d70b30dbdf06de126b78879fc89708ca335f91e)
2001-11-09 22:15:33 +00:00
Gerald Carter
e3abad1741 Fixed a few typos and added the opnum for ADDPRINTERDRIVEREX to the
rpc_spoolss.h header file.
(This used to be commit d4cafc076be99a66d0660f695995801b4f1d7bfd)
2001-11-09 20:59:18 +00:00
Jeremy Allison
67f5bea484 Fixup __LPID -> _LPID.
Jeremy.
(This used to be commit ab607cdf153d9187fe50af3377ece5a9fafde1b1)
2001-11-09 20:34:12 +00:00
Andrew Bartlett
395aa946cd This change updates lp_guestaccount() to be a *global* paramater, rather than
per-share.  I beleive that almost all the things that this could have done on
a per-share basis can be done with other tools, like 'force user'.

Almost all the user's of this paramater used it as a global anyway...

While this is one step at a time, I hope it will allow me to considerably
simplfy the make_connection() code, particularly for the user-level security
case.

This already removes an absolute truckload of extra attempted password lookups
on the guest account.

Andrew Bartlett
(This used to be commit 8e708332eded210c1d1fe0cebca3c9c19f054b71)
2001-11-09 11:16:06 +00:00
Andrew Tridgell
50093d3bbd fix the tree so it compiles again
grumble, mumble, ...
(This used to be commit 72c1af6f8d9893dd5b8b4d105b301d8c621749c6)
2001-11-09 02:44:49 +00:00
Tim Potter
e91226daea Removed #ifdef TDB_DEBUG around tdb_dump_all() and tdb_printfreelist()
so that tdbtool can be compiled without having to make clean.
(This used to be commit dad688d8c6b3c98173a846ad833599a4016d2e1a)
2001-11-09 01:26:13 +00:00
Andrew Bartlett
55dfb66079 Change to guest logon code.
This changes the way we process guest logons - we now treat them as normal
logons, but set the 'guest' flag.  In particular this is needed becouse Win2k
will do an NTLMSSP login with username "", therefore missing our previous guest
connection code - this is getting a pain to do as a special case all over the
shop.

Tridge:  We don't seem to be setting a guest bit for NTLMSSP, in either the
anonymous or authenticated case, can you take a look at this?

Also some cleanups in the check_password() code that should make some of the
debugs clearer.

Various other minor cleanups:

 - change the session code to just take a vuser, rather than having to do a
   vuid lookup on vuser.vuid

 - Change some of the global_client_caps linking

 - Better debug in authorise_login(): show the vuid.

Andrew Bartlett
(This used to be commit 62f4e4bd0aef9ade653b3f8d575d2864c166ab4d)
2001-11-08 22:19:01 +00:00
Tim Potter
f56a3ea612 Fixed incorrect debug message. )-:
(This used to be commit a99d9cec7e090736ab49c91720cfd2b43e2a6f00)
2001-11-08 04:41:13 +00:00
Martin Pool
fea97ecd7c spoolss_io_devmode private data is binary and should be shown in hex,
not ascii.
(This used to be commit be5d32eb9c58bb1911299d095efcf230d50ed590)
2001-11-08 03:12:22 +00:00
Jeremy Allison
c517caf305 Only 1mb allocate slop.
Jeremy.
(This used to be commit c339a99a891c9e4bbad59ee1243908c91f048834)
2001-11-08 02:17:03 +00:00
Jeremy Allison
00404139e1 Merge overdue changes from 2.2. Fix <4gb write problem.
Jeremy.
(This used to be commit 36ea09d3a041fab0854dfdc20f6ea8db7ccbec2e)
2001-11-08 01:49:57 +00:00
Jeremy Allison
04a0293601 Added more define bits. Fixed error in vol attributes.
Jeremy.
(This used to be commit eba8204bfadb176fafb686a35295a09f0f35b894)
2001-11-08 00:21:26 +00:00
Jeremy Allison
3343d0281d Added debug in truncate, fixed warning with gcc3.
Jeremy.
(This used to be commit 970ec14b4ba1ccf66820384ced8442e1878c09cd)
2001-11-07 23:47:20 +00:00
Steve French
2113e2ba08 Add function to add those hosts who have added msbrowse (domain master browsers)
(This used to be commit 3fd96a47543c268fd2828793df4006cc47a9e95b)
2001-11-07 23:01:44 +00:00
Tim Potter
823ab98ae3 Added delheaders as a dependency for clean.
(This used to be commit cd9334bd57cd7f544aba0b642c8190d608add7b9)
2001-11-07 22:38:03 +00:00
Simo Sorce
5a91b271f6 add convert_string_allocate() function
(This used to be commit 8b494b0be323c983b7ea3d1dcf1f61216396caec)
2001-11-07 18:14:46 +00:00
Andrew Bartlett
aa0ceb1255 UGLY HACK to get machines to join tdbsam domains again.
The problem is that we don't use the bitmap field, and so have to guess what
feilds to change.  NT4 sets the RID to NULL in its reply, (as a no-change
value) and we were attempting to set that as a RID.

jfm:  Can you get me the info on that bitmap, so I can construct a proper fix
to all this?

Thanks!
(This used to be commit 39f9c78d07d7af6abc71b33a6018ac0237608b6a)
2001-11-07 08:15:45 +00:00
Andrew Bartlett
848d01cde5 Initilising these variables before appending the domain groups to them
(This used to be commit 8004cfea19e10ad942c59f2f6a6bd992791017ba)
2001-11-07 02:16:22 +00:00
Jeremy Allison
bdd5c8bd56 Fixed unsigned / long unsigned format missmatch.
Jeremy
(This used to be commit 86c2f9636635283beb8e496315a7bfac881355dd)
2001-11-06 22:07:04 +00:00
Jim McDonough
806c951344 Internationalization enbalement for net utility - replace printf with d_printf
(This used to be commit b83b21e9ca364a097455c119815074f23324111d)
2001-11-06 16:28:50 +00:00
Tim Potter
fbc4e1daba Fixed looking up domain (winbind) users ahead of local users in
domain_client_validate()
(This used to be commit df0db8edb12dc8b8d290e5ac599fa7b517e9d263)
2001-11-05 23:00:46 +00:00
Tim Potter
ade911c1c6 Removed totally annoying verbose debug in sid_to_string()
(This used to be commit 4f21ddb8737d3f72a84465d3384351ccd2b07d15)
2001-11-05 22:57:14 +00:00