Andrew Tridgell
eb3b3c8b40
r8710: another attempt at fixing HPUX
2007-10-10 13:29:56 -05:00
Andrew Tridgell
92afff5fe7
r8709: fixed the assumption in RAW-SEARCH that directories are returned in sorted order
2007-10-10 13:29:56 -05:00
Andrew Tridgell
b9b8714297
r8707: this typedef isn't used, and breaks the build on HPUX, so I've removed it
2007-10-10 13:29:56 -05:00
Andrew Bartlett
c3cc14542e
r8706: My previous patch oversimplied the previous change to session setup -
...
we didn't cope with the 'anonymous NTLM under SPNEGO' login.
Andrew Bartlett
2007-10-10 13:29:56 -05:00
Andrew Tridgell
ff156f7aae
r8703: cope with null string in interpret_addr()
2007-10-10 13:29:56 -05:00
Andrew Tridgell
3c12b46e32
r8702: fixed ntlm_auth build. Andrew, can you check I got this right?
2007-10-10 13:29:55 -05:00
Andrew Bartlett
1bc5a11907
r8701: Fix up auth_developer for recent changes.
...
Andrew Bartlett
2007-10-10 13:29:55 -05:00
Andrew Bartlett
ecbd2235a3
r8700: Propmted by tridge's need to do plaintext auth in ejs, rework the
...
user_info strcture in auth/
This moves it to a pattern much like that found in ntvfs, with
functions to migrate between PAIN, HASH and RESPONSE passwords.
Instead of make_user_info*() functions, we simply fill in the control
block in the callers, per recent dicussions on the lists. This
removed a lot of data copies as well as error paths, as we can grab
much of it with talloc.
Andrew Bartlett
2007-10-10 13:29:55 -05:00
Andrew Bartlett
f5910ceef5
r8699: removed invalid comment
2007-10-10 13:29:55 -05:00
Andrew Tridgell
c84c516b17
r8698: attempt to cope with lack of strtoull() on HPUX
2007-10-10 13:29:55 -05:00
Andrew Tridgell
80177b29f4
r8696: fixed ejs to more strictly follow the va_list rules. Might fix that
...
pesky panic on x86_64
2007-10-10 13:29:55 -05:00
Rafal Szczesniak
19f5ea9c9c
r8693: Test code for usermod routine.
...
rafal
2007-10-10 13:29:54 -05:00
Rafal Szczesniak
bee1c9ec2d
r8692: Starting parts of code to provide user modify functionality.
...
It's more like a placeholder now, than a working code. Just don't
want to hang it around my laptop only.
rafal
2007-10-10 13:29:54 -05:00
Jelmer Vernooij
7384b3c4a1
r8690: Code cleanups, improvements necessary for dependencies (not added yet)
2007-10-10 13:29:54 -05:00
Andrew Tridgell
802724cf69
r8685: an alpha in the build farm is dying with a floating point
...
exception. Catch these in out fault handler, so we get a backtrace
2007-10-10 13:29:54 -05:00
Andrew Tridgell
c2f5884e2f
r8684: this should fix the panic on x86_64, and possibly alpha
2007-10-10 13:29:54 -05:00
Andrew Tridgell
e6d9cde482
r8681: if SOCKET_WRAPPER_DIR starts with ./ then strip it internally. This saves us 2 more chars
...
in the name, which is enough to get IRIX 6.4 working
2007-10-10 13:29:54 -05:00
Andrew Tridgell
e84871dd32
r8680: try harder to find the binary for gdb in the backtrace
2007-10-10 13:29:53 -05:00
Andrew Tridgell
f8a2b032a7
r8679: only call fault setup once (thanks to andrew for pointing this out)
2007-10-10 13:29:53 -05:00
Andrew Tridgell
acf8c8fd49
r8678: setup for gdb backtrace in 'make test'
2007-10-10 13:29:53 -05:00
Andrew Bartlett
2303e24be7
r8677: The first part of the domain name may not be equal to the netbios domain name.
...
Remove the use of flatname from the main domain object, we no longer
reference it.
Andrew Bartlett
2007-10-10 13:29:53 -05:00
Andrew Tridgell
3a49626ae1
r8676: attribute lists in ldb searches must be NULL terminated
...
this is what was causing the panic on the s390 box
2007-10-10 13:29:53 -05:00
Andrew Bartlett
da48e77e7c
r8674: With the rdn_name module, we don't need this duplication in the samdb
...
module any more.
Andrew Bartlett
2007-10-10 13:29:53 -05:00
Andrew Tridgell
f9693e313d
r8671: use much shorter names for the selftest directory and socket wrapper
...
code. I'm afraid this is needed by irix 6.4 which silently truncates
names in unix domain sockets in recvfrom() to 16 chars. My apologies
for having to move to such short names :-(
2007-10-10 13:29:52 -05:00
Andrew Bartlett
968bcc4fe8
r8670: Remove GUID code from SAMR, it is handled lower down now. I notice
...
this code also does string SIDs, but I'm not quite sure where that
fits in.
Andrew Bartlett
2007-10-10 13:29:52 -05:00
Andrew Bartlett
8054abc76e
r8669: The objectguid module belongs in Samba's ldb module collection, not in
...
ldb, as it can't build without the NDR and GUID code.
Also make it properly use the NDR encoding for the GUID (I forgot last
time, and used a string), as well as set the dependencies on the
module correctly.
Andrew Bartlett
2007-10-10 13:29:52 -05:00
Andrew Tridgell
756796ad2e
r8668: fixed a segv during upgrade of a very old ldb.
...
Thanks to volker for finding this one too. Keep them coming!
2007-10-10 13:29:52 -05:00
Andrew Bartlett
ed1f2e029c
r8667: Further simply the provision script, by removing the 'name' attribute.
...
This is now calculated on the fly for every add and modify.
Andrew Bartlett
2007-10-10 13:29:52 -05:00
Andrew Bartlett
e03e00fe60
r8666: The same fix as the last commit, I was caught out on a move from a
...
BOOL to int function return.
Andrew Bartlett
2007-10-10 13:29:51 -05:00
Andrew Tridgell
e02d7753f7
r8665: fixed a segv at high debug level in the web server
...
thanks to volker for finding this
2007-10-10 13:29:51 -05:00
Andrew Bartlett
1982fdb6f3
r8664: I got caught out not testing...
...
I replaced these function calls, and they went from BOOL to int return
values, so naturally failed.
Andrew Bartlett
2007-10-10 13:29:51 -05:00
Andrew Bartlett
2408f32276
r8663: Since simo constructed the samdb module, he and tridge have worked on
...
a DN parsing system. Leverage that in the dsdb module.
Andrew Bartlett
2007-10-10 13:29:51 -05:00
Andrew Bartlett
3462cbadb2
r8662: Revert change to CN=Cert Publishers, this group still needs to
...
override the template for these attributes.
Andrew Bartlett
2007-10-10 13:29:51 -05:00
Andrew Tridgell
a569fc8924
r8661: added strstr() ejs function in string lib
2007-10-10 13:29:51 -05:00
Andrew Bartlett
4a8ef7197f
r8660: Use templates for the initial provision of user and computer accounts.
...
This ensures the templating code is used, and also makes it clearer
what I need to duplicate in the vampire area.
Also fix a silly bug in the template application code (the samdb
module) that caused templates to be compleatly unused (my fault, from
my commit last night).
Andrew Bartlett
2007-10-10 13:29:51 -05:00
Andrew Tridgell
d2c29a5a51
r8659: return ldif formatted attributes in the ejs ldb search call, so sids show up as strings
...
not binary blobs
2007-10-10 13:29:50 -05:00
Andrew Tridgell
b1d577f48d
r8658: move use of lp_security() and lp_nt_status_support() into the connection structure.
...
This massively reduces the number of lp_*() calls made
2007-10-10 13:29:50 -05:00
Andrew Tridgell
bd4c388cd2
r8651: fixed a boolean expression bug (submitted upstream)
2007-10-10 13:29:50 -05:00
Andrew Bartlett
940ed9827f
r8650: Use the timestamps and a new objectguid module rather than placing
...
boilerplate attributes in every entry in provision.ldif.
The next step will be to use templates.
Andrew Bartlett
2007-10-10 13:29:50 -05:00
Andrew Tridgell
f5e39455a8
r8649: added smbscript to the list of binaries to install
2007-10-10 13:29:49 -05:00
Andrew Tridgell
78fb559c08
r8648: automatically redirect to provisioning if not yet provisioned when the
...
home page in swat is accessed
2007-10-10 13:29:49 -05:00
Andrew Bartlett
d7136c93fb
r8644: This is a more useful error than unsuccesful.
...
Andrew Bartlett
2007-10-10 13:29:49 -05:00
Andrew Tridgell
c2691ef712
r8643: - make lp_configfile() work again
...
- get rid of redundeny dyn_CONFIGFILE argument to lp_load()
- fixed provisioning to work with completely pristine install,
creating an initial smb.conf is none is present
- added lp.set() and lp.reload() to loadparm ejs object interface
2007-10-10 13:29:48 -05:00
Andrew Tridgell
760cc6bea5
r8642: - fixed install of new swat files
...
- removed old provisioning items from esptest menu
2007-10-10 13:29:48 -05:00
Andrew Tridgell
ed4fb68ef7
r8640: continue the trend by moving the ejs random calls into an object
2007-10-10 13:29:48 -05:00
Andrew Tridgell
2dc493eea6
r8639: moved loadparm calls into an ejs object
2007-10-10 13:29:48 -05:00
Andrew Tridgell
a978484738
r8638: continue the trend of maknig our C functions true ejs objects by making the string functions
...
into an object. To keep existing code working I have added:
string_init(global);
into base.js. That brings the functions into the global scope for our
existing scripts
2007-10-10 13:29:48 -05:00
Andrew Tridgell
5dbdf4fb33
r8637: added sys.stat() and sys.lstat() calls
2007-10-10 13:29:48 -05:00
Andrew Tridgell
42ae50db81
r8636: fixed the ejs ldb test to work with the new ldb.search() syntax, and
...
add it to our test suite so it will be maintained
2007-10-10 13:29:47 -05:00
Andrew Tridgell
6a1ed328e2
r8635: make object inheritance with the builtin objects easy by allowing
...
callers to optionally supply an existing object to add the properties
to. So you can do:
var rpc = samr_init();
lsa_init(rpc);
and you end up with 'rpc' having both the samr and lsa functions and
constants available.
2007-10-10 13:29:47 -05:00