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

18697 Commits

Author SHA1 Message Date
Volker Lendecke
9cd4b894ea r12475: Actually configure with profile support this time ... 2007-10-10 11:05:57 -05:00
Volker Lendecke
e361f4a5c5 r12474: Fix a warning 2007-10-10 11:05:57 -05:00
Derrell Lipman
ded5fceef1 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.
2007-10-10 11:05:57 -05:00
Derrell Lipman
6d7a9ce7a7 r12471: r12038@cabra: derrell | 2005-12-24 23:17:16 -0500
libsmbclient was not loading the global configuration file.  This should fix 3336.
2007-10-10 11:05:57 -05:00
Derrell Lipman
e3bab0cc43 r12468: r12033@cabra: derrell | 2005-12-24 21:03:45 -0500
actually add the new test program
2007-10-10 11:05:56 -05:00
Derrell Lipman
133cd3952b r12467: r12029@cabra: derrell | 2005-12-24 20:25:59 -0500
add another libsmbclient test program
2007-10-10 11:05:56 -05:00
Derrell Lipman
481abfbab4 r12466: r12028@cabra: derrell | 2005-12-24 20:25:38 -0500
parse dates correctly.  w_time and m_time were reversed.
2007-10-10 11:05:56 -05:00
Volker Lendecke
040eda6bf0 r12460: Fixes for bug 3349 2007-10-10 11:05:56 -05:00
Günther Deschner
02ccde5f47 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
2007-10-10 11:05:56 -05:00
Günther Deschner
e33a20c222 r12441: Fix python build.
Guenther
2007-10-10 11:05:56 -05:00
Volker Lendecke
561e351d25 r12438: Remove an unused function 2007-10-10 11:05:56 -05:00
Günther Deschner
c727a1a330 r12415: Forgot newlines.
Guenther
2007-10-10 11:05:55 -05:00
Günther Deschner
6c4a6da3dc r12414: Remove the unnecessary SMB_STRDUP in server_role_str() + reuse the role
translation elsewhere.

Guenther
2007-10-10 11:05:55 -05:00
Günther Deschner
3ca735f7ad r12407: Fix returning wrong error codes and better sort out errors and stdout
messages.

Guenther
2007-10-10 11:05:55 -05:00
Günther Deschner
fd5da5875c 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
2007-10-10 11:05:55 -05:00
Deryck Hodge
aeff7e3e18 r12403: Update url on the docs directory README.
deryck
2007-10-10 11:05:55 -05:00
Gerald Carter
5121d38069 r12400: one line patch for Sun LDAP libs pointed out by Nicholas Brealey <nick@brealey.org> 2007-10-10 11:05:55 -05:00
Gerald Carter
be32f10609 r12398: adding Guenther's account policy migration fix 2007-10-10 11:05:54 -05:00
Gerald Carter
85ea7afd8b r12393: cleaning up swat bugs. *no one* tests swat it seems. This has been broken since r10656 2007-10-10 11:05:54 -05:00
Jeremy Allison
7ccff8071a r12387: Make string_to_sid a little more silent.
Jeremy.
2007-10-10 11:05:54 -05:00
Jeremy Allison
8680eebbba r12376: Second patch from Martin Koeppe <mkoeppe@gmx.de>
for #3287.
Jeremy.
2007-10-10 11:05:54 -05:00
Günther Deschner
d50098518d r12341: add DEBUG statement.
Guenther
2007-10-10 11:05:54 -05:00
Günther Deschner
e0be0e0523 r12338: add ifdef DEBUG_PASSWORD before printing clear text password.
Guenther
2007-10-10 11:05:54 -05:00
Günther Deschner
9424b65c70 r12336: A couple of fixes and enhancements for adssearch.pl (espc. to debug
GPOs).

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

Guenther
2007-10-10 11:05:53 -05:00
Volker Lendecke
be6c9012da 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
2007-10-10 11:05:53 -05:00
Volker Lendecke
39041297c7 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
2007-10-10 11:05:53 -05:00
Volker Lendecke
23f5be1dcb r12311: Reformatting 2007-10-10 11:05:53 -05:00
Volker Lendecke
97acfa12e5 r12308: Reformatting 2007-10-10 11:05:53 -05:00
Volker Lendecke
ef4d9d96de r12307: Reformatting plus a trivial if/else simplification. There's no point in doing
an else branch that only returns NULL.

Volker
2007-10-10 11:05:53 -05:00
Volker Lendecke
3f1dad5fdb r12306: Reformatting 2007-10-10 11:05:53 -05:00
Volker Lendecke
f574e980aa r12305: Reformatting 2007-10-10 11:05:52 -05:00
Volker Lendecke
e7f348fcf8 r12303: Move split_domain_and_name to util_getent.c and make it static there.
Volker
2007-10-10 11:05:52 -05:00
Volker Lendecke
95094ef758 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
2007-10-10 11:05:52 -05:00
Volker Lendecke
de839cc165 r12290: Typo 2007-10-10 11:05:52 -05:00
Gerald Carter
b86528865a r12281: adding a note about WINS and NetLogon not being remotely manageable 2007-10-10 11:05:51 -05:00
Jeremy Allison
0c7b8a7637 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.
2007-10-10 11:05:51 -05:00
Jeremy Allison
5cab88f144 r12275: Fix memory leak found by Mikhail Kshevetskiy <kl@laska.dorms.spbu.ru>
and followed up by derrell@samba.org.
Jeremy.
2007-10-10 11:05:51 -05:00
Günther Deschner
266f5fc9af r12273: Fix copy paste error.
Guenther
2007-10-10 11:05:51 -05:00
Gerald Carter
58f8b42069 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()
2007-10-10 11:05:51 -05:00
Jeremy Allison
e53574d0b4 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.
2007-10-10 11:05:51 -05:00
Jeremy Allison
43c2d545ab 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.
2007-10-10 11:05:50 -05:00
Derrell Lipman
6c04a8f9ad r12236: r11740@cabra: derrell | 2005-12-14 13:16:58 -0500
check in the DEBUG message referenced in the previous commit
2007-10-10 11:05:50 -05:00
Derrell Lipman
965025c057 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.
2007-10-10 11:05:50 -05:00
Jeremy Allison
855f5f8c32 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.
2007-10-10 11:05:50 -05:00
Derrell Lipman
62a02b8f2a 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.
2007-10-10 11:05:50 -05:00
Gerald Carter
e461143639 r12224: adding more characters to the invalid share name string 2007-10-10 11:05:50 -05:00
Jeremy Allison
123135ed1d r12221: Fix error code paths that can potentially leave a dangling lock.
Jeremy.
2007-10-10 11:05:49 -05:00
Jeremy Allison
7c545e1e77 r12214: Fix compile if SYNC_DNS is set.
Jeremy.
2007-10-10 11:05:49 -05:00
Jeremy Allison
932e337db8 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.
2007-10-10 11:05:49 -05:00
Jeremy Allison
9d93af713f 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.
2007-10-10 11:05:49 -05:00