| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| | |
'release-3-0-alpha19'.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
'system_smbd.c' file, where it can link with become_root() and unbecome_root(),
and therefore avoiding some nasty 'it workes on linux' bugs.
(The replacement function is implemented in terms of initgroups(), which is
naturally only avaliable to root).
Andrew Bartlett
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Tridge suggested a generic caching mechanism for Samba to avoid the
proliferation of little cache files hanging around limpet like in the
locks directory. Someone should probably implement this at some
stage.
|
| | |
|
| | |
|
| |
| |
| |
| | |
conforms to standard OSF/DCE uuid format.
|
| |
| |
| |
| |
| |
| | |
the new accessor functions.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
future.
This moves us from fstrcpy() and global variables to 'get' and 'set' functions.
In particular, the 'set' function sainity-checks the input, in the same way as
we always have.
Andrew Bartlett
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
on both by default, and you can specify a list of ports to listen on
either with "smb ports = " in smb.conf or using the -p option to smbd.
this is needed for proper netbiosless operation.
|
| |
| |
| |
| |
| |
| |
| | |
are dealing with utf8 we may as well specify char** for the pointer, save
otherwise casting in the caller.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| | |
problems here.
Also fixed some non-constant initialisers in samsync.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
null before close
this one fixes swat not working with browsers that set more then one language.
along the way implemented language priority in web/neg_lang.c with bubble sort
also changet str_list_make to be able to use a different separator string
Simo.
|
| |
| |
| |
| |
| | |
we could generate short passwords!
samba-patches 880
|
| |
| |
| |
| |
| |
| | |
lot. But as thats done, we might as well use it anyway.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Update account_pol.c to use just uint32, rather then uint32 for paramaters,
int32 for storage. (The int32 functions didn't have seperate return/status
values, uint32 functions use a pointer-paramater).
Move the #define -> string from a swtich to a table, so we can look it up
both ways.
Andrew Bartlett
|
| |
| |
| |
| |
| | |
in get_alias_user_groups(). The old method used getgrent() which is
extremely slow when the number of groups is large
|
| | |
|
| | |
|
| |
| |
| |
| | |
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is for two things: To allow panic actions etc to pump out backtraces to
stderr and to allow vangrind to put its stuff in a logfile - making it possible
to debug smbd when launched from inetd.
I've also cleaned up some of the duplicate names in procedures between smbd and
nmbd.
Andrew Bartlett
|
| |
| |
| |
| | |
Andrew Bartlett
|
| |
| |
| |
| |
| | |
that caused a valid search to fail. The printing registry
view now works again.
|
| |
| |
| |
| | |
use a destroyed TALLOC_CTX*
|
| |
| |
| |
| |
| | |
of a string....
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
registry values are now passed around in containers
(REGSUBKEY_CTR & REGVAL_CTR) which each possess a TALLOC_CTX.
* removed subkey_specific_fn() from REGISTRY_OPS. Is implemented
in the form of a wrapper
* temporarily broke the printing registry ops.
* implemented inheritence for the data_p of nodes in a SORTED_TREE
* All REGISTRY_KEY instances now store a valid REGISTRY_HOOK since
the default REGOSTRY_OPS structure is stored in the root of the
cache_tree.
* Probably some other change I forgot.... T
|
| |
| |
| |
| | |
thanks to tim for finding this bug
|
| |
| |
| |
| |
| |
| | |
number of *bytes*. >= check was correct, the len=0 case needed changing
to len = ls + 1.
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| | |
It complained about an overflow of 0 bytes.
Jeremy please check since you modified this last.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
effective gid which could mean that the user gets group 0 in their
group list for acl interpretation
this is a replacement fix for the one richard did in 2.2 (which didn't
cope wiith variable behaviour depending on which nss module was in
use)
|
| |
| |
| |
| |
| | |
they will get a const string and return a (t)alloced epanded one.
also modified passdb/* stuff to use this one.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
marshalling/unmarshalling of
security descriptors. We need to calculate the maximum offset and set the offset
back after reading/writing every field in the SEC_DESC.
This was *nasty* to find....
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
a separate tdb per printer, but only keeps (currently one) tdb open at
a time (although this is easily changed by changing a #define). Needs
scalability testing with large numbers of printers now....
Jeremy.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
server. The real problem is all the special cases we had for when we
are a wins server as opposed to when we are using a 'real' wins
server.
This patch removes the special cases. We now accept non-broadcast
packets from ourselves and we use ourselves as a wins server when we
are one. This gets rid of the special cases and simplifies things
quite a bit.
It all seems to work, but there are bound to be problems found later.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a function to display 'sid types' as strings - makes rpcclient outptut
and DEBUG() logs much eaiser to understand.
Move the enum for SID types to smb.h, becouse is really isn't LSA specific any
more.
Andrew Bartlett
|
| | |
|
| |
| |
| |
| |
| |
| | |
Went through and checked all string_subs I could to ensure they're being
used correctly.
Jeremy.
|