1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-28 07:21:54 +03:00
Commit Graph

18847 Commits

Author SHA1 Message Date
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
494e332220 r12468: r12033@cabra: derrell | 2005-12-24 21:03:45 -0500
actually add the new test program
(This used to be commit e3bab0cc43)
2007-10-10 11:05:56 -05:00
Derrell Lipman
9d36d5ee2d r12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500
add another libsmbclient test program
(This used to be commit 133cd3952b)
2007-10-10 11:05:56 -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
3e80ef29a6 r12452: Fix Bug #3053 to allow esp. older eDirectory releases to load our LDAP
schema.

Maybe "Base64 encoded user parameter string" is not much clearer then
"munged dial" - anyone got a better description ?

Guenther
(This used to be commit 02ccde5f47)
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
Deryck Hodge
025cee7eec r12403: Update url on the docs directory README.
deryck
(This used to be commit aeff7e3e18)
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
Günther Deschner
c32197dd22 r12336: A couple of fixes and enhancements for adssearch.pl (espc. to debug
GPOs).

sid2string fix from Michael James <michael@james.st>.

Guenther
(This used to be commit 9424b65c70)
2007-10-10 11:05:53 -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
Gerald Carter
31c73b9913 r12281: adding a note about WINS and NetLogon not being remotely manageable
(This used to be commit b86528865a)
2007-10-10 11:05:51 -05:00
Jeremy Allison
10b5609a14 r12279: unix_mask_match has been broken for *ever*... (How).
Ensure it returns a BOOL.
Jerry (and anyone else) please check this, I think
all uses are now correct but could do with another
set of eyes. Essential for 3.0.21 release.
Jeremy.
(This used to be commit 0c7b8a7637)
2007-10-10 11:05:51 -05:00
Jeremy Allison
76796e212c r12275: Fix memory leak found by Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
and followed up by derrell@samba.org.
Jeremy.
(This used to be commit 5cab88f144)
2007-10-10 11:05:51 -05:00
Günther Deschner
f6e8106076 r12273: Fix copy paste error.
Guenther
(This used to be commit 266f5fc9af)
2007-10-10 11:05:51 -05:00
Gerald Carter
6f91e3a862 r12262: * patch from Brian Moran to fix segv in eventlogadm when not eventlogs
are listed in smb.conf
* initialize the local group description in set_alias_info()
(This used to be commit 58f8b42069)
2007-10-10 11:05:51 -05:00
Jeremy Allison
91efc453ab r12250: Patch from Martin Koeppe <mkoeppe@gmx.de> for #3287
to make the dev/inode numbers match what SFU expects.
If we're using 8 byte inodes we'll lose the top 4 bytes
and replace them with a dev_t instead, but this seem
reasonable to ensure uniqueness.
Jeremy.
(This used to be commit e53574d0b4)
2007-10-10 11:05:51 -05:00
Jeremy Allison
3a405096c5 r12245: eDirectory returns LDAP_UNWILLING_TO_PERFORM if the
account is disabled. If we get this we can't check
the password so have to tell the client the account
was disabled.
Jeremy.
(This used to be commit 43c2d545ab)
2007-10-10 11:05:50 -05:00
Derrell Lipman
0dc59604f7 r12236: r11740@cabra: derrell | 2005-12-14 13:16:58 -0500
check in the DEBUG message referenced in the previous commit
(This used to be commit 6c04a8f9ad)
2007-10-10 11:05:50 -05:00
Derrell Lipman
103f720617 r12235: r11738@cabra: derrell | 2005-12-14 13:15:14 -0500
Ensure that when libsmbclient copies a cli, it prevents the cli from later
 being freed, by turning off the 'allocated' flag.

 Change a DEBUG message in pipe_open code from level 0 to level 1 since
 libsmbclient is now regularly attempting to open a pipe for share enumeration,
 and falling back to RAP if RPC is unavailable (e.g. win98).  We don't want
 the debug message to display when the pipe open fails, under these normal
 circumstances.
(This used to be commit 965025c057)
2007-10-10 11:05:50 -05:00
Jeremy Allison
e7d2e311a2 r12234: Reduce the race condition for renames by holding the lock
longer. Instigated by complaints on the fix for #3303 from
SATOH Fumiyasu <fumiyas@miraclelinux.com>.
Jeremy.
(This used to be commit 855f5f8c32)
2007-10-10 11:05:50 -05:00
Derrell Lipman
765daab643 r12225: r11729@cabra: derrell | 2005-12-13 22:59:45 -0500
1. Fix a crash bug which should have reared its ugly head ages ago, but for
    some reason, remained dormant until recently.  The bug pertained to
    libsmbclient doing a structure assignment of a cli after having opened a
    pipe.  The pipe open code makes a copy of the cli pointer that was passed
    to it.  If the cli is later copied (and that cli pointer that was saved
    is no longer valid), the pipe code will cause a crash during shutdown or
    when the copied cli is closed.

 2. The 'type' field in enumerated shares was not being set correctly with
    the new RPC-based mechanism for enumerating shares.
(This used to be commit 62a02b8f2a)
2007-10-10 11:05:50 -05:00
Gerald Carter
728e527d2c r12224: adding more characters to the invalid share name string
(This used to be commit e461143639)
2007-10-10 11:05:50 -05:00
Jeremy Allison
762901cfb9 r12221: Fix error code paths that can potentially leave a dangling lock.
Jeremy.
(This used to be commit 123135ed1d)
2007-10-10 11:05:49 -05:00
Jeremy Allison
4d3152e145 r12214: Fix compile if SYNC_DNS is set.
Jeremy.
(This used to be commit 7c545e1e77)
2007-10-10 11:05:49 -05:00
Jeremy Allison
ab7a4f7e8e r12213: Final fix for #3303 - send rename messages to smbd's
that have open file handles to allow them to correctly
implement delete on close. There is a further correctness
fix I'm intending to add to this to cope with different share
paths, but not right now...
Jeremy.
(This used to be commit 932e337db8)
2007-10-10 11:05:49 -05:00
Jeremy Allison
7d2771e758 r12203: Add the share path into the sharemode db. This involves
revving the minor version number for libsmbsharemodes (we
now have a new _ex interface that takes the share path
as well as the filename). Needed for #3303. Some code written
by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes
to locking/locking.c. The smbstatus output is a bit of a mess
and needs overhauling...
Jeremy.
(This used to be commit 9d93af713f)
2007-10-10 11:05:49 -05:00