1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-22 05:57:43 +03:00

2768 Commits

Author SHA1 Message Date
Richard Sharpe
f6c7819266 Putting back the -p flag in smbclient.
However, it seems that the -s flag
in smbclient is also ignored :-(
-
Richard Sharpe
3598d90a32 More changes to get SSL working with 2.x.x
Now, we have most of the configure support done, next
have to fix Makefile.in and other things ...
-
Richard Sharpe
524c4d2978 Fixing up configure to properly support ssl -
Richard Sharpe
fb6048bb86 Adding first of the fixes for SSL.
A whole bunch of string variables in loadparm.c were
not being initialized properly.  Programs crashed as a result.

This set of code not tested, but same code tested elsewhere,
and all this guarded by #ifdef HAVE_SSL
-
Matthew Chapman
63d7822b9d In security=user mode we must allow cli_connect_serverlist to connect to our
own smbd process, rather than complaining about a password server loop.
-
Matthew Chapman
f530e289c6 Added load_interfaces in smbpasswd to allow name resolution by broadcast and
multiple interfaces. (Jeremy already committed this in SAMBA_2_0).
-
Richard Sharpe
57301a3eb4 A small change to clitar.c (really, I promise :-)
If we are writing the tar file to stdout, set dbf to stderr
so that we do not screw up tar output with log info etc.

Compiles clean and tested with 38MB backup. Honest :-)
-
Matthew Chapman
15bd172530 eclass != ERRDOS && num != ERRmoredata
is not the same as
!(eclass == ERRDOS && num == ERRmoredata)

This was causing smbclient to segfault on receiving certain errors.
-
Matthew Chapman
2b6f481885 Fixed typo in srv_samr.c where samr_add_groupmem and samr_del_groupmem were
the wrong way around.
-
Matthew Chapman
91c77f5432 Finally committing my LDAP changes.
* Added new APIs for modifying groups.
* RIDs are allocated similarly to NT, starting from 1000 and incrementing by 1
  for each new user/group.
* RIDs are now consistently in hex

* Fixed bugs reported by Allan Bjorklund <allan@umich.edu>:
   - ldap_close_connection is exported by OpenLDAP - changed to ldap_disconnect
   - Missing ldap_connect() in getusergroups functions
   - ldap_next_entry was being called too early while retrieving a sam_struct
   - LDAP globals should be extern in sampassldap.c

* Fixed bugs reported by Martin Hofbauer <mh@bacher.at>
   - Newly added workstation trust accounts had attributes DU rather than W.
   - User dn's were forced to start with "uid=XX" rather than using the existing
     dn.
-
Gerald Carter
175e598dcc Fixed the "You password will expire in 0 days. Would you like to
change it now?" message when you login to a Samba Controlled domain.

The fix is a hard coded 42 days from right now until you need to
change you pasword again time (see passdb/sampassdb.c:pwdb_smb_to_sam())

Also fixed getsmbfilepwent() so that it will read in the last password
change time correctly.

* Related to this lib/util_pwdb.c:StrnCaseCmp() returns 0 if the
strings match.  Chouldn't this be the pther way?  Oh well.  I
didn't change the return code as it was used in several
other cases (see lib/util_pwdb.c:pwdb_get_last_set_time())
-
Gerald Carter
cabc7e739c fixed an uninitialized variable in lookupsmbgrpgid() and
lookupsmbpwuid that was causing a SEGFAULT in smbd.
-
Christopher R. Hertel
fcbdf5fe97 Updated the docs to match the changes I made to debug2html.
Chris -)-----
-
Christopher R. Hertel
300a8c9e50 While writing the man page, I realized that it was a bit silly not to accept
command-line parameters.  I've added that capability.  Of course, the man
page is now wrong.  Sigh.

Chris -)-----
-
Christopher R. Hertel
a045186d4d First go at documentation for debug2html.
Chris -)-----
-
Christopher R. Hertel
d2d6f0bf36 Sorry that this is going so slowly.
I've added debug2html to Makefile.in so that it compiles as part of the
normal build.  Fixed a typo in debug2html.c as well.

One problem:  I found it necessary to link with both $(PARAM_OBJ) and
              $(LIB_OBJ).  The result is an executable that is much larger
              than it really needs to be.
