summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-04-16Fix bug found by Tim Prouty, logging off and then re-using a vuid can cause ↵Jeremy Allison1-0/+11
smbd to access a freed structure. Jeremy.
2009-04-16When doing a cli_ulogoff don't invalidate the cnum, invalidate the vuid.Jeremy Allison1-1/+1
Jeremy.
2009-04-16Fix IDL licensing file that got missed when IDL files were moved.Jeremy Allison2-0/+18
Jeremy.
2009-04-16Don't look up local user for remote changes, even when root.Jim McDonough1-6/+10
2009-04-16Add notify_onelevel.tdbVolker Lendecke8-0/+383
This optimizes non-recursive notifys. For non-recursive notifies we can use a per-directory file-id indexed notify record. This matters for the Windows Explorer and IIS cases which do not use recursive notifies. In these cases, we do not have to shuffle around the whole notify record on every change. For the cluster case, this improves correctness of the notifies, ctdb only distributes the tdb seqnum once a second, so we can lose notifies.
2009-04-16Rename notify_context->db to db_recursiveVolker Lendecke1-9/+12
2009-04-16In net_conf_import, start a transaction when importing a single share.Martin Schwenke1-0/+8
Commit d69c3db9d44ad5d9fd1f5d7a9499f3bd79ecfb47 caused the transaction start to be conditional but the commit is still unconditional, so an error occurs when importing a single share. An alternate fix would be to return the transaction start to be unconditional but then it would occur before other error checking. Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Michael Adam <obnox@samba.org>
2009-04-16tsocket: fix the build without ipv6 supportStefan Metzmacher1-0/+2
metze
2009-04-16Fix crash bug in NTLMSSP caused by msrpc_parse() moving to tallocAndrew Bartlett1-4/+2
2009-04-16Use an absolute path to ensure that we can always regenerate tables.cAndrew Bartlett1-0/+2
I had trouble building Samba3 in a merged build, perhaps because I was also building Samba4 in that tree. Andrew Bartlett
2009-04-16Fix building the now common msrpc_parse codeAndrew Bartlett1-1/+1
2009-04-16Fix building the common libcli/samsync codeAndrew Bartlett1-1/+1
2009-04-16Fix Samba4 build errors with common libcli/samsyncAndrew Bartlett5-6/+5
2009-04-16s3-lsa: Fix Bug #6263. Unexpected LookupSids reply crashes XP pre-SP3.Günther Deschner1-1/+9
LookupSids needs to bounce back string sids in case of NT_STATUS_NONE_MAPPED. Guenther (cherry picked from commit 1c9266c8caa59e287b993393b6050732a0b33547)
2009-04-15Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison12-59/+51
What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy.
2009-04-15s4-smbtorture: Fix crash bugs in RPC-SAMR_ACCESSMASK.Günther Deschner1-7/+15
Also disable security descriptor based tests while testing samba3. Guenther
2009-04-15s3-examples: make sure to match correct key name in adssearch.Günther Deschner1-1/+1
Guenther
2009-04-15s4-smbtorture: define TORTURE_DEFAULT_SERVICE and set to netlogon.Günther Deschner1-6/+8
Guenther
2009-04-15Merge branch 'master' of ssh://git.samba.org/data/git/samba into ↵Andrew Bartlett17-115/+245
libcli-auth-merge-without-netlogond
2009-04-15Add missing header, remove generated headerAndrew Bartlett1-10/+8
(This isn't a rename, honest :-)
2009-04-15common:libcli/auth Add missing samsync config.mkAndrew Bartlett1-0/+10
2009-04-15Enable software rollout through ADMatthias Dieter Wallnöfer1-0/+10
This enables the sofware rollout feature in Samba4 Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2009-04-14Ensure a tls key is only generated once - wrap create & destroy in a mutex.Jeremy Allison4-40/+71
Change the function names to add _once to the tls_create & tls_destroy to make this obvious. Jeremy.
2009-04-14s3-spoolss: Fix format of description string in spoolss_PrinterInfo1.Günther Deschner1-10/+6
This is what windows does and should get us closer to show the appropriate printer location string in explorer. Guenther
2009-04-14netdomjoin-gui: make sure to grey out change fields when not running as root.Günther Deschner1-0/+15
Guenther
2009-04-14Try and fix the S4 build - include thread includes.Jeremy Allison1-0/+4
Jeremy.
2009-04-14Make talloc_stack threadsafe using TLS. Volker pleaseJeremy Allison4-25/+93
check. Passes make test and basic valgrind testing. Jeremy.
2009-04-14libwbclient: Fix undocumented arguments doxygen warnings.Günther Deschner1-8/+8
Guenther (cherry picked from commit f2b3fbf0c04a6f9484853da263174a472eb6bb6d)
2009-04-14s3-nsswitch: fix make test_wbpad.Günther Deschner1-1/+1
Guenther
2009-04-14socket_wrapper: fix the build on systems without ipv6 supportStefan Metzmacher1-0/+2
metze
2009-04-14s4-smbtorture: make sure samba3 does not regress in EnumServicesStatusW call.Günther Deschner1-0/+3
Guenther
2009-04-14s3-svcctl: fix memcpy in _svcctl_EnumServicesStatusW().Günther Deschner1-2/+1
Make sure we are not copying more than what we have as valid data. Fix from Jeremy. Thanks a lot for watching this so closely! Guenther
2009-04-14s3-spoolss: remove unused dup_nt_devicemode().Günther Deschner2-29/+0
Guenther
2009-04-14s4-smbtorture: print SPOOLSS_JOB_CONTROL flags in RPC-SPOOLSS test.Günther Deschner1-1/+32
Guenther
2009-04-14s3: Fix ntlm_auth and winbindd to use new common libcli/auth APIsAndrew Bartlett2-11/+11
2009-04-14Rework to use new API for common netlogon credential chainingAndrew Bartlett2-13/+19
2009-04-14Link in the common samsync decryption codeAndrew Bartlett1-0/+1
2009-04-14libcli/auth Push schannel check into common libcli/authAndrew Bartlett1-4/+9
This means we have a single choke point to ensure the remote client is using schannel. Andrew Bartlett
2009-04-14Make Samba3 use the new common libcli/auth codeAndrew Bartlett12-144/+164
This is particuarly in the netlogon client (but not server at this stage)
2009-04-14Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett27-331/+330
In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
2009-04-14Rework netlogon credentials for the top levelAndrew Bartlett2-59/+130
This makes constructor functions that return the allocated structure, rather than having the caller pass them in, and makes the server init function also check the first credential. The rename of creds_ to netlogon_creds should make it more clear what this code works with. Andrew Bartlett
2009-04-14Push schannel_state.c into the top level.Andrew Bartlett4-284/+323
This is the server side state for netlogon credential chaining Andrew Bartlett
2009-04-14Use common samsync delta decryption functions in libnet_samsync.cAndrew Bartlett4-291/+209
Andrew Bartlett
2009-04-14More work to adapt to merged libcli/auth function prototypesAndrew Bartlett5-16/+20
2009-04-14Adapt to common crypto functions: sam_pwd_hash() -> sam_rid_crypt()Andrew Bartlett2-8/+10
2009-04-14libcli/auth Don't compile against un-needed Samba4 headersAndrew Bartlett1-1/+0
2009-04-14Port Samba4 to the new combined libcli/auth functionsAndrew Bartlett6-49/+11
For example, some of the new shared functionality was previously in the wkssvc torture test. Andrew Bartlett
2009-04-14Move ntlm_check.h into the common libcli/authAndrew Bartlett1-0/+0
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett48-2520/+198
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2009-04-14Merge smbencrypt.c between Samba3 and Samba4Andrew Bartlett1-31/+219