1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-23 00:23:53 +03:00
Commit Graph

7127 Commits

Author SHA1 Message Date
Jeremy Allison
51189e62a7 Missed a couple of fetch/store_ints.
Jeremy.
-
Jeremy Allison
1c4a00dcc1 Make winbindd_idmap tdb endian independent. This is very important for
sharing between machines with rsync.
Finally removed tdb_store_int/tdb_fetch_int.
Now only tdb_store_int32/tdb_fetch_int32 which are endian independent
are allowed.
Jeremy.
-
Jeremy Allison
980355de0c When upgrading from an old idmap tdb, remember to overwrite the reverse
mapping as well as the forward one. Found this in doing the backport to
2.2.x. This is *essential* to upgrade an old idmap file to a new one.
Jeremy.
-
Herb Lewis
8b38cca631 merge fix for core dump when called with no args from 2.2 -
Jeremy Allison
d0b58f66ed Fix stupid typo !
Jeremy.
-
Herb Lewis
3e602671e2 add .proto.check -
Herb Lewis
32d5dc824a update usage message with other options. Add a -d debuglevel option -
Herb Lewis
6fa09ee881 must use native endian index when creating default valid.dat table so it
is the same on big and little endian systems.
-
Herb Lewis
d4d9361eec return . and .. first in readdir - this fixes masktest on IRIX which
returns . then single letter files then .. then all other files.
-
Andrew Bartlett
996cd3a097 There is no reason we can't join a domain with secuirty=user. In fact we
need to when we are a BDC or a PDC doing a self-join.

Andrew Bartlett
-
Andrew Tridgell
57645fd85b make net ads info work with -S -
Tim Potter
1ae07c42a4 Compile fix for --with-profiling-data -
Andrew Bartlett
438f028fc4 Don't leak memory on failure. -
Andrew Bartlett
56009ffbaa Make sure to initaliase SAM_ACCOUNT pointers to NULL, otherwise pdb_init_sam()
fails.

Andrew Bartlett
-
Andrew Tridgell
be399f5823 fixed the secondary group mappings for ADS users -
Gerald Carter
9282aa02d4 merge from APPLIANCE_HEAD -
Jeremy Allison
fbc8c6a109 Ensure we don't do lp_servicename()'s in tdb traverse as this
allocates lots of memory.
Jeremy.
-
Jeremy Allison
230941d2fb Print queue entries *must* have queue names, not numbers - numbers are
not identical between different smbds (mr potter, come here and take
your medicine.... :-).
Jeremy.
-
Jeremy Allison
c5230a5387 John's patch changed the size of a structure stored in the tdb - we
must thus update the versionid of the tdb.
Jeremy.
-
Jeremy Allison
bc8d4b9880 HEAD only fix for truncate from Alexander Bokovoy <a.bokovoy@sam-solutions.net>.
This code needs replacing with the trans2.c from 2.2.x.
Jeremy.
-
Andrew Bartlett
520c8626dc Make ldapsam compile again. -
Jeremy Allison
2be9b253ad BUFFER_SIZE Should be 128k if large read write tests are to work.
Jeremy.
-
Martin Pool
098905bea2 Add assertions that kill() is never accidentally passed a non-positive
pid.  This follows a bug in rsync where it would accidentally
kill(-1), removing all the user's processes.  I can't see any way this
would directly happen in Samba, but having the assertions seems
beneficial.

http://cvs.samba.org/cgi-bin/cvsweb/rsync/util.c.diff?r1=1.108&r2=1.109&f=h
-
Tim Potter
b1b7ae8bcf Actually use flags passed in PYTHON_CFLAGS variable.
Use py_common.c in winbind extension module for correct initialisation.

Some reformatting.
-
Tim Potter
ba0624d0c3 Added enum domain users and enum domain groups. -
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. -