Jeremy Allison
39a572e010
r13539: Add 128 bit creds processing client and server. Thanks to Andrew Bartlett's
...
Samba4 code.
Jeremy.
(This used to be commit a2fb436fc5
)
2007-10-10 11:10:11 -05:00
Jeremy Allison
c7aad1deea
r13538: Make sure we store all 16 bytes of credentials session
...
key and delete records that are old. We will need this
for the full 16 byte session key support.
Jeremy.
(This used to be commit cef240d571
)
2007-10-10 11:10:11 -05:00
Jeremy Allison
eca035db9a
r13535: Fix #2353 based on a patch by William Jojo.
...
Jeremy.
(This used to be commit fe63a6ee06
)
2007-10-10 11:10:11 -05:00
Jeremy Allison
cde2a30d8e
r13530: Fix from William Jojo for #1970 . Make nmblookup do
...
a node status on all IP's when requested.
Jeremy.
(This used to be commit 1fcac478cb
)
2007-10-10 11:10:10 -05:00
Lars Müller
406f5c051f
r13529: No functional, line break changes to let it fit into 80 chares screen
...
width again.
(This used to be commit 7716c69729
)
2007-10-10 11:10:10 -05:00
Lars Müller
825f09e14e
r13528: Mention the tools and commandline option names used.
...
(This used to be commit 5db7e9a42a
)
2007-10-10 11:10:10 -05:00
Lars Müller
f2a6eeaae9
r13527: Adjust copyright header with information got from the 2.2 cvs tree.
...
(This used to be commit e00505cc94
)
2007-10-10 11:10:10 -05:00
Lars Müller
2f46c8baae
r13526: Remove superfuous extra spaces at EOL.
...
(This used to be commit 66990adfac
)
2007-10-10 11:10:10 -05:00
Lars Müller
b1002863e7
r13525: This is only a cleanup to have the memset() and SAFE_FREE() only one
...
time in the code.
Even if we now have an additional if statement after the free I prefer
this solution in opposite to the duplicated code we had before.
(This used to be commit 4272419b11
)
2007-10-10 11:10:10 -05:00
Lars Müller
394d1aeb8e
r13524: Add -t|--password-from-stdin option to pdbedit as we had with Samba 2.2.
...
This fixes bug #1386 .
The initial changes had been made by Carsten Höger <choeger at
open-xhange dot com> for Samba 2.2 while being at SuSE. *sigh*
To not duplicate code from smbpasswd in pdbedit stdin_new_passwd() and
get_pass() are moved from smbpasswd to utils/passwd_util.c.
(This used to be commit dbdc5ba497
)
2007-10-10 11:10:10 -05:00
Günther Deschner
ee078e61a6
r13523: Fix indent.
...
Guenther
(This used to be commit 85435bf961
)
2007-10-10 11:10:09 -05:00
Günther Deschner
6a6f2463f6
r13522: Add SAMR_GET_USRDOM_PWINFO client-side.
...
Guenther
(This used to be commit 290a581b75
)
2007-10-10 11:10:09 -05:00
Jeremy Allison
8d5ef34aa3
r13521: Implement LOOKUPNAME3 and 4.
...
Jeremy.
(This used to be commit 6ec0e9124a
)
2007-10-10 11:10:09 -05:00
Jeremy Allison
3e4cf56fa3
r13519: Fix the credentials chaining across netlogon pipe disconnects.
...
I mean it this time :-).
Jeremy.
(This used to be commit 80f4868944
)
2007-10-10 11:10:09 -05:00
Volker Lendecke
2f2ab29cc1
r13517: Fix typo -- thanks to Karolin Seeger <ks@sernet.de>
...
(This used to be commit d0efb435e5
)
2007-10-10 11:10:09 -05:00
Gerald Carter
a26167041f
r13515: Make sure to store the correct domain name in the server affinity cache.
...
(This used to be commit a918e4ac24
)
2007-10-10 11:10:09 -05:00
Gerald Carter
28d12c3b9d
r13513: Changing defaults:
...
* enable privileges = yes
* enable asu support = no
Remove unused function after the tdbsam rewrite.
(This used to be commit 5385a01ee1
)
2007-10-10 11:10:08 -05:00
Gerald Carter
ab4fa1958f
r13512: Rewrite tdbsam code to use a reference count based open/close
...
on the tdb file. This allow recusive calls to succeed
without complaining about failed opens since a tdb can
only be opened once per process. We probably still need to backport
the transaction support from Samba 4 here though.
(This used to be commit 94c37e0652
)
2007-10-10 11:10:08 -05:00
Gerald Carter
87d23f263f
r13511: Fix bug in the samr dispinfo enumeration code.
...
Make sure to associate the DOMAIN dispinfo cache
with a User/Group SAMR handle (not the SID of the user or group).
Ensure that enumeration after deleting a user works.
(This used to be commit 7967f89caa
)
2007-10-10 11:10:08 -05:00
Gerald Carter
fbe02a6021
r13510: plug memory leak in WINS server code.
...
(This used to be commit 381c327a65
)
2007-10-10 11:10:08 -05:00
Gerald Carter
04af2ab06e
r13509: remove unnecessary sql flags
...
(This used to be commit c3702e804a
)
2007-10-10 11:10:08 -05:00
Jeremy Allison
8189bb6e4c
r13502: Fix error messages for usershares when smbd is not
...
running. More generic error return cleanup in libsmb/
needs doing (everything returning NTSTATUS not BOOL).
Jeremy
(This used to be commit 654bb9853b
)
2007-10-10 11:10:07 -05:00
James Peach
0c0ce531a8
r13500: Fix ordering of FD_* arguments.
...
(This used to be commit ed619421de
)
2007-10-10 11:10:07 -05:00
Jeremy Allison
5c149702b0
r13498: Fix the kernel oplocks code for IRIX. Should fix #3515 .
...
Jeremy.
(This used to be commit 006cf9c365
)
2007-10-10 11:10:07 -05:00
Jeremy Allison
7f7c9849e4
r13497: Fix #3508 from jason@ncac.gwu.edu
...
Jeremy.
(This used to be commit a28bc614a0
)
2007-10-10 11:10:07 -05:00
Günther Deschner
c9b5c9b941
r13495: Derell, I'm removing that double setup_logging(), just a typo.
...
Guenther
(This used to be commit c0d91f9d19
)
2007-10-10 11:10:06 -05:00
Volker Lendecke
301d51e13a
r13494: Merge the stuff I've done in head the last days.
...
Volker
(This used to be commit bb40e544de
)
2007-10-10 11:10:06 -05:00
Volker Lendecke
3b67210eec
r13493: module_name and module_location are the same string. Fix a valgrind
...
error.
Volker
(This used to be commit 5a92df31d6
)
2007-10-10 11:10:06 -05:00
Günther Deschner
f0ed0440c4
r13492: As noone objected on the mailing-list:
...
Fix parse_domain_user to fail when splitting a full name like "DOM\user"
when "winbind use default domain" and "winbind trusted domains only" are
not enabled.
This allows pam_winbind to behave correctly when more modules are
stacked in the "account" or "password" PAM facility. pam_winbindd calls
WINBINDD_GETPWNAM which can decide whether or not a user is a winbind
user and return correct PAM error codes.
Guenther
(This used to be commit e6d52c1e9d
)
2007-10-10 11:10:06 -05:00
Jeremy Allison
6791180b81
r13491: Fix bug # 3498 from jason@ncac.gwu.edu. Unsigned comparison
...
with < 0.
Jeremy.
(This used to be commit 9a08383707
)
2007-10-10 11:10:06 -05:00
Jeremy Allison
3df82f57fc
r13489: Fix #3496 from jason@ncac.gwu.edu. Variable set but never used.
...
Jeremy.
(This used to be commit 4204794cc7
)
2007-10-10 11:10:06 -05:00
Volker Lendecke
7461a457d1
r13486: Two more -- fix bug 3503
...
(This used to be commit 62b02a6843
)
2007-10-10 11:10:05 -05:00
James Peach
8d1b17f50e
r13484: Add missing semi-colon.
...
(This used to be commit a78d94f539
)
2007-10-10 11:10:05 -05:00
James Peach
8fbdd112b2
r13482: Push the FAM notification file descriptor into the select
...
set to avoid unnecessary polling.
(This used to be commit 1dce945ccb
)
2007-10-10 11:10:05 -05:00
Volker Lendecke
71247a2f05
r13477: Fix code before declaration
...
(This used to be commit c15f1d553f
)
2007-10-10 11:10:05 -05:00
Jeremy Allison
d3196b85c9
r13475: Fix erroneous initialization caused by my renaming types.
...
Jeremy.
(This used to be commit e8e2fc79b4
)
2007-10-10 11:10:05 -05:00
Jeremy Allison
d672d8fd6b
r13473: Back port r13470, r13471, r13472 from Samba4. Thanks Andrew:
...
-----------------------------------
Thanks to a report from VL:
We were causing mayhem by weakening the keys at the wrong point in time.
I think this is the correct place to do it. The session key for SMB
signing, and the 'smb session key' (used for encrypting password sets)
is never weakened.
The session key used for bulk data encryption/signing is weakened.
This also makes more sense, when we look at the NTLM2 code.
Andrew Bartlett
-----------------------------------
With more 'try all options' testing, I found this 'simple' but in the
NTLM2 signing code.
Andrew Bartlett
-----------------------------------
After Volker's advise, try every combination of parameters. This
isn't every parameter on NTLMSSP, but it is most of the important
ones.
This showed up that we had the '128bit && LM_KEY' case messed up.
This isn't supported, so we must look instead at the 56 bit flag.
Andrew Bartlett
-----------------------------------
We should now try retesting with NT4. This should be standalone
enough to port into a SAMBA_3_0_RELEASE branch fix.
Jeremy.
(This used to be commit b9b8cd1752
)
2007-10-10 11:10:05 -05:00
Gerald Carter
75ef18fa75
r13460: by popular demand....
...
* remove pdb_context data structure
* set default group for DOMAIN_RID_GUEST user as RID 513 (just
like Windows)
* Allow RID 513 to resolve to always resolve to a name
* Remove auto mapping of guest account primary group given the
previous 2 changes
(This used to be commit 7a2da5f0cc
)
2007-10-10 11:10:04 -05:00
Jeremy Allison
85160e654e
r13458: Add parsing functions - but stub internals for lookupnames3 and 4.
...
Jeremy.
(This used to be commit f1a362580a
)
2007-10-10 11:10:04 -05:00
Jeremy Allison
785c78b795
r13456: Add lsa_lookup_names2.
...
Jeremy.
(This used to be commit b57406c89f
)
2007-10-10 11:10:04 -05:00
Jeremy Allison
e22d38bdde
r13455: Prepare to add lookupnames2.
...
Jeremy.
(This used to be commit 2274709587
)
2007-10-10 11:10:04 -05:00
Günther Deschner
f0a6a004f3
r13451: Fix build warning.
...
Guenther
(This used to be commit d27771ca1d
)
2007-10-10 11:10:04 -05:00
Jeremy Allison
acc4a837aa
r13449: Ensure we don't crash if no dc struct on pipe.
...
Jeremy.
(This used to be commit a9e1d0f3b4
)
2007-10-10 11:10:04 -05:00
Günther Deschner
8675ab8787
r13448: Fix the build (again).
...
Guenther
(This used to be commit 7eacb47660
)
2007-10-10 11:10:03 -05:00
Jeremy Allison
06cf1e18e5
r13447: Added LSA_LOOKUPSIDS2 and LSA_LOOKUPSIDS3.
...
Jeremy.
(This used to be commit a164cfab42
)
2007-10-10 11:10:03 -05:00
Günther Deschner
a48f4e832f
r13445: We already made the decision whether to include the dominfo and
...
changereject.
Guenther
(This used to be commit 98d3c63e04
)
2007-10-10 11:10:03 -05:00
Günther Deschner
72b30eba64
r13444: Add REJECT_REASON_OTHER for samr_chgpasswd_user3
...
Guenther
(This used to be commit 58baf718be
)
2007-10-10 11:10:03 -05:00
Günther Deschner
fbf45d8ce9
r13443: Fix the build.
...
Guenther
(This used to be commit 40a21776a7
)
2007-10-10 11:10:03 -05:00
Günther Deschner
e83c7d0141
r13442: Implement samr_chgpasswd_user3 server-side.
...
Guenther
(This used to be commit f60eddc0a4
)
2007-10-10 11:10:03 -05:00
Jeremy Allison
e493d32912
r13439: Fix NET_SAM_LOGON_EX.
...
Jeremy.
(This used to be commit 9437ffc84f
)
2007-10-10 11:10:02 -05:00
Jeremy Allison
e19ae28581
r13436: Add in NET_SAM_LOGON_EX. Still needs testing.
...
Jeremy
(This used to be commit f58d0ebf74
)
2007-10-10 11:10:02 -05:00
Jeremy Allison
4d2b4c92d2
r13434: Add stub for NET_SAM_LOGON_EX.
...
Jeremy.
(This used to be commit 58544eb3c8
)
2007-10-10 11:10:02 -05:00
Jeremy Allison
74bc039f1e
r13433: Get ready to implement NET_SAM_LOGON_EX.
...
Jeremy.
(This used to be commit 666b03b4a9
)
2007-10-10 11:10:01 -05:00
Jeremy Allison
e5ec28ae55
r13427: Fix ctime -> st_ctime.
...
Jeremy.
(This used to be commit 95793d7e64
)
2007-10-10 11:10:01 -05:00
James Peach
457e6ac043
r13425: Revert all the "clever" compiler options checks. They broke
...
the build on Solaris, AIX and S390. The fundamental problem is
that macros like AX_CFLAGS_IRIX_OPTION can spuriously succeed.
(This used to be commit 30122f61c3
)
2007-10-10 11:10:01 -05:00
James Peach
e2ad693d03
r13424: Don't attempt to use cc -O2. This breaks the solaris build.
...
(This used to be commit 341d554e2f
)
2007-10-10 11:10:01 -05:00
Jeremy Allison
687e5be25e
r13423: Write wrapper functions (and configure tests) so we can
...
always assume we can get a struct timespec out of a stat
struct. This will allow us to portably move to nsec timestamps
on files and directories in the file server code in future.
Jeremy.
(This used to be commit 07132d8796
)
2007-10-10 11:10:01 -05:00
James Peach
e97ad44d55
r13420: Support profile-guided optimisation in the build system. This is
...
implemented for gcc 3.x, gcc 4.x and MIPSPro compilers.
(This used to be commit 5e57021723
)
2007-10-10 11:10:01 -05:00
James Peach
e6d847d8c4
r13418: Formalise support for checking compiler options.
...
(This used to be commit eb3ba826ef
)
2007-10-10 11:10:00 -05:00
Lars Müller
34352fe039
r13417: Add .2 to the SONAME as version suffix if we link the nss modules on
...
linux.
Heads up: This might be required on other OS using glibc too.
(This used to be commit b28e43427b
)
2007-10-10 11:10:00 -05:00
Lars Müller
45f2e5997b
r13416: Remove superfluous -lc while linking libnss_wins.so and pam_winbind.so.
...
(This used to be commit e64134a859
)
2007-10-10 11:10:00 -05:00
Jeremy Allison
30e47fdfe2
r13412: Don't use arbitrary uint32 size for uid and gid storage. Use
...
correct system size. Fixed a bug that was accidentally introduced
by use of uint32 - uid was stored twice, not uid and gid.
Jeremy.
(This used to be commit 89db006997
)
2007-10-10 11:10:00 -05:00
Günther Deschner
c1ffb8d9bc
r13410: Dump a netbootGUID as a GUID.
...
Guenther
(This used to be commit 9b19a68456
)
2007-10-10 11:09:59 -05:00
Günther Deschner
2d743ac8f1
r13409: No functional changes, just some DEBUG cleanup.
...
Guenther
(This used to be commit 286f6fc233
)
2007-10-10 11:09:59 -05:00
Günther Deschner
ae25f82ac2
r13408: Remove C++ comments (# 3494)
...
Guenther
(This used to be commit cf86d4c9f0
)
2007-10-10 11:09:59 -05:00
Jeremy Allison
ad8b47a2ba
r13407: Change the credentials code to be more like the Samba4 structure,
...
makes fixes much easier to port. Fix the size of dc->sess_key to
be 16 bytes, not 8 bytes - only store 8 bytes in the inter-smbd
store in secrets.tdb though. Should fix some uses of the dc->sess_key
where we where assuming we could read 16 bytes.
Jeremy.
(This used to be commit 5b3c2e63c7
)
2007-10-10 11:09:59 -05:00
Jeremy Allison
cf7c47aac9
r13399: Get closer to passing RPC-SCHANNEL test.
...
Jeremy.
(This used to be commit 8ae70122b7
)
2007-10-10 11:09:59 -05:00
Jeremy Allison
86358fc10b
r13396: Add in userinfo26, re-enable userinfo25 - took the knowledge
...
from Samba4 on how to decode the 532 byte password buffers.
Getting closer to passing samba4 RPC-SCHANNEL test.
Jeremy.
(This used to be commit 205db6968a
)
2007-10-10 11:09:59 -05:00
Volker Lendecke
1e68cce96d
r13394: Fix rpcclient to obey the -W parameter. Not that I *like* the smbclient
...
solution, but it does this particular job... :-)
Volker
(This used to be commit df6d67cd10
)
2007-10-10 11:09:58 -05:00
Gerald Carter
ef3f2c9675
r13393: Do not initialize the lp_svcctl_list() value since it is handled
...
internally in services_db.c now. This prevents internal services from
being listed twice (one internal and one external) when no
'svcctl list' parameter is explcitly set in smb.conf
(This used to be commit 6c4ede6cee
)
2007-10-10 11:09:58 -05:00
Günther Deschner
d5c5c856ae
r13391: Only fall into password change when ACB_PWNOEXP is not set
...
(got it wrong the first time as administrator has this flag set by
default).
Guenther
(This used to be commit e9ccebf45a
)
2007-10-10 11:09:58 -05:00
Volker Lendecke
7fc2c0befb
r13389: get_ldap_filter is only used once, make it static
...
(This used to be commit d3b66fb871
)
2007-10-10 11:09:58 -05:00
Jeremy Allison
1b14d3b697
r13386: Fix parsing of SAMR_Q_CONNECT_ANON.
...
Jeremy.
(This used to be commit 6f8334ad31
)
2007-10-10 11:09:58 -05:00
Gerald Carter
a988be716b
r13384: Adding in some more SuSE patches
...
* uninitialized-variables.diff
* samba-smbadduser.diff
* samba-implicit_decl.patch
(This used to be commit 064338c6f5
)
2007-10-10 11:09:57 -05:00
Gerald Carter
4379662d91
r13383: pulling in swat-welcome patch from SuSE packaging
...
(This used to be commit 1b955bbf59
)
2007-10-10 11:09:57 -05:00
Gerald Carter
f351b9c6eb
r13382: added server affinity cache stores for 'net rpc join' and trusted domain code
...
(This used to be commit 9eb743584d
)
2007-10-10 11:09:57 -05:00
Volker Lendecke
845e49bdab
r13379: Andrew correctly noted that this breaks -s. Not sure what to do...
...
(This used to be commit 5f9f772c25
)
2007-10-10 11:09:57 -05:00
Volker Lendecke
b2d98799e6
r13378: Not sure what this breaks, but we have to do the popt processing after the
...
lp_load, because otherwise the lp_load overwrites the -W setting again.
Volker
(This used to be commit c7cc625d63
)
2007-10-10 11:09:57 -05:00
Günther Deschner
3ad6e4d279
r13377: Fix from Volker: Make offline authentication work with NT4 as well
...
(handle no ACB_NORMAL flag and save name2sid as early as possible).
Guenther
(This used to be commit a04a5e40b7
)
2007-10-10 11:09:57 -05:00
Günther Deschner
9cdab6ddc0
r13375: Match XP behaviour: Don't force 'Administrator' to change an expired
...
password on logon. (this might be true for all domain admins as well).
Guenther
(This used to be commit 24c6b9fecb
)
2007-10-10 11:09:56 -05:00
Simo Sorce
0b09d4b2f6
r13374: new revision of the snprintf replace code
...
still missing a configure test to make us
substitute our snprintf to system one when
the system one does not have positional parameters support
(This used to be commit e9bcc24b13
)
2007-10-10 11:06:27 -05:00
Volker Lendecke
de0337163f
r13371: Remove an unused function
...
(This used to be commit dde8322b5c
)
2007-10-10 11:06:26 -05:00
Jeremy Allison
616fea56e7
r13368: I must write out 1000 times, "Don't use C++ reserved words..."
...
Jeremy.
(This used to be commit b1ebc12b50
)
2007-10-10 11:06:26 -05:00
James Peach
65a2800734
r13364: Continue not enabling valgrind on 64-bit Linux (see also rev 8510).
...
(This used to be commit 13766b03e8
)
2007-10-10 11:06:26 -05:00
Tim Potter
32f0fa59c0
r13363: Honour the $(DESTDIR) Makefile variable when installing Python
...
extensions. Fix from Vladimir Lettiev.
(This used to be commit 7ca75d9060
)
2007-10-10 11:06:26 -05:00
Volker Lendecke
aa2e8f6b2c
r13351: Fix copyright
...
(This used to be commit 70114f509c
)
2007-10-10 11:06:26 -05:00
Volker Lendecke
da979c9e7e
r13350: Implement rpccli_samr_set_domain_info. Weird that it was not around :-)
...
Implement 'net rpc shell account' -- An editor for account policies
nt_time_to_unix_abs changed its argument which to me seems wrong, and I could
not find a caller that depends on this. So I changed it. Applied some more
const in time.c.
Volker
(This used to be commit fc73690a70
)
2007-10-10 11:06:26 -05:00
Volker Lendecke
74f32df289
r13338: Remove the experimental pdb modules
...
(This used to be commit a3bc4f5114
)
2007-10-10 11:06:25 -05:00
Volker Lendecke
4c4b5de4c8
r13337: Attempt to fix the AIX build
...
(This used to be commit b129b4f94f
)
2007-10-10 11:06:25 -05:00
Jeremy Allison
7f5e36df8d
r13331: No I didn't have to change the interface version...
...
Jeremy.
(This used to be commit 2aed5b3640
)
2007-10-10 11:06:25 -05:00
Jeremy Allison
40d3c7ebb2
r13329: Fix libsmbsharemodes.so to work with the stored delete token.
...
Less trouble than I thought plus it didn't need an interface
change (thank goodness !).
Jeremy.
(This used to be commit dbe2572d1c
)
2007-10-10 11:06:25 -05:00
Jeremy Allison
2268658171
r13322: Fix warning time_t != int.
...
Jeremy.
(This used to be commit 6196446a03
)
2007-10-10 11:06:24 -05:00
Gerald Carter
43526112a3
r13318: remove an unused file
...
(This used to be commit 5d373133cb
)
2007-10-10 11:06:24 -05:00
Gerald Carter
0af1500fc0
r13316: Let the carnage begin....
...
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed
)
2007-10-10 11:06:23 -05:00
Jeremy Allison
21a30a1346
r13314: This code has been causing problems since 1.9.x I think.
...
Remove check_for_pipe() - Volker was completely correct.
If it gets re-added it will be in a old open call path, not
in the generic code path.
Jeremy.
(This used to be commit 50c894a6e9
)
2007-10-10 11:06:23 -05:00
Gerald Carter
855e02f164
r13310: first round of server affinity patches for winbindd & net ads join
...
(This used to be commit 6c3480f9ae
)
2007-10-10 11:06:23 -05:00
Volker Lendecke
989c9311c5
r13309: If the sid in the winbind name2sid cache is not valid (NT_STATUS_NONE_MAPPED),
...
we have S-0-0 as a SID in the cache. This leads to ugly level 0 messages from
string_to_sid. Avoid them.
Volker
(This used to be commit d62da3e987
)
2007-10-10 11:06:23 -05:00
Jeremy Allison
66d5a32d9c
r13299: From testing W2K3 and W2K the delete on close bit seems to be always
...
honored (ie. the file gets deleted) for derectories when set at open
time - even though it doesn't show in the qfileinfo call. This is not
true of files.... (if anyone from the EU is listening, it's stuff like
this that makes CIFS non-documentable :-).
Jeremy.
(This used to be commit e2fc8a196a
)
2007-10-10 11:06:22 -05:00
Jeremy Allison
466230e5a1
r13294: Fix basic delete on close tests - don't forget to tell
...
the data struct how big the token is... :-).
Jeremy.
(This used to be commit f259de8b69
)
2007-10-10 11:06:21 -05:00
Jeremy Allison
d14af63e6a
r13293: Rather a big patch I'm afraid, but this should fix bug #3347
...
by saving the UNIX token used to set a delete on close flag,
and using it when doing the delete. libsmbsharemodes.so still
needs updating to cope with this change.
Samba4 torture tests to follow.
Jeremy.
(This used to be commit 23f16cbc2e
)
2007-10-10 11:06:21 -05:00
Volker Lendecke
206cbff8b7
r13291: NT checks the minimum password age dynamically. That means we have to ignore
...
the sambapwdmustchange field if we can access the corresponding account
policy and calculate it dynamically based on the pwdlastset field.
Volker
(This used to be commit b02b1d3ef3
)
2007-10-10 11:06:21 -05:00
Jeremy Allison
86c9bac4c3
r13274: Fix for bug #3467 . Not a show stopper.
...
jason qian <jason@infrant.com> was a *fantastic*
help in tracking this down.
Jeremy.
(This used to be commit 9f4a9c70fa
)
2007-10-10 11:06:20 -05:00
Jeremy Allison
0e551cd5a2
r13262: Arrgggg. Fix smbstatus and swat status to ignore
...
bloody placeholder share mode entries (I hate
these - I've had to add this filter code now to too
many places :-).
Jeremy.
(This used to be commit 815340e1a4
)
2007-10-10 11:06:20 -05:00
Jeremy Allison
a2cfc56bef
r13260: Fix stupid bug Volker found for big-endian machines.
...
Jeremy.
(This used to be commit 31903cf25d
)
2007-10-10 11:06:20 -05:00
Lars Müller
5256cacd3b
r13257: Fix python build with older python versions (e.g. 2.2.1) like in United Linux 1 (UL) aka SuSE Linux Enterprise Server (SLES) 8.
...
(This used to be commit 4602cb5f53
)
2007-10-10 11:06:20 -05:00
Jeremy Allison
4699d4741d
r13238: Fix from Qiao Yang <qyang@stbernard.com> to ensure we
...
always update the failed time when we are adding a failed
connection.
Jeremy.
(This used to be commit 6f5af1dd41
)
2007-10-10 11:06:19 -05:00
Gerald Carter
d75dc6fa20
r13233: build fixes for smbmnt; remove unused variable; ready to ship 3.0.21b now
...
(This used to be commit 51fe6bd845
)
2007-10-10 11:06:19 -05:00
Gerald Carter
d44ad56879
r13232: defensive programming in an attempt to prevent crashes due to a PDC rebooting
...
(This used to be commit 9947943833
)
2007-10-10 11:06:19 -05:00
Gerald Carter
8724ea7ef5
r13231: apparently strncat() is converted to strcat() on RH7.3 and similar systems. Fix the build on those boxes
...
(This used to be commit 0b8ed8136b
)
2007-10-10 11:06:19 -05:00
Gerald Carter
7de55b30b7
r13229: * fix bad comparison caught by the AIX compiler in wbinfo code
...
* update output from mkversion.sh to include the SAMBA_VENDOR_PATCH
(This used to be commit 485f037094
)
2007-10-10 11:06:19 -05:00
Simo Sorce
99fc191d51
r13224: better to cast the return too
...
(This used to be commit c068df483f
)
2007-10-10 11:06:19 -05:00
Simo Sorce
6c58244def
r13222: Never assume mode_t is of type int.
...
We were trashing the stack on machines that define mode_t as uint16_t
(This used to be commit 6c15af31bc
)
2007-10-10 11:06:18 -05:00
Derrell Lipman
7ed3868780
r13216: r12422@cabra: derrell | 2006-01-28 23:57:35 -0500
...
Fix cli_setpathinfo() to actually do what it's supposed to.
Also, get rid of some apparently drug-induced code to deal with create time
which isn't being manipulated anyway.
(This used to be commit aa25dc1248
)
2007-10-10 11:06:18 -05:00
Derrell Lipman
c9811b857a
r13214: r12420@cabra: derrell | 2006-01-28 19:10:58 -0500
...
This should fix bug #3446 .
- The authentication domain provided an an SMB URL was being ignored. This
patch fixes that.
- There were a number of places where string copies were not being confirmed to
be properly null-terminated. Now, all string copies in libsmbclient.c are
properly null-terminated.
(This used to be commit 5fbc2fbb46
)
2007-10-10 11:06:18 -05:00
Derrell Lipman
9c15bd311d
r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
...
lp_load() could not be called multiple times to modify parameter settings based
on reading from multiple configuration settings. Each time, it initialized all
of the settings back to their defaults before reading the specified
configuration file.
This patch adds a parameter to lp_load() specifying whether the settings should
be initialized. It does, however, still force the settings to be initialized
the first time, even if the request was to not initialize them. (Not doing so
could wreak havoc due to uninitialized values.)
(This used to be commit f2a24de769
)
2007-10-10 11:06:18 -05:00
Volker Lendecke
ba611cb036
r13211: Fix remote password changing if password must change is set
...
The problem was that the ntlmssp bind silently failed in that case, we have to
do it anonymously. Or does anybody have a better idea?
Give a better error message if something else is wrong with the account.
Volker
(This used to be commit 0e24c701ce
)
2007-10-10 11:06:18 -05:00
Volker Lendecke
b2e8358b3d
r13209: Make smbpasswd -a work again if passdb did not exist.
...
Volker
(This used to be commit e747ea7250
)
2007-10-10 11:06:17 -05:00
Volker Lendecke
5fa89783ab
r13202: Fix the build for --with-aio-support. Sorry.
...
Jeremy, configure.in decides whether aio support works quite early in the
sequence of checks. Wouldn't it be better to only use aio support if really
all necessary functions actually are around?
Volker
(This used to be commit 246b5b4356
)
2007-10-10 11:06:17 -05:00
Jeremy Allison
bd34c2ac25
r13198: Fix issues exposed by Jerry's testing on 64-bit Solaris
...
(I hope). Separate 3.0.21b patch sent to Jerry.
Jeremy.
(This used to be commit 837e7ea7e4
)
2007-10-10 11:06:17 -05:00
Lars Müller
0f46bfdce6
r13197: Add -k switch to dump the data of a single key.
...
(This used to be commit 23503ff45f
)
2007-10-10 11:06:17 -05:00
Jeremy Allison
6f08a557ba
r13194: Don't do extra memcpy's unless we're asked to.
...
Jeremy.
(This used to be commit f93e1e7556
)
2007-10-10 11:06:17 -05:00
Jeremy Allison
6a097ab20e
r13192: Fix up alignment issues when printing share mode
...
entries. Add paranioa to debug so we know when an
entry is unused.
Jeremy.
(This used to be commit fa5fab313e
)
2007-10-10 11:06:16 -05:00
Jeremy Allison
139acd2470
r13190: Fix #3458 from Andriy Gapon <avg@icyb.net.ua>. Don't
...
access free'd memory.
Jerry please pick up for 3.0.21b !
Jeremy.
(This used to be commit c0ba64297a
)
2007-10-10 11:06:16 -05:00
Jeremy Allison
f1022af07b
r13176: Fix show-stopper bug for 3.0.21b where 4 leg NTLMSSP SPNEGO
...
auth was not generating the correct auth header on the 4th
packet. This may fix a lot of Windows client complaints and
is essential for release.
Jeremy.
(This used to be commit 48dd8c732b
)
2007-10-10 11:06:16 -05:00
Jeremy Allison
114a24c19b
r13175: Actually make adding a new user into an empty pdbtdb
...
file create the file.
Jeremy.
(This used to be commit 31b3201f53
)
2007-10-10 11:06:16 -05:00
Jeremy Allison
3ea781f62a
r13172: Fix incorrect error message when new tdb not created correctly.
...
Jeremy.
(This used to be commit e5f19ad5ac
)
2007-10-10 11:06:16 -05:00
Günther Deschner
abfc68fdc3
r13162: Allow to set the flags for a ds_enum_domain_trusts query in rpcclient.
...
Guenther
(This used to be commit e52b77b0a4
)
2007-10-10 11:06:16 -05:00
Simo Sorce
69981e3341
r13148: Fix bug: #3413
...
Check that ldap admin dn is defined in smb.conf before
setting the ldap password in secrets.tdb
Based on patch by William Jojo <jojowil@hvcc.edu>
Simo.
(This used to be commit c2c004a620
)
2007-10-10 11:06:15 -05:00
Jeremy Allison
60bcd1bd77
r13147: Raise creds_server_step fail log messages to debug level 2.
...
These can happen in normal operation (I think - not 100%
sure) and don't want to alarm admins. Jerry please add this
to 3.0.21b.
Jeremy.
(This used to be commit 47178b1b5a
)
2007-10-10 11:06:15 -05:00
Jeremy Allison
1a423304cc
r13140: Fix swat - make sure it can list running services (ensure loopback_ip)
...
is defined. Jerry - this needs to be in 3.0.21b.
Jeremy.
(This used to be commit 417ef5bffa
)
2007-10-10 11:06:15 -05:00
Simo Sorce
77965f6cf6
r13138: old fix I forgot to commit
...
need to access info when using the ldap backend
(This used to be commit 80c0625667
)
2007-10-10 11:06:15 -05:00
Simo Sorce
14b16baf69
r13137: make cleare where long ifdefs ends
...
(This used to be commit 58e48fef45
)
2007-10-10 11:06:15 -05:00
Simo Sorce
5301c8b98d
r13136: Fix handling user sid and user gid
...
(This used to be commit 65d5abda68
)
2007-10-10 11:06:15 -05:00
Gerald Carter
efc04a2411
r13133: patch from Makr Proehl <m.proehl@science-computing.de> for dumping server role when calling 'testparm -s' (BUG 1336)
...
(This used to be commit a4c6eceaae
)
2007-10-10 11:06:14 -05:00
Jeremy Allison
c4307da13b
r13125: Very well spotted crash bug fix for #3343 from
...
SATOH Fumiyasu <fumiyas@miraclelinux.com>
Jerry please pick this up for 3.0.21b.
Jeremy.
(This used to be commit 3f5860b8fb
)
2007-10-10 11:06:14 -05:00
Jeremy Allison
7756059d38
r13119: Fix for #1779 from William Jojo <jojowil@hvcc.edu>
...
Jeremy.
(This used to be commit 103cac7dd3
)
2007-10-10 11:06:14 -05:00
Gerald Carter
6afd823e42
r13110: remove an invalid debug message about call get_share_mode_lock() with a NULL service path and fname (we do it all the time internally)
...
(This used to be commit e1f75ea637
)
2007-10-10 11:06:14 -05:00
Jeremy Allison
b3109006c5
r13095: Fix warnings assigning int to a size_t.
...
Jeremy.
(This used to be commit 1ca4abffd0
)
2007-10-10 11:06:13 -05:00
Gerald Carter
19907887fc
r13093: adding vendor patch level string as announced on samba-technical ml
...
(This used to be commit d40f06018b
)
2007-10-10 11:06:13 -05:00
Jeremy Allison
bdc6f05af5
r13091: Fix gcc warning about using '0' with %s.
...
Jeremy.
(This used to be commit 5f5f87584f
)
2007-10-10 11:06:13 -05:00
Gerald Carter
be7fb35eff
r13089: quick fix to work around building ilbnss_winbind.so on SOlaris when --enable-developer is specified
...
(This used to be commit 1c7787e4a1
)
2007-10-10 11:06:13 -05:00
Gerald Carter
e5d1583c59
r13086: hooking max connections into 'add share' as well (although the WinXP UI doesn't give you a way to set the value on add
...
(This used to be commit e6afdf1df5
)
2007-10-10 11:06:13 -05:00
Gerald Carter
9ededd3151
r13085: hook the max connections spin box in the share properties MMC plugin
...
dialog to the 'max connections' smb.conf parameter. Also added the max
uses int from the SHARE_INFO_2 structure to the 'modify share command'
(This used to be commit af68748baa
)
2007-10-10 11:06:13 -05:00
Gerald Carter
8cf489e5ac
r13083: patch suggested by Adam Nielsen for better smbstatus formatting
...
(This used to be commit ef69cf9614
)
2007-10-10 11:06:13 -05:00
Gerald Carter
0773e79761
r13082: revert an accidentally commited patch (still in progress)
...
(This used to be commit e43775fb31
)
2007-10-10 11:06:12 -05:00
Gerald Carter
e95e6044b0
r13081: correct fix for the segv in nmbd caused by a double free on namerec.
...
(This used to be commit c908dbc4b2
)
2007-10-10 11:06:12 -05:00
Deryck Hodge
2f7bc0e53d
r13072: Fix segfault in vfstest and smbtorture.
...
deryck
(This used to be commit 0fdb062f35
)
2007-10-10 11:06:12 -05:00
Lars Müller
0c42f4a5c0
r13058: Add %w macro for the winbind seperator which allows us for example
...
valid users = %S, %D%w%S
(This used to be commit 6ff25eb840
)
2007-10-10 11:06:12 -05:00
Jeremy Allison
dac44fded7
r13042: Fix for bug #3248 Stefan Burkei <stefan@burkei.de>.
...
When doing auth_crap authentication use the client
given workstation name not our own.
Jeremy.
(This used to be commit a2bb2e3e81
)
2007-10-10 11:06:11 -05:00
Jeremy Allison
cd8f41c327
r13028: Fix for #3419 - vfs_full_audit *never* worked
...
correctly. Static variables were used !
Jeremy.
(This used to be commit 2ab5aeca89
)
2007-10-10 11:06:11 -05:00
James Peach
543ff192b3
r13027: Support file change notifications from FAM.
...
(This used to be commit 652b511ff2
)
2007-10-10 11:06:11 -05:00
Günther Deschner
7b575d7cc5
r13024: Add is_null_sid.
...
GUenther
(This used to be commit 3a6e41a0cb
)
2007-10-10 11:06:11 -05:00
Jeremy Allison
9ed5127776
r13023: Ensure we notice if we exit due to guest user setup fail.
...
Jeremy.
(This used to be commit f8d09d111c
)
2007-10-10 11:06:10 -05:00
Günther Deschner
8a30b3226d
r13020: Prevent cli_krb5_get_ticket of getting into an infite loop. This whole
...
area of code needs to be reworked later on.
Guenther
(This used to be commit 088abfcdd1
)
2007-10-10 11:06:10 -05:00
Jeremy Allison
2fd79d8bfc
r13015: Make logic much clearer. From jpeach.
...
Jeremy.
(This used to be commit d9b6bdd84a
)
2007-10-10 11:06:10 -05:00
Jeremy Allison
90372e1e93
r13012: Fix #3421 - it turns out krb5_kt_get_entry() on MIT
...
does an implicit open/read/close and blows away an
open keytab handle - so make sure we use a new
handle.
Wonderful analysis from Luke <ldeller@xplantechnology.com>
helped fix this.
Jeremy.
(This used to be commit 9d2f2385ad
)
2007-10-10 11:06:10 -05:00
Volker Lendecke
fcd791c1da
r12994: Fix cut&paste error, thanks to Björn Jachke <bj@sernet.de>
...
(This used to be commit 8176f5a282
)
2007-10-10 11:06:10 -05:00
Volker Lendecke
0d3168381d
r12993: Ouch...
...
(This used to be commit de0347cd70
)
2007-10-10 11:06:10 -05:00
Gerald Carter
e2de656314
r12990: BUG 3329: patch from David May <mayd@cygnus.uwa.edu.au> for Solaris shell script portability issues in 'make test'
...
(This used to be commit 19339a9510
)
2007-10-10 11:06:09 -05:00
Lars Müller
c42be9fd38
r12986: Use d_fprintf(stderr, ...) for any error message in net.
...
All 'usage' messages are still printed to stdout.
Fix some compiler warnings for system() calls where we didn't used the
return code. Add appropriate error messages and return with the error
code we got from system() or NT_STATUS_UNSUCCESSFUL.
(This used to be commit f650e3bdaf
)
2007-10-10 11:06:09 -05:00
Gerald Carter
f751954009
r12967: BUG 1061: don't corrupt the file name when reading an lmhosts file (-H) in nmbd. Patch from Andrew Esh <Andrew_Esh@adaptec.com>
...
(This used to be commit 14160c4961
)
2007-10-10 11:06:09 -05:00
Lars Müller
bc1a5b7935
r12964: Rewind rem_backend in the case we have to workaround the idmap_ prefix.
...
Else SAFE_FREE seg faults. Thanks to Günther for pointing me at this.
I've implemented in in this was as we should announce to remove the
idmap_ strip stuff after some time at all.
(This used to be commit 6a5bf399a5
)
2007-10-10 11:06:09 -05:00
Jeremy Allison
2dd7fd8f69
r12956: Fix for bug #3035 from SATOH Fumiyasu <fumiyas@miraclelinux.com>
...
On a Windows share, a file with read-only dosmode can be opened with
DELETE_ACCESS. But on a Samba share (delete readonly = no), it
fails with NT_STATUS_CANNOT_DELETE error.
This semantic causes a problem that a user can not
rename a file with read-only dosmode on a Samba share
from a Windows command prompt (i.e. cmd.exe, but can rename
from Windows Explorer).
Jeremy.
(This used to be commit dd185c7aa8
)
2007-10-10 11:06:09 -05:00
James Peach
d67b72a0f2
r12953: Support the TCP_FASTACK socket option if it is available. Note that this will
...
not acutally help, but it is good to be complete.
(This used to be commit 2163e4b6b4
)
2007-10-10 11:06:09 -05:00
James Peach
ed0c8e056d
r12951: Tell the MIPSPro compiler to push DEBUG calls out of line.
...
(This used to be commit a346059912
)
2007-10-10 11:06:08 -05:00
Gerald Carter
4c7b4cd33a
r12946: fix a segfault in nmbd when 'wins support = yes' caused by double free
...
(This used to be commit c11372f4ec
)
2007-10-10 11:06:08 -05:00
Jeremy Allison
bfc2bf8178
r12938: Fix for #3408 (change password fails) from William Jojo <jojowil@hvcc.edu>.
...
Jeremy.
(This used to be commit 5fc0ef8087
)
2007-10-10 11:06:08 -05:00
Lars Müller
4dea23da04
r12936: Fix bug #3264 .
...
If we detect a leading 'idmap_' for the idmap backend setting we strip
this and inform about the deprecated config with DEBUG 0.
I'm not sure if we should set a TTL of one year or five additional
releases from now for this code.
This is required for the changes Günther made as the first step to solve
bug #3264 . With this fix we can even run with an old config. This is
very important as we else will break existing configurations with an
update.
(This used to be commit 34c7d8c069
)
2007-10-10 11:06:08 -05:00
Alexander Bokovoy
a02415bf36
r12935: After discussion with Volker fix bug #3397 using a variant of the patch by Alex Deiter (tiamat@komi.mts.ru).
...
Introduces level 9 of getuserinfo and allows to successfully install MS SMS2003
on a member of a Samba domain. Also added support for this level in rpcclient.
The code for infolevel 9 is modelled upon Samba-TNG by Alex Deiter.
Jerry, we need this in 3.0.21b.
(This used to be commit 93461646ce
)
2007-10-10 11:06:08 -05:00
Jeremy Allison
ae4a576f68
r12922: Fix typo.
...
Jeremy.
(This used to be commit 1c32b352da
)
2007-10-10 11:06:08 -05:00
Jeremy Allison
5f4a895cdd
r12920: Fix for #3401 from Andrew Bartlett. Original fix from
...
Yau Lam Yiu <yiuext@cs.ust.hk>.
Jeremy.
(This used to be commit 4776101107
)
2007-10-10 11:06:07 -05:00
Gerald Carter
005c88054f
r12916: use rpcstr_pull() instead of unistr_to_ascii() when validating share names
...
(This used to be commit c08bc30698
)
2007-10-10 11:06:07 -05:00
Gerald Carter
bb59be3e0d
r12915: protect against changing the SCM security descriptor
...
(This used to be commit 5842da9968
)
2007-10-10 11:06:07 -05:00
Gerald Carter
e7a1a0ead2
r12914: adding query/set ops for security descriptors on services.
...
(This used to be commit cefd2d7cb6
)
2007-10-10 11:06:07 -05:00
Gerald Carter
c5e7ddc63b
r12913: missed merge to fix BUG 3391; ensure we can lookup account policies
...
(This used to be commit 77575c64e4
)
2007-10-10 11:06:06 -05:00
Gerald Carter
aa363846d6
r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix bad access to gencache.tdb after fork() in smbmount
...
(This used to be commit 68399ce04c
)
2007-10-10 11:06:06 -05:00
Günther Deschner
8eba11978d
r12904: Fix #3264 , allow to load idmap_ad with "idmap backend = ad".
...
Finally cleanup the way idmap modules are build and loaded, idmap_rid
now will have to be loaded without prefix, just "rid".
Guenther
(This used to be commit a77e02177d
)
2007-10-10 11:06:06 -05:00
Günther Deschner
967ab90b17
r12901: Fix netfileenum returning WERR_BUF_TOO_SMALL.
...
Guenther
(This used to be commit b8ff07b04a
)
2007-10-10 11:06:06 -05:00
Günther Deschner
29ba5c17cd
r12900: Merge from trunk:
...
Correctly handle the case where users logon with an expired password.
In that case pam_sm_authenticate has to return PAM_SUCESS instead of
PAM_NEW_AUTHTOK_REQD or PAM_AUTHTOK_EXPIRED and pam_sm_acct_mgmt has to
take care of requesting an immediate password change. (see the Linux PAM
documentation).
Fixes Bugzilla #1524 , #3205 . Tested with login, sshd, kdm and gdm on
Linux.
Thanks to Scott Barker <Scott_Barker@mtechIT.com>.
Guenther
(This used to be commit 4cb662ffd7
)
2007-10-10 11:06:06 -05:00
Gerald Carter
dbac670166
r12889: BUG 3380: fix crash when changing printer drivers caused by accessing a previously freed pointer
...
(This used to be commit bcce3b69f8
)
2007-10-10 11:06:06 -05:00
Jeremy Allison
d86ebaf198
r12885: Oops. Missed last part of correct patch for #3348 .
...
Caught by Samba4 oplock torture tester.
Jeremy.
(This used to be commit c2476b2f75
)
2007-10-10 11:06:05 -05:00
James Peach
92092cbcdc
r12878: Don't use non-static array initialisers.
...
(This used to be commit 95b231f028
)
2007-10-10 11:06:05 -05:00
Jeremy Allison
3317484799
r12877: Stop passing structs around in smb messages, instead
...
always linearize into little-endian. Should fix all
Solaris issues with this, plus provide a cleaner base
moving forward for cluster-aware Samba where smbd's
can communicate across different compilers/architectures
(eventually these message will have to go cross-machine).
Jeremy.
(This used to be commit d01824b785
)
2007-10-10 11:06:05 -05:00
Lars Müller
80f2848260
r12871: Merge Volkers rev 12667 from trunk as his analysis hit the nail on the
...
head.
Volker: Thanks for poking me last week.
(This used to be commit 9a8e1c8b4c
)
2007-10-10 11:06:05 -05:00
Gerald Carter
10b182fe73
r12870: fixing net rpc registry enumerate from overwritnig the open subkey handle
...
(This used to be commit cc2e7052bd
)
2007-10-10 11:06:05 -05:00
Jeremy Allison
e03a68ff7e
r12855: Remove erroneous commenting out of valgrind fix.
...
Jeremy.
(This used to be commit b76c7b6132
)
2007-10-10 11:06:05 -05:00
Günther Deschner
54b1c585bb
r12853: Fix segfault in "net rpc vampire|samdump" (Bugzilla #3390 ).
...
The session key, after beeing set, was zeroed later on by the prs_init
in the CLI_DO_RPC macro.
Guenther
(This used to be commit eaaeaa767e
)
2007-10-10 11:06:04 -05:00
Volker Lendecke
19563e6744
r12840: Add -W to smbpasswd. Thanks to William Jojo <jojowil@hvcc.edu>.
...
Volker
(This used to be commit 2942f3594b
)
2007-10-10 11:06:04 -05:00
Volker Lendecke
5bad6e3a4a
r12837: - configure check for Tru64 EA functions (not yet implemented)
...
- find Tru64 AIO lib in configure
Thanks to Björn Jacke <bj@sernet.de>
Volker
(This used to be commit 044dc33173
)
2007-10-10 11:06:04 -05:00
Tim Potter
0b192df2ea
r12802: Fix for bugzilla #3389 from William Jojo. This fixes failures on AIX in
...
linking smbd when the symbol table for ld exceeds 65536 bytes.
(This used to be commit 679fc45935
)
2007-10-10 11:06:04 -05:00
Gerald Carter
fbbe89ea30
r12794: BUG 3340: patch from William JoJo <jojowil@hvcc.edu> to fix automatic inclusion of aio support on AIX
...
(This used to be commit f19f7961ee
)
2007-10-10 11:06:03 -05:00
Günther Deschner
1e9d8d4857
r12788: Since we have agreed on the case of winbindd names, we can store a
...
sid_to_name lookup result already after doing a sucessfull name_to_sid
lookup.
Guenther
(This used to be commit 2456832a6d
)
2007-10-10 11:06:03 -05:00
Günther Deschner
7745148580
r12787: Revert last commit that removed our logic of memorizing negative
...
name_to_sid lookups in the cache.
Guenther
(This used to be commit 348d309688
)
2007-10-10 11:06:03 -05:00
Volker Lendecke
263cbe122a
r12781: Support the level parameter for lsa_lookupsids.
...
Simplify the interfaces to domain trusts a bit: Nothing outside secrets.c
needs to know we're storing stuff in ucs2.
Volker
(This used to be commit a01fa43ed2
)
2007-10-10 11:06:03 -05:00
Volker Lendecke
cc58924179
r12771: Apply patch from bug 3374, attempt to fix build on tru64.
...
Thanks to "The Written Word" -- whoever that is :-)
Volker
(This used to be commit 7d0956f0bd
)
2007-10-10 11:06:03 -05:00
Volker Lendecke
92e85d325f
r12760: Fix bug 3384
...
(This used to be commit 9d366da172
)
2007-10-10 11:06:03 -05:00
Derrell Lipman
f396e2248a
r12758: r12127@cabra: derrell | 2006-01-03 15:22:18 -0500
...
remove old superfluous comment and ifdef
(This used to be commit ee7fcb43ad
)
2007-10-10 11:06:02 -05:00
Günther Deschner
850b7c4e87
r12742: Don't write null sid mappings into the winbindd_cache.tdb.
...
Guenther
(This used to be commit 1e0124efc5
)
2007-10-10 11:06:02 -05:00
Volker Lendecke
4d1d826be4
r12735: After talking to Tridge and Jeremy... This needs to be made more generic
...
before it goes in.
Volker
(This used to be commit 2c3d5c029a
)
2007-10-10 11:06:02 -05:00
Volker Lendecke
a189257c15
r12721: GPFS 2.4 on Linux will contain some windows semantics, ie share modes and
...
oplocks across the cluster. Adapt Samba to it.
The gpfs API is called via libgpfs.so. This code is written with dlopen(), so
that you can compile on a system with gpfs installed and later on run on
systems without gpfs available.
So to actually make Samba call gpfs share mode calls you need to compile with
gpfs.h and libgpfs.so around and set 'gpfs share = yes' on the shares you
export from GPFS.
Volker
(This used to be commit 2253b17a1a
)
2007-10-10 11:06:01 -05:00
Günther Deschner
c3a2101da0
r12714: Fix segfault in pdb_nds.c.
...
Guenther
(This used to be commit f78c7f8abe
)
2007-10-10 11:06:01 -05:00
Jeremy Allison
2b509f470d
r12713: Remove use of uint8_t -> uint8.
...
Jeremy.
(This used to be commit 4473ac4ef9
)
2007-10-10 11:06:01 -05:00
Volker Lendecke
d64db1c509
r12678: One more
...
(This used to be commit f80fe785bc
)
2007-10-10 11:06:01 -05:00
Volker Lendecke
3c50ec20fb
r12663: Fix a memleak
...
(This used to be commit 3ee6b732f4
)
2007-10-10 11:06:01 -05:00
Stefan Metzmacher
1c77c6f7ca
r12660: Happy New Year!
...
metze
(This used to be commit 5cef2c320b
)
2007-10-10 11:06:01 -05:00
Jeremy Allison
7a1cf83dec
r12653: Patch from SATOH Fumiyasu <fumiyas@miraclelinux.com>
...
for bug #3348 . Don't assume owning sticky bit
directory means write access allowed.
Jeremy.
(This used to be commit 1032aa890f
)
2007-10-10 11:06:00 -05:00
Volker Lendecke
e0c989c949
r12645: Fix some memleaks. This will also be in the trunk checkin that comes next.
...
Volker
(This used to be commit dc167037b0
)
2007-10-10 11:06:00 -05:00
Volker Lendecke
1de83ea53b
r12603: NO, I'm not claiming maintainership of this.
...
Fix bug 3351.
Volker
(This used to be commit 082763988d
)
2007-10-10 11:06:00 -05:00
Volker Lendecke
7773676c1d
r12581: And another one :-)
...
(This used to be commit 3247a4cfc1
)
2007-10-10 11:06:00 -05:00
Derrell Lipman
cbc97b4e5a
r12579: r12122@cabra: derrell | 2005-12-29 12:03:00 -0500
...
allow for arbitrary option value types
(This used to be commit 64c8e32b63
)
2007-10-10 11:06:00 -05:00
Derrell Lipman
e13d0cb3ec
r12576: r12115@cabra: derrell | 2005-12-29 11:16:03 -0500
...
bug (enhancement) #2651 : add option to log debug messages to stderr instead of stdout
(This used to be commit 4182eb99af
)
2007-10-10 11:05:59 -05:00
Derrell Lipman
7919fd0ec8
r12570: r12084@cabra: derrell | 2005-12-29 10:05:16 -0500
...
do not open connection when only looking for cached connection; also, fix crash caused by missing initialization following recent locale changes
(This used to be commit 0070d816ab
)
2007-10-10 11:05:59 -05:00
Derrell Lipman
1d49a2956d
r12569: r12083@cabra: derrell | 2005-12-29 09:39:45 -0500
...
fix line length and make formatting/indentation more consistent
(This used to be commit 3d45023368
)
2007-10-10 11:05:59 -05:00
Jeremy Allison
496b678882
r12564: Ensure load_case_tables is always done first.
...
Jeremy.
(This used to be commit addb509529
)
2007-10-10 11:05:59 -05:00
Jeremy Allison
c8f28c92a7
r12555: Fix more load_case_table swegfaults. Arggg.
...
What I'd give for a global constructor...
Jeremy.
(This used to be commit c970d7d0a5
)
2007-10-10 11:05:59 -05:00
Volker Lendecke
608aa3f41e
r12544: Fix segfaults in winbind, smbpasswd and net
...
(This used to be commit 9ca8edc26e
)
2007-10-10 11:05:59 -05:00
Jeremy Allison
5a4881bf39
r12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C")
...
and replace calls to isupper/islower/toupper/tolower with
ASCII equivalents (mapping into _w variants).
Jeremy.
(This used to be commit c2752347eb
)
2007-10-10 11:05:58 -05:00
Jeremy Allison
c4ccc8f37e
r12491: End profile fixes from SATOH Fumiyasu <fumiya@samba.gr.jp>.
...
Jeremy.
(This used to be commit 2187502732
)
2007-10-10 11:05:58 -05:00
Derrell Lipman
44db82065a
r12485: r12044@cabra: derrell | 2005-12-25 16:46:47 -0500
...
When enumerating what could be a server name or a workgroup name, first
check for an existing server structure. If none exists, then go through
the previous determination of whether it's a serrver or a workgroup. This
should avoid doing a NetBIOS name query each time, if we've already
connected to the specified server. (While we're at it, clean up indenting
and line length in this area of code.)
(This used to be commit 85e4cab1d9
)
2007-10-10 11:05:58 -05:00
Volker Lendecke
bd08ae25dc
r12477: Remove a gcc -O6 warning
...
(This used to be commit dd39a37f8e
)
2007-10-10 11:05:57 -05:00
Volker Lendecke
a0d2029339
r12476: Apply some const
...
(This used to be commit a3f102f6c3
)
2007-10-10 11:05:57 -05:00
Volker Lendecke
964feef945
r12475: Actually configure with profile support this time ...
...
(This used to be commit 9cd4b894ea
)
2007-10-10 11:05:57 -05:00
Volker Lendecke
1638adaee2
r12474: Fix a warning
...
(This used to be commit e361f4a5c5
)
2007-10-10 11:05:57 -05:00
Derrell Lipman
3ec1852ae0
r12472: r12040@cabra: derrell | 2005-12-24 23:26:55 -0500
...
revert immediately previous change and fix problem correctly. Interfaces were being loaded before all configuration files had been read. *This* should fix byg 3336.
(This used to be commit ded5fceef1
)
2007-10-10 11:05:57 -05:00
Derrell Lipman
50a06f76ef
r12471: r12038@cabra: derrell | 2005-12-24 23:17:16 -0500
...
libsmbclient was not loading the global configuration file. This should fix 3336.
(This used to be commit 6d7a9ce7a7
)
2007-10-10 11:05:57 -05:00
Derrell Lipman
56b20b8397
r12466: r12028@cabra: derrell | 2005-12-24 20:25:38 -0500
...
parse dates correctly. w_time and m_time were reversed.
(This used to be commit 481abfbab4
)
2007-10-10 11:05:56 -05:00
Volker Lendecke
67706697c5
r12460: Fixes for bug 3349
...
(This used to be commit 040eda6bf0
)
2007-10-10 11:05:56 -05:00
Günther Deschner
ea6b1035bd
r12441: Fix python build.
...
Guenther
(This used to be commit e33a20c222
)
2007-10-10 11:05:56 -05:00
Volker Lendecke
88d3b08147
r12438: Remove an unused function
...
(This used to be commit 561e351d25
)
2007-10-10 11:05:56 -05:00
Günther Deschner
1501a1755c
r12415: Forgot newlines.
...
Guenther
(This used to be commit c727a1a330
)
2007-10-10 11:05:55 -05:00
Günther Deschner
107fe91d2b
r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the role
...
translation elsewhere.
Guenther
(This used to be commit 6c4a6da3dc
)
2007-10-10 11:05:55 -05:00
Günther Deschner
25f13bb0f1
r12407: Fix returning wrong error codes and better sort out errors and stdout
...
messages.
Guenther
(This used to be commit 3ca735f7ad
)
2007-10-10 11:05:55 -05:00
Günther Deschner
568e8003bc
r12406: Since w2k3 sp1 we fail to create user accounts using e.g. "net ads user
...
add" with "Server is unwilling to perform". Seems we have to put in the
same userAccountControl bits the server would pick when we wouldn't send
them at all.
Guenther
(This used to be commit fd5da5875c
)
2007-10-10 11:05:55 -05:00
Gerald Carter
830149e6d9
r12400: one line patch for Sun LDAP libs pointed out by Nicholas Brealey <nick@brealey.org>
...
(This used to be commit 5121d38069
)
2007-10-10 11:05:55 -05:00
Gerald Carter
5ac6b21f09
r12398: adding Guenther's account policy migration fix
...
(This used to be commit be32f10609
)
2007-10-10 11:05:54 -05:00
Gerald Carter
67e8af8527
r12393: cleaning up swat bugs. *no one* tests swat it seems. This has been broken since r10656
...
(This used to be commit 85ea7afd8b
)
2007-10-10 11:05:54 -05:00
Jeremy Allison
894979c69b
r12387: Make string_to_sid a little more silent.
...
Jeremy.
(This used to be commit 7ccff8071a
)
2007-10-10 11:05:54 -05:00
Jeremy Allison
e53642a131
r12376: Second patch from Martin Koeppe <mkoeppe@gmx.de>
...
for #3287 .
Jeremy.
(This used to be commit 8680eebbba
)
2007-10-10 11:05:54 -05:00
Günther Deschner
0f20bcdbaa
r12341: add DEBUG statement.
...
Guenther
(This used to be commit d50098518d
)
2007-10-10 11:05:54 -05:00
Günther Deschner
ce5bde1e84
r12338: add ifdef DEBUG_PASSWORD before printing clear text password.
...
Guenther
(This used to be commit e0be0e0523
)
2007-10-10 11:05:54 -05:00
Volker Lendecke
28fb5b6f97
r12313: Introduce yet another copy of the string_sub function:
...
talloc_string_sub. Someone with time on his hands could convert all the
callers of all_string_sub to this.
realloc_string_sub is *only* called from within substitute.c, it could be
moved there I think.
Volker
(This used to be commit be6c9012da
)
2007-10-10 11:05:53 -05:00
Volker Lendecke
0a585102d6
r12312: Reformatting and a trivial change: is_share_read_only_for_user only uses
...
conn->service, so there's no point in passing down the whole conn struct.
Volker
(This used to be commit 39041297c7
)
2007-10-10 11:05:53 -05:00
Volker Lendecke
46dee7219d
r12311: Reformatting
...
(This used to be commit 23f5be1dcb
)
2007-10-10 11:05:53 -05:00
Volker Lendecke
f2c8291791
r12308: Reformatting
...
(This used to be commit 97acfa12e5
)
2007-10-10 11:05:53 -05:00
Volker Lendecke
862e4a11c1
r12307: Reformatting plus a trivial if/else simplification. There's no point in doing
...
an else branch that only returns NULL.
Volker
(This used to be commit ef4d9d96de
)
2007-10-10 11:05:53 -05:00
Volker Lendecke
286fed3627
r12306: Reformatting
...
(This used to be commit 3f1dad5fdb
)
2007-10-10 11:05:53 -05:00
Volker Lendecke
b15c32800d
r12305: Reformatting
...
(This used to be commit f574e980aa
)
2007-10-10 11:05:52 -05:00
Volker Lendecke
e1dd50bfd7
r12303: Move split_domain_and_name to util_getent.c and make it static there.
...
Volker
(This used to be commit e7f348fcf8
)
2007-10-10 11:05:52 -05:00
Volker Lendecke
8ee13ab866
r12291: Make getgroups_user static.
...
Jeremy, there's a #ifdef'ed 0 call to this in your usershare code. We need to
talk about what exactly what you intend to do here and in what scenarios.
Volker
(This used to be commit 95094ef758
)
2007-10-10 11:05:52 -05:00
Volker Lendecke
7ae0fd8ed8
r12290: Typo
...
(This used to be commit de839cc165
)
2007-10-10 11:05:52 -05:00