1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-19 10:03:58 +03:00

8046 Commits

Author SHA1 Message Date
Tim Potter
8e4bb2f8a0 Pass $(CFLAGS) and $(CPPFLAGS) to python compile instead of $(FLAGS) -
Tim Potter
5e955b5fcc Added name_to_sid and sid_to_name functions. -
Tim Potter
19dd8ba826 Remove nsswitch from include directories. -
Tim Potter
099f8c5dfd Cache call to winbind separator.
Some random reformatting and cleanup.

Display output of wbinfo -s using actual winbind separator.
-
Gerald Carter
88d8897e21 resetprinter merge from SAMBA_2_2 -
Tim Potter
b06fc0cc84 Ignore autogenerated setup.py -
Tim Potter
d35770d06f Initial version. -
Jeremy Allison
5b04b5f1df Correctly increment offset in cli_smbwrite.
Jeremy.
-
Andrew Bartlett
0f0f87e6c3 Allow a zero rid in pdb_smbpasswd. When given a zero rid the pdb backend
should chose the next available RID.  For smbpasswd it just means using the algorithm, but other backends can do somthing more useful.

Andrew Bartlett
-
Jeremy Allison
24ef6258a1 Test against W2K that we're doing large read/writes correctly (we are).
At least with 14 word writes.
Jeremy.
-
Jeremy Allison
00cabb2346 Ensure we get a real fd when opening for set file allocation.
Jeremy.
-
Tim Potter
3c587384cb Merge of Richard's lookupsid fix. -
Jeremy Allison
5b43519219 Fix for debug typo. -
Jeremy Allison
504e5ef049 Remove the "stat open" code - make it inline. This should fix the
bugs with opening and renaming mp3 files, also the word rename
problems that people have had for a while.
Needs a make clean :-) make.
Also added JohnR's printing fix.
Jeremy.
-
Tim Potter
47b1003bc5 Merge from app-head:
> Don't put two copies of the server name in construct_printer_info_1()
-
Tim Potter
4d172b712f Patch to configure.in and Makefile.in for Python extensions. -
Jeremy Allison
d5fd1fd859 Merge JohnR's fix.
Jeremy.
-
Andrew Tridgell
76fe90343c the beginning of a test to determine and display a servers properties
just shows capabilities at the moment
-
Tim Potter
85650ee3bc setup.py for samba python wrappers -
Andrew Tridgell
98769f08e7 make "net ads user" and "net ads group" also use the new paged interface -
Andrew Tridgell
41e1560798 updated winbindd to used paged ldap searches for all ldap queries -
Andrew Tridgell
514c11b4e3 added a ads_do_search_all() call, which is a more convenient interface
to paged searches. This makes updating winbindd to used paged searches
trivial.
-
Simo Sorce
aa4b6f8181 second step to gain free uid<->rid mapping
we still need to free gid<->rid mapping and few other stuff
-
Andrew Tridgell
8bf487ddff fixed paged controls on my box. The problem seems to be incorrect
referrals parsing in the openldap libs. By disabling referrals we get
valid controls back and the cookies work.
-
Martin Pool
aa27993245 Take out autobuild dependency on proto.h; breaks some proprietary Makes. -
Martin Pool
87f2e3c30d Refactor for systems like Solaris that cannot handle wildcards on the
right side of a dependency line.
-
Martin Pool
8a61a810e5 Change the Makefile to rebuild proto.h as necessary -- note that this
does not imply that all source will be rebuilt when prototypes change,
merely that the prototypes will be updated.

make proto, clean, delheaders, headers, etc all behave equivalently to
before.

  Intended new behaviour for proto.h, whenever source is being
  compiled:

  If proto.h does not exist, it is built.

  If any source files have changed since proto.h was last checked
  (.proto.check), then proto.h is checked.  If there are no actual
  changes since last time, its mtime is not changed, but we do
  remember the time at which it was checked.

  Whenever we try to build a .o, we need to check the headers are up
  to date.  However, rebuilding the prototypes does not imply
  rebuilding all object files.

  Also to allow people to build on machines without Awk, we never try
  to use it unless a source file has changed.  I guess if we wanted,
  we could have lack of Awk only cause a warning, not failure.