-
John Terpstra
1d9540bfc0 Modified packaging-prep script to remove use of "rm -f *". -
John Terpstra
bf2b97f590 Changing to PHT standard SPEC settings. -
Luke Leighton
a15a3f95f2 fix for potential lsass.exe crashing due to negative response from
LsaLookupNames being incorrect.  this is a bit wierd: why would the
lsass.exe on the nt _client_ crash due to an LsaLookupNames response
from a samba _server_?
-
Luke Leighton
090512e187 adding start of remote lookup for domain member role. -
Luke Leighton
2485b8e706 lib_sec_ctxt.o not .c -
John Terpstra
bd3770235d Updated makefile-path info contributed on the samba-technical mailing list. -
Richard Sharpe
47e36bed8f Fixed problems in debug code because I did not compile
first :-(
-
Richard Sharpe
b75af70990 Added some debugging to clitar ... -
Jeremy Allison
7be5c8e8f7 Fixed tar recurse bug.
Jeremy.
-
Jeremy Allison
d5f05b4fae Fix bug with nmbd running wild due to recursion in retransmit_or_expire_response_records().
Jeremy.
-
Andrew Tridgell
ccf6443887 and in head branch:
make sure we include sys/mman.h if available
-
Christopher R. Hertel
782474f41e A while back, Andrew and I talked about making the debug parsing code a
better "fit" with other Samba code.  This is a small first step toward
doing what (I think) we agreed to do.

I've moved the key function from ubiqx/debugparse.c into lib/debug.c.  I
have also moved the enum from ubiqx/debugparse.h into the debug section in
smb.h.

The next thing to do is to get debug2html added into the Makefile.in so
that it is always produced when compiling the suite.

Chris -)-----
-
Andrew Tridgell
ef5f752a4a on Linux force fcntl/mmap based shared memory and on other systems
force IPC/shmem based shared memory.
-
Luke Leighton
c2bcb3a286 server_cryptkey() now calling cli_connectserverlist(). stupid microsoft
idiotic *SMBSERVER connectionism added to cli_connect_serverlist().
also added check for protocol < LANMAN2.
-
Luke Leighton
0b2095e092 added sid_name_use array argument to lsa_lookup_names and lsa_lookup_sids. -
Luke Leighton
2cce78aa00 trying to track down issues in get_home_dir(). -
Luke Leighton
f4b8a28306 %U substitution should be unix user not nt user -
Luke Leighton
c6f2f58c74 adding svcctl parsing code -
Luke Leighton
870bccb174 bugfix in smb_err_msg -
Luke Leighton
ca10eb4490 oops, util_pwdb.c appears to be included in PASSDB_OBJ not LIB_OBJ. -
Luke Leighton
dacf5b152b adding some enumerate services code, client and server. -
Luke Leighton
501617307f need to initialise global_myworkgroup -
Andrew Tridgell
be697c9ef0 removed the SID stuff from the head branch as well.
This allows the removal of PASSDB_OBJ, RPC_CLIENT_OBJ and
RPC_PARSE_OBJ from nmbd in the head branch.

so nmbd just went on a diet :)
-
Luke Leighton
e5ee965f8d adding "Service Control Manager" commands to rpcclient. -
Jeremy Allison
b993081db1 Adding George's Mac extension code.
Jeremy.
-
Jeremy Allison
60c3e2f14d Adding George's Mac extension include files.
Jeremy.
-
Luke Leighton
f36cf3b6a7 ldap_getpw() also needs to be (void) -
Luke Leighton
f11eb41658 compilation warnings due to missing (void) in ldap_close_connection. -
Luke Leighton
d06d636994 adding srvsvc pipe. -
Luke Leighton
2bc031e8fa added ldap files by Matthew Chapman. -
Luke Leighton
8b36c7c08f Matthew Chapman spotted that smbpasschange was assuming the existence
of a private/smbpasswd file, this will not be the case for other
database APIs.  removed startsmbdb and endsmbpwdb calls because
add_smbpwd_entry() and mod_smbpwd_entry() don't need them.
-
Andrew Tridgell
5e2844d5ed fixed warnings (and potential errors) due to integer overflow when
creating locking masks
-
Luke Leighton
4f85105578 added text and html versions of LDAP.yo. smb.conf.5 not generated yet
because there were parts rejected from the ldap patch file.
-
Luke Leighton
d11859041d updated for Matt Chapman's ldap code -