| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | | |
DMF fix is no longer needed.
Jeremy.
|
| | |
| | |
| | |
| | |
| | | |
does the magic.
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
new snum doesn't exist yet, so we can't substitute based on it - we get
servicename being "homes".
Renamed XXX_NOT_CHANGED constants to SMB_XXX_NOT_CHANGED.
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
-> NT STATUS
maps. Fixes problem with disk full returning incorrect error.
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
add define for DMF_FIX and hide warnings about exrtanious const casts.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
add documentation or options that have been added in the past but never
documented.
Could someone generate the other files, I still have not been able to get
docbook working on my system.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | | |
parse_spoolss.c : Got client side setprinter working from rpcclient.
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
add wins test commands to wbinfo
|
| |\| |
|
| | |
| | |
| | |
| | | |
after further testing in 2.2 branch.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Also set the default value of all the allocated strings to "" to avoid changing
the interface (becouse pdb_get...() would point to a null string, rather than a
null pointer and parts of samba rely on that).
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
These strings are allocated using talloc(), either using its own memory context
stored on the SAM_ACCOUNT or one supplied by the caller.
The pdb_init_sam() and pdb_free_sam() function have been modifed so that a call
to pdb_free_sam() will either clean up (remove hashes from memory) and destroy
the TALLOC_CTX or just clean up depending on who supplied it.
The pdb_init_sam and pdb_free_sam functions now also return an NTSTATUS, and I
have modified the 3 places that actually checked these returns.
The only nasty thing about this patch is the small measure needed to maintin
interface compatability - strings set to NULL are actually set to "".
This is becouse there are too many places in Samba that do strlen() on these
strings without checking if they are NULL pointers.
A supp patch will follow to set all strings to "" in pdb_default_sam().
Andrew Bartlett
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
screen-full of kerberos warnings.
This is almost as good, and I can actually see the Samba warnings.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
memory.
The winbind connection caching code isn't exactly a plesent beast, and there is
more work that needs to be done to nail this properly.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This occured when the attempt to contact the PDC failed. The connection code
has already shut down the connection, and 'free'ed the cli or has never
initialised it in the first place.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | | |
of the connections db on smbd startup. This should fix the Solaris large
load bug.... (fingers crossed).
Jeremy.
|
| | |
| | |
| | |
| | | |
otherwise all the memory will be seen as still reachable.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If you define this, pstring and fstring become distinguished types, so
that it's harder to accidentally overflow them by for example passing
an fstring on the lhs of pstrcpy.
The types are defined as one-element union arrays so that with
"fstring f" the name "f" will be a pointer and with a big hammer you
can cast it to (char *). So code that tries to just use it directly
will get a loud warning, but hopefully nothing worse.
To pass them to non-pstring-aware functions, use PSTR and check that
the function takes a const. They should almost never be modified
except by special calls. In those unusual cases, use PSTR_MUTABLE.
This is off by default so as not to produce too many warnings. As the
code is vetted it can become the default.
|
| | |
| | |
| | |
| | | |
functions.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
contents...
Andrew Bartlett
|