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

8083 Commits

Author SHA1 Message Date
Andrew Bartlett
9ab144810e Patch from Hasch@t-online.de (Juergen Hasch) to add allocate and talloc
push/pull utf8 functions.  To be used for international ADS support.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
8c82a3daf7 Minor fixes:
- Fix warnings in loadparm.c
- Remove the unused 'passdb modules path' paramater

- Make pdb_ldap use $ termination rather than the workstation trust account
  flag becouse some 'machine' accounts appear as normal accounts at creation
  time.  Also covers domains etc.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
8e705dd921 Various winbind updates:
- pam_winbind updates from vance, fixing a typo and making some the options
  work properly.

- Extra parinoia in the winbind connection loop

- Allow pam_winbind to compile on HP-UX (Don Mcall, more work to do).

- Fix up configure.in to use the same method for building the test .so
  as the Makefile uses.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Bartlett
0784ab67ad Join as a server trust account if the server role is either PDC or BDC. 0001-01-01 00:00:00 +00:00
Jeremy Allison
ba6c3d65a5 Forgot torture hacks...
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
3b1b8ac435 Fix the mp3 rename bug - also tidy up our open code and remove the special
cases for rename and unlink. Had to add desired_access into the share mode record.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
e66bdf1229 Stomped on some header file version numbers that have crept back in. 0001-01-01 00:00:00 +00:00
Tim Potter
301a7f56dd Make debug statment less confusing. 0001-01-01 00:00:00 +00:00
Herb Lewis
c86d266d6e cut and paste inserted spaces instead of tab. Some versions of make don't
like this
0001-01-01 00:00:00 +00:00
Tim Potter
4d31151977 Added enumerate trusted domains and check secret.
Added configuration dictionary to retrieve smb.conf parameters.
0001-01-01 00:00:00 +00:00
Herb Lewis
bdac7cb9c5 add a -n maxloops option so this can be run in a script and end after a
certain number of iterations.
0001-01-01 00:00:00 +00:00
Herb Lewis
4af0c7a93f make install should also install the default dat files from codepages
directory so we don't keep getting these stupid error messages about
incorrect size for valid.dat upcase.dat and lowcase.dat
0001-01-01 00:00:00 +00:00
Jeremy Allison
51189e62a7 Missed a couple of fetch/store_ints.
Jeremy.
0001-01-01 00:00:00 +00:00
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.
0001-01-01 00:00:00 +00:00
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.
0001-01-01 00:00:00 +00:00
Herb Lewis
8b38cca631 merge fix for core dump when called with no args from 2.2 0001-01-01 00:00:00 +00:00
Jeremy Allison
d0b58f66ed Fix stupid typo !
Jeremy.
0001-01-01 00:00:00 +00:00
Herb Lewis
3e602671e2 add .proto.check 0001-01-01 00:00:00 +00:00
Herb Lewis
32d5dc824a update usage message with other options. Add a -d debuglevel option 0001-01-01 00:00:00 +00:00
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.
0001-01-01 00:00:00 +00:00
Herb Lewis
d4d9361eec return . and .. first in readdir - this fixes masktest on IRIX which
returns . then single letter files then .. then all other files.
0001-01-01 00:00:00 +00:00
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
0001-01-01 00:00:00 +00:00
Andrew Tridgell
57645fd85b make net ads info work with -S 0001-01-01 00:00:00 +00:00
Tim Potter
1ae07c42a4 Compile fix for --with-profiling-data 0001-01-01 00:00:00 +00:00
Andrew Bartlett
438f028fc4 Don't leak memory on failure. 0001-01-01 00:00:00 +00:00
Andrew Bartlett
56009ffbaa Make sure to initaliase SAM_ACCOUNT pointers to NULL, otherwise pdb_init_sam()
fails.

Andrew Bartlett
0001-01-01 00:00:00 +00:00
Andrew Tridgell
be399f5823 fixed the secondary group mappings for ADS users 0001-01-01 00:00:00 +00:00
Gerald Carter
9282aa02d4 merge from APPLIANCE_HEAD 0001-01-01 00:00:00 +00:00
Jeremy Allison
fbc8c6a109 Ensure we don't do lp_servicename()'s in tdb traverse as this
allocates lots of memory.
Jeremy.
0001-01-01 00:00:00 +00:00
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.
0001-01-01 00:00:00 +00:00
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.
0001-01-01 00:00:00 +00:00
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.
0001-01-01 00:00:00 +00:00
Andrew Bartlett
520c8626dc Make ldapsam compile again. 0001-01-01 00:00:00 +00:00
Jeremy Allison
2be9b253ad BUFFER_SIZE Should be 128k if large read write tests are to work.
Jeremy.
0001-01-01 00:00:00 +00:00
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
0001-01-01 00:00:00 +00:00
Tim Potter
b1b7ae8bcf Actually use flags passed in PYTHON_CFLAGS variable.
Use py_common.c in winbind extension module for correct initialisation.

Some reformatting.
0001-01-01 00:00:00 +00:00
Tim Potter
ba0624d0c3 Added enum domain users and enum domain groups. 0001-01-01 00:00:00 +00:00
Tim Potter
8e4bb2f8a0 Pass $(CFLAGS) and $(CPPFLAGS) to python compile instead of $(FLAGS) 0001-01-01 00:00:00 +00:00
Tim Potter
5e955b5fcc Added name_to_sid and sid_to_name functions. 0001-01-01 00:00:00 +00:00
Tim Potter
19dd8ba826 Remove nsswitch from include directories. 0001-01-01 00:00:00 +00:00
Tim Potter
099f8c5dfd Cache call to winbind separator.
Some random reformatting and cleanup.

Display output of wbinfo -s using actual winbind separator.
0001-01-01 00:00:00 +00:00
Gerald Carter
88d8897e21 resetprinter merge from SAMBA_2_2 0001-01-01 00:00:00 +00:00
Tim Potter
b06fc0cc84 Ignore autogenerated setup.py 0001-01-01 00:00:00 +00:00
Tim Potter
d35770d06f Initial version. 0001-01-01 00:00:00 +00:00
Jeremy Allison
5b04b5f1df Correctly increment offset in cli_smbwrite.
Jeremy.
0001-01-01 00:00:00 +00:00
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
0001-01-01 00:00:00 +00:00
Jeremy Allison
24ef6258a1 Test against W2K that we're doing large read/writes correctly (we are).
At least with 14 word writes.
Jeremy.
0001-01-01 00:00:00 +00:00
Jeremy Allison
00cabb2346 Ensure we get a real fd when opening for set file allocation.
Jeremy.
0001-01-01 00:00:00 +00:00
Tim Potter
3c587384cb Merge of Richard's lookupsid fix. 0001-01-01 00:00:00 +00:00
Jeremy Allison
5b43519219 Fix for debug typo. 0001-01-01 00:00:00 +00:00