| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This updates the 'winbind' authentication module and winbind's 'PAM' (actually
netlogon) code to allow smbd to cache connections to the DC.
This is particulary relevent when we need mutex locks already - there is no
parallelism to be gained anyway.
The winbind code authenticates the user, and if successful, passes back the
'info3' struct describing the user. smbd then interprets that in exactly the
same way as an 'ntdomain' logon.
Also, add parinoia to winbind about null termination.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| |
| | |
longer than the buffer they claim to be in.
Many thanks to tridge for explaining the macros.
Andrew Bartlett
|
| |
| |
| |
| | |
for spotting this)
|
| | |
|
| |
| |
| |
| | |
Andrew Bartlett
|
| |
| |
| |
| | |
Andrew Bartlett
|
| |
| |
| |
| | |
code.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When this option is disabled we should not do *any* netbios
operations. You should also not start nmbd at all. I have put initial
checks in at the major points we do netbios operations in smbd but
there are bound to be more needed. Right now I've disabled all netbios
name queries, all WINS lookups and node status queries in smbd and
winbindd.
I've been testing this option and the most noticable thing is how much
more responsive things are! wthout those damn netbios timeouts things
certainly are much slicker.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| | |
needed to find the DC IP. Just don't check its return value!
|
| |
| |
| |
| | |
our smb.conf setup.
|
| | |
|
| |
| |
| |
| | |
Tridge, please look at this. Did you mean to take out the last parm?
|
| |
| |
| |
| |
| | |
is netbios and dns domain info. Also add code to set/fetch the domain GUID
from secrets.tdb (although set is not yet called by anyone).
|
| |
| |
| |
| | |
very useful in scripts
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
there were 2 bugs:
1) we were sending a null challenge when we should have sent an empty
challenge
2) the password can be in unicode if unicode is negotiated. This means
our client code was wrong too :(
|
| | |
|
| |
| |
| |
| |
| | |
without any 'realm =' or 'ads server =' options at all, as long as DNS
is working right.
|
| |
| |
| |
| |
| | |
make the code a fair bit cleaner as it splits up the ADS and RPC
cases, which really are very different.
|
| |
| |
| |
| | |
field. This has got to be pointless.
|
| |
| |
| |
| |
| |
| |
| |
| | |
the servers netbios name when we don't need it. This also fixes ADS
mode when the DC has netbios disabled.
- if the password server is specified as an IP then actually use that
IP, don't do a lookup for the servers name :)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Finally the cascaded VFS patch is in.
Testing is very welcome, specially with layered multiple vfs modules.
A big thank to Alexander Bokovoy for his work and patience :)
Simo.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- That we never call winbind recursivly
- That we never use an 'algorithmic' RID when we have a fixed uid or gid mapping
in either the passdb or the group mapping db.
Also, remove restrictions that say 'this domain only'. If we have a mapping
configured, allow it to be returned. If we later decide certian mappings are
invalid, then we sould put that in the code that actually does the map.
Allow 'sid->name' transtations on the fixed 'well known' groups for NT, even
if they are not represented by Unix groups yet.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| | |
are dealing with utf8 we may as well specify char** for the pointer, save
otherwise casting in the caller.
Andrew Bartlett
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
as it might actually not be a clone, but a 'found' service.
Previously this meant that a second session setup on the same TCP/IP connection
for a user would write '' as the home directory. Instead, I want it to update
the share to be there current home directory (so that this can be updated
without the need to reboot the client for example).
Andrew Bartlett
|
| |
| |
| |
| | |
Andrew Bartlett
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
permanently down. Found by Dan Coppock.
|
| |
| |
| |
| |
| |
| | |
problems here.
Also fixed some non-constant initialisers in samsync.
|
| |
| |
| |
| |
| |
| |
| | |
is. I'm calling it REG_SAVE_KEY, because 2k preps a regedt32.exe
Registry->Save Key with this call.
Done in the process of tracking down a PrinterDriverData issue.
|
| | |
|
| |
| |
| |
| |
| | |
converting the first character of the unicode string., See convert_string()
for why. uniarray_2_dosarray() passes 0 for the src length now which works.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
after a given date. I use it to help update the WHATSNEW.txt for a
release.
./cvslog.pl SAMBA_2_2 '>2002-06-18' configure.in
The output is a little messy right now, but I plan to clean that up.
|
| | |
|
| |
| |
| |
| | |
experiment with file size returns
|
| |
| |
| |
| |
| |
| | |
and must == unix username for sane implementation in passdb.
Andrew Bartlett
|
| |
| |
| |
| |
| |
| |
| |
| | |
This gets my test code working, where we previously failed with files
above 20G in size.
I'm still not completely happy with this. There are just too many
fields in trans2.c that we don't fill in.
|
| |
| |
| |
| |
| |
| | |
hide only unwriteable files and not dirs with this one.
may be a hide unwriteable dirs param will follow.
|
| |
| |
| |
| |
| |
| |
| |
| | |
pretty half-arsed at the moment and doesn't work very well but Mr Bartlett
was interested in it.
Also started playing around with the more interesting bits of popt. The
auto-generated usage information is pretty neat.
|
| | |
|
| | |
|
| | |
|
| | |
|