Andrew Bartlett
33dd512896
Make a number of the lookup tables 'const'. I'm told this assists in sharing
...
memory between users of shared libs.
Andrew Bartlett
(This used to be commit 41dd5a4d29
)
2002-03-23 08:45:03 +00:00
Andrew Bartlett
d6d9d6debd
Update some of the DEBUG()s in Get_Pwnam_internal()
...
Andrew Bartlett
(This used to be commit 20f6f9e3a2
)
2002-03-23 08:40:15 +00:00
Andrew Bartlett
fbdf45721b
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
(This used to be commit 9ab144810e
)
2002-03-23 08:39:04 +00:00
Andrew Bartlett
43ba0aa8d9
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
(This used to be commit 8c82a3daf7
)
2002-03-23 08:32:25 +00:00
Andrew Bartlett
657a24f476
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
(This used to be commit 8e705dd921
)
2002-03-23 08:28:19 +00:00
Andrew Bartlett
26588248cd
Join as a server trust account if the server role is either PDC or BDC.
...
(This used to be commit 0784ab67ad
)
2002-03-23 08:03:55 +00:00
Jeremy Allison
1bb3c9cd85
Forgot torture hacks...
...
Jeremy.
(This used to be commit ba6c3d65a5
)
2002-03-23 02:59:20 +00:00
Jeremy Allison
c90cd26e94
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.
(This used to be commit 3b1b8ac435
)
2002-03-23 02:57:44 +00:00
Tim Potter
ce236d1dbf
Stomped on some header file version numbers that have crept back in.
...
(This used to be commit e66bdf1229
)
2002-03-22 06:24:38 +00:00
Tim Potter
15bc8b1471
Make debug statment less confusing.
...
(This used to be commit 301a7f56dd
)
2002-03-22 05:43:08 +00:00
Herb Lewis
b47fcfca3e
cut and paste inserted spaces instead of tab. Some versions of make don't
...
like this
(This used to be commit c86d266d6e
)
2002-03-22 02:39:35 +00:00
Tim Potter
64f18308b7
Added enumerate trusted domains and check secret.
...
Added configuration dictionary to retrieve smb.conf parameters.
(This used to be commit 4d31151977
)
2002-03-22 00:10:53 +00:00
Herb Lewis
2e39a46942
add a -n maxloops option so this can be run in a script and end after a
...
certain number of iterations.
(This used to be commit bdac7cb9c5
)
2002-03-22 00:09:09 +00:00
Herb Lewis
87eb1ffd55
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
(This used to be commit 4af0c7a93f
)
2002-03-21 23:42:54 +00:00
Jeremy Allison
cd94f6cb63
Missed a couple of fetch/store_ints.
...
Jeremy.
(This used to be commit 51189e62a7
)
2002-03-21 23:41:28 +00:00
Jeremy Allison
67d21b5a4b
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.
(This used to be commit 1c4a00dcc1
)
2002-03-21 23:39:17 +00:00
Jeremy Allison
42955a4d81
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.
(This used to be commit 980355de0c
)
2002-03-21 23:19:17 +00:00
Herb Lewis
a3468c25a4
merge fix for core dump when called with no args from 2.2
...
(This used to be commit 8b38cca631
)
2002-03-21 22:36:04 +00:00
Jeremy Allison
bffc69a877
Fix stupid typo !
...
Jeremy.
(This used to be commit d0b58f66ed
)
2002-03-21 21:23:22 +00:00
Herb Lewis
21ea8c2835
add .proto.check
...
(This used to be commit 3e602671e2
)
2002-03-21 14:09:02 +00:00
Herb Lewis
aadc8a52fd
update usage message with other options. Add a -d debuglevel option
...
(This used to be commit 32d5dc824a
)
2002-03-21 14:03:41 +00:00
Herb Lewis
55058b074f
must use native endian index when creating default valid.dat table so it
...
is the same on big and little endian systems.
(This used to be commit 6fa09ee881
)
2002-03-21 14:01:57 +00:00
Herb Lewis
1783dcd2f1
return . and .. first in readdir - this fixes masktest on IRIX which
...
returns . then single letter files then .. then all other files.
(This used to be commit d4d9361eec
)
2002-03-21 14:00:13 +00:00
Andrew Bartlett
73c45a4a6f
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
(This used to be commit 996cd3a097
)
2002-03-21 11:54:43 +00:00
Andrew Tridgell
3fd8f2d6e8
make net ads info work with -S
...
(This used to be commit 57645fd85b
)
2002-03-21 04:48:24 +00:00
Tim Potter
d3cc779010
Compile fix for --with-profiling-data
...
(This used to be commit 1ae07c42a4
)
2002-03-21 04:25:31 +00:00
Andrew Bartlett
0f08930b32
Don't leak memory on failure.
...
(This used to be commit 438f028fc4
)
2002-03-21 04:00:25 +00:00
Andrew Bartlett
93d25c293f
Make sure to initaliase SAM_ACCOUNT pointers to NULL, otherwise pdb_init_sam()
...
fails.
Andrew Bartlett
(This used to be commit 56009ffbaa
)
2002-03-21 03:53:44 +00:00
Andrew Tridgell
e76d514f57
fixed the secondary group mappings for ADS users
...
(This used to be commit be399f5823
)
2002-03-21 02:28:23 +00:00
Gerald Carter
9529a4827c
merge from APPLIANCE_HEAD
...
(This used to be commit 9282aa02d4
)
2002-03-20 23:09:34 +00:00
Jeremy Allison
e67f1be9f0
Ensure we don't do lp_servicename()'s in tdb traverse as this
...
allocates lots of memory.
Jeremy.
(This used to be commit fbc8c6a109
)
2002-03-20 22:39:30 +00:00
Jeremy Allison
60a7d07d63
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.
(This used to be commit 230941d2fb
)
2002-03-20 21:55:57 +00:00
Jeremy Allison
c770faac5f
John's patch changed the size of a structure stored in the tdb - we
...
must thus update the versionid of the tdb.
Jeremy.
(This used to be commit c5230a5387
)
2002-03-20 21:08:19 +00:00
Jeremy Allison
2eab97160b
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.
(This used to be commit bc8d4b9880
)
2002-03-20 19:29:06 +00:00
Andrew Bartlett
b1062ece13
Make ldapsam compile again.
...
(This used to be commit 520c8626dc
)
2002-03-20 12:05:10 +00:00
Jeremy Allison
ea6099e30c
BUFFER_SIZE Should be 128k if large read write tests are to work.
...
Jeremy.
(This used to be commit 2be9b253ad
)
2002-03-20 07:20:38 +00:00
Martin Pool
75722fa183
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
(This used to be commit 098905bea2
)
2002-03-20 06:57:03 +00:00
Tim Potter
a17b5158f1
Actually use flags passed in PYTHON_CFLAGS variable.
...
Use py_common.c in winbind extension module for correct initialisation.
Some reformatting.
(This used to be commit b1b7ae8bcf
)
2002-03-20 06:29:23 +00:00
Tim Potter
747e020a07
Added enum domain users and enum domain groups.
...
(This used to be commit ba0624d0c3
)
2002-03-20 06:27:41 +00:00
Tim Potter
7106ed0d25
Pass $(CFLAGS) and $(CPPFLAGS) to python compile instead of $(FLAGS)
...
(This used to be commit 8e4bb2f8a0
)
2002-03-20 04:58:38 +00:00
Tim Potter
04b555952c
Added name_to_sid and sid_to_name functions.
...
(This used to be commit 5e955b5fcc
)
2002-03-20 04:53:44 +00:00
Tim Potter
9cd6e74e8b
Remove nsswitch from include directories.
...
(This used to be commit 19dd8ba826
)
2002-03-20 04:51:40 +00:00
Tim Potter
97ec0686f1
Cache call to winbind separator.
...
Some random reformatting and cleanup.
Display output of wbinfo -s using actual winbind separator.
(This used to be commit 099f8c5dfd
)
2002-03-20 03:54:47 +00:00
Gerald Carter
826f3fb86b
resetprinter merge from SAMBA_2_2
...
(This used to be commit 88d8897e21
)
2002-03-20 03:37:27 +00:00
Tim Potter
e9f2a38ff1
Ignore autogenerated setup.py
...
(This used to be commit b06fc0cc84
)
2002-03-20 03:32:44 +00:00
Tim Potter
d07cc9d8a1
Initial version.
...
(This used to be commit d35770d06f
)
2002-03-20 03:29:03 +00:00
Jeremy Allison
a1249aca90
Correctly increment offset in cli_smbwrite.
...
Jeremy.
(This used to be commit 5b04b5f1df
)
2002-03-20 01:47:31 +00:00
Andrew Bartlett
6586062d1a
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
(This used to be commit 0f0f87e6c3
)
2002-03-20 01:46:40 +00:00
Jeremy Allison
5e09ffdc7c
Test against W2K that we're doing large read/writes correctly (we are).
...
At least with 14 word writes.
Jeremy.
(This used to be commit 24ef6258a1
)
2002-03-20 01:43:06 +00:00
Jeremy Allison
418d5684a2
Ensure we get a real fd when opening for set file allocation.
...
Jeremy.
(This used to be commit 00cabb2346
)
2002-03-20 00:58:23 +00:00