1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-31 01:48:16 +03:00

7562 Commits

Author SHA1 Message Date
Simo Sorce
d2c663185e remove unneaded memory leaking code. -
Andrew Bartlett
33ae29028b Fix the compile on systems without a full kerberos kit.
Andrew Bartlett
-
Andrew Bartlett
14407c87e2 Make Samba compile on RH 6.2 again.
We now include the libber.h file if required, but currently we just don't use
ldap.  (I'll chase this up).

In the meantime, I've moved the ads_status code about, its now in its own file,
and has a couple of #ifdefs to allow smbd to link - becouse the lack of LDAP
caused HAVE_ADS to be undefined. (I hope its not too ugly).

Andrew Bartlett
-
Jeremy Allison
fffae94dd5 When running interactive we want to set our own process group for
signal management.
Jeremy.
-
Gerald Carter
54cbfc7ebc pdb_getsampwnuid() merge from 2.2 -
Jeremy Allison
a076e2e4c5 Documented -i modes for nmbd/smbd.
Jeremy.
-
Jeremy Allison
9343b613d3 Fixup -i interactive modes.
Jeremy.
-
Jeremy Allison
7ce2d1fe37 Removed extra lp_adduser() call.
Fixed up error returns in get_correct_cversion().
Jeremy.
-
Gerald Carter
d57c43fd05 file Samba-LDAP-HOWTO.sgml was initially added on branch SAMBA_2_2. -
Simo Sorce
79254d2b04 passing NULL to print_queue_status()'s status parameter could end in a segfault -
Gerald Carter
c6d867b552 removed unused files -
Gerald Carter
241b5218ea merge from 2.2 -
Gerald Carter
f0d4379115 moving SAM_ACCOUNT to include a bit field for initialized
members (such as uid and gid).  This way we will be able to
keep ourselves from writing out default smb.conf settings when
the admin doesn't want to,  That part is not done yet.

Tested compiles with ldap/tdb/smbpasswd.  Tested connection with smbpasswd
backend.

oh...and smbpasswd doesn'y automatically expire accounts after 21 days
from the last password change either now.  Just ifdef'd out that code
in build_sam_account().

Will merge updates into 2.2 as they are necessary.




jerry
-
Gerald Carter
aca58b0b72 sync with 2.2 -
Herb Lewis
52e9d2c383 merge Jeremy's gcc3 warning fix from 2.2 -
Herb Lewis
3999e13ef8 sync up packaging scripts -
Herb Lewis
20c5f042e3 merge IRIX winbind support from Samba 2.2 branch -
Jeremy Allison
621fa227bd Removed unused variables.
Jeremy.
-
Jeremy Allison
bf18160997 The jf_get_sampasswd_entries() is not used anymore.
Jeremy.
-
Jean-François Micouleau
87928c4d91 added a copyright notice.
J.F.
-
Jean-François Micouleau
c0178e1a03 doesn't keep track of the struct's size we enumerate. W2K doesn't
calculate them and always reply a size of 32 bytes whereas NT4 did the
maths. Anyway, it looks like the clients don't complain.

in query_dom_info() at level 2, return the real number of users and
groups. That's the fix to the W95/98 userlist bug !

as W95/98 does a query_dom_info(2) followed by a query_disp_info(4) on
the SAME context handle (err we call it an lsa policy handle ! plain
wrong name), I was tempted to keep the snapshoot in memory, to prevent
2 full user db enumerations in a row and just have one shared. But if some
client does the 2 calls on two different handles, we would have 2 copies
in memory not free'ed before the samr_close().

We still have too many fixed constant and too many magic values in that
code. And btw, I really hates how the sequence number is generated !

        J.F.
-
Jeremy Allison
bf65331cb4 Fixup some DEBUG statements (0 -> 10).
Jeremy.
-
Jean-François Micouleau
55b9cd7af6 close some handles. not really necessary but doesn't hurt.
J.F.
-
Gerald Carter
6697e46183 merge from 2.2 -
Jeremy Allison
a7d099cc75 Use pdb_free_sam() to free a SAM_ACCOUNT struct, not safe_free(). There
are pointers withing the SAM_ACCOUNT struct that also need freeing.
Jeremy.
-
Jean-François Micouleau
d5f2e645e4 added all level to samr_query_disp_info rpcclient side.
J.F.
-
Volker Lendecke
768f90a6ca Large expansion of my german book project.
Volker
-
Jean-François Micouleau
3ab4521536 re-done all of samr_query_disp_info()
instead of enumerating the whole user db or group db every time, we store
a in memory copy linked to the handle.

that's much faster for large enumeration where the db can't fit in a
single rpc packet. And as it's a copy, it's constant between enumeration.

still some stuff to clean. But now I can fix the W95 userlist bug, as I've
finally found it.

	J.F.
-
Jean-François Micouleau
18dc4cd57a put back the -l option to rpcclient.
that's the most useful option in this tool !

I love rpcclient ;-)

	J.F.
-
Andrew Tridgell
20368455ea - handle kerberos session setup reply with broken null termination
- don't display Domain=[] for auth protocols that don't give us a domain
-
Andrew Tridgell
1da988456d try to handle end of packet for not null terminated domain strings -
Andrew Tridgell
831f25a9a7 updated ldap test to test for less common function -
Andrew Tridgell
da353bc539 fixed a typo in vsyslog() -
Herb Lewis
b60d6f1197 remove duplicate lines -
Martin Pool
ecc624067c smbcontrol in non-interactive mode was returning True for success --
need to invert this to give the shell 0.
-
Martin Pool
53f1c0298b Add option to pass NULL max_replies to wait_for_replies in case you
don't know how many to expect.
-
Martin Pool
17bb0f60af Add code to send MSG_REQ_POOL_USAGE. (smbd doesn't respond yet.)
Factor out common code to wait until replies are received or timeout
expires.

Show debug message when messages are sent.
-
Tim Potter
54d2765615 Append to log.winbindd instead of overwriting it so we are consistent with
smbd/nmbd behaviour.
-
Tim Potter
60d1d0bfa9 Fix for null command description in rpcclient help. From Benjamin Kuit
<bj@it.uts.edu.au>.
-
Martin Pool
22e510ea0d Add an output parameter to message_send_all that says how many
messages were sent, so you know how many replies to expect.

Const and doc religion.
-
Martin Pool
d32598c953 Factor out a broadcast_printer_notify() routine. -
Martin Pool
b28dbbf569 Add MSG_REQ_POOL_USAGE to get memory usage info. -
Samba Release Account
9542b0a42c preparing for release of 3.0-alpha12 -
Andrew Tridgell
aa52ae7354 lp_setup_logfile() doesn't exist any more -
Andrew Tridgell
39f2e2e162 check for a winbindd username when doing a kerberos auth -
Andrew Tridgell
dfbe442c66 make sure we store the domain sid when joining a ADS domain -
Andrew Tridgell
ff002a458a added ads_domain_sid() function -
Jeremy Allison
0bea6cf79a Removed global debugf. Replaced with lp_set_logfile(name).
Fixed winbindd to finally stop leaving log. file droppings :-).
Jeremy.
-
Gerald Carter
fe7ad37612 update from Vance -
Gerald Carter
95308453b2 couple of updates mentioned on samba@samba.org -