The point of all of this is to be easier on people who don't
understand or forget to type "make proto", and to reduce the chance of
build breakage by having prototypes out of sync.

I also rolled back JF's changes to put proto.h into builddir rather
than srcdir.  There are good arguments in both directions, but since
we keep proto.h in CVS, it seems important that the up-to-date copy by
in srcdir where it can be checked back in.  If people are fussed about
having srcdir be readonly you could change this -- but since proto.h
is only rebuilt when there are changes, it's not a big deal.

I also fixed an apparent race condition in "make headers" that would
make it unsafe if you did 'make -j2', and made 'make clean' not kill
proto.h, since people may not be able to rebuild it.

I reckon there's nothing gnumake-specific here but we shall see.

I also have this great idea about rewriting libtool in C++...
-
Andrew Bartlett
f4f23fad60 Fix a double-free bug in wbinfo -t's call in winbindd.
I forgot to clean this up when netlogon move across to the connection cache
arrangement.

Also add some smb_panics to the connection_ok() code to try to catch this kind
of thing better in future.

Andrew Bartlett
-
Tim Potter
5387e4046f Don't try to sort a list of zero length in internal_resolve_name() -
Jeremy Allison
e758bdc8a8 Sync up the VFS changes from 2.2.x.
Jeremy.
-
Jeremy Allison
2e3133fbe5 Merge in JohnR's page count fixes.
Jeremy.
-
Jeremy Allison
ad1e858d8e Sync up vfs changes from 2.2.x.
Jeremy.
-
Simo Sorce
fdb88eb06a ops forgot this :-) -
Simo Sorce
9836af7cd6 more verbose checking in talloc and util_pw
fixed tdbsam memory corruption (and segfault)
reducing calls to pdb_uid_to_user_rid and countrary to 0 to move to a non alghoritmic rid allocation with some passdb modules.
-
Simo Sorce
724390a8da Start to switch away from the alghorithmic uid->rid mapping model -
Andrew Bartlett
ef68b28fa0 Allow us to see the difference between these two errors. (We need to chase
down some bugs with it...).

Andrew Bartlett
-
Samba Release Account
a772386d34 preparing for release of 3.0-alpha17 -
John Terpstra
208c62c5a7 Fix ability to compile with CUPS support. -
Tim Potter
ddb5753e36 Added dos_errstr() function. Not all errors in list yet. -
Tim Potter
1f007d3ed4 Renamed get_nt_error_msg() to nt_errstr(). -
Jim McDonough
7ba235c0fb Fix build for non-ads case -
Jim McDonough
936df31df5 Don't use // even temporarily, lest ye forget it and check it in... -
Jim McDonough
539d0cc030 Change new style join function name for clarity in net_rpc.c -
Jim McDonough
c8a4a09b56 Change net rpc join several ways: \n\t1) expose \n\t2) eliminate oldstyle subcommand \n\t3) try oldstyle first, then more secure method\n to allow for autodetect between ads and rpc on net join -
Jim McDonough
87ee483231 Expose net_ads_join to allow for auto-transport-detection for net join -
Jim McDonough
951006374e Add autodetect for net join, as well as some more help updates -
Jim McDonough
17775dae28 Some help cleanups. Formatting and consistency issues. Line up text nicely, and make 'net help rap user' the same as 'net rap user help'...stuff like that -
Andrew Tridgell
e7ae8003cb if our lock spin code fails then return the first error code, not the
last one. This is what caused the lock1 and lock2 tests to fail.
-
Andrew Tridgell
775404fe46 the SEC_DOMAIN tests also apply to SEC_ADS -
Andrew Tridgell
a21ba95897 nicer output from "net rpc user add" -