| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
J.F.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
that GROUPNAME_MAP has never been used.
I'll delete the smbd/groupname.c file too
J.F.
|
| | |
| | |
| | |
| | | |
J.F.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This just splits off the dispinfo call behind a methods structure.
I'll split off a few more functions soon, then we will be ready for
LDAP replacement methods
|
| | |
| | |
| | |
| | | |
happy
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | | |
Jeremy
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
sharemode db in the following way.
Originally, on startup and shutdown, smbd would scan the share mode
db to ensure it was correct. This lead to scalability issues as
scans lock the db for quite a long time. Andrew had the brainstorm
that we only care about the record we're about to read.
This new code (small change really, but quite significant) causes
get_share_modes() to do a process_exists() call against each pid
in each record, and to delete any that don't and re-write the
entry if any dead records were detected.
This allowed me to remove the startup/shutdown scans of the
db (they can be added into smbstatus if anyone really cares to
have them back). This will please the vfs author who was worried
about the time taken on open() calls, and will lead to much
greater robustness and scalability in the share mode db.
We need much testing of this, and also netbench tests to
ensure the extra process_exists() calls don't hurt performance
(they shouldn't it's a very simple system call).
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | | |
definitions.
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This time it's a PRIVILEGE_SET struct instead of a simple uint32 array. It
makes much more sense. Also added a uint32 systemaccount to the GROUP_MAP
struct as some privilege showing in USRMGR.EXE are not real privs but a
bitmask flag. I guess it's an heritage from NT 3.0 ! I could setup an NT
3.1 box to verify, but I'm too lazy (yes I still have my CDs).
Added 3 more LSA calls: SetSystemAccount, AddPrivileges and
RemovePrivileges, we can manage all this privilege from UserManager.
Time to change the NT_USER_TOKEN struct and add checks in all the rpc
functions. Fun, fun, fun.
J.F.
|
| | |
| | |
| | |
| | | |
perhaps we should just fail ads_init() in this case?
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
behaviour no matter if kerberos was found automatically, found in the
/usr/kerberos path or was specified.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This allows us to use automagically obtained values in future, and the value
from krb5.conf now.
Also fix mem leaks etc.
Andrew Bartlett
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
name_status_find() call here should look up a #1c name instead of #1d.
This fixes some bugs currently with BDC authentication in winbindd and in
smbd as you can't query the #1d name with the ip address of a BDC.
Who is Uncle Tom Cobbley anyway?
|
| | |
| | |
| | |
| | | |
this fixes the core dumps on sparc
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | | |
|
| | |
| | |
| | |
| | | |
the configure test uses the CPPFLAGS when checking that krb5.h exists
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
being set. Also prevent an open on a file on a readonly share from
setting delete on close.
Jeremy.
|
| | |
| | |
| | |
| | |
| | | |
user demand (don't talk to me about removing parameters.... :-).
Jeremy.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Jeremy.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
We now get the full account policy window in usermanager, and the
framework to store all those values. I plan to add a TDB file to store
them.
oh, and found that the last value in a sam_unknown_info_12_inf struct is
an uint16 and not a uint32.
andrewb: you hardcoded the MAX_PASSWORD_AGE to 21 days. We can now turn it
to a value setable in usermanager.
J.F.
|
| | |
| | |
| | |
| | | |
M-x tabify
|
| | |
| | |
| | |
| | | |
packets in session setup
|
| | |
| | |
| | |
| | |
| | | |
in samba-technical for explaination.
Jeremy.
|
| | |
| | |
| | |
| | | |
segvs in the build farm
|