| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
talloc_string_sub. Someone with time on his hands could convert all the
callers of all_string_sub to this.
realloc_string_sub is *only* called from within substitute.c, it could be
moved there I think.
Volker
|
| |
| |
| |
| |
| |
| | |
conn->service, so there's no point in passing down the whole conn struct.
Volker
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
in doing
an else branch that only returns NULL.
Volker
|
| | |
|
| | |
|
| |
| |
| |
| | |
Volker
|
| |
| |
| |
| |
| |
| |
| | |
Jeremy, there's a #ifdef'ed 0 call to this in your usershare code. We need to
talk about what exactly what you intend to do here and in what scenarios.
Volker
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Ensure it returns a BOOL.
Jerry (and anyone else) please check this, I think
all uses are now correct but could do with another
set of eyes. Essential for 3.0.21 release.
Jeremy.
|
| |
| |
| |
| |
| | |
and followed up by derrell@samba.org.
Jeremy.
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| |
| | |
are listed in smb.conf
* initialize the local group description in set_alias_info()
|
| |
| |
| |
| |
| |
| |
| |
| | |
to make the dev/inode numbers match what SFU expects.
If we're using 8 byte inodes we'll lose the top 4 bytes
and replace them with a dev_t instead, but this seem
reasonable to ensure uniqueness.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
account is disabled. If we get this we can't check
the password so have to tell the client the account
was disabled.
Jeremy.
|
| |
| |
| |
| | |
check in the DEBUG message referenced in the previous commit
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Ensure that when libsmbclient copies a cli, it prevents the cli from later
being freed, by turning off the 'allocated' flag.
Change a DEBUG message in pipe_open code from level 0 to level 1 since
libsmbclient is now regularly attempting to open a pipe for share enumeration,
and falling back to RAP if RPC is unavailable (e.g. win98). We don't want
the debug message to display when the pipe open fails, under these normal
circumstances.
|
| |
| |
| |
| |
| |
| | |
longer. Instigated by complaints on the fix for #3303 from
SATOH Fumiyasu <fumiyas@miraclelinux.com>.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Fix a crash bug which should have reared its ugly head ages ago, but for
some reason, remained dormant until recently. The bug pertained to
libsmbclient doing a structure assignment of a cli after having opened a
pipe. The pipe open code makes a copy of the cli pointer that was passed
to it. If the cli is later copied (and that cli pointer that was saved
is no longer valid), the pipe code will cause a crash during shutdown or
when the copied cli is closed.
2. The 'type' field in enumerated shares was not being set correctly with
the new RPC-based mechanism for enumerating shares.
|
| | |
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| | |
that have open file handles to allow them to correctly
implement delete on close. There is a further correctness
fix I'm intending to add to this to cope with different share
paths, but not right now...
Jeremy.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
revving the minor version number for libsmbsharemodes (we
now have a new _ex interface that takes the share path
as well as the filename). Needed for #3303. Some code written
by SATOH Fumiyasu <fumiya@samba.gr.jp> included in the changes
to locking/locking.c. The smbstatus output is a bit of a mess
and needs overhauling...
Jeremy.
|
| |
| |
| |
| |
| | |
Use the subtree delete ldap control when running 'net ads leave'
to ensure that the machine account is actually deleted.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
the name (must be abolute - start with /, must not end in /,
must have ./ and ../ removed). Of course for realpath resolved
paths this won't be the case but for others we need this name
to be canonicalized. This name is going into the sharemode db
for #3303 so needs to be in a normalized format.
Jeremy.
|
| |
| |
| |
| | |
Guenther
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Validate the share name and fail when trying to creating
a share with bad characters.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
nested group support. Always add the BUILTIN\Administrators
SID to a Domain Admins token.
This solves the extra steps of establishing a group map for
the local Administrators SID in order to control services.
Windows also tends to expect the Administrators group to be
usable when setting up security permissions on shares.
Volker's work will probably fix this long term, but this
gets us past some of the setup hurdles for 3.0.21.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Add a few new error codes for disabled services
* dump some more details about service status in 'net rpc service'
* disable the WINS and NetLogon services if not configured in smb.conf
Still trying to figure out how to disable the start button
on the NetLogon and WINS services.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
char *,
use a temporary talloc_ctx for clarity.
Volker
|
| |
| |
| |
| |
| |
| | |
to become very important as we fix #3303, so make sure
we don't accidently set it here.
Jeremy.
|
| |
| |
| |
| |
| |
| |
| | |
Fix winbind_lookup_name for the local domain, ie for aliases on a member
server.
Volker
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
Volker
|
| |
| |
| |
| | |
sync to repository didn't work correctly...???
|
| |
| |
| |
| | |
first go at supporting long file names. seeems to work; requires more testing
|
| |
| |
| |
| | |
Jeremy.
|
| |
| |
| |
| |
| |
| | |
ubiqx code, which has served us well for many a year..
"Well done, thou good and faithful servant".
Jeremy.
|
| |
| |
| |
| |
| |
| | |
use it as though it were an in-memory db and dump out to
a flat file every 2 mins, but that can now change.
Jeremy.
|
| |
| |
| |
| | |
Guenther
|
| |
| |
| |
| | |
fixed another memory leak and reverted an (incorrect) fix from yesterday
